guix-manual.ko.po 2.0 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449
  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. # simmon <simmon@nplob.com>, 2021.
  5. msgid ""
  6. msgstr ""
  7. "Project-Id-Version: guix manual checkout\n"
  8. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  9. "POT-Creation-Date: 2021-04-06 13:33+0200\n"
  10. "PO-Revision-Date: 2021-04-17 23:47+0000\n"
  11. "Last-Translator: simmon <simmon@nplob.com>\n"
  12. "Language-Team: Korean <https://translate.fedoraproject.org/projects/guix/documentation-manual/ko/>\n"
  13. "Language: ko\n"
  14. "MIME-Version: 1.0\n"
  15. "Content-Type: text/plain; charset=UTF-8\n"
  16. "Content-Transfer-Encoding: 8bit\n"
  17. "Plural-Forms: nplurals=1; plural=0;\n"
  18. "X-Generator: Weblate 4.5.3\n"
  19. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  20. #. type: chapter
  21. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  22. #. type: menuentry
  23. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  24. #: guix-git/doc/guix.texi:168
  25. #, no-wrap
  26. msgid "Contributing"
  27. msgstr "공헌"
  28. #. type: Plain text
  29. #: guix-git/doc/contributing.texi:9
  30. 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})."
  31. msgstr "이 프로젝트는 협력적인 노력이며, 우리는 성장을 위해 여러분의 도움이 필요합니다! Freenode IRC 네트워크에 있는 @email {guix-devel @@ gnu.org}과 @code {#guix}로 문의해 주세요. 우리는 생각, 문제에 대한 보고, 패치, 프로젝트에 도움이 될만한 어떠한 것도 환영합니다. 우리는 특히 꾸러미 구성에 대한 도움을 환영합니다 (@pxref{Packaging Guidelines})."
  32. #. type: cindex
  33. #: guix-git/doc/contributing.texi:10
  34. #, no-wrap
  35. msgid "code of conduct, of contributors"
  36. msgstr "행동 강령, 공헌자"
  37. #. type: cindex
  38. #: guix-git/doc/contributing.texi:11
  39. #, no-wrap
  40. msgid "contributor covenant"
  41. msgstr "공헌 동의"
  42. #. type: Plain text
  43. #: guix-git/doc/contributing.texi:17
  44. 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."
  45. msgstr "우리는 따뜻하고, 친절하며, 그리고 괴롭힘 없는 환경, 누구나 자신의 능력을 최대한 발휘 할 수 있도록 그런 환경을 제공하고 싶습니다. 이를 위하여 우리의 프로젝트 사용자는 @url {https://contributor-covenant.org/}에서 채택된``기여자 동의 ''을 사용합니다. 소스 트리에 있는 @file {CODE-OF-CONDUCT} 파일 안에서 로컬 버전를 찾을 수 있습니다."
  46. #. type: Plain text
  47. #: guix-git/doc/contributing.texi:21
  48. 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."
  49. msgstr ""
  50. #. type: section
  51. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:34
  52. #: guix-git/doc/contributing.texi:35
  53. #, no-wrap
  54. msgid "Building from Git"
  55. msgstr "깃에서 구성"
  56. #. type: menuentry
  57. #: guix-git/doc/contributing.texi:32
  58. msgid "The latest and greatest."
  59. msgstr "최신 및 가장 위대한."
  60. #. type: section
  61. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:160
  62. #: guix-git/doc/contributing.texi:161
  63. #, no-wrap
  64. msgid "Running Guix Before It Is Installed"
  65. msgstr "설치하기 전에 Guix 동작하기"
  66. #. type: menuentry
  67. #: guix-git/doc/contributing.texi:32
  68. msgid "Hacker tricks."
  69. msgstr "해커 장난."
  70. #. type: section
  71. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:234
  72. #: guix-git/doc/contributing.texi:235
  73. #, no-wrap
  74. msgid "The Perfect Setup"
  75. msgstr "완벽한 구성"
  76. #. type: menuentry
  77. #: guix-git/doc/contributing.texi:32
  78. msgid "The right tools."
  79. msgstr "올바른 도구."
  80. #. type: section
  81. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:325
  82. #: guix-git/doc/contributing.texi:326
  83. #, no-wrap
  84. msgid "Packaging Guidelines"
  85. msgstr "꾸러미 안내"
  86. #. type: menuentry
  87. #: guix-git/doc/contributing.texi:32
  88. msgid "Growing the distribution."
  89. msgstr "배포 성장."
  90. #. type: section
  91. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:873
  92. #: guix-git/doc/contributing.texi:874
  93. #, no-wrap
  94. msgid "Coding Style"
  95. msgstr "코딩 형태"
  96. #. type: menuentry
  97. #: guix-git/doc/contributing.texi:32
  98. msgid "Hygiene of the contributor."
  99. msgstr "기여자의 위생."
  100. #. type: section
  101. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:972
  102. #: guix-git/doc/contributing.texi:973
  103. #, no-wrap
  104. msgid "Submitting Patches"
  105. msgstr "패치 제출"
  106. #. type: menuentry
  107. #: guix-git/doc/contributing.texi:32
  108. msgid "Share your work."
  109. msgstr "일을 공유하다."
  110. #. type: section
  111. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1198
  112. #: guix-git/doc/contributing.texi:1199
  113. #, no-wrap
  114. msgid "Tracking Bugs and Patches"
  115. msgstr "결점 추적과 패치"
  116. #. type: menuentry
  117. #: guix-git/doc/contributing.texi:32
  118. msgid "Using Debbugs."
  119. msgstr "디버그 사용하기."
  120. #. type: section
  121. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1249
  122. #: guix-git/doc/contributing.texi:1250
  123. #, no-wrap
  124. msgid "Commit Access"
  125. msgstr "접근 허용"
  126. #. type: menuentry
  127. #: guix-git/doc/contributing.texi:32
  128. msgid "Pushing to the official repository."
  129. msgstr "공식적인 저장소로 밀어넣기."
  130. #. type: section
  131. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1396
  132. #: guix-git/doc/contributing.texi:1397
  133. #, no-wrap
  134. msgid "Updating the Guix Package"
  135. msgstr "Guix 꾸러미 최신화하기"
  136. #. type: menuentry
  137. #: guix-git/doc/contributing.texi:32
  138. msgid "Updating the Guix package definition."
  139. msgstr "Guix 꾸러미 확인 최신화하기."
  140. #. type: Plain text
  141. #: guix-git/doc/contributing.texi:39
  142. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  143. msgstr "Guix 자체로 해킹을 원하면, 깃 저장소에서 최신판을 사용하길 권합니다:"
  144. #. type: example
  145. #: guix-git/doc/contributing.texi:42
  146. #, no-wrap
  147. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  148. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  149. #. type: cindex
  150. #: guix-git/doc/contributing.texi:44
  151. #, no-wrap
  152. msgid "authentication, of a Guix checkout"
  153. msgstr "Guix 점검하기 인증"
  154. #. type: Plain text
  155. #: guix-git/doc/contributing.texi:49
  156. 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}):"
  157. msgstr ""
  158. #. type: example
  159. #: guix-git/doc/contributing.texi:56
  160. #, no-wrap
  161. msgid ""
  162. "git fetch origin keyring:keyring\n"
  163. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  164. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  165. msgstr ""
  166. "git fetch origin keyring:keyring\n"
  167. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  168. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  169. #. type: Plain text
  170. #: guix-git/doc/contributing.texi:61
  171. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  172. msgstr ""
  173. #. type: Plain text
  174. #: guix-git/doc/contributing.texi:68
  175. 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."
  176. msgstr ""
  177. #. type: Plain text
  178. #: guix-git/doc/contributing.texi:73
  179. 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:"
  180. msgstr ""
  181. #. type: example
  182. #: guix-git/doc/contributing.texi:76
  183. #, no-wrap
  184. msgid "guix environment guix --pure\n"
  185. msgstr "guix 환경 guix --pure\n"
  186. #. type: Plain text
  187. #: guix-git/doc/contributing.texi:79
  188. msgid "@xref{Invoking guix environment}, for more information on that command."
  189. msgstr "@xref{Invoking guix environment}, 그 명령에서 보다 상세한 정보를 위하여."
  190. #. type: Plain text
  191. #: guix-git/doc/contributing.texi:83
  192. 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})."
  193. msgstr ""
  194. #. type: item
  195. #: guix-git/doc/contributing.texi:85
  196. #, no-wrap
  197. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  198. msgstr "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  199. #. type: item
  200. #: guix-git/doc/contributing.texi:86
  201. #, no-wrap
  202. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  203. msgstr "@url{https://gnu.org/software/automake/, GNU Automake};"
  204. #. type: item
  205. #: guix-git/doc/contributing.texi:87
  206. #, no-wrap
  207. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  208. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  209. #. type: item
  210. #: guix-git/doc/contributing.texi:88
  211. #, no-wrap
  212. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  213. msgstr "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  214. #. type: item
  215. #: guix-git/doc/contributing.texi:89
  216. #, no-wrap
  217. msgid "@url{https://www.graphviz.org/, Graphviz};"
  218. msgstr "@url{https://www.graphviz.org/, Graphviz};"
  219. #. type: item
  220. #: guix-git/doc/contributing.texi:90
  221. #, no-wrap
  222. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  223. msgstr "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  224. #. type: Plain text
  225. #: guix-git/doc/contributing.texi:95
  226. msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  227. msgstr ""
  228. #. type: example
  229. #: guix-git/doc/contributing.texi:98
  230. #, no-wrap
  231. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  232. msgstr ""
  233. #. type: Plain text
  234. #: guix-git/doc/contributing.texi:102
  235. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  236. msgstr ""
  237. #. type: example
  238. #: guix-git/doc/contributing.texi:105
  239. #, no-wrap
  240. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  241. msgstr ""
  242. #. type: Plain text
  243. #: guix-git/doc/contributing.texi:114
  244. 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:"
  245. msgstr ""
  246. #. type: example
  247. #: guix-git/doc/contributing.texi:117
  248. #, no-wrap
  249. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  250. msgstr "export ACLOCAL_PATH=/usr/share/aclocal\n"
  251. #. type: Plain text
  252. #: guix-git/doc/contributing.texi:121
  253. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  254. msgstr "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, 보다 상세한 정보를 위하여."
  255. #. type: Plain text
  256. #: guix-git/doc/contributing.texi:128
  257. 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}."
  258. msgstr ""
  259. #. type: Plain text
  260. #: guix-git/doc/contributing.texi:133
  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 ""
  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 "인증을 만들다\n"
  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 "GUIX_GIT_KEYRING=myremote/keyring 인증을 만들다\n"
  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 "알림"
  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 "@command{make authenticate} after every @command{git pull} 기도을 실행하기 위해 조언합니다. 이는 저장소에 유효한 변화를 수신는 것을 유지하게 합니다."
  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 ""
  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 "$ ./pre-inst-env guix build hello\n"
  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 ""
  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 "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  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 ""
  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 ""
  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 ""
  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{Assuming the Guix checkout is in ~/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 "코드 조각"
  439. #. type: cindex
  440. #: guix-git/doc/contributing.texi:269
  441. #, no-wrap
  442. msgid "templates"
  443. msgstr "템플리트"
  444. #. type: cindex
  445. #: guix-git/doc/contributing.texi:270
  446. #, no-wrap
  447. msgid "reducing boilerplate"
  448. msgstr "상용구 줄이기"
  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{Assuming the Guix checkout is in ~/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 ""
  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 ""
  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 "M-x guix-copyright"
  482. #. type: code{#1}
  483. #: guix-git/doc/contributing.texi:299
  484. #, no-wrap
  485. msgid "M-x copyright-update"
  486. msgstr "M-x copyright-update"
  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. "(setq user-full-name \"Alice Doe\")\n"
  501. "(setq user-mail-address \"alice@@mail.org\")\n"
  502. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  503. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  504. #. type: Plain text
  505. #: guix-git/doc/contributing.texi:312
  506. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  507. msgstr ""
  508. #. type: Plain text
  509. #: guix-git/doc/contributing.texi:314
  510. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  511. msgstr ""
  512. #. type: lisp
  513. #: guix-git/doc/contributing.texi:318
  514. #, no-wrap
  515. msgid ""
  516. "(setq copyright-names-regexp\n"
  517. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  518. msgstr ""
  519. "(setq copyright-names-regexp\n"
  520. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  521. #. type: Plain text
  522. #: guix-git/doc/contributing.texi:324
  523. 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."
  524. msgstr ""
  525. #. type: cindex
  526. #: guix-git/doc/contributing.texi:328
  527. #, no-wrap
  528. msgid "packages, creating"
  529. msgstr "꾸러미, 생성"
  530. #. type: Plain text
  531. #: guix-git/doc/contributing.texi:332
  532. 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."
  533. msgstr ""
  534. #. type: Plain text
  535. #: guix-git/doc/contributing.texi:340
  536. 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."
  537. msgstr ""
  538. #. type: Plain text
  539. #: guix-git/doc/contributing.texi:349
  540. 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}."
  541. msgstr ""
  542. #. type: Plain text
  543. #: guix-git/doc/contributing.texi:355
  544. 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}):"
  545. msgstr ""
  546. #. type: example
  547. #: guix-git/doc/contributing.texi:358
  548. #, no-wrap
  549. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  550. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  551. #. type: Plain text
  552. #: guix-git/doc/contributing.texi:364
  553. 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."
  554. msgstr ""
  555. #. type: Plain text
  556. #: guix-git/doc/contributing.texi:369
  557. 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:"
  558. msgstr ""
  559. #. type: example
  560. #: guix-git/doc/contributing.texi:372
  561. #, no-wrap
  562. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  563. msgstr "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  564. #. type: Plain text
  565. #: guix-git/doc/contributing.texi:379
  566. 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}."
  567. msgstr ""
  568. #. type: cindex
  569. #: guix-git/doc/contributing.texi:380
  570. #, no-wrap
  571. msgid "substituter"
  572. msgstr "대체자"
  573. #. type: Plain text
  574. #: guix-git/doc/contributing.texi:387
  575. 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."
  576. msgstr ""
  577. #. type: subsection
  578. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:403
  579. #: guix-git/doc/contributing.texi:404
  580. #, no-wrap
  581. msgid "Software Freedom"
  582. msgstr "소프트웨어 자유"
  583. #. type: menuentry
  584. #: guix-git/doc/contributing.texi:401
  585. msgid "What may go into the distribution."
  586. msgstr ""
  587. #. type: subsection
  588. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:431
  589. #: guix-git/doc/contributing.texi:432
  590. #, no-wrap
  591. msgid "Package Naming"
  592. msgstr "꾸러미 이름 붙이기"
  593. #. type: menuentry
  594. #: guix-git/doc/contributing.texi:401
  595. msgid "What's in a name?"
  596. msgstr "이름에 무엇이 있습니까?"
  597. #. type: subsection
  598. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:464
  599. #: guix-git/doc/contributing.texi:465
  600. #, no-wrap
  601. msgid "Version Numbers"
  602. msgstr "버전 수"
  603. #. type: menuentry
  604. #: guix-git/doc/contributing.texi:401
  605. msgid "When the name is not enough."
  606. msgstr "이름이 충분하지 않을 때."
  607. #. type: subsection
  608. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:555
  609. #: guix-git/doc/contributing.texi:556
  610. #, no-wrap
  611. msgid "Synopses and Descriptions"
  612. msgstr "개요 및 설명"
  613. #. type: menuentry
  614. #: guix-git/doc/contributing.texi:401
  615. msgid "Helping users find the right package."
  616. msgstr "사용자는 올바른 꾸러미 찾기를 도와줍니다."
  617. #. type: subsection
  618. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:634
  619. #: guix-git/doc/contributing.texi:635
  620. #, no-wrap
  621. msgid "Snippets versus Phases"
  622. msgstr ""
  623. #. type: menuentry
  624. #: guix-git/doc/contributing.texi:401
  625. msgid "Whether to use a snippet, or a build phase."
  626. msgstr "단편적인 또는 구성 단계 사용 여부."
  627. #. type: subsection
  628. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:649
  629. #: guix-git/doc/contributing.texi:650 guix-git/doc/guix.texi:1946
  630. #, no-wrap
  631. msgid "Emacs Packages"
  632. msgstr "이맥스 꾸러미"
  633. #. type: menuentry
  634. #: guix-git/doc/contributing.texi:401
  635. msgid "Your Elisp fix."
  636. msgstr "Elisp 수정."
  637. #. type: subsection
  638. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:689
  639. #: guix-git/doc/contributing.texi:690
  640. #, no-wrap
  641. msgid "Python Modules"
  642. msgstr "파이썬 모듈"
  643. #. type: menuentry
  644. #: guix-git/doc/contributing.texi:401
  645. msgid "A touch of British comedy."
  646. msgstr "영국 희극의 촉진."
  647. #. type: subsection
  648. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:765
  649. #: guix-git/doc/contributing.texi:766
  650. #, no-wrap
  651. msgid "Perl Modules"
  652. msgstr "펄 모듈"
  653. #. type: menuentry
  654. #: guix-git/doc/contributing.texi:401
  655. msgid "Little pearls."
  656. msgstr ""
  657. #. type: subsection
  658. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:781
  659. #: guix-git/doc/contributing.texi:782
  660. #, no-wrap
  661. msgid "Java Packages"
  662. msgstr "자바 꾸러미"
  663. #. type: menuentry
  664. #: guix-git/doc/contributing.texi:401
  665. msgid "Coffee break."
  666. msgstr "휴식."
  667. #. type: subsection
  668. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:801
  669. #: guix-git/doc/contributing.texi:802
  670. #, no-wrap
  671. msgid "Rust Crates"
  672. msgstr "녹 상자"
  673. #. type: menuentry
  674. #: guix-git/doc/contributing.texi:401
  675. msgid "Beware of oxidation."
  676. msgstr "산화에 주의하세요."
  677. #. type: subsection
  678. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:835
  679. #: guix-git/doc/contributing.texi:836
  680. #, no-wrap
  681. msgid "Fonts"
  682. msgstr "글꼴"
  683. #. type: menuentry
  684. #: guix-git/doc/contributing.texi:401
  685. msgid "Fond of fonts."
  686. msgstr "폰트를 찾았습니다."
  687. #. type: cindex
  688. #: guix-git/doc/contributing.texi:407
  689. #, no-wrap
  690. msgid "free software"
  691. msgstr "자유 소프트웨어"
  692. #. type: Plain text
  693. #: guix-git/doc/contributing.texi:415
  694. 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."
  695. msgstr ""
  696. #. type: Plain text
  697. #: guix-git/doc/contributing.texi:421
  698. 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."
  699. msgstr ""
  700. #. type: Plain text
  701. #: guix-git/doc/contributing.texi:429
  702. 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."
  703. msgstr ""
  704. #. type: cindex
  705. #: guix-git/doc/contributing.texi:434
  706. #, no-wrap
  707. msgid "package name"
  708. msgstr "꾸러미 이름"
  709. #. type: Plain text
  710. #: guix-git/doc/contributing.texi:442
  711. 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}."
  712. msgstr ""
  713. #. type: Plain text
  714. #: guix-git/doc/contributing.texi:447
  715. 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}."
  716. msgstr ""
  717. #. type: Plain text
  718. #: guix-git/doc/contributing.texi:455
  719. 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."
  720. msgstr ""
  721. #. type: Plain text
  722. #: guix-git/doc/contributing.texi:460
  723. 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."
  724. msgstr ""
  725. #. type: Plain text
  726. #: guix-git/doc/contributing.texi:462
  727. msgid "Font package names are handled differently, @pxref{Fonts}."
  728. msgstr ""
  729. #. type: cindex
  730. #: guix-git/doc/contributing.texi:467
  731. #, no-wrap
  732. msgid "package version"
  733. msgstr "꾸러미 버전"
  734. #. type: Plain text
  735. #: guix-git/doc/contributing.texi:476
  736. 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."
  737. msgstr ""
  738. #. type: Plain text
  739. #: guix-git/doc/contributing.texi:479
  740. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  741. msgstr ""
  742. #. type: Plain text
  743. #: guix-git/doc/contributing.texi:481
  744. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  745. msgstr ""
  746. #. type: lisp
  747. #: guix-git/doc/contributing.texi:493
  748. #, no-wrap
  749. msgid ""
  750. "(define-public gtk+\n"
  751. " (package\n"
  752. " (name \"gtk+\")\n"
  753. " (version \"3.9.12\")\n"
  754. " ...))\n"
  755. "(define-public gtk+-2\n"
  756. " (package\n"
  757. " (name \"gtk+\")\n"
  758. " (version \"2.24.20\")\n"
  759. " ...))\n"
  760. msgstr ""
  761. "(define-public gtk+\n"
  762. " (package\n"
  763. " (name \"gtk+\")\n"
  764. " (version \"3.9.12\")\n"
  765. " ...))\n"
  766. "(define-public gtk+-2\n"
  767. " (package\n"
  768. " (name \"gtk+\")\n"
  769. " (version \"2.24.20\")\n"
  770. " ...))\n"
  771. #. type: Plain text
  772. #: guix-git/doc/contributing.texi:495
  773. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  774. msgstr ""
  775. #. type: lisp
  776. #: guix-git/doc/contributing.texi:501
  777. #, no-wrap
  778. msgid ""
  779. "(define-public gtk+-3.8\n"
  780. " (package\n"
  781. " (name \"gtk+\")\n"
  782. " (version \"3.8.2\")\n"
  783. " ...))\n"
  784. msgstr ""
  785. "(define-public gtk+-3.8\n"
  786. " (package\n"
  787. " (name \"gtk+\")\n"
  788. " (version \"3.8.2\")\n"
  789. " ...))\n"
  790. #. type: cindex
  791. #: guix-git/doc/contributing.texi:505
  792. #, no-wrap
  793. msgid "version number, for VCS snapshots"
  794. msgstr "VCS 스크린샷을 위한 버전 번호"
  795. #. type: Plain text
  796. #: guix-git/doc/contributing.texi:511
  797. 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?"
  798. msgstr ""
  799. #. type: Plain text
  800. #: guix-git/doc/contributing.texi:519
  801. 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:"
  802. msgstr ""
  803. #. type: example
  804. #: guix-git/doc/contributing.texi:528
  805. #, no-wrap
  806. msgid ""
  807. "2.0.11-3.cabba9e\n"
  808. " ^ ^ ^\n"
  809. " | | `-- upstream commit ID\n"
  810. " | |\n"
  811. " | `--- Guix package revision\n"
  812. " |\n"
  813. "latest upstream version\n"
  814. msgstr ""
  815. "2.0.11-3.cabba9e\n"
  816. " ^ ^ ^\n"
  817. " | | `-- upstream commit ID\n"
  818. " | |\n"
  819. " | `--- Guix package revision\n"
  820. " |\n"
  821. "latest upstream version\n"
  822. #. type: Plain text
  823. #: guix-git/doc/contributing.texi:537
  824. 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:"
  825. msgstr ""
  826. #. type: lisp
  827. #: guix-git/doc/contributing.texi:553
  828. #, no-wrap
  829. msgid ""
  830. "(define my-package\n"
  831. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  832. " (revision \"1\")) ;Guix package revision\n"
  833. " (package\n"
  834. " (version (git-version \"0.9\" revision commit))\n"
  835. " (source (origin\n"
  836. " (method git-fetch)\n"
  837. " (uri (git-reference\n"
  838. " (url \"git://example.org/my-package.git\")\n"
  839. " (commit commit)))\n"
  840. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  841. " (file-name (git-file-name name version))))\n"
  842. " ;; @dots{}\n"
  843. " )))\n"
  844. msgstr ""
  845. "(define my-package\n"
  846. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  847. " (revision \"1\")) ;Guix package revision\n"
  848. " (package\n"
  849. " (version (git-version \"0.9\" revision commit))\n"
  850. " (source (origin\n"
  851. " (method git-fetch)\n"
  852. " (uri (git-reference\n"
  853. " (url \"git://example.org/my-package.git\")\n"
  854. " (commit commit)))\n"
  855. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  856. " (file-name (git-file-name name version))))\n"
  857. " ;; @dots{}\n"
  858. " )))\n"
  859. #. type: cindex
  860. #: guix-git/doc/contributing.texi:558
  861. #, no-wrap
  862. msgid "package description"
  863. msgstr "꾸러미 설명"
  864. #. type: cindex
  865. #: guix-git/doc/contributing.texi:559
  866. #, no-wrap
  867. msgid "package synopsis"
  868. msgstr "꾸러미 개요"
  869. #. type: Plain text
  870. #: guix-git/doc/contributing.texi:566
  871. 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."
  872. msgstr ""
  873. #. type: Plain text
  874. #: guix-git/doc/contributing.texi:574
  875. 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''."
  876. msgstr ""
  877. #. type: Plain text
  878. #: guix-git/doc/contributing.texi:584
  879. 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."
  880. msgstr ""
  881. #. type: Plain text
  882. #: guix-git/doc/contributing.texi:592
  883. 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."
  884. msgstr ""
  885. #. type: cindex
  886. #: guix-git/doc/contributing.texi:593
  887. #, no-wrap
  888. msgid "Texinfo markup, in package descriptions"
  889. msgstr ""
  890. #. type: Plain text
  891. #: guix-git/doc/contributing.texi:602
  892. 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."
  893. msgstr ""
  894. #. type: Plain text
  895. #: guix-git/doc/contributing.texi:608
  896. 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."
  897. msgstr ""
  898. #. type: Plain text
  899. #: guix-git/doc/contributing.texi:613
  900. 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:"
  901. msgstr ""
  902. #. type: lisp
  903. #: guix-git/doc/contributing.texi:619
  904. #, no-wrap
  905. msgid ""
  906. "(package\n"
  907. " ;; @dots{}\n"
  908. " (synopsis \"This is translatable\")\n"
  909. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  910. msgstr ""
  911. "(package\n"
  912. " ;; @dots{}\n"
  913. " (synopsis \"This is translatable\")\n"
  914. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  915. #. type: Plain text
  916. #: guix-git/doc/contributing.texi:627
  917. 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}):"
  918. msgstr ""
  919. #. type: lisp
  920. #: guix-git/doc/contributing.texi:632
  921. #, no-wrap
  922. msgid ""
  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. msgstr ""
  927. #. type: cindex
  928. #: guix-git/doc/contributing.texi:637
  929. #, no-wrap
  930. msgid "snippets, when to use"
  931. msgstr ""
  932. #. type: Plain text
  933. #: guix-git/doc/contributing.texi:648
  934. 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})."
  935. msgstr ""
  936. #. type: cindex
  937. #: guix-git/doc/contributing.texi:652
  938. #, no-wrap
  939. msgid "emacs, packaging"
  940. msgstr "emacs, 포장(packaging)"
  941. #. type: cindex
  942. #: guix-git/doc/contributing.texi:653
  943. #, no-wrap
  944. msgid "elisp, packaging"
  945. msgstr "elisp, 포장(packaging)"
  946. #. type: Plain text
  947. #: guix-git/doc/contributing.texi:665
  948. 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."
  949. msgstr ""
  950. #. type: Plain text
  951. #: guix-git/doc/contributing.texi:670
  952. 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}."
  953. msgstr ""
  954. #. type: Plain text
  955. #: guix-git/doc/contributing.texi:679
  956. 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:"
  957. msgstr ""
  958. #. type: lisp
  959. #: guix-git/doc/contributing.texi:682
  960. #, no-wrap
  961. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  962. msgstr "#:include (cons \"^snippets/\" %default-include))\n"
  963. #. type: Plain text
  964. #: guix-git/doc/contributing.texi:688
  965. 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."
  966. msgstr ""
  967. #. type: cindex
  968. #: guix-git/doc/contributing.texi:692
  969. #, no-wrap
  970. msgid "python"
  971. msgstr "파이썬"
  972. #. type: Plain text
  973. #: guix-git/doc/contributing.texi:698
  974. 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}."
  975. msgstr ""
  976. #. type: Plain text
  977. #: guix-git/doc/contributing.texi:705
  978. 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."
  979. msgstr ""
  980. #. type: Plain text
  981. #: guix-git/doc/contributing.texi:711
  982. 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."
  983. msgstr ""
  984. #. type: subsubsection
  985. #: guix-git/doc/contributing.texi:712
  986. #, no-wrap
  987. msgid "Specifying Dependencies"
  988. msgstr "종속성 지정"
  989. #. type: cindex
  990. #: guix-git/doc/contributing.texi:713
  991. #, no-wrap
  992. msgid "inputs, for Python packages"
  993. msgstr "파이썬 꾸러미를 위한 입력"
  994. #. type: Plain text
  995. #: guix-git/doc/contributing.texi:718
  996. 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}."
  997. msgstr ""
  998. #. type: Plain text
  999. #: guix-git/doc/contributing.texi:724
  1000. 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."
  1001. msgstr ""
  1002. #. type: itemize
  1003. #: guix-git/doc/contributing.texi:732
  1004. 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."
  1005. msgstr ""
  1006. #. type: itemize
  1007. #: guix-git/doc/contributing.texi:738
  1008. 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."
  1009. msgstr ""
  1010. #. type: itemize
  1011. #: guix-git/doc/contributing.texi:746
  1012. 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."
  1013. msgstr ""
  1014. #. type: itemize
  1015. #: guix-git/doc/contributing.texi:750
  1016. 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}."
  1017. msgstr ""
  1018. #. type: itemize
  1019. #: guix-git/doc/contributing.texi:755
  1020. 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."
  1021. msgstr ""
  1022. #. type: itemize
  1023. #: guix-git/doc/contributing.texi:761
  1024. 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}})."
  1025. msgstr ""
  1026. #. type: cindex
  1027. #: guix-git/doc/contributing.texi:768
  1028. #, no-wrap
  1029. msgid "perl"
  1030. msgstr "펄(perl)"
  1031. #. type: Plain text
  1032. #: guix-git/doc/contributing.texi:779
  1033. 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}."
  1034. msgstr ""
  1035. #. type: cindex
  1036. #: guix-git/doc/contributing.texi:784
  1037. #, no-wrap
  1038. msgid "java"
  1039. msgstr "자바(java)"
  1040. #. type: Plain text
  1041. #: guix-git/doc/contributing.texi:787
  1042. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1043. msgstr ""
  1044. #. type: Plain text
  1045. #: guix-git/doc/contributing.texi:793
  1046. 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}."
  1047. msgstr ""
  1048. #. type: Plain text
  1049. #: guix-git/doc/contributing.texi:799
  1050. 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}."
  1051. msgstr ""
  1052. #. type: cindex
  1053. #: guix-git/doc/contributing.texi:804
  1054. #, no-wrap
  1055. msgid "rust"
  1056. msgstr ""
  1057. #. type: Plain text
  1058. #: guix-git/doc/contributing.texi:807
  1059. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1060. msgstr ""
  1061. #. type: Plain text
  1062. #: guix-git/doc/contributing.texi:811
  1063. 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."
  1064. msgstr ""
  1065. #. type: Plain text
  1066. #: guix-git/doc/contributing.texi:817
  1067. 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}."
  1068. msgstr ""
  1069. #. type: Plain text
  1070. #: guix-git/doc/contributing.texi:827
  1071. 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."
  1072. msgstr ""
  1073. #. type: Plain text
  1074. #: guix-git/doc/contributing.texi:833
  1075. 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."
  1076. msgstr ""
  1077. #. type: cindex
  1078. #: guix-git/doc/contributing.texi:838 guix-git/doc/guix.texi:1881
  1079. #, no-wrap
  1080. msgid "fonts"
  1081. msgstr "글꼴"
  1082. #. type: Plain text
  1083. #: guix-git/doc/contributing.texi:844
  1084. 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."
  1085. msgstr ""
  1086. #. type: Plain text
  1087. #: guix-git/doc/contributing.texi:848
  1088. 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."
  1089. msgstr ""
  1090. #. type: Plain text
  1091. #: guix-git/doc/contributing.texi:856
  1092. 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}."
  1093. msgstr ""
  1094. #. type: Plain text
  1095. #: guix-git/doc/contributing.texi:865
  1096. 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}."
  1097. msgstr ""
  1098. #. type: Plain text
  1099. #: guix-git/doc/contributing.texi:871
  1100. 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."
  1101. msgstr ""
  1102. #. type: Plain text
  1103. #: guix-git/doc/contributing.texi:879
  1104. 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."
  1105. msgstr ""
  1106. #. type: subsection
  1107. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:887
  1108. #: guix-git/doc/contributing.texi:888
  1109. #, no-wrap
  1110. msgid "Programming Paradigm"
  1111. msgstr "프로그래밍 패러다임"
  1112. #. type: menuentry
  1113. #: guix-git/doc/contributing.texi:885
  1114. msgid "How to compose your elements."
  1115. msgstr ""
  1116. #. type: subsection
  1117. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:894
  1118. #: guix-git/doc/contributing.texi:895
  1119. #, no-wrap
  1120. msgid "Modules"
  1121. msgstr "모듈"
  1122. #. type: menuentry
  1123. #: guix-git/doc/contributing.texi:885
  1124. msgid "Where to store your code?"
  1125. msgstr ""
  1126. #. type: subsection
  1127. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:905
  1128. #: guix-git/doc/contributing.texi:906
  1129. #, no-wrap
  1130. msgid "Data Types and Pattern Matching"
  1131. msgstr "자료 유형과 유형 일치(pattern matching)"
  1132. #. type: menuentry
  1133. #: guix-git/doc/contributing.texi:885
  1134. msgid "Implementing data structures."
  1135. msgstr "자료 구조 구현."
  1136. #. type: subsection
  1137. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:920
  1138. #: guix-git/doc/contributing.texi:921
  1139. #, no-wrap
  1140. msgid "Formatting Code"
  1141. msgstr "형식화(formatting) 코드"
  1142. #. type: menuentry
  1143. #: guix-git/doc/contributing.texi:885
  1144. msgid "Writing conventions."
  1145. msgstr "쓰기 규칙."
  1146. #. type: Plain text
  1147. #: guix-git/doc/contributing.texi:893
  1148. 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."
  1149. msgstr ""
  1150. #. type: Plain text
  1151. #: guix-git/doc/contributing.texi:901
  1152. 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."
  1153. msgstr ""
  1154. #. type: Plain text
  1155. #: guix-git/doc/contributing.texi:904
  1156. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1157. msgstr ""
  1158. #. type: Plain text
  1159. #: guix-git/doc/contributing.texi:913
  1160. 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."
  1161. msgstr ""
  1162. #. type: Plain text
  1163. #: guix-git/doc/contributing.texi:919
  1164. 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})."
  1165. msgstr ""
  1166. #. type: cindex
  1167. #: guix-git/doc/contributing.texi:923
  1168. #, no-wrap
  1169. msgid "formatting code"
  1170. msgstr ""
  1171. #. type: cindex
  1172. #: guix-git/doc/contributing.texi:924
  1173. #, no-wrap
  1174. msgid "coding style"
  1175. msgstr "코딩 유형"
  1176. #. type: Plain text
  1177. #: guix-git/doc/contributing.texi:931
  1178. 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."
  1179. msgstr ""
  1180. #. type: Plain text
  1181. #: guix-git/doc/contributing.texi:938
  1182. 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})."
  1183. msgstr ""
  1184. #. type: cindex
  1185. #: guix-git/doc/contributing.texi:939
  1186. #, no-wrap
  1187. msgid "indentation, of code"
  1188. msgstr ""
  1189. #. type: cindex
  1190. #: guix-git/doc/contributing.texi:940
  1191. #, no-wrap
  1192. msgid "formatting, of code"
  1193. msgstr ""
  1194. #. type: Plain text
  1195. #: guix-git/doc/contributing.texi:943
  1196. 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:"
  1197. msgstr ""
  1198. #. type: example
  1199. #: guix-git/doc/contributing.texi:946
  1200. #, no-wrap
  1201. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1202. msgstr ""
  1203. #. type: Plain text
  1204. #: guix-git/doc/contributing.texi:952
  1205. 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:"
  1206. msgstr ""
  1207. #. type: example
  1208. #: guix-git/doc/contributing.texi:955
  1209. #, no-wrap
  1210. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1211. msgstr "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1212. #. type: cindex
  1213. #: guix-git/doc/contributing.texi:957
  1214. #, no-wrap
  1215. msgid "Vim, Scheme code editing"
  1216. msgstr ""
  1217. #. type: Plain text
  1218. #: guix-git/doc/contributing.texi:963
  1219. 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."
  1220. msgstr ""
  1221. #. type: Plain text
  1222. #: guix-git/doc/contributing.texi:967
  1223. 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."
  1224. msgstr ""
  1225. #. type: Plain text
  1226. #: guix-git/doc/contributing.texi:970
  1227. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1228. msgstr ""
  1229. #. type: Plain text
  1230. #: guix-git/doc/contributing.texi:981
  1231. 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})."
  1232. msgstr ""
  1233. #. type: Plain text
  1234. #: guix-git/doc/contributing.texi:988
  1235. 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})."
  1236. msgstr ""
  1237. #. type: Plain text
  1238. #: guix-git/doc/contributing.texi:992
  1239. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1240. msgstr ""
  1241. #. type: Plain text
  1242. #: guix-git/doc/contributing.texi:995
  1243. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1244. msgstr ""
  1245. #. type: enumerate
  1246. #: guix-git/doc/contributing.texi:1002
  1247. 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."
  1248. msgstr ""
  1249. #. type: enumerate
  1250. #: guix-git/doc/contributing.texi:1006
  1251. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1252. msgstr ""
  1253. #. type: enumerate
  1254. #: guix-git/doc/contributing.texi:1011
  1255. 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})."
  1256. msgstr "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})."
  1257. #. type: enumerate
  1258. #: guix-git/doc/contributing.texi:1015
  1259. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1260. msgstr ""
  1261. #. type: enumerate
  1262. #: guix-git/doc/contributing.texi:1022
  1263. 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:"
  1264. msgstr ""
  1265. #. type: lisp
  1266. #: guix-git/doc/contributing.texi:1027
  1267. #, no-wrap
  1268. msgid ""
  1269. "(service qemu-binfmt-service-type\n"
  1270. " (qemu-binfmt-configuration\n"
  1271. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))\n"
  1272. msgstr ""
  1273. "(service qemu-binfmt-service-type\n"
  1274. "(qemu-binfmt-configuration\n"
  1275. "(platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))\n"
  1276. #. type: enumerate
  1277. #: guix-git/doc/contributing.texi:1030
  1278. msgid "Then reconfigure your system."
  1279. msgstr ""
  1280. #. type: enumerate
  1281. #: guix-git/doc/contributing.texi:1035
  1282. 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:"
  1283. msgstr ""
  1284. #. type: example
  1285. #: guix-git/doc/contributing.texi:1038
  1286. #, no-wrap
  1287. msgid ""
  1288. "guix build --system=armhf-linux --rounds=2 hello\n"
  1289. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1290. msgstr ""
  1291. #. type: cindex
  1292. #: guix-git/doc/contributing.texi:1041
  1293. #, no-wrap
  1294. msgid "bundling"
  1295. msgstr ""
  1296. #. type: enumerate
  1297. #: guix-git/doc/contributing.texi:1044
  1298. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1299. msgstr ""
  1300. #. type: enumerate
  1301. #: guix-git/doc/contributing.texi:1053
  1302. 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."
  1303. msgstr ""
  1304. #. type: enumerate
  1305. #: guix-git/doc/contributing.texi:1062
  1306. 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."
  1307. msgstr ""
  1308. #. type: enumerate
  1309. #: guix-git/doc/contributing.texi:1067
  1310. 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})."
  1311. msgstr ""
  1312. #. type: cindex
  1313. #: guix-git/doc/contributing.texi:1069
  1314. #, no-wrap
  1315. msgid "branching strategy"
  1316. msgstr ""
  1317. #. type: cindex
  1318. #: guix-git/doc/contributing.texi:1070
  1319. #, no-wrap
  1320. msgid "rebuild scheduling strategy"
  1321. msgstr ""
  1322. #. type: enumerate
  1323. #: guix-git/doc/contributing.texi:1073
  1324. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1325. msgstr ""
  1326. #. type: item
  1327. #: guix-git/doc/contributing.texi:1075
  1328. #, no-wrap
  1329. msgid "300 dependent packages or less"
  1330. msgstr "300 종속 꾸러미 이하"
  1331. #. type: table
  1332. #: guix-git/doc/contributing.texi:1077
  1333. msgid "@code{master} branch (non-disruptive changes)."
  1334. msgstr "@code{master} branch (non-disruptive changes)."
  1335. #. type: item
  1336. #: guix-git/doc/contributing.texi:1078
  1337. #, no-wrap
  1338. msgid "between 300 and 1,800 dependent packages"
  1339. msgstr "300과 1,800 사이에서 종속 꾸러미"
  1340. #. type: table
  1341. #: guix-git/doc/contributing.texi:1083
  1342. 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})."
  1343. msgstr ""
  1344. #. type: item
  1345. #: guix-git/doc/contributing.texi:1084
  1346. #, no-wrap
  1347. msgid "more than 1,800 dependent packages"
  1348. msgstr ""
  1349. #. type: table
  1350. #: guix-git/doc/contributing.texi:1088
  1351. 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."
  1352. msgstr ""
  1353. #. type: enumerate
  1354. #: guix-git/doc/contributing.texi:1095
  1355. 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."
  1356. msgstr ""
  1357. #. type: enumerate
  1358. #: guix-git/doc/contributing.texi:1104
  1359. 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."
  1360. msgstr ""
  1361. #. type: cindex
  1362. #: guix-git/doc/contributing.texi:1106
  1363. #, no-wrap
  1364. msgid "determinism, of build processes"
  1365. msgstr ""
  1366. #. type: cindex
  1367. #: guix-git/doc/contributing.texi:1107
  1368. #, no-wrap
  1369. msgid "reproducible builds, checking"
  1370. msgstr ""
  1371. #. type: enumerate
  1372. #: guix-git/doc/contributing.texi:1111
  1373. 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."
  1374. msgstr ""
  1375. #. type: enumerate
  1376. #: guix-git/doc/contributing.texi:1114
  1377. 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}):"
  1378. msgstr ""
  1379. #. type: example
  1380. #: guix-git/doc/contributing.texi:1117
  1381. #, no-wrap
  1382. msgid "guix build --rounds=2 my-package\n"
  1383. msgstr "guix build --rounds=2 my-package\n"
  1384. #. type: enumerate
  1385. #: guix-git/doc/contributing.texi:1121
  1386. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1387. msgstr ""
  1388. #. type: enumerate
  1389. #: guix-git/doc/contributing.texi:1131
  1390. 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."
  1391. msgstr ""
  1392. #. type: enumerate
  1393. #: guix-git/doc/contributing.texi:1137
  1394. 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."
  1395. msgstr ""
  1396. #. type: enumerate
  1397. #: guix-git/doc/contributing.texi:1141
  1398. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1399. msgstr ""
  1400. #. type: enumerate
  1401. #: guix-git/doc/contributing.texi:1144
  1402. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1403. msgstr ""
  1404. #. type: enumerate
  1405. #: guix-git/doc/contributing.texi:1149
  1406. 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})."
  1407. msgstr ""
  1408. #. type: enumerate
  1409. #: guix-git/doc/contributing.texi:1157
  1410. 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."
  1411. msgstr ""
  1412. #. type: enumerate
  1413. #: guix-git/doc/contributing.texi:1161
  1414. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1415. msgstr ""
  1416. #. type: enumerate
  1417. #: guix-git/doc/contributing.texi:1164
  1418. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1419. msgstr ""
  1420. #. type: example
  1421. #: guix-git/doc/contributing.texi:1166
  1422. #, no-wrap
  1423. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1424. msgstr "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1425. #. type: Plain text
  1426. #: guix-git/doc/contributing.texi:1179
  1427. 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."
  1428. msgstr ""
  1429. #. type: Plain text
  1430. #: guix-git/doc/contributing.texi:1182
  1431. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1432. msgstr ""
  1433. #. type: anchor{#1}
  1434. #: guix-git/doc/contributing.texi:1183 guix-git/doc/contributing.texi:1185
  1435. #, no-wrap
  1436. msgid "Sending a Patch Series"
  1437. msgstr "패치 시리즈 보내기"
  1438. #. type: cindex
  1439. #: guix-git/doc/contributing.texi:1185
  1440. #, no-wrap
  1441. msgid "patch series"
  1442. msgstr "패치 시리즈"
  1443. #. type: code{#1}
  1444. #: guix-git/doc/contributing.texi:1186
  1445. #, no-wrap
  1446. msgid "git send-email"
  1447. msgstr "깃 전송-전자우편"
  1448. #. type: code{#1}
  1449. #: guix-git/doc/contributing.texi:1187
  1450. #, no-wrap
  1451. msgid "git-send-email"
  1452. msgstr "깃 전송-전자우편"
  1453. #. type: Plain text
  1454. #: guix-git/doc/contributing.texi:1197
  1455. 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}."
  1456. msgstr ""
  1457. #. type: cindex
  1458. #: guix-git/doc/contributing.texi:1201
  1459. #, no-wrap
  1460. msgid "bug reports, tracking"
  1461. msgstr "결점 보고, 추적"
  1462. #. type: cindex
  1463. #: guix-git/doc/contributing.texi:1202
  1464. #, no-wrap
  1465. msgid "patch submissions, tracking"
  1466. msgstr ""
  1467. #. type: cindex
  1468. #: guix-git/doc/contributing.texi:1203
  1469. #, no-wrap
  1470. msgid "issue tracking"
  1471. msgstr "사건 추적하기"
  1472. #. type: cindex
  1473. #: guix-git/doc/contributing.texi:1204
  1474. #, no-wrap
  1475. msgid "Debbugs, issue tracking system"
  1476. msgstr "디버그, 사건 추적 시스템"
  1477. #. type: Plain text
  1478. #: guix-git/doc/contributing.texi:1211
  1479. 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})."
  1480. msgstr ""
  1481. #. type: Plain text
  1482. #: guix-git/doc/contributing.texi:1214
  1483. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1484. msgstr ""
  1485. #. type: itemize
  1486. #: guix-git/doc/contributing.texi:1223
  1487. 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;"
  1488. msgstr ""
  1489. #. type: itemize
  1490. #: guix-git/doc/contributing.texi:1225
  1491. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1492. msgstr "@url{https://bugs.gnu.org/guix} 결점 보고 목록;"
  1493. #. type: itemize
  1494. #: guix-git/doc/contributing.texi:1227
  1495. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1496. msgstr ""
  1497. #. type: Plain text
  1498. #: guix-git/doc/contributing.texi:1232
  1499. 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}}."
  1500. msgstr ""
  1501. #. type: Plain text
  1502. #: guix-git/doc/contributing.texi:1235
  1503. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1504. msgstr ""
  1505. #. type: example
  1506. #: guix-git/doc/contributing.texi:1238
  1507. #, no-wrap
  1508. msgid "guix install emacs-debbugs\n"
  1509. msgstr ""
  1510. #. type: Plain text
  1511. #: guix-git/doc/contributing.texi:1241
  1512. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1513. msgstr ""
  1514. #. type: example
  1515. #: guix-git/doc/contributing.texi:1244
  1516. #, no-wrap
  1517. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1518. msgstr "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1519. #. type: Plain text
  1520. #: guix-git/doc/contributing.texi:1248
  1521. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1522. msgstr ""
  1523. #. type: cindex
  1524. #: guix-git/doc/contributing.texi:1252
  1525. #, no-wrap
  1526. msgid "commit access, for developers"
  1527. msgstr ""
  1528. #. type: Plain text
  1529. #: guix-git/doc/contributing.texi:1256
  1530. 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:"
  1531. msgstr ""
  1532. #. type: enumerate
  1533. #: guix-git/doc/contributing.texi:1265
  1534. 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."
  1535. msgstr ""
  1536. #. type: enumerate
  1537. #: guix-git/doc/contributing.texi:1271
  1538. 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''."
  1539. msgstr ""
  1540. #. type: enumerate
  1541. #: guix-git/doc/contributing.texi:1278
  1542. 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."
  1543. msgstr ""
  1544. #. type: enumerate
  1545. #: guix-git/doc/contributing.texi:1284
  1546. 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}):"
  1547. msgstr ""
  1548. #. type: example
  1549. #: guix-git/doc/contributing.texi:1287
  1550. #, no-wrap
  1551. msgid "digest-algo sha512\n"
  1552. msgstr ""
  1553. #. type: enumerate
  1554. #: guix-git/doc/contributing.texi:1292
  1555. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1556. msgstr ""
  1557. #. type: cindex
  1558. #: guix-git/doc/contributing.texi:1294
  1559. #, no-wrap
  1560. msgid "OpenPGP, signed commits"
  1561. msgstr ""
  1562. #. type: enumerate
  1563. #: guix-git/doc/contributing.texi:1299
  1564. 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."
  1565. msgstr ""
  1566. #. type: quotation
  1567. #: guix-git/doc/contributing.texi:1300
  1568. #, no-wrap
  1569. msgid "Important"
  1570. msgstr ""
  1571. #. type: quotation
  1572. #: guix-git/doc/contributing.texi:1302
  1573. msgid "Before you can push for the first time, maintainers must:"
  1574. msgstr ""
  1575. #. type: enumerate
  1576. #: guix-git/doc/contributing.texi:1306
  1577. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1578. msgstr ""
  1579. #. type: enumerate
  1580. #: guix-git/doc/contributing.texi:1309
  1581. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1582. msgstr ""
  1583. #. type: enumerate
  1584. #: guix-git/doc/contributing.texi:1314
  1585. msgid "Make sure to read the rest of this section and... profit!"
  1586. msgstr ""
  1587. #. type: quotation
  1588. #: guix-git/doc/contributing.texi:1320
  1589. 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!"
  1590. msgstr ""
  1591. #. type: quotation
  1592. #: guix-git/doc/contributing.texi:1324
  1593. 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!"
  1594. msgstr ""
  1595. #. type: Plain text
  1596. #: guix-git/doc/contributing.texi:1329
  1597. 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})."
  1598. msgstr ""
  1599. #. type: Plain text
  1600. #: guix-git/doc/contributing.texi:1334
  1601. 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})."
  1602. msgstr ""
  1603. #. type: Plain text
  1604. #: guix-git/doc/contributing.texi:1343
  1605. 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}."
  1606. msgstr ""
  1607. #. type: Plain text
  1608. #: guix-git/doc/contributing.texi:1349
  1609. 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:"
  1610. msgstr ""
  1611. #. type: example
  1612. #: guix-git/doc/contributing.texi:1353
  1613. #, no-wrap
  1614. msgid ""
  1615. "git config commit.gpgsign true\n"
  1616. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1617. msgstr ""
  1618. "git config commit.gpgsign true\n"
  1619. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1620. #. type: Plain text
  1621. #: guix-git/doc/contributing.texi:1358
  1622. 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}:"
  1623. msgstr ""
  1624. #. type: example
  1625. #: guix-git/doc/contributing.texi:1361
  1626. #, no-wrap
  1627. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1628. msgstr "cp etc/git/pre-push .git/hooks/pre-push\n"
  1629. #. type: Plain text
  1630. #: guix-git/doc/contributing.texi:1367
  1631. 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."
  1632. msgstr ""
  1633. #. type: Plain text
  1634. #: guix-git/doc/contributing.texi:1371
  1635. 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:"
  1636. msgstr ""
  1637. #. type: example
  1638. #: guix-git/doc/contributing.texi:1374
  1639. #, no-wrap
  1640. msgid "make check-channel-news\n"
  1641. msgstr "make check-channel-news\n"
  1642. #. type: Plain text
  1643. #: guix-git/doc/contributing.texi:1380
  1644. 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."
  1645. msgstr ""
  1646. #. type: Plain text
  1647. #: guix-git/doc/contributing.texi:1383
  1648. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1649. msgstr ""
  1650. #. type: Plain text
  1651. #: guix-git/doc/contributing.texi:1389
  1652. 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."
  1653. msgstr ""
  1654. #. type: Plain text
  1655. #: guix-git/doc/contributing.texi:1395
  1656. 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!"
  1657. msgstr ""
  1658. #. type: cindex
  1659. #: guix-git/doc/contributing.texi:1399
  1660. #, no-wrap
  1661. msgid "update-guix-package, updating the guix package"
  1662. msgstr ""
  1663. #. type: Plain text
  1664. #: guix-git/doc/contributing.texi:1405
  1665. 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:"
  1666. msgstr ""
  1667. #. type: example
  1668. #: guix-git/doc/contributing.texi:1408
  1669. #, no-wrap
  1670. msgid "make update-guix-package\n"
  1671. msgstr "make update-guix-package\n"
  1672. #. type: Plain text
  1673. #: guix-git/doc/contributing.texi:1415
  1674. 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."
  1675. msgstr ""
  1676. #. type: Plain text
  1677. #: guix-git/doc/contributing.texi:1419
  1678. 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:"
  1679. msgstr ""
  1680. #. type: example
  1681. #: guix-git/doc/contributing.texi:1422
  1682. #, no-wrap
  1683. msgid "./pre-inst-env guix build guix\n"
  1684. msgstr "./pre-inst-env guix build guix\n"
  1685. #. type: Plain text
  1686. #: guix-git/doc/contributing.texi:1427
  1687. 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."
  1688. msgstr ""
  1689. #. type: Plain text
  1690. #: guix-git/doc/contributing.texi:1431
  1691. 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."
  1692. msgstr ""
  1693. #. type: Plain text
  1694. #: guix-git/doc/guix.texi:7
  1695. msgid "@documentencoding UTF-8"
  1696. msgstr "@documentencoding UTF-8"
  1697. #. type: title
  1698. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:118
  1699. #, no-wrap
  1700. msgid "GNU Guix Reference Manual"
  1701. msgstr "GNU Gix 참조 설명"
  1702. #. type: include
  1703. #: guix-git/doc/guix.texi:10
  1704. #, no-wrap
  1705. msgid "version.texi"
  1706. msgstr "version-ko.texi"
  1707. #. type: copying
  1708. #: guix-git/doc/guix.texi:91
  1709. #, fuzzy
  1710. #| 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 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 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 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 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@*"
  1711. 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@*"
  1712. msgstr "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 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 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 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 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@* Copy"
  1713. #. type: copying
  1714. #: guix-git/doc/guix.texi:98
  1715. 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''."
  1716. msgstr ""
  1717. #. type: dircategory
  1718. #: guix-git/doc/guix.texi:100
  1719. #, no-wrap
  1720. msgid "System administration"
  1721. msgstr "시스템 관리"
  1722. #. type: menuentry
  1723. #: guix-git/doc/guix.texi:108
  1724. msgid "Guix: (guix)"
  1725. msgstr ""
  1726. #. type: menuentry
  1727. #: guix-git/doc/guix.texi:108
  1728. msgid "Manage installed software and system configuration."
  1729. msgstr ""
  1730. #. type: menuentry
  1731. #: guix-git/doc/guix.texi:108
  1732. msgid "guix package: (guix)Invoking guix package"
  1733. msgstr ""
  1734. #. type: menuentry
  1735. #: guix-git/doc/guix.texi:108
  1736. msgid "Installing, removing, and upgrading packages."
  1737. msgstr "설치하기, 제거하기, 그리고 향상된 꾸러미."
  1738. #. type: menuentry
  1739. #: guix-git/doc/guix.texi:108
  1740. msgid "guix gc: (guix)Invoking guix gc"
  1741. msgstr "guix gc: (guix) guix gc 호출하기"
  1742. #. type: menuentry
  1743. #: guix-git/doc/guix.texi:108
  1744. msgid "Reclaiming unused disk space."
  1745. msgstr "사용하지 않는 디스크 공간 재지정."
  1746. #. type: menuentry
  1747. #: guix-git/doc/guix.texi:108
  1748. msgid "guix pull: (guix)Invoking guix pull"
  1749. msgstr ""
  1750. #. type: menuentry
  1751. #: guix-git/doc/guix.texi:108
  1752. msgid "Update the list of available packages."
  1753. msgstr "사용 할 수 있는 꾸러미 목록 최신화."
  1754. #. type: menuentry
  1755. #: guix-git/doc/guix.texi:108
  1756. msgid "guix system: (guix)Invoking guix system"
  1757. msgstr "guix system: (guix)guix system 호출"
  1758. #. type: menuentry
  1759. #: guix-git/doc/guix.texi:108
  1760. msgid "Manage the operating system configuration."
  1761. msgstr "운영체제 설정 관리."
  1762. #. type: menuentry
  1763. #: guix-git/doc/guix.texi:108
  1764. msgid "guix deploy: (guix)Invoking guix deploy"
  1765. msgstr "guix 배포: (guix)guix 배포 호출"
  1766. #. type: menuentry
  1767. #: guix-git/doc/guix.texi:108
  1768. msgid "Manage operating system configurations for remote hosts."
  1769. msgstr ""
  1770. #. type: dircategory
  1771. #: guix-git/doc/guix.texi:110
  1772. #, no-wrap
  1773. msgid "Software development"
  1774. msgstr "소프트웨어 개발"
  1775. #. type: menuentry
  1776. #: guix-git/doc/guix.texi:115
  1777. msgid "guix environment: (guix)Invoking guix environment"
  1778. msgstr "guix 환경: (guix)guix 환경 호출"
  1779. #. type: menuentry
  1780. #: guix-git/doc/guix.texi:115
  1781. msgid "Building development environments with Guix."
  1782. msgstr "guix로 개발 환경 구성하기."
  1783. #. type: menuentry
  1784. #: guix-git/doc/guix.texi:115
  1785. msgid "guix build: (guix)Invoking guix build"
  1786. msgstr "guix 구성: (guix)guix 구성 호출"
  1787. #. type: menuentry
  1788. #: guix-git/doc/guix.texi:115
  1789. msgid "Building packages."
  1790. msgstr "꾸러미 구성."
  1791. #. type: menuentry
  1792. #: guix-git/doc/guix.texi:115
  1793. msgid "guix pack: (guix)Invoking guix pack"
  1794. msgstr "guix 포장(pack): (guix)guix 포장 호중"
  1795. #. type: menuentry
  1796. #: guix-git/doc/guix.texi:115
  1797. msgid "Creating binary bundles."
  1798. msgstr "바이너리 번들 생성."
  1799. #. type: subtitle
  1800. #: guix-git/doc/guix.texi:119
  1801. #, no-wrap
  1802. msgid "Using the GNU Guix Functional Package Manager"
  1803. msgstr ""
  1804. #. type: author
  1805. #: guix-git/doc/guix.texi:120
  1806. #, no-wrap
  1807. msgid "The GNU Guix Developers"
  1808. msgstr "GNU Guix 개발자"
  1809. #. type: titlepage
  1810. #: guix-git/doc/guix.texi:126
  1811. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  1812. msgstr "배포판 @value{EDITION} @* @value{UPDATED} @*"
  1813. #. type: node
  1814. #: guix-git/doc/guix.texi:133
  1815. #, no-wrap
  1816. msgid "Top"
  1817. msgstr "Top"
  1818. #. type: top
  1819. #: guix-git/doc/guix.texi:134
  1820. #, no-wrap
  1821. msgid "GNU Guix"
  1822. msgstr "GNU Guix"
  1823. #. type: Plain text
  1824. #: guix-git/doc/guix.texi:138
  1825. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  1826. msgstr ""
  1827. #. You can replace the following paragraph with information on
  1828. #. type: Plain text
  1829. #: guix-git/doc/guix.texi:150
  1830. 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}."
  1831. msgstr ""
  1832. #. type: chapter
  1833. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:178
  1834. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:380
  1835. #, no-wrap
  1836. msgid "Introduction"
  1837. msgstr "안내"
  1838. #. type: menuentry
  1839. #: guix-git/doc/guix.texi:168
  1840. msgid "What is Guix about?"
  1841. msgstr "Guix는 무엇인가요?"
  1842. #. type: chapter
  1843. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:183
  1844. #: guix-git/doc/guix.texi:560 guix-git/doc/guix.texi:561
  1845. #, no-wrap
  1846. msgid "Installation"
  1847. msgstr "설치"
  1848. #. type: menuentry
  1849. #: guix-git/doc/guix.texi:168
  1850. msgid "Installing Guix."
  1851. msgstr "Guix 설치하기."
  1852. #. type: chapter
  1853. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:199
  1854. #: guix-git/doc/guix.texi:2000 guix-git/doc/guix.texi:2001
  1855. #, no-wrap
  1856. msgid "System Installation"
  1857. msgstr "시스템 설치"
  1858. #. type: menuentry
  1859. #: guix-git/doc/guix.texi:168
  1860. msgid "Installing the whole operating system."
  1861. msgstr "전체 운영체제 설치하기."
  1862. #. type: chapter
  1863. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:2717
  1864. #: guix-git/doc/guix.texi:2718
  1865. #, no-wrap
  1866. msgid "Getting Started"
  1867. msgstr "시작하기"
  1868. #. type: menuentry
  1869. #: guix-git/doc/guix.texi:168
  1870. msgid "Your first steps."
  1871. msgstr "당신의 첫 번째 단계."
  1872. #. type: chapter
  1873. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:216
  1874. #: guix-git/doc/guix.texi:2925 guix-git/doc/guix.texi:2926
  1875. #, no-wrap
  1876. msgid "Package Management"
  1877. msgstr "꾸러미 관리"
  1878. #. type: menuentry
  1879. #: guix-git/doc/guix.texi:168
  1880. msgid "Package installation, upgrade, etc."
  1881. msgstr "꾸러미 설치, 향상, 기타."
  1882. #. type: chapter
  1883. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:239
  1884. #: guix-git/doc/guix.texi:4975 guix-git/doc/guix.texi:4976
  1885. #, no-wrap
  1886. msgid "Channels"
  1887. msgstr "채널"
  1888. #. type: menuentry
  1889. #: guix-git/doc/guix.texi:168
  1890. msgid "Customizing the package collection."
  1891. msgstr "꾸러미 사용자 정의 모음."
  1892. #. type: chapter
  1893. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:253
  1894. #: guix-git/doc/guix.texi:5503 guix-git/doc/guix.texi:5504
  1895. #, no-wrap
  1896. msgid "Development"
  1897. msgstr "개발"
  1898. #. type: menuentry
  1899. #: guix-git/doc/guix.texi:168
  1900. msgid "Guix-aided software development."
  1901. msgstr "Guix-지원 소프트웨어 개발."
  1902. #. type: chapter
  1903. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:260
  1904. #: guix-git/doc/guix.texi:6329 guix-git/doc/guix.texi:6330
  1905. #, no-wrap
  1906. msgid "Programming Interface"
  1907. msgstr "프로그래밍 연결장치"
  1908. #. type: menuentry
  1909. #: guix-git/doc/guix.texi:168
  1910. msgid "Using Guix in Scheme."
  1911. msgstr "계획적으로 Guix 사용하기."
  1912. #. type: chapter
  1913. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:279
  1914. #: guix-git/doc/guix.texi:10125 guix-git/doc/guix.texi:10126
  1915. #, no-wrap
  1916. msgid "Utilities"
  1917. msgstr "유틸리티"
  1918. #. type: menuentry
  1919. #: guix-git/doc/guix.texi:168
  1920. msgid "Package management commands."
  1921. msgstr "꾸러미 관리 명령."
  1922. #. type: chapter
  1923. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:304
  1924. #: guix-git/doc/guix.texi:13305 guix-git/doc/guix.texi:13306
  1925. #, no-wrap
  1926. msgid "System Configuration"
  1927. msgstr "시스템 설정"
  1928. #. type: menuentry
  1929. #: guix-git/doc/guix.texi:168
  1930. msgid "Configuring the operating system."
  1931. msgstr "운영 체제 설정하기."
  1932. #. type: chapter
  1933. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34336
  1934. #: guix-git/doc/guix.texi:34337
  1935. #, no-wrap
  1936. msgid "Documentation"
  1937. msgstr "문서"
  1938. #. type: menuentry
  1939. #: guix-git/doc/guix.texi:168
  1940. msgid "Browsing software user manuals."
  1941. msgstr "소프트웨어 사용자 설명서 검색하기."
  1942. #. type: chapter
  1943. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:366
  1944. #: guix-git/doc/guix.texi:34400 guix-git/doc/guix.texi:34401
  1945. #, no-wrap
  1946. msgid "Installing Debugging Files"
  1947. msgstr "디버깅 파일 설치하기"
  1948. #. type: menuentry
  1949. #: guix-git/doc/guix.texi:168
  1950. msgid "Feeding the debugger."
  1951. msgstr ""
  1952. #. type: chapter
  1953. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34541
  1954. #: guix-git/doc/guix.texi:34542
  1955. #, no-wrap
  1956. msgid "Security Updates"
  1957. msgstr "보안 최신화"
  1958. #. type: menuentry
  1959. #: guix-git/doc/guix.texi:168
  1960. msgid "Deploying security fixes quickly."
  1961. msgstr ""
  1962. #. type: chapter
  1963. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:371
  1964. #: guix-git/doc/guix.texi:34656 guix-git/doc/guix.texi:34657
  1965. #, no-wrap
  1966. msgid "Bootstrapping"
  1967. msgstr ""
  1968. #. type: menuentry
  1969. #: guix-git/doc/guix.texi:168
  1970. msgid "GNU/Linux built from scratch."
  1971. msgstr ""
  1972. #. type: node
  1973. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34948
  1974. #, no-wrap
  1975. msgid "Porting"
  1976. msgstr ""
  1977. #. type: menuentry
  1978. #: guix-git/doc/guix.texi:168
  1979. msgid "Targeting another platform or kernel."
  1980. msgstr ""
  1981. #. type: menuentry
  1982. #: guix-git/doc/guix.texi:168
  1983. msgid "Your help needed!"
  1984. msgstr "당신의 도움이 필요합니다!"
  1985. #. type: chapter
  1986. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:34996
  1987. #: guix-git/doc/guix.texi:34997
  1988. #, no-wrap
  1989. msgid "Acknowledgments"
  1990. msgstr "감사의 말"
  1991. #. type: menuentry
  1992. #: guix-git/doc/guix.texi:173
  1993. msgid "Thanks!"
  1994. msgstr "감사합니다!"
  1995. #. type: appendix
  1996. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35018
  1997. #: guix-git/doc/guix.texi:35019
  1998. #, no-wrap
  1999. msgid "GNU Free Documentation License"
  2000. msgstr "GNU 자유 문서 저작권"
  2001. #. type: menuentry
  2002. #: guix-git/doc/guix.texi:173
  2003. msgid "The license of this manual."
  2004. msgstr "이 설명서의 저작권."
  2005. #. type: unnumbered
  2006. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35024
  2007. #: guix-git/doc/guix.texi:35025
  2008. #, no-wrap
  2009. msgid "Concept Index"
  2010. msgstr "개념 색인"
  2011. #. type: menuentry
  2012. #: guix-git/doc/guix.texi:173
  2013. msgid "Concepts."
  2014. msgstr "개념."
  2015. #. type: unnumbered
  2016. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35028
  2017. #: guix-git/doc/guix.texi:35029
  2018. #, no-wrap
  2019. msgid "Programming Index"
  2020. msgstr "프로그래밍 색인"
  2021. #. type: menuentry
  2022. #: guix-git/doc/guix.texi:173
  2023. msgid "Data types, functions, and variables."
  2024. msgstr "자료유형, 기능, 그리고 변수."
  2025. #. type: menuentry
  2026. #: guix-git/doc/guix.texi:176
  2027. msgid "--- The Detailed Node Listing ---"
  2028. msgstr "--- 상세한 노드 목록 ---"
  2029. #. type: section
  2030. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  2031. #: guix-git/doc/guix.texi:408 guix-git/doc/guix.texi:409
  2032. #, no-wrap
  2033. msgid "Managing Software the Guix Way"
  2034. msgstr "Guix 방식으로 소프트웨어 관리하기"
  2035. #. type: menuentry
  2036. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  2037. msgid "What's special."
  2038. msgstr "특별한 것."
  2039. #. type: section
  2040. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  2041. #: guix-git/doc/guix.texi:463 guix-git/doc/guix.texi:464
  2042. #, no-wrap
  2043. msgid "GNU Distribution"
  2044. msgstr "GNU 배포"
  2045. #. type: menuentry
  2046. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  2047. msgid "The packages and tools."
  2048. msgstr "꾸러미와 도구."
  2049. #. type: section
  2050. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2051. #: guix-git/doc/guix.texi:602 guix-git/doc/guix.texi:603
  2052. #, no-wrap
  2053. msgid "Binary Installation"
  2054. msgstr "바이너리 설치"
  2055. #. type: menuentry
  2056. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2057. msgid "Getting Guix running in no time!"
  2058. msgstr "Guix 바로 실행하기!"
  2059. #. type: section
  2060. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2061. #: guix-git/doc/guix.texi:820 guix-git/doc/guix.texi:821
  2062. #, no-wrap
  2063. msgid "Requirements"
  2064. msgstr "요구사항"
  2065. #. type: menuentry
  2066. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2067. msgid "Software needed to build and run Guix."
  2068. msgstr "Guix를 구성하고 실행하는데 필요한 소프트웨어."
  2069. #. type: section
  2070. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2071. #: guix-git/doc/guix.texi:909 guix-git/doc/guix.texi:910
  2072. #, no-wrap
  2073. msgid "Running the Test Suite"
  2074. msgstr "시험용 제품군 실행하기"
  2075. #. type: menuentry
  2076. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2077. msgid "Testing Guix."
  2078. msgstr "Guix 시험하기."
  2079. #. type: section
  2080. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:193
  2081. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:1006
  2082. #: guix-git/doc/guix.texi:1007
  2083. #, no-wrap
  2084. msgid "Setting Up the Daemon"
  2085. msgstr "데몬 구성하기"
  2086. #. type: menuentry
  2087. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2088. msgid "Preparing the build daemon's environment."
  2089. msgstr "구성 데몬의 환경 준비하기."
  2090. #. type: node
  2091. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2092. #: guix-git/doc/guix.texi:1476
  2093. #, no-wrap
  2094. msgid "Invoking guix-daemon"
  2095. msgstr "guix-데몬 호출하기"
  2096. #. type: menuentry
  2097. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2098. msgid "Running the build daemon."
  2099. msgstr "구성 데몬 실행하기."
  2100. #. type: section
  2101. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2102. #: guix-git/doc/guix.texi:1778 guix-git/doc/guix.texi:1779
  2103. #, no-wrap
  2104. msgid "Application Setup"
  2105. msgstr "응용프로그램 설정"
  2106. #. type: menuentry
  2107. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2108. msgid "Application-specific setup."
  2109. msgstr "응용프로그램-지정 설정."
  2110. #. type: section
  2111. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2112. #: guix-git/doc/guix.texi:1963 guix-git/doc/guix.texi:1964
  2113. #, no-wrap
  2114. msgid "Upgrading Guix"
  2115. msgstr "Guix 향상하기"
  2116. #. type: menuentry
  2117. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2118. msgid "Upgrading Guix and its build daemon."
  2119. msgstr "Guix 향상과 데몬 구성하기."
  2120. #. type: subsection
  2121. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2122. #: guix-git/doc/guix.texi:1028 guix-git/doc/guix.texi:1029
  2123. #, no-wrap
  2124. msgid "Build Environment Setup"
  2125. msgstr "구성(build) 환경 설정"
  2126. #. type: menuentry
  2127. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2128. msgid "Preparing the isolated build environment."
  2129. msgstr ""
  2130. #. type: node
  2131. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2132. #: guix-git/doc/guix.texi:1147
  2133. #, no-wrap
  2134. msgid "Daemon Offload Setup"
  2135. msgstr ""
  2136. #. type: menuentry
  2137. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2138. msgid "Offloading builds to remote machines."
  2139. msgstr ""
  2140. #. type: subsection
  2141. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2142. #: guix-git/doc/guix.texi:1385 guix-git/doc/guix.texi:1386
  2143. #, no-wrap
  2144. msgid "SELinux Support"
  2145. msgstr "SELinux 지원"
  2146. #. type: menuentry
  2147. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2148. msgid "Using an SELinux policy for the daemon."
  2149. msgstr "데몬을 위해 SELinux 정책 사용하기."
  2150. #. type: section
  2151. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:1421
  2152. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2036
  2153. #: guix-git/doc/guix.texi:2037
  2154. #, no-wrap
  2155. msgid "Limitations"
  2156. msgstr "제한"
  2157. #. type: menuentry
  2158. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2159. msgid "What you can expect."
  2160. msgstr "당신이 기대하는 것."
  2161. #. type: section
  2162. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2163. #: guix-git/doc/guix.texi:2062 guix-git/doc/guix.texi:2063
  2164. #, no-wrap
  2165. msgid "Hardware Considerations"
  2166. msgstr "하드웨어 고려하기"
  2167. #. type: menuentry
  2168. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2169. msgid "Supported hardware."
  2170. msgstr "지원 하드웨어."
  2171. #. type: section
  2172. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2173. #: guix-git/doc/guix.texi:2097 guix-git/doc/guix.texi:2098
  2174. #, no-wrap
  2175. msgid "USB Stick and DVD Installation"
  2176. msgstr "USB 저장장치와 DVD 설치"
  2177. #. type: menuentry
  2178. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2179. msgid "Preparing the installation medium."
  2180. msgstr "설치 매체 준비하기."
  2181. #. type: section
  2182. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2183. #: guix-git/doc/guix.texi:2178 guix-git/doc/guix.texi:2179
  2184. #, no-wrap
  2185. msgid "Preparing for Installation"
  2186. msgstr "설치를 위한 준비"
  2187. #. type: menuentry
  2188. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2189. msgid "Networking, partitioning, etc."
  2190. msgstr "네트워킹(Networking), 구획화(partitioning), 기타."
  2191. #. type: section
  2192. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2193. #: guix-git/doc/guix.texi:2201 guix-git/doc/guix.texi:2202
  2194. #, no-wrap
  2195. msgid "Guided Graphical Installation"
  2196. msgstr "안내된 그리팩 설치"
  2197. #. type: menuentry
  2198. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2199. msgid "Easy graphical installation."
  2200. msgstr "손쉬운 그래픽 설치."
  2201. #. type: section
  2202. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:211
  2203. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2232
  2204. #: guix-git/doc/guix.texi:2233
  2205. #, no-wrap
  2206. msgid "Manual Installation"
  2207. msgstr "수동 설치"
  2208. #. type: menuentry
  2209. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2210. msgid "Manual installation for wizards."
  2211. msgstr "마법사를 위한 수동 설치."
  2212. #. type: section
  2213. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2214. #: guix-git/doc/guix.texi:2600 guix-git/doc/guix.texi:2601
  2215. #, no-wrap
  2216. msgid "After System Installation"
  2217. msgstr "시스템 설치 이후에"
  2218. #. type: menuentry
  2219. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2220. msgid "When installation succeeded."
  2221. msgstr "설치가 성공했을 때에."
  2222. #. type: node
  2223. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2224. #: guix-git/doc/guix.texi:2634
  2225. #, no-wrap
  2226. msgid "Installing Guix in a VM"
  2227. msgstr "VM에서 Guix 설치하기"
  2228. #. type: menuentry
  2229. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2230. msgid "Guix System playground."
  2231. msgstr "Guix 시스템 놀이터."
  2232. #. type: section
  2233. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2234. #: guix-git/doc/guix.texi:2685 guix-git/doc/guix.texi:2686
  2235. #, no-wrap
  2236. msgid "Building the Installation Image"
  2237. msgstr "설치 이미지 구성하기"
  2238. #. type: menuentry
  2239. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2240. msgid "How this comes to be."
  2241. msgstr "이 것이 어떻게 되는가."
  2242. #. type: node
  2243. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2244. #: guix-git/doc/guix.texi:2252
  2245. #, no-wrap
  2246. msgid "Keyboard Layout and Networking and Partitioning"
  2247. msgstr "키보드 배열과 네트워킹과 구획화"
  2248. #. type: menuentry
  2249. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2250. msgid "Initial setup."
  2251. msgstr "초기 설정."
  2252. #. type: subsection
  2253. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2254. #: guix-git/doc/guix.texi:2512 guix-git/doc/guix.texi:2513
  2255. #, no-wrap
  2256. msgid "Proceeding with the Installation"
  2257. msgstr "설치 진행"
  2258. #. type: menuentry
  2259. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2260. msgid "Installing."
  2261. msgstr "설치 중."
  2262. #. type: section
  2263. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2264. #: guix-git/doc/guix.texi:2959 guix-git/doc/guix.texi:2960
  2265. #, no-wrap
  2266. msgid "Features"
  2267. msgstr "기능"
  2268. #. type: menuentry
  2269. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2270. msgid "How Guix will make your life brighter."
  2271. msgstr ""
  2272. #. type: node
  2273. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2274. #: guix-git/doc/guix.texi:3049
  2275. #, no-wrap
  2276. msgid "Invoking guix package"
  2277. msgstr ""
  2278. #. type: menuentry
  2279. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2280. msgid "Package installation, removal, etc."
  2281. msgstr ""
  2282. #. type: section
  2283. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:229
  2284. #: guix-git/doc/guix.texi:2957 guix-git/doc/guix.texi:3665
  2285. #: guix-git/doc/guix.texi:3666
  2286. #, no-wrap
  2287. msgid "Substitutes"
  2288. msgstr ""
  2289. #. type: menuentry
  2290. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2291. msgid "Downloading pre-built binaries."
  2292. msgstr ""
  2293. #. type: section
  2294. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2295. #: guix-git/doc/guix.texi:3996 guix-git/doc/guix.texi:3997
  2296. #, no-wrap
  2297. msgid "Packages with Multiple Outputs"
  2298. msgstr ""
  2299. #. type: menuentry
  2300. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2301. msgid "Single source package, multiple outputs."
  2302. msgstr ""
  2303. #. type: node
  2304. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2305. #: guix-git/doc/guix.texi:4050
  2306. #, no-wrap
  2307. msgid "Invoking guix gc"
  2308. msgstr ""
  2309. #. type: menuentry
  2310. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2311. msgid "Running the garbage collector."
  2312. msgstr ""
  2313. #. type: node
  2314. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2315. #: guix-git/doc/guix.texi:4260
  2316. #, no-wrap
  2317. msgid "Invoking guix pull"
  2318. msgstr ""
  2319. #. type: menuentry
  2320. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2321. msgid "Fetching the latest Guix and distribution."
  2322. msgstr ""
  2323. #. type: node
  2324. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2325. #: guix-git/doc/guix.texi:4507
  2326. #, no-wrap
  2327. msgid "Invoking guix time-machine"
  2328. msgstr ""
  2329. #. type: menuentry
  2330. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2331. msgid "Running an older revision of Guix."
  2332. msgstr ""
  2333. #. type: section
  2334. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2335. #: guix-git/doc/guix.texi:4562 guix-git/doc/guix.texi:4563
  2336. #, no-wrap
  2337. msgid "Inferiors"
  2338. msgstr ""
  2339. #. type: menuentry
  2340. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2341. msgid "Interacting with another revision of Guix."
  2342. msgstr ""
  2343. #. type: node
  2344. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2345. #: guix-git/doc/guix.texi:4690
  2346. #, no-wrap
  2347. msgid "Invoking guix describe"
  2348. msgstr ""
  2349. #. type: menuentry
  2350. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2351. msgid "Display information about your Guix revision."
  2352. msgstr ""
  2353. #. type: node
  2354. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2355. #: guix-git/doc/guix.texi:4785
  2356. #, no-wrap
  2357. msgid "Invoking guix archive"
  2358. msgstr ""
  2359. #. type: menuentry
  2360. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2361. msgid "Exporting and importing store files."
  2362. msgstr ""
  2363. #. type: subsection
  2364. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2365. #: guix-git/doc/guix.texi:3691 guix-git/doc/guix.texi:3692
  2366. #, no-wrap
  2367. msgid "Official Substitute Server"
  2368. msgstr ""
  2369. #. type: menuentry
  2370. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2371. msgid "One particular source of substitutes."
  2372. msgstr ""
  2373. #. type: subsection
  2374. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2375. #: guix-git/doc/guix.texi:3720 guix-git/doc/guix.texi:3721
  2376. #, no-wrap
  2377. msgid "Substitute Server Authorization"
  2378. msgstr ""
  2379. #. type: menuentry
  2380. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2381. msgid "How to enable or disable substitutes."
  2382. msgstr ""
  2383. #. type: subsection
  2384. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2385. #: guix-git/doc/guix.texi:3789 guix-git/doc/guix.texi:3790
  2386. #, no-wrap
  2387. msgid "Getting Substitutes from Other Servers"
  2388. msgstr ""
  2389. #. type: menuentry
  2390. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2391. msgid "Substitute diversity."
  2392. msgstr ""
  2393. #. type: subsection
  2394. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2395. #: guix-git/doc/guix.texi:3891 guix-git/doc/guix.texi:3892
  2396. #, no-wrap
  2397. msgid "Substitute Authentication"
  2398. msgstr ""
  2399. #. type: menuentry
  2400. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2401. msgid "How Guix verifies substitutes."
  2402. msgstr ""
  2403. #. type: subsection
  2404. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2405. #: guix-git/doc/guix.texi:3926 guix-git/doc/guix.texi:3927
  2406. #, no-wrap
  2407. msgid "Proxy Settings"
  2408. msgstr ""
  2409. #. type: menuentry
  2410. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2411. msgid "How to get substitutes via proxy."
  2412. msgstr ""
  2413. #. type: subsection
  2414. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2415. #: guix-git/doc/guix.texi:3938 guix-git/doc/guix.texi:3939
  2416. #, no-wrap
  2417. msgid "Substitution Failure"
  2418. msgstr ""
  2419. #. type: menuentry
  2420. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2421. msgid "What happens when substitution fails."
  2422. msgstr ""
  2423. #. type: subsection
  2424. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2425. #: guix-git/doc/guix.texi:3966 guix-git/doc/guix.texi:3967
  2426. #, no-wrap
  2427. msgid "On Trusting Binaries"
  2428. msgstr ""
  2429. #. type: menuentry
  2430. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2431. msgid "How can you trust that binary blob?"
  2432. msgstr ""
  2433. #. type: section
  2434. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2435. #: guix-git/doc/guix.texi:5008 guix-git/doc/guix.texi:5009
  2436. #, no-wrap
  2437. msgid "Specifying Additional Channels"
  2438. msgstr ""
  2439. #. type: menuentry
  2440. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2441. msgid "Extending the package collection."
  2442. msgstr ""
  2443. #. type: section
  2444. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2445. #: guix-git/doc/guix.texi:5058 guix-git/doc/guix.texi:5059
  2446. #, no-wrap
  2447. msgid "Using a Custom Guix Channel"
  2448. msgstr ""
  2449. #. type: menuentry
  2450. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2451. msgid "Using a customized Guix."
  2452. msgstr ""
  2453. #. type: section
  2454. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2455. #: guix-git/doc/guix.texi:5080 guix-git/doc/guix.texi:5081
  2456. #, no-wrap
  2457. msgid "Replicating Guix"
  2458. msgstr ""
  2459. #. type: menuentry
  2460. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2461. msgid "Running the @emph{exact same} Guix."
  2462. msgstr ""
  2463. #. type: section
  2464. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2465. #: guix-git/doc/guix.texi:5121 guix-git/doc/guix.texi:5122
  2466. #, no-wrap
  2467. msgid "Channel Authentication"
  2468. msgstr ""
  2469. #. type: menuentry
  2470. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2471. msgid "How Guix verifies what it fetches."
  2472. msgstr ""
  2473. #. type: section
  2474. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2475. #: guix-git/doc/guix.texi:5161 guix-git/doc/guix.texi:5162
  2476. #, no-wrap
  2477. msgid "Channels with Substitutes"
  2478. msgstr ""
  2479. #. type: menuentry
  2480. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2481. msgid "Using channels with available substitutes."
  2482. msgstr ""
  2483. #. type: section
  2484. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2485. #: guix-git/doc/guix.texi:5186 guix-git/doc/guix.texi:5187
  2486. #, no-wrap
  2487. msgid "Creating a Channel"
  2488. msgstr ""
  2489. #. type: menuentry
  2490. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2491. msgid "How to write your custom channel."
  2492. msgstr ""
  2493. #. type: section
  2494. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2495. #: guix-git/doc/guix.texi:5253 guix-git/doc/guix.texi:5254
  2496. #, no-wrap
  2497. msgid "Package Modules in a Sub-directory"
  2498. msgstr ""
  2499. #. type: menuentry
  2500. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2501. msgid "Specifying the channel's package modules location."
  2502. msgstr ""
  2503. #. type: section
  2504. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2505. #: guix-git/doc/guix.texi:5267 guix-git/doc/guix.texi:5268
  2506. #, no-wrap
  2507. msgid "Declaring Channel Dependencies"
  2508. msgstr ""
  2509. #. type: menuentry
  2510. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2511. msgid "How to depend on other channels."
  2512. msgstr ""
  2513. #. type: section
  2514. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2515. #: guix-git/doc/guix.texi:5309 guix-git/doc/guix.texi:5310
  2516. #, no-wrap
  2517. msgid "Specifying Channel Authorizations"
  2518. msgstr ""
  2519. #. type: menuentry
  2520. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2521. msgid "Defining channel authors authorizations."
  2522. msgstr ""
  2523. #. type: section
  2524. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2525. #: guix-git/doc/guix.texi:5410 guix-git/doc/guix.texi:5411
  2526. #, no-wrap
  2527. msgid "Primary URL"
  2528. msgstr ""
  2529. #. type: menuentry
  2530. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2531. msgid "Distinguishing mirror to original."
  2532. msgstr ""
  2533. #. type: section
  2534. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2535. #: guix-git/doc/guix.texi:5433 guix-git/doc/guix.texi:5434
  2536. #, no-wrap
  2537. msgid "Writing Channel News"
  2538. msgstr ""
  2539. #. type: menuentry
  2540. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2541. msgid "Communicating information to channel's users."
  2542. msgstr ""
  2543. #. type: node
  2544. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2545. #: guix-git/doc/guix.texi:5524
  2546. #, no-wrap
  2547. msgid "Invoking guix environment"
  2548. msgstr ""
  2549. #. type: menuentry
  2550. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2551. msgid "Setting up development environments."
  2552. msgstr ""
  2553. #. type: node
  2554. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2555. #: guix-git/doc/guix.texi:5884
  2556. #, no-wrap
  2557. msgid "Invoking guix pack"
  2558. msgstr ""
  2559. #. type: menuentry
  2560. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2561. msgid "Creating software bundles."
  2562. msgstr ""
  2563. #. type: section
  2564. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2565. #: guix-git/doc/guix.texi:6241 guix-git/doc/guix.texi:6242
  2566. #, no-wrap
  2567. msgid "The GCC toolchain"
  2568. msgstr ""
  2569. #. type: menuentry
  2570. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2571. msgid "Working with languages supported by GCC."
  2572. msgstr ""
  2573. #. type: node
  2574. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2575. #: guix-git/doc/guix.texi:6267
  2576. #, no-wrap
  2577. msgid "Invoking guix git authenticate"
  2578. msgstr ""
  2579. #. type: menuentry
  2580. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2581. msgid "Authenticating Git repositories."
  2582. msgstr ""
  2583. #. type: section
  2584. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2585. #: guix-git/doc/guix.texi:6371 guix-git/doc/guix.texi:6372
  2586. #, no-wrap
  2587. msgid "Package Modules"
  2588. msgstr ""
  2589. #. type: menuentry
  2590. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2591. msgid "Packages from the programmer's viewpoint."
  2592. msgstr ""
  2593. #. type: section
  2594. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:274
  2595. #: guix-git/doc/guix.texi:6369 guix-git/doc/guix.texi:6433
  2596. #: guix-git/doc/guix.texi:6434
  2597. #, no-wrap
  2598. msgid "Defining Packages"
  2599. msgstr ""
  2600. #. type: menuentry
  2601. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2602. msgid "Defining new packages."
  2603. msgstr ""
  2604. #. type: section
  2605. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2606. #: guix-git/doc/guix.texi:7001 guix-git/doc/guix.texi:7002
  2607. #, no-wrap
  2608. msgid "Defining Package Variants"
  2609. msgstr ""
  2610. #. type: menuentry
  2611. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2612. msgid "Customizing packages."
  2613. msgstr ""
  2614. #. type: section
  2615. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2616. #: guix-git/doc/guix.texi:7233 guix-git/doc/guix.texi:7234
  2617. #, no-wrap
  2618. msgid "Build Systems"
  2619. msgstr ""
  2620. #. type: menuentry
  2621. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2622. msgid "Specifying how packages are built."
  2623. msgstr ""
  2624. #. type: subsection
  2625. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2626. #: guix-git/doc/guix.texi:8249 guix-git/doc/guix.texi:8250
  2627. #: guix-git/doc/guix.texi:8653
  2628. #, no-wrap
  2629. msgid "Build Phases"
  2630. msgstr ""
  2631. #. type: menuentry
  2632. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2633. msgid "Phases of the build process of a package."
  2634. msgstr ""
  2635. #. type: section
  2636. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2637. #: guix-git/doc/guix.texi:8443 guix-git/doc/guix.texi:8444
  2638. #, no-wrap
  2639. msgid "Build Utilities"
  2640. msgstr ""
  2641. #. type: menuentry
  2642. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2643. msgid "Helpers for your package definitions and more."
  2644. msgstr ""
  2645. #. type: section
  2646. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2647. #: guix-git/doc/guix.texi:8730 guix-git/doc/guix.texi:8731
  2648. #, no-wrap
  2649. msgid "The Store"
  2650. msgstr ""
  2651. #. type: menuentry
  2652. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2653. msgid "Manipulating the package store."
  2654. msgstr ""
  2655. #. type: section
  2656. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2657. #: guix-git/doc/guix.texi:8883 guix-git/doc/guix.texi:8884
  2658. #, no-wrap
  2659. msgid "Derivations"
  2660. msgstr ""
  2661. #. type: menuentry
  2662. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2663. msgid "Low-level interface to package derivations."
  2664. msgstr ""
  2665. #. type: section
  2666. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2667. #: guix-git/doc/guix.texi:9077 guix-git/doc/guix.texi:9078
  2668. #, no-wrap
  2669. msgid "The Store Monad"
  2670. msgstr ""
  2671. #. type: menuentry
  2672. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2673. msgid "Purely functional interface to the store."
  2674. msgstr ""
  2675. #. type: section
  2676. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2677. #: guix-git/doc/guix.texi:9396 guix-git/doc/guix.texi:9397
  2678. #, no-wrap
  2679. msgid "G-Expressions"
  2680. msgstr ""
  2681. #. type: menuentry
  2682. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2683. msgid "Manipulating build expressions."
  2684. msgstr ""
  2685. #. type: node
  2686. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2687. #: guix-git/doc/guix.texi:10025
  2688. #, no-wrap
  2689. msgid "Invoking guix repl"
  2690. msgstr ""
  2691. #. type: menuentry
  2692. #: guix-git/doc/guix.texi:272
  2693. msgid "Programming Guix in Guile."
  2694. msgstr ""
  2695. #. type: node
  2696. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2697. #: guix-git/doc/guix.texi:6639
  2698. #, no-wrap
  2699. msgid "package Reference"
  2700. msgstr ""
  2701. #. type: menuentry
  2702. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2703. msgid "The package data type."
  2704. msgstr ""
  2705. #. type: node
  2706. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2707. #: guix-git/doc/guix.texi:6810
  2708. #, no-wrap
  2709. msgid "origin Reference"
  2710. msgstr ""
  2711. #. type: menuentry
  2712. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2713. msgid "The origin data type."
  2714. msgstr ""
  2715. #. type: node
  2716. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2717. #: guix-git/doc/guix.texi:10151
  2718. #, no-wrap
  2719. msgid "Invoking guix build"
  2720. msgstr ""
  2721. #. type: menuentry
  2722. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2723. msgid "Building packages from the command line."
  2724. msgstr ""
  2725. #. type: node
  2726. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2727. #: guix-git/doc/guix.texi:10987
  2728. #, no-wrap
  2729. msgid "Invoking guix edit"
  2730. msgstr ""
  2731. #. type: menuentry
  2732. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2733. msgid "Editing package definitions."
  2734. msgstr ""
  2735. #. type: node
  2736. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2737. #: guix-git/doc/guix.texi:11017
  2738. #, no-wrap
  2739. msgid "Invoking guix download"
  2740. msgstr ""
  2741. #. type: menuentry
  2742. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2743. msgid "Downloading a file and printing its hash."
  2744. msgstr ""
  2745. #. type: node
  2746. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2747. #: guix-git/doc/guix.texi:11075
  2748. #, no-wrap
  2749. msgid "Invoking guix hash"
  2750. msgstr ""
  2751. #. type: menuentry
  2752. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2753. msgid "Computing the cryptographic hash of a file."
  2754. msgstr ""
  2755. #. type: node
  2756. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2757. #: guix-git/doc/guix.texi:11147
  2758. #, no-wrap
  2759. msgid "Invoking guix import"
  2760. msgstr ""
  2761. #. type: menuentry
  2762. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2763. msgid "Importing package definitions."
  2764. msgstr ""
  2765. #. type: node
  2766. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2767. #: guix-git/doc/guix.texi:11602
  2768. #, no-wrap
  2769. msgid "Invoking guix refresh"
  2770. msgstr ""
  2771. #. type: menuentry
  2772. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2773. msgid "Updating package definitions."
  2774. msgstr ""
  2775. #. type: node
  2776. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2777. #: guix-git/doc/guix.texi:11938
  2778. #, no-wrap
  2779. msgid "Invoking guix lint"
  2780. msgstr ""
  2781. #. type: menuentry
  2782. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2783. msgid "Finding errors in package definitions."
  2784. msgstr ""
  2785. #. type: node
  2786. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2787. #: guix-git/doc/guix.texi:12107
  2788. #, no-wrap
  2789. msgid "Invoking guix size"
  2790. msgstr ""
  2791. #. type: menuentry
  2792. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2793. msgid "Profiling disk usage."
  2794. msgstr ""
  2795. #. type: node
  2796. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2797. #: guix-git/doc/guix.texi:12251
  2798. #, no-wrap
  2799. msgid "Invoking guix graph"
  2800. msgstr ""
  2801. #. type: menuentry
  2802. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2803. msgid "Visualizing the graph of packages."
  2804. msgstr ""
  2805. #. type: node
  2806. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2807. #: guix-git/doc/guix.texi:12518
  2808. #, no-wrap
  2809. msgid "Invoking guix publish"
  2810. msgstr ""
  2811. #. type: menuentry
  2812. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2813. msgid "Sharing substitutes."
  2814. msgstr ""
  2815. #. type: node
  2816. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2817. #: guix-git/doc/guix.texi:12777
  2818. #, no-wrap
  2819. msgid "Invoking guix challenge"
  2820. msgstr ""
  2821. #. type: menuentry
  2822. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2823. msgid "Challenging substitute servers."
  2824. msgstr ""
  2825. #. type: node
  2826. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2827. #: guix-git/doc/guix.texi:12960
  2828. #, no-wrap
  2829. msgid "Invoking guix copy"
  2830. msgstr ""
  2831. #. type: menuentry
  2832. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2833. msgid "Copying to and from a remote store."
  2834. msgstr ""
  2835. #. type: node
  2836. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2837. #: guix-git/doc/guix.texi:13023
  2838. #, no-wrap
  2839. msgid "Invoking guix container"
  2840. msgstr ""
  2841. #. type: menuentry
  2842. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2843. msgid "Process isolation."
  2844. msgstr ""
  2845. #. type: node
  2846. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2847. #: guix-git/doc/guix.texi:13077
  2848. #, no-wrap
  2849. msgid "Invoking guix weather"
  2850. msgstr ""
  2851. #. type: menuentry
  2852. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2853. msgid "Assessing substitute availability."
  2854. msgstr ""
  2855. #. type: node
  2856. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2857. #: guix-git/doc/guix.texi:13207
  2858. #, no-wrap
  2859. msgid "Invoking guix processes"
  2860. msgstr ""
  2861. #. type: menuentry
  2862. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2863. msgid "Listing client processes."
  2864. msgstr ""
  2865. #. type: section
  2866. #: guix-git/doc/guix.texi:297 guix-git/doc/guix.texi:10152
  2867. #, no-wrap
  2868. msgid "Invoking @command{guix build}"
  2869. msgstr ""
  2870. #. type: subsection
  2871. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2872. #: guix-git/doc/guix.texi:10205 guix-git/doc/guix.texi:10206
  2873. #, no-wrap
  2874. msgid "Common Build Options"
  2875. msgstr ""
  2876. #. type: menuentry
  2877. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2878. msgid "Build options for most commands."
  2879. msgstr ""
  2880. #. type: subsection
  2881. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2882. #: guix-git/doc/guix.texi:10360 guix-git/doc/guix.texi:10361
  2883. #, no-wrap
  2884. msgid "Package Transformation Options"
  2885. msgstr ""
  2886. #. type: menuentry
  2887. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2888. msgid "Creating variants of packages."
  2889. msgstr ""
  2890. #. type: subsection
  2891. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2892. #: guix-git/doc/guix.texi:10669 guix-git/doc/guix.texi:10670
  2893. #, no-wrap
  2894. msgid "Additional Build Options"
  2895. msgstr ""
  2896. #. type: menuentry
  2897. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2898. msgid "Options specific to 'guix build'."
  2899. msgstr ""
  2900. #. type: subsection
  2901. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2902. #: guix-git/doc/guix.texi:10907 guix-git/doc/guix.texi:10908
  2903. #, no-wrap
  2904. msgid "Debugging Build Failures"
  2905. msgstr ""
  2906. #. type: menuentry
  2907. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2908. msgid "Real life packaging experience."
  2909. msgstr ""
  2910. #. type: section
  2911. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2912. #: guix-git/doc/guix.texi:13350 guix-git/doc/guix.texi:13351
  2913. #, no-wrap
  2914. msgid "Using the Configuration System"
  2915. msgstr ""
  2916. #. type: menuentry
  2917. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2918. msgid "Customizing your GNU system."
  2919. msgstr ""
  2920. #. type: node
  2921. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2922. #: guix-git/doc/guix.texi:13598
  2923. #, no-wrap
  2924. msgid "operating-system Reference"
  2925. msgstr ""
  2926. #. type: menuentry
  2927. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2928. msgid "Detail of operating-system declarations."
  2929. msgstr ""
  2930. #. type: section
  2931. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2932. #: guix-git/doc/guix.texi:13850 guix-git/doc/guix.texi:13851
  2933. #, no-wrap
  2934. msgid "File Systems"
  2935. msgstr "파일 시스템"
  2936. #. type: menuentry
  2937. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2938. msgid "Configuring file system mounts."
  2939. msgstr ""
  2940. #. type: section
  2941. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2942. #: guix-git/doc/guix.texi:14173 guix-git/doc/guix.texi:14174
  2943. #, no-wrap
  2944. msgid "Mapped Devices"
  2945. msgstr ""
  2946. #. type: menuentry
  2947. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2948. msgid "Block device extra processing."
  2949. msgstr ""
  2950. #. type: section
  2951. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2952. #: guix-git/doc/guix.texi:14321 guix-git/doc/guix.texi:14322
  2953. #, no-wrap
  2954. msgid "User Accounts"
  2955. msgstr ""
  2956. #. type: menuentry
  2957. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2958. msgid "Specifying user accounts."
  2959. msgstr ""
  2960. #. type: section
  2961. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:2259
  2962. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14497
  2963. #: guix-git/doc/guix.texi:14498
  2964. #, no-wrap
  2965. msgid "Keyboard Layout"
  2966. msgstr ""
  2967. #. type: menuentry
  2968. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2969. msgid "How the system interprets key strokes."
  2970. msgstr ""
  2971. #. type: section
  2972. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1786
  2973. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14643
  2974. #: guix-git/doc/guix.texi:14644
  2975. #, no-wrap
  2976. msgid "Locales"
  2977. msgstr "지역설정"
  2978. #. type: menuentry
  2979. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2980. msgid "Language and cultural convention settings."
  2981. msgstr ""
  2982. #. type: section
  2983. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:324
  2984. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14783
  2985. #: guix-git/doc/guix.texi:14784
  2986. #, no-wrap
  2987. msgid "Services"
  2988. msgstr "서비스"
  2989. #. type: menuentry
  2990. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2991. msgid "Specifying system services."
  2992. msgstr ""
  2993. #. type: section
  2994. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2995. #: guix-git/doc/guix.texi:31980 guix-git/doc/guix.texi:31981
  2996. #, no-wrap
  2997. msgid "Setuid Programs"
  2998. msgstr ""
  2999. #. type: menuentry
  3000. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3001. msgid "Programs running with root privileges."
  3002. msgstr ""
  3003. #. type: section
  3004. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1935
  3005. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:32026
  3006. #: guix-git/doc/guix.texi:32027
  3007. #, no-wrap
  3008. msgid "X.509 Certificates"
  3009. msgstr ""
  3010. #. type: menuentry
  3011. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3012. msgid "Authenticating HTTPS servers."
  3013. msgstr ""
  3014. #. type: section
  3015. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1829
  3016. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:32089
  3017. #: guix-git/doc/guix.texi:32090
  3018. #, no-wrap
  3019. msgid "Name Service Switch"
  3020. msgstr ""
  3021. #. type: menuentry
  3022. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3023. msgid "Configuring libc's name service switch."
  3024. msgstr ""
  3025. #. type: section
  3026. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3027. #: guix-git/doc/guix.texi:32227 guix-git/doc/guix.texi:32228
  3028. #, no-wrap
  3029. msgid "Initial RAM Disk"
  3030. msgstr ""
  3031. #. type: menuentry
  3032. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3033. msgid "Linux-Libre bootstrapping."
  3034. msgstr ""
  3035. #. type: section
  3036. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3037. #: guix-git/doc/guix.texi:32403 guix-git/doc/guix.texi:32404
  3038. #, no-wrap
  3039. msgid "Bootloader Configuration"
  3040. msgstr ""
  3041. #. type: menuentry
  3042. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3043. msgid "Configuring the boot loader."
  3044. msgstr ""
  3045. #. type: node
  3046. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3047. #: guix-git/doc/guix.texi:32697
  3048. #, no-wrap
  3049. msgid "Invoking guix system"
  3050. msgstr ""
  3051. #. type: menuentry
  3052. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3053. msgid "Instantiating a system configuration."
  3054. msgstr ""
  3055. #. type: node
  3056. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3057. #: guix-git/doc/guix.texi:33282
  3058. #, no-wrap
  3059. msgid "Invoking guix deploy"
  3060. msgstr ""
  3061. #. type: menuentry
  3062. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3063. msgid "Deploying a system configuration to a remote host."
  3064. msgstr ""
  3065. #. type: node
  3066. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3067. #: guix-git/doc/guix.texi:33488
  3068. #, no-wrap
  3069. msgid "Running Guix in a VM"
  3070. msgstr ""
  3071. #. type: menuentry
  3072. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3073. msgid "How to run Guix System in a virtual machine."
  3074. msgstr ""
  3075. #. type: section
  3076. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:359
  3077. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:33618
  3078. #: guix-git/doc/guix.texi:33619
  3079. #, no-wrap
  3080. msgid "Defining Services"
  3081. msgstr ""
  3082. #. type: menuentry
  3083. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3084. msgid "Adding new service definitions."
  3085. msgstr ""
  3086. #. type: subsection
  3087. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3088. #: guix-git/doc/guix.texi:14868 guix-git/doc/guix.texi:14869
  3089. #, no-wrap
  3090. msgid "Base Services"
  3091. msgstr ""
  3092. #. type: menuentry
  3093. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3094. msgid "Essential system services."
  3095. msgstr ""
  3096. #. type: subsection
  3097. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3098. #: guix-git/doc/guix.texi:15784 guix-git/doc/guix.texi:15785
  3099. #, no-wrap
  3100. msgid "Scheduled Job Execution"
  3101. msgstr ""
  3102. #. type: menuentry
  3103. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3104. msgid "The mcron service."
  3105. msgstr ""
  3106. #. type: subsection
  3107. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3108. #: guix-git/doc/guix.texi:15925 guix-git/doc/guix.texi:15926
  3109. #, no-wrap
  3110. msgid "Log Rotation"
  3111. msgstr ""
  3112. #. type: menuentry
  3113. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3114. msgid "The rottlog service."
  3115. msgstr ""
  3116. #. type: subsection
  3117. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3118. #: guix-git/doc/guix.texi:16038 guix-git/doc/guix.texi:16039
  3119. #, no-wrap
  3120. msgid "Networking Services"
  3121. msgstr ""
  3122. #. type: menuentry
  3123. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3124. msgid "Network setup, SSH daemon, etc."
  3125. msgstr ""
  3126. #. type: subsection
  3127. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3128. #: guix-git/doc/guix.texi:17608 guix-git/doc/guix.texi:17609
  3129. #, no-wrap
  3130. msgid "Unattended Upgrades"
  3131. msgstr ""
  3132. #. type: menuentry
  3133. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3134. msgid "Automated system upgrades."
  3135. msgstr ""
  3136. #. type: subsection
  3137. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3138. #: guix-git/doc/guix.texi:17746 guix-git/doc/guix.texi:17747
  3139. #, no-wrap
  3140. msgid "X Window"
  3141. msgstr ""
  3142. #. type: menuentry
  3143. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3144. msgid "Graphical display."
  3145. msgstr ""
  3146. #. type: subsection
  3147. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3148. #: guix-git/doc/guix.texi:18123 guix-git/doc/guix.texi:18124
  3149. #, no-wrap
  3150. msgid "Printing Services"
  3151. msgstr ""
  3152. #. type: menuentry
  3153. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3154. msgid "Local and remote printer support."
  3155. msgstr ""
  3156. #. type: subsection
  3157. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3158. #: guix-git/doc/guix.texi:18976 guix-git/doc/guix.texi:18977
  3159. #, no-wrap
  3160. msgid "Desktop Services"
  3161. msgstr ""
  3162. #. type: menuentry
  3163. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3164. msgid "D-Bus and desktop services."
  3165. msgstr ""
  3166. #. type: subsection
  3167. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3168. #: guix-git/doc/guix.texi:19494 guix-git/doc/guix.texi:19495
  3169. #, no-wrap
  3170. msgid "Sound Services"
  3171. msgstr ""
  3172. #. type: menuentry
  3173. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3174. msgid "ALSA and Pulseaudio services."
  3175. msgstr ""
  3176. #. type: subsection
  3177. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3178. #: guix-git/doc/guix.texi:19634 guix-git/doc/guix.texi:19635
  3179. #, no-wrap
  3180. msgid "Database Services"
  3181. msgstr ""
  3182. #. type: menuentry
  3183. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3184. msgid "SQL databases, key-value stores, etc."
  3185. msgstr ""
  3186. #. type: subsection
  3187. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3188. #: guix-git/doc/guix.texi:19966 guix-git/doc/guix.texi:19967
  3189. #, no-wrap
  3190. msgid "Mail Services"
  3191. msgstr ""
  3192. #. type: menuentry
  3193. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3194. msgid "IMAP, POP3, SMTP, and all that."
  3195. msgstr ""
  3196. #. type: subsection
  3197. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3198. #: guix-git/doc/guix.texi:21782 guix-git/doc/guix.texi:21783
  3199. #, no-wrap
  3200. msgid "Messaging Services"
  3201. msgstr ""
  3202. #. type: menuentry
  3203. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3204. msgid "Messaging services."
  3205. msgstr ""
  3206. #. type: subsection
  3207. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3208. #: guix-git/doc/guix.texi:22285 guix-git/doc/guix.texi:22286
  3209. #, no-wrap
  3210. msgid "Telephony Services"
  3211. msgstr ""
  3212. #. type: menuentry
  3213. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3214. msgid "Telephony services."
  3215. msgstr ""
  3216. #. type: subsection
  3217. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3218. #: guix-git/doc/guix.texi:23288 guix-git/doc/guix.texi:23289
  3219. #, no-wrap
  3220. msgid "Monitoring Services"
  3221. msgstr ""
  3222. #. type: menuentry
  3223. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3224. msgid "Monitoring services."
  3225. msgstr ""
  3226. #. type: subsection
  3227. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3228. #: guix-git/doc/guix.texi:23799 guix-git/doc/guix.texi:23800
  3229. #, no-wrap
  3230. msgid "Kerberos Services"
  3231. msgstr ""
  3232. #. type: menuentry
  3233. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3234. msgid "Kerberos services."
  3235. msgstr ""
  3236. #. type: subsection
  3237. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3238. #: guix-git/doc/guix.texi:23925 guix-git/doc/guix.texi:23926
  3239. #, no-wrap
  3240. msgid "LDAP Services"
  3241. msgstr ""
  3242. #. type: menuentry
  3243. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3244. msgid "LDAP services."
  3245. msgstr ""
  3246. #. type: subsection
  3247. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3248. #: guix-git/doc/guix.texi:24404 guix-git/doc/guix.texi:24405
  3249. #, no-wrap
  3250. msgid "Web Services"
  3251. msgstr ""
  3252. #. type: menuentry
  3253. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3254. msgid "Web servers."
  3255. msgstr ""
  3256. #. type: subsection
  3257. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3258. #: guix-git/doc/guix.texi:25605 guix-git/doc/guix.texi:25606
  3259. #, no-wrap
  3260. msgid "Certificate Services"
  3261. msgstr ""
  3262. #. type: menuentry
  3263. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3264. msgid "TLS certificates via Let's Encrypt."
  3265. msgstr ""
  3266. #. type: subsection
  3267. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3268. #: guix-git/doc/guix.texi:25778 guix-git/doc/guix.texi:25779
  3269. #, no-wrap
  3270. msgid "DNS Services"
  3271. msgstr ""
  3272. #. type: menuentry
  3273. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3274. msgid "DNS daemons."
  3275. msgstr ""
  3276. #. type: subsection
  3277. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3278. #: guix-git/doc/guix.texi:26526 guix-git/doc/guix.texi:26527
  3279. #, no-wrap
  3280. msgid "VPN Services"
  3281. msgstr ""
  3282. #. type: menuentry
  3283. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3284. msgid "VPN daemons."
  3285. msgstr ""
  3286. #. type: subsection
  3287. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3288. #: guix-git/doc/guix.texi:26981 guix-git/doc/guix.texi:26982
  3289. #, no-wrap
  3290. msgid "Network File System"
  3291. msgstr "네트워크 파일 시스템"
  3292. #. type: menuentry
  3293. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3294. msgid "NFS related services."
  3295. msgstr ""
  3296. #. type: subsection
  3297. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3298. #: guix-git/doc/guix.texi:27177 guix-git/doc/guix.texi:27178
  3299. #, no-wrap
  3300. msgid "Continuous Integration"
  3301. msgstr ""
  3302. #. type: menuentry
  3303. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3304. msgid "Cuirass and Laminar services."
  3305. msgstr ""
  3306. #. type: subsection
  3307. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3308. #: guix-git/doc/guix.texi:27455 guix-git/doc/guix.texi:27456
  3309. #, no-wrap
  3310. msgid "Power Management Services"
  3311. msgstr ""
  3312. #. type: menuentry
  3313. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3314. msgid "Extending battery life."
  3315. msgstr ""
  3316. #. type: subsection
  3317. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3318. #: guix-git/doc/guix.texi:27989 guix-git/doc/guix.texi:27990
  3319. #, no-wrap
  3320. msgid "Audio Services"
  3321. msgstr ""
  3322. #. type: menuentry
  3323. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3324. msgid "The MPD."
  3325. msgstr ""
  3326. #. type: subsection
  3327. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3328. #: guix-git/doc/guix.texi:28108 guix-git/doc/guix.texi:28109
  3329. #, no-wrap
  3330. msgid "Virtualization Services"
  3331. msgstr ""
  3332. #. type: menuentry
  3333. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3334. msgid "Virtualization services."
  3335. msgstr ""
  3336. #. type: subsection
  3337. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3338. #: guix-git/doc/guix.texi:29722 guix-git/doc/guix.texi:29723
  3339. #, no-wrap
  3340. msgid "Version Control Services"
  3341. msgstr ""
  3342. #. type: menuentry
  3343. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3344. msgid "Providing remote access to Git repositories."
  3345. msgstr ""
  3346. #. type: subsection
  3347. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3348. #: guix-git/doc/guix.texi:30914 guix-git/doc/guix.texi:30915
  3349. #, no-wrap
  3350. msgid "Game Services"
  3351. msgstr ""
  3352. #. type: menuentry
  3353. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3354. msgid "Game servers."
  3355. msgstr ""
  3356. #. type: subsection
  3357. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3358. #: guix-git/doc/guix.texi:30946 guix-git/doc/guix.texi:30947
  3359. #, no-wrap
  3360. msgid "PAM Mount Service"
  3361. msgstr ""
  3362. #. type: menuentry
  3363. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3364. msgid "Service to mount volumes when logging in."
  3365. msgstr ""
  3366. #. type: subsection
  3367. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3368. #: guix-git/doc/guix.texi:31029 guix-git/doc/guix.texi:31030
  3369. #, no-wrap
  3370. msgid "Guix Services"
  3371. msgstr ""
  3372. #. type: menuentry
  3373. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3374. msgid "Services relating specifically to Guix."
  3375. msgstr ""
  3376. #. type: subsection
  3377. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3378. #: guix-git/doc/guix.texi:31304 guix-git/doc/guix.texi:31305
  3379. #, no-wrap
  3380. msgid "Linux Services"
  3381. msgstr ""
  3382. #. type: menuentry
  3383. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3384. msgid "Services tied to the Linux kernel."
  3385. msgstr ""
  3386. #. type: subsection
  3387. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3388. #: guix-git/doc/guix.texi:31451 guix-git/doc/guix.texi:31452
  3389. #, no-wrap
  3390. msgid "Hurd Services"
  3391. msgstr ""
  3392. #. type: menuentry
  3393. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3394. msgid "Services specific for a Hurd System."
  3395. msgstr ""
  3396. #. type: subsection
  3397. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3398. #: guix-git/doc/guix.texi:31493 guix-git/doc/guix.texi:31494
  3399. #, no-wrap
  3400. msgid "Miscellaneous Services"
  3401. msgstr ""
  3402. #. type: menuentry
  3403. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3404. msgid "Other services."
  3405. msgstr "다른 장치."
  3406. #. type: subsection
  3407. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3408. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33633
  3409. #, no-wrap
  3410. msgid "Service Composition"
  3411. msgstr ""
  3412. #. type: menuentry
  3413. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3414. msgid "The model for composing services."
  3415. msgstr ""
  3416. #. type: subsection
  3417. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3418. #: guix-git/doc/guix.texi:33688 guix-git/doc/guix.texi:33689
  3419. #, no-wrap
  3420. msgid "Service Types and Services"
  3421. msgstr ""
  3422. #. type: menuentry
  3423. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3424. msgid "Types and services."
  3425. msgstr ""
  3426. #. type: subsection
  3427. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3428. #: guix-git/doc/guix.texi:33825 guix-git/doc/guix.texi:33826
  3429. #, no-wrap
  3430. msgid "Service Reference"
  3431. msgstr ""
  3432. #. type: menuentry
  3433. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3434. msgid "API reference."
  3435. msgstr ""
  3436. #. type: subsection
  3437. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3438. #: guix-git/doc/guix.texi:34116 guix-git/doc/guix.texi:34117
  3439. #, no-wrap
  3440. msgid "Shepherd Services"
  3441. msgstr ""
  3442. #. type: menuentry
  3443. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3444. msgid "A particular type of service."
  3445. msgstr ""
  3446. #. type: section
  3447. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3448. #: guix-git/doc/guix.texi:34419 guix-git/doc/guix.texi:34420
  3449. #, no-wrap
  3450. msgid "Separate Debug Info"
  3451. msgstr ""
  3452. #. type: menuentry
  3453. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3454. msgid "Installing 'debug' outputs."
  3455. msgstr ""
  3456. #. type: section
  3457. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3458. #: guix-git/doc/guix.texi:34478 guix-git/doc/guix.texi:34479
  3459. #, no-wrap
  3460. msgid "Rebuilding Debug Info"
  3461. msgstr ""
  3462. #. type: menuentry
  3463. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3464. msgid "Building missing debug info."
  3465. msgstr ""
  3466. #. type: node
  3467. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3468. #: guix-git/doc/guix.texi:34697
  3469. #, no-wrap
  3470. msgid "Reduced Binary Seed Bootstrap"
  3471. msgstr ""
  3472. #. type: menuentry
  3473. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3474. msgid "A Bootstrap worthy of GNU."
  3475. msgstr ""
  3476. #. type: section
  3477. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3478. #: guix-git/doc/guix.texi:34772 guix-git/doc/guix.texi:34773
  3479. #, no-wrap
  3480. msgid "Preparing to Use the Bootstrap Binaries"
  3481. msgstr ""
  3482. #. type: menuentry
  3483. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3484. msgid "Building that what matters most."
  3485. msgstr ""
  3486. #. type: cindex
  3487. #: guix-git/doc/guix.texi:382
  3488. #, no-wrap
  3489. msgid "purpose"
  3490. msgstr "목적"
  3491. #. type: Plain text
  3492. #: guix-git/doc/guix.texi:390
  3493. 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."
  3494. msgstr ""
  3495. #. type: cindex
  3496. #: guix-git/doc/guix.texi:391 guix-git/doc/guix.texi:466
  3497. #, no-wrap
  3498. msgid "Guix System"
  3499. msgstr ""
  3500. #. type: cindex
  3501. #: guix-git/doc/guix.texi:392
  3502. #, no-wrap
  3503. msgid "GuixSD, now Guix System"
  3504. msgstr ""
  3505. #. type: cindex
  3506. #: guix-git/doc/guix.texi:393
  3507. #, no-wrap
  3508. msgid "Guix System Distribution, now Guix System"
  3509. msgstr ""
  3510. #. type: Plain text
  3511. #: guix-git/doc/guix.texi:402
  3512. 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}."
  3513. msgstr ""
  3514. #. type: cindex
  3515. #: guix-git/doc/guix.texi:411
  3516. #, no-wrap
  3517. msgid "user interfaces"
  3518. msgstr ""
  3519. #. type: Plain text
  3520. #: guix-git/doc/guix.texi:417
  3521. 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})."
  3522. msgstr ""
  3523. #. type: cindex
  3524. #: guix-git/doc/guix.texi:417
  3525. #, no-wrap
  3526. msgid "build daemon"
  3527. msgstr ""
  3528. #. type: Plain text
  3529. #: guix-git/doc/guix.texi:421
  3530. 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})."
  3531. msgstr ""
  3532. #. type: cindex
  3533. #: guix-git/doc/guix.texi:422
  3534. #, no-wrap
  3535. msgid "extensibility of the distribution"
  3536. msgstr ""
  3537. #. type: cindex
  3538. #: guix-git/doc/guix.texi:423 guix-git/doc/guix.texi:6393
  3539. #, no-wrap
  3540. msgid "customization, of packages"
  3541. msgstr ""
  3542. #. type: Plain text
  3543. #: guix-git/doc/guix.texi:432
  3544. 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})."
  3545. msgstr ""
  3546. #. type: cindex
  3547. #: guix-git/doc/guix.texi:433
  3548. #, no-wrap
  3549. msgid "functional package management"
  3550. msgstr ""
  3551. #. type: cindex
  3552. #: guix-git/doc/guix.texi:434
  3553. #, no-wrap
  3554. msgid "isolation"
  3555. msgstr ""
  3556. #. type: Plain text
  3557. #: guix-git/doc/guix.texi:449
  3558. 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."
  3559. msgstr ""
  3560. #. type: cindex
  3561. #: guix-git/doc/guix.texi:450 guix-git/doc/guix.texi:8733
  3562. #, no-wrap
  3563. msgid "store"
  3564. msgstr ""
  3565. #. type: Plain text
  3566. #: guix-git/doc/guix.texi:457
  3567. 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."
  3568. msgstr ""
  3569. #. type: Plain text
  3570. #: guix-git/doc/guix.texi:461
  3571. 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})."
  3572. msgstr ""
  3573. #. type: Plain text
  3574. #: guix-git/doc/guix.texi:476
  3575. 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."
  3576. msgstr ""
  3577. #. type: Plain text
  3578. #: guix-git/doc/guix.texi:482
  3579. 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}):"
  3580. msgstr ""
  3581. #. type: example
  3582. #: guix-git/doc/guix.texi:485
  3583. #, no-wrap
  3584. msgid "guix package --list-available\n"
  3585. msgstr ""
  3586. #. type: Plain text
  3587. #: guix-git/doc/guix.texi:491
  3588. 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."
  3589. msgstr ""
  3590. #. type: Plain text
  3591. #: guix-git/doc/guix.texi:493
  3592. msgid "Packages are currently available on the following platforms:"
  3593. msgstr ""
  3594. #. type: item
  3595. #: guix-git/doc/guix.texi:496 guix-git/doc/guix.texi:2106
  3596. #, no-wrap
  3597. msgid "x86_64-linux"
  3598. msgstr ""
  3599. #. type: table
  3600. #: guix-git/doc/guix.texi:498
  3601. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  3602. msgstr ""
  3603. #. type: item
  3604. #: guix-git/doc/guix.texi:499 guix-git/doc/guix.texi:2109
  3605. #, no-wrap
  3606. msgid "i686-linux"
  3607. msgstr ""
  3608. #. type: table
  3609. #: guix-git/doc/guix.texi:501
  3610. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  3611. msgstr ""
  3612. #. type: item
  3613. #: guix-git/doc/guix.texi:502
  3614. #, no-wrap
  3615. msgid "armhf-linux"
  3616. msgstr ""
  3617. #. type: table
  3618. #: guix-git/doc/guix.texi:506
  3619. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  3620. msgstr ""
  3621. #. type: item
  3622. #: guix-git/doc/guix.texi:507
  3623. #, no-wrap
  3624. msgid "aarch64-linux"
  3625. msgstr ""
  3626. #. type: table
  3627. #: guix-git/doc/guix.texi:509
  3628. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  3629. msgstr ""
  3630. #. type: item
  3631. #: guix-git/doc/guix.texi:510
  3632. #, no-wrap
  3633. msgid "i586-gnu"
  3634. msgstr ""
  3635. #. type: table
  3636. #: guix-git/doc/guix.texi:513
  3637. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  3638. msgstr ""
  3639. #. type: table
  3640. #: guix-git/doc/guix.texi:519
  3641. 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!"
  3642. msgstr ""
  3643. #. type: item
  3644. #: guix-git/doc/guix.texi:520
  3645. #, no-wrap
  3646. msgid "mips64el-linux (deprecated)"
  3647. msgstr ""
  3648. #. type: table
  3649. #: guix-git/doc/guix.texi:526
  3650. 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."
  3651. msgstr ""
  3652. #. type: item
  3653. #: guix-git/doc/guix.texi:527
  3654. #, no-wrap
  3655. msgid "powerpc64le-linux"
  3656. msgstr ""
  3657. #. type: table
  3658. #: guix-git/doc/guix.texi:537
  3659. 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!"
  3660. msgstr ""
  3661. #. type: Plain text
  3662. #: guix-git/doc/guix.texi:547
  3663. 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."
  3664. msgstr ""
  3665. #. type: Plain text
  3666. #: guix-git/doc/guix.texi:550
  3667. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  3668. msgstr ""
  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 ""
  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 ""
  3677. #. type: cindex
  3678. #: guix-git/doc/guix.texi:563
  3679. #, no-wrap
  3680. msgid "installing Guix"
  3681. msgstr ""
  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 ""
  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 ""
  3691. #. type: cindex
  3692. #: guix-git/doc/guix.texi:578
  3693. #, no-wrap
  3694. msgid "directories related to foreign distro"
  3695. msgstr ""
  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 ""
  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 ""
  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 ""
  3708. #. type: cindex
  3709. #: guix-git/doc/guix.texi:605
  3710. #, no-wrap
  3711. msgid "installing Guix from binaries"
  3712. msgstr ""
  3713. #. type: cindex
  3714. #: guix-git/doc/guix.texi:606
  3715. #, no-wrap
  3716. msgid "installer script"
  3717. msgstr ""
  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 ""
  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 ""
  3743. #. type: cindex
  3744. #: guix-git/doc/guix.texi:636
  3745. #, no-wrap
  3746. msgid "downloading Guix binary"
  3747. msgstr ""
  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 ""
  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 ""
  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 ""
  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 ""
  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 ""
  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 ""
  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. #. type: enumerate
  3820. #: guix-git/doc/guix.texi:708
  3821. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  3822. msgstr ""
  3823. #. type: example
  3824. #: guix-git/doc/guix.texi:712
  3825. #, no-wrap
  3826. msgid ""
  3827. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  3828. " source $GUIX_PROFILE/etc/profile\n"
  3829. msgstr ""
  3830. #. type: enumerate
  3831. #: guix-git/doc/guix.texi:717
  3832. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  3833. msgstr ""
  3834. #. type: enumerate
  3835. #: guix-git/doc/guix.texi:720
  3836. msgid "Run the daemon, and set it to automatically start on boot."
  3837. msgstr ""
  3838. #. type: enumerate
  3839. #: guix-git/doc/guix.texi:723
  3840. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  3841. msgstr ""
  3842. #. type: example
  3843. #: guix-git/doc/guix.texi:736
  3844. #, no-wrap
  3845. msgid ""
  3846. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  3847. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  3848. " /etc/systemd/system/\n"
  3849. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  3850. msgstr ""
  3851. #. type: itemize
  3852. #: guix-git/doc/guix.texi:739 guix-git/doc/guix.texi:12767
  3853. msgid "If your host distro uses the Upstart init system:"
  3854. msgstr ""
  3855. #. type: example
  3856. #: guix-git/doc/guix.texi:745
  3857. #, no-wrap
  3858. msgid ""
  3859. "# initctl reload-configuration\n"
  3860. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  3861. " /etc/init/\n"
  3862. "# start guix-daemon\n"
  3863. msgstr ""
  3864. #. type: enumerate
  3865. #: guix-git/doc/guix.texi:748
  3866. msgid "Otherwise, you can still start the daemon manually with:"
  3867. msgstr ""
  3868. #. type: example
  3869. #: guix-git/doc/guix.texi:752
  3870. #, no-wrap
  3871. msgid ""
  3872. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  3873. " --build-users-group=guixbuild\n"
  3874. msgstr ""
  3875. #. type: enumerate
  3876. #: guix-git/doc/guix.texi:757
  3877. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  3878. msgstr ""
  3879. #. type: example
  3880. #: guix-git/doc/guix.texi:762
  3881. #, no-wrap
  3882. msgid ""
  3883. "# mkdir -p /usr/local/bin\n"
  3884. "# cd /usr/local/bin\n"
  3885. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  3886. msgstr ""
  3887. #. type: enumerate
  3888. #: guix-git/doc/guix.texi:766
  3889. msgid "It is also a good idea to make the Info version of this manual available there:"
  3890. msgstr ""
  3891. #. type: example
  3892. #: guix-git/doc/guix.texi:772
  3893. #, no-wrap
  3894. msgid ""
  3895. "# mkdir -p /usr/local/share/info\n"
  3896. "# cd /usr/local/share/info\n"
  3897. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  3898. " do ln -s $i ; done\n"
  3899. msgstr ""
  3900. #. type: enumerate
  3901. #: guix-git/doc/guix.texi:778
  3902. 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)."
  3903. msgstr ""
  3904. #. type: cindex
  3905. #: guix-git/doc/guix.texi:780 guix-git/doc/guix.texi:3724
  3906. #: guix-git/doc/guix.texi:15401
  3907. #, no-wrap
  3908. msgid "substitutes, authorization thereof"
  3909. msgstr ""
  3910. #. type: enumerate
  3911. #: guix-git/doc/guix.texi:783
  3912. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER}} or one of its mirrors (@pxref{Substitutes}), authorize them:"
  3913. msgstr ""
  3914. #. type: example
  3915. #: guix-git/doc/guix.texi:787
  3916. #, no-wrap
  3917. msgid ""
  3918. "# guix archive --authorize < \\\n"
  3919. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  3920. msgstr ""
  3921. #. type: enumerate
  3922. #: guix-git/doc/guix.texi:792
  3923. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  3924. msgstr ""
  3925. #. type: Plain text
  3926. #: guix-git/doc/guix.texi:795
  3927. msgid "Voilà, the installation is complete!"
  3928. msgstr ""
  3929. #. type: Plain text
  3930. #: guix-git/doc/guix.texi:798
  3931. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  3932. msgstr ""
  3933. #. type: example
  3934. #: guix-git/doc/guix.texi:801
  3935. #, no-wrap
  3936. msgid "# guix install hello\n"
  3937. msgstr ""
  3938. #. type: Plain text
  3939. #: guix-git/doc/guix.texi:805
  3940. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  3941. msgstr ""
  3942. #. type: example
  3943. #: guix-git/doc/guix.texi:808
  3944. #, no-wrap
  3945. msgid "make guix-binary.@var{system}.tar.xz\n"
  3946. msgstr ""
  3947. #. type: Plain text
  3948. #: guix-git/doc/guix.texi:812
  3949. msgid "...@: which, in turn, runs:"
  3950. msgstr ""
  3951. #. type: example
  3952. #: guix-git/doc/guix.texi:816
  3953. #, no-wrap
  3954. msgid ""
  3955. "guix pack -s @var{system} --localstatedir \\\n"
  3956. " --profile-name=current-guix guix\n"
  3957. msgstr ""
  3958. #. type: Plain text
  3959. #: guix-git/doc/guix.texi:819
  3960. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  3961. msgstr ""
  3962. #. type: Plain text
  3963. #: guix-git/doc/guix.texi:827
  3964. 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."
  3965. msgstr ""
  3966. #. type: cindex
  3967. #: guix-git/doc/guix.texi:828
  3968. #, no-wrap
  3969. msgid "official website"
  3970. msgstr ""
  3971. #. type: Plain text
  3972. #: guix-git/doc/guix.texi:831
  3973. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  3974. msgstr ""
  3975. #. type: Plain text
  3976. #: guix-git/doc/guix.texi:833
  3977. msgid "GNU Guix depends on the following packages:"
  3978. msgstr ""
  3979. #. type: item
  3980. #: guix-git/doc/guix.texi:835
  3981. #, no-wrap
  3982. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x or"
  3983. msgstr ""
  3984. #. type: itemize
  3985. #: guix-git/doc/guix.texi:837
  3986. msgid "2.2.x;"
  3987. msgstr ""
  3988. #. type: item
  3989. #: guix-git/doc/guix.texi:837
  3990. #, no-wrap
  3991. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  3992. msgstr ""
  3993. #. type: itemize
  3994. #: guix-git/doc/guix.texi:839
  3995. msgid "0.1.0 or later;"
  3996. msgstr ""
  3997. #. type: itemize
  3998. #: guix-git/doc/guix.texi:843
  3999. 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});"
  4000. msgstr ""
  4001. #. type: itemize
  4002. #: guix-git/doc/guix.texi:846
  4003. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4004. msgstr ""
  4005. #. type: item
  4006. #: guix-git/doc/guix.texi:846
  4007. #, no-wrap
  4008. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4009. msgstr ""
  4010. #. type: itemize
  4011. #: guix-git/doc/guix.texi:848
  4012. msgid "version 0.1.0 or later;"
  4013. msgstr ""
  4014. #. type: item
  4015. #: guix-git/doc/guix.texi:848
  4016. #, no-wrap
  4017. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4018. msgstr ""
  4019. #. type: item
  4020. #: guix-git/doc/guix.texi:849
  4021. #, no-wrap
  4022. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4023. msgstr ""
  4024. #. type: itemize
  4025. #: guix-git/doc/guix.texi:855
  4026. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.3.0 or later;"
  4027. msgstr ""
  4028. #. type: item
  4029. #: guix-git/doc/guix.texi:855
  4030. #, no-wrap
  4031. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4032. msgstr ""
  4033. #. type: itemize
  4034. #: guix-git/doc/guix.texi:857
  4035. msgid "4.3.0 or later;"
  4036. msgstr ""
  4037. #. type: item
  4038. #: guix-git/doc/guix.texi:857
  4039. #, no-wrap
  4040. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4041. msgstr ""
  4042. #. type: Plain text
  4043. #: guix-git/doc/guix.texi:861
  4044. msgid "The following dependencies are optional:"
  4045. msgstr ""
  4046. #. type: itemize
  4047. #: guix-git/doc/guix.texi:869
  4048. 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."
  4049. msgstr ""
  4050. #. type: itemize
  4051. #: guix-git/doc/guix.texi:874
  4052. 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})."
  4053. msgstr ""
  4054. #. type: itemize
  4055. #: guix-git/doc/guix.texi:878
  4056. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4057. msgstr ""
  4058. #. type: itemize
  4059. #: guix-git/doc/guix.texi:883
  4060. 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})."
  4061. msgstr ""
  4062. #. type: itemize
  4063. #: guix-git/doc/guix.texi:887
  4064. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4065. msgstr ""
  4066. #. type: Plain text
  4067. #: guix-git/doc/guix.texi:891
  4068. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4069. msgstr ""
  4070. #. type: item
  4071. #: guix-git/doc/guix.texi:893
  4072. #, no-wrap
  4073. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4074. msgstr ""
  4075. #. type: item
  4076. #: guix-git/doc/guix.texi:894
  4077. #, no-wrap
  4078. msgid "@url{https://sqlite.org, SQLite 3};"
  4079. msgstr ""
  4080. #. type: item
  4081. #: guix-git/doc/guix.texi:895
  4082. #, no-wrap
  4083. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4084. msgstr ""
  4085. #. type: itemize
  4086. #: guix-git/doc/guix.texi:897
  4087. msgid "C++11 standard."
  4088. msgstr ""
  4089. #. type: cindex
  4090. #: guix-git/doc/guix.texi:899
  4091. #, no-wrap
  4092. msgid "state directory"
  4093. msgstr ""
  4094. #. type: Plain text
  4095. #: guix-git/doc/guix.texi:908
  4096. 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})."
  4097. msgstr ""
  4098. #. type: cindex
  4099. #: guix-git/doc/guix.texi:912
  4100. #, no-wrap
  4101. msgid "test suite"
  4102. msgstr ""
  4103. #. type: Plain text
  4104. #: guix-git/doc/guix.texi:918
  4105. 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:"
  4106. msgstr ""
  4107. #. type: example
  4108. #: guix-git/doc/guix.texi:921
  4109. #, no-wrap
  4110. msgid "make check\n"
  4111. msgstr ""
  4112. #. type: Plain text
  4113. #: guix-git/doc/guix.texi:928
  4114. 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."
  4115. msgstr ""
  4116. #. type: Plain text
  4117. #: guix-git/doc/guix.texi:931
  4118. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4119. msgstr ""
  4120. #. type: example
  4121. #: guix-git/doc/guix.texi:934
  4122. #, no-wrap
  4123. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4124. msgstr ""
  4125. #. type: Plain text
  4126. #: guix-git/doc/guix.texi:939
  4127. 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:"
  4128. msgstr ""
  4129. #. type: example
  4130. #: guix-git/doc/guix.texi:942
  4131. #, no-wrap
  4132. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4133. msgstr ""
  4134. #. type: Plain text
  4135. #: guix-git/doc/guix.texi:950
  4136. 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'':"
  4137. msgstr ""
  4138. #. type: example
  4139. #: guix-git/doc/guix.texi:954
  4140. #, no-wrap
  4141. msgid ""
  4142. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4143. "make check TESTS=\"tests/packages.scm\"\n"
  4144. msgstr ""
  4145. #. type: Plain text
  4146. #: guix-git/doc/guix.texi:960
  4147. 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:"
  4148. msgstr ""
  4149. #. type: example
  4150. #: guix-git/doc/guix.texi:963
  4151. #, no-wrap
  4152. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4153. msgstr ""
  4154. #. type: Plain text
  4155. #: guix-git/doc/guix.texi:968
  4156. 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}:"
  4157. msgstr ""
  4158. #. type: example
  4159. #: guix-git/doc/guix.texi:971
  4160. #, no-wrap
  4161. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4162. msgstr ""
  4163. #. type: Plain text
  4164. #: guix-git/doc/guix.texi:975
  4165. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4166. msgstr ""
  4167. #. type: Plain text
  4168. #: guix-git/doc/guix.texi:980
  4169. 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."
  4170. msgstr ""
  4171. #. type: Plain text
  4172. #: guix-git/doc/guix.texi:984
  4173. 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:"
  4174. msgstr ""
  4175. #. type: example
  4176. #: guix-git/doc/guix.texi:987
  4177. #, no-wrap
  4178. msgid "make check-system\n"
  4179. msgstr ""
  4180. #. type: Plain text
  4181. #: guix-git/doc/guix.texi:991
  4182. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4183. msgstr ""
  4184. #. type: example
  4185. #: guix-git/doc/guix.texi:994
  4186. #, no-wrap
  4187. msgid "make check-system TESTS=\"basic mcron\"\n"
  4188. msgstr ""
  4189. #. type: Plain text
  4190. #: guix-git/doc/guix.texi:1002
  4191. 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."
  4192. msgstr ""
  4193. #. type: Plain text
  4194. #: guix-git/doc/guix.texi:1005
  4195. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4196. msgstr ""
  4197. #. type: cindex
  4198. #: guix-git/doc/guix.texi:1009
  4199. #, no-wrap
  4200. msgid "daemon"
  4201. msgstr ""
  4202. #. type: Plain text
  4203. #: guix-git/doc/guix.texi:1017
  4204. 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."
  4205. msgstr ""
  4206. #. type: Plain text
  4207. #: guix-git/doc/guix.texi:1021
  4208. 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."
  4209. msgstr ""
  4210. #. type: cindex
  4211. #: guix-git/doc/guix.texi:1031 guix-git/doc/guix.texi:1493
  4212. #, no-wrap
  4213. msgid "build environment"
  4214. msgstr ""
  4215. #. type: Plain text
  4216. #: guix-git/doc/guix.texi:1039
  4217. 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."
  4218. msgstr ""
  4219. #. type: cindex
  4220. #: guix-git/doc/guix.texi:1040
  4221. #, no-wrap
  4222. msgid "build users"
  4223. msgstr ""
  4224. #. type: Plain text
  4225. #: guix-git/doc/guix.texi:1051
  4226. 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})."
  4227. msgstr ""
  4228. #. type: Plain text
  4229. #: guix-git/doc/guix.texi:1054
  4230. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4231. msgstr ""
  4232. #. type: example
  4233. #: guix-git/doc/guix.texi:1066
  4234. #, no-wrap
  4235. msgid ""
  4236. "# groupadd --system guixbuild\n"
  4237. "# for i in $(seq -w 1 10);\n"
  4238. " do\n"
  4239. " useradd -g guixbuild -G guixbuild \\\n"
  4240. " -d /var/empty -s $(which nologin) \\\n"
  4241. " -c \"Guix build user $i\" --system \\\n"
  4242. " guixbuilder$i;\n"
  4243. " done\n"
  4244. msgstr ""
  4245. #. type: Plain text
  4246. #: guix-git/doc/guix.texi:1076
  4247. 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})."
  4248. msgstr ""
  4249. #. type: Plain text
  4250. #: guix-git/doc/guix.texi:1085
  4251. 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}.}:"
  4252. msgstr ""
  4253. #. type: example
  4254. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1486
  4255. #, no-wrap
  4256. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4257. msgstr ""
  4258. #. type: cindex
  4259. #: guix-git/doc/guix.texi:1090 guix-git/doc/guix.texi:1491
  4260. #, no-wrap
  4261. msgid "chroot"
  4262. msgstr ""
  4263. #. type: Plain text
  4264. #: guix-git/doc/guix.texi:1095
  4265. 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:"
  4266. msgstr ""
  4267. #. type: itemize
  4268. #: guix-git/doc/guix.texi:1103
  4269. 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.};"
  4270. msgstr ""
  4271. #. type: itemize
  4272. #: guix-git/doc/guix.texi:1107
  4273. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4274. msgstr ""
  4275. #. type: itemize
  4276. #: guix-git/doc/guix.texi:1111
  4277. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4278. msgstr ""
  4279. #. type: itemize
  4280. #: guix-git/doc/guix.texi:1114
  4281. msgid "@file{/etc/group} with an entry for the user's group;"
  4282. msgstr ""
  4283. #. type: itemize
  4284. #: guix-git/doc/guix.texi:1118
  4285. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4286. msgstr ""
  4287. #. type: itemize
  4288. #: guix-git/doc/guix.texi:1121
  4289. msgid "a writable @file{/tmp} directory."
  4290. msgstr ""
  4291. #. type: Plain text
  4292. #: guix-git/doc/guix.texi:1130
  4293. 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."
  4294. msgstr ""
  4295. #. type: vindex
  4296. #: guix-git/doc/guix.texi:1131 guix-git/doc/guix.texi:3929
  4297. #, no-wrap
  4298. msgid "http_proxy"
  4299. msgstr ""
  4300. #. type: vindex
  4301. #: guix-git/doc/guix.texi:1132 guix-git/doc/guix.texi:3930
  4302. #, no-wrap
  4303. msgid "https_proxy"
  4304. msgstr ""
  4305. #. type: Plain text
  4306. #: guix-git/doc/guix.texi:1137
  4307. 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})."
  4308. msgstr ""
  4309. #. type: Plain text
  4310. #: guix-git/doc/guix.texi:1145
  4311. 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."
  4312. msgstr ""
  4313. #. type: subsection
  4314. #: guix-git/doc/guix.texi:1148
  4315. #, no-wrap
  4316. msgid "Using the Offload Facility"
  4317. msgstr ""
  4318. #. type: cindex
  4319. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1552
  4320. #, no-wrap
  4321. msgid "offloading"
  4322. msgstr ""
  4323. #. type: cindex
  4324. #: guix-git/doc/guix.texi:1151
  4325. #, no-wrap
  4326. msgid "build hook"
  4327. msgstr ""
  4328. #. type: Plain text
  4329. #: guix-git/doc/guix.texi:1170
  4330. 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:"
  4331. msgstr ""
  4332. #. type: enumerate
  4333. #: guix-git/doc/guix.texi:1176
  4334. 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."
  4335. msgstr ""
  4336. #. type: enumerate
  4337. #: guix-git/doc/guix.texi:1180
  4338. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4339. msgstr ""
  4340. #. type: enumerate
  4341. #: guix-git/doc/guix.texi:1185
  4342. 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."
  4343. msgstr ""
  4344. #. type: enumerate
  4345. #: guix-git/doc/guix.texi:1188
  4346. msgid "Disk space availability. More than a 100 MiB must be available."
  4347. msgstr ""
  4348. #. type: Plain text
  4349. #: guix-git/doc/guix.texi:1191
  4350. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4351. msgstr ""
  4352. #. type: lisp
  4353. #: guix-git/doc/guix.texi:1199
  4354. #, no-wrap
  4355. msgid ""
  4356. "(list (build-machine\n"
  4357. " (name \"eightysix.example.org\")\n"
  4358. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4359. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4360. " (user \"bob\")\n"
  4361. " (speed 2.)) ;incredibly fast!\n"
  4362. "\n"
  4363. msgstr ""
  4364. #. type: lisp
  4365. #: guix-git/doc/guix.texi:1208
  4366. #, no-wrap
  4367. msgid ""
  4368. " (build-machine\n"
  4369. " (name \"armeight.example.org\")\n"
  4370. " (systems (list \"aarch64-linux\"))\n"
  4371. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4372. " (user \"alice\")\n"
  4373. " (private-key\n"
  4374. " (string-append (getenv \"HOME\")\n"
  4375. " \"/.ssh/identity-for-guix\"))))\n"
  4376. msgstr ""
  4377. #. type: Plain text
  4378. #: guix-git/doc/guix.texi:1214
  4379. 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."
  4380. msgstr ""
  4381. #. type: Plain text
  4382. #: guix-git/doc/guix.texi:1223
  4383. 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."
  4384. msgstr ""
  4385. #. type: deftp
  4386. #: guix-git/doc/guix.texi:1224
  4387. #, no-wrap
  4388. msgid "{Data Type} build-machine"
  4389. msgstr ""
  4390. #. type: deftp
  4391. #: guix-git/doc/guix.texi:1227
  4392. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4393. msgstr ""
  4394. #. type: item
  4395. #: guix-git/doc/guix.texi:1230 guix-git/doc/guix.texi:6649
  4396. #: guix-git/doc/guix.texi:14367 guix-git/doc/guix.texi:14461
  4397. #: guix-git/doc/guix.texi:14702 guix-git/doc/guix.texi:16651
  4398. #: guix-git/doc/guix.texi:19835 guix-git/doc/guix.texi:22471
  4399. #: guix-git/doc/guix.texi:23860 guix-git/doc/guix.texi:24472
  4400. #: guix-git/doc/guix.texi:24824 guix-git/doc/guix.texi:24865
  4401. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:29233
  4402. #: guix-git/doc/guix.texi:29253 guix-git/doc/guix.texi:31700
  4403. #: guix-git/doc/guix.texi:31717 guix-git/doc/guix.texi:32206
  4404. #: guix-git/doc/guix.texi:33938 guix-git/doc/guix.texi:34246
  4405. #, no-wrap
  4406. msgid "name"
  4407. msgstr "이름"
  4408. #. type: table
  4409. #: guix-git/doc/guix.texi:1232
  4410. msgid "The host name of the remote machine."
  4411. msgstr ""
  4412. #. type: item
  4413. #: guix-git/doc/guix.texi:1233
  4414. #, no-wrap
  4415. msgid "systems"
  4416. msgstr "시스템"
  4417. #. type: table
  4418. #: guix-git/doc/guix.texi:1236
  4419. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  4420. msgstr ""
  4421. #. type: code{#1}
  4422. #: guix-git/doc/guix.texi:1237 guix-git/doc/guix.texi:16661
  4423. #, no-wrap
  4424. msgid "user"
  4425. msgstr "사용자"
  4426. #. type: table
  4427. #: guix-git/doc/guix.texi:1241
  4428. 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."
  4429. msgstr ""
  4430. #. type: item
  4431. #: guix-git/doc/guix.texi:1242
  4432. #, no-wrap
  4433. msgid "host-key"
  4434. msgstr ""
  4435. #. type: table
  4436. #: guix-git/doc/guix.texi:1246
  4437. 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:"
  4438. msgstr ""
  4439. #. type: example
  4440. #: guix-git/doc/guix.texi:1249
  4441. #, no-wrap
  4442. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  4443. msgstr ""
  4444. #. type: table
  4445. #: guix-git/doc/guix.texi:1254
  4446. 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}."
  4447. msgstr ""
  4448. #. type: table
  4449. #: guix-git/doc/guix.texi:1259
  4450. 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}):"
  4451. msgstr ""
  4452. #. type: example
  4453. #: guix-git/doc/guix.texi:1263
  4454. #, no-wrap
  4455. msgid ""
  4456. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  4457. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  4458. msgstr ""
  4459. #. type: deftp
  4460. #: guix-git/doc/guix.texi:1268
  4461. msgid "A number of optional fields may be specified:"
  4462. msgstr ""
  4463. #. type: item
  4464. #: guix-git/doc/guix.texi:1271 guix-git/doc/guix.texi:33438
  4465. #, no-wrap
  4466. msgid "@code{port} (default: @code{22})"
  4467. msgstr ""
  4468. #. type: table
  4469. #: guix-git/doc/guix.texi:1273
  4470. msgid "Port number of SSH server on the machine."
  4471. msgstr ""
  4472. #. type: item
  4473. #: guix-git/doc/guix.texi:1274
  4474. #, no-wrap
  4475. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  4476. msgstr ""
  4477. #. type: table
  4478. #: guix-git/doc/guix.texi:1277
  4479. 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."
  4480. msgstr ""
  4481. #. type: table
  4482. #: guix-git/doc/guix.texi:1280
  4483. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  4484. msgstr ""
  4485. #. type: item
  4486. #: guix-git/doc/guix.texi:1281
  4487. #, no-wrap
  4488. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  4489. msgstr ""
  4490. #. type: itemx
  4491. #: guix-git/doc/guix.texi:1282
  4492. #, no-wrap
  4493. msgid "@code{compression-level} (default: @code{3})"
  4494. msgstr ""
  4495. #. type: table
  4496. #: guix-git/doc/guix.texi:1284
  4497. msgid "The SSH-level compression methods and compression level requested."
  4498. msgstr ""
  4499. #. type: table
  4500. #: guix-git/doc/guix.texi:1287
  4501. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  4502. msgstr ""
  4503. #. type: item
  4504. #: guix-git/doc/guix.texi:1288
  4505. #, no-wrap
  4506. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  4507. msgstr ""
  4508. #. type: table
  4509. #: guix-git/doc/guix.texi:1291
  4510. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  4511. msgstr ""
  4512. #. type: item
  4513. #: guix-git/doc/guix.texi:1292
  4514. #, no-wrap
  4515. msgid "@code{overload-threshold} (default: @code{0.6})"
  4516. msgstr ""
  4517. #. type: table
  4518. #: guix-git/doc/guix.texi:1298
  4519. 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}."
  4520. msgstr ""
  4521. #. type: item
  4522. #: guix-git/doc/guix.texi:1299
  4523. #, no-wrap
  4524. msgid "@code{parallel-builds} (default: @code{1})"
  4525. msgstr ""
  4526. #. type: table
  4527. #: guix-git/doc/guix.texi:1301
  4528. msgid "The number of builds that may run in parallel on the machine."
  4529. msgstr ""
  4530. #. type: item
  4531. #: guix-git/doc/guix.texi:1302
  4532. #, no-wrap
  4533. msgid "@code{speed} (default: @code{1.0})"
  4534. msgstr ""
  4535. #. type: table
  4536. #: guix-git/doc/guix.texi:1305
  4537. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  4538. msgstr ""
  4539. #. type: item
  4540. #: guix-git/doc/guix.texi:1306
  4541. #, no-wrap
  4542. msgid "@code{features} (default: @code{'()})"
  4543. msgstr ""
  4544. #. type: table
  4545. #: guix-git/doc/guix.texi:1311
  4546. 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."
  4547. msgstr ""
  4548. #. type: Plain text
  4549. #: guix-git/doc/guix.texi:1317
  4550. 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:"
  4551. msgstr ""
  4552. #. type: example
  4553. #: guix-git/doc/guix.texi:1320
  4554. #, no-wrap
  4555. msgid "ssh build-machine guix repl --version\n"
  4556. msgstr ""
  4557. #. type: Plain text
  4558. #: guix-git/doc/guix.texi:1327
  4559. 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}):"
  4560. msgstr ""
  4561. #. type: example
  4562. #: guix-git/doc/guix.texi:1330 guix-git/doc/guix.texi:33366
  4563. #, no-wrap
  4564. msgid "# guix archive --generate-key\n"
  4565. msgstr ""
  4566. #. type: Plain text
  4567. #: guix-git/doc/guix.texi:1335
  4568. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  4569. msgstr ""
  4570. #. type: example
  4571. #: guix-git/doc/guix.texi:1338
  4572. #, no-wrap
  4573. msgid "# guix archive --authorize < master-public-key.txt\n"
  4574. msgstr ""
  4575. #. type: Plain text
  4576. #: guix-git/doc/guix.texi:1342
  4577. msgid "Likewise, the master machine must authorize the key of each build machine."
  4578. msgstr ""
  4579. #. type: Plain text
  4580. #: guix-git/doc/guix.texi:1348
  4581. 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."
  4582. msgstr ""
  4583. #. type: cindex
  4584. #: guix-git/doc/guix.texi:1349
  4585. #, no-wrap
  4586. msgid "offload test"
  4587. msgstr ""
  4588. #. type: Plain text
  4589. #: guix-git/doc/guix.texi:1352
  4590. msgid "To test whether your setup is operational, run this command on the master node:"
  4591. msgstr ""
  4592. #. type: example
  4593. #: guix-git/doc/guix.texi:1355
  4594. #, no-wrap
  4595. msgid "# guix offload test\n"
  4596. msgstr ""
  4597. #. type: Plain text
  4598. #: guix-git/doc/guix.texi:1361
  4599. 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."
  4600. msgstr ""
  4601. #. type: Plain text
  4602. #: guix-git/doc/guix.texi:1364
  4603. msgid "If you want to test a different machine file, just specify it on the command line:"
  4604. msgstr ""
  4605. #. type: example
  4606. #: guix-git/doc/guix.texi:1367
  4607. #, no-wrap
  4608. msgid "# guix offload test machines-qualif.scm\n"
  4609. msgstr ""
  4610. #. type: Plain text
  4611. #: guix-git/doc/guix.texi:1371
  4612. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  4613. msgstr ""
  4614. #. type: example
  4615. #: guix-git/doc/guix.texi:1374
  4616. #, no-wrap
  4617. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  4618. msgstr ""
  4619. #. type: cindex
  4620. #: guix-git/doc/guix.texi:1376
  4621. #, no-wrap
  4622. msgid "offload status"
  4623. msgstr ""
  4624. #. type: Plain text
  4625. #: guix-git/doc/guix.texi:1379
  4626. msgid "To display the current load of all build hosts, run this command on the main node:"
  4627. msgstr ""
  4628. #. type: example
  4629. #: guix-git/doc/guix.texi:1382
  4630. #, no-wrap
  4631. msgid "# guix offload status\n"
  4632. msgstr ""
  4633. #. type: cindex
  4634. #: guix-git/doc/guix.texi:1388
  4635. #, no-wrap
  4636. msgid "SELinux, daemon policy"
  4637. msgstr ""
  4638. #. type: cindex
  4639. #: guix-git/doc/guix.texi:1389
  4640. #, no-wrap
  4641. msgid "mandatory access control, SELinux"
  4642. msgstr ""
  4643. #. type: cindex
  4644. #: guix-git/doc/guix.texi:1390
  4645. #, no-wrap
  4646. msgid "security, guix-daemon"
  4647. msgstr ""
  4648. #. type: Plain text
  4649. #: guix-git/doc/guix.texi:1396
  4650. 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."
  4651. msgstr ""
  4652. #. type: subsubsection
  4653. #: guix-git/doc/guix.texi:1397
  4654. #, no-wrap
  4655. msgid "Installing the SELinux policy"
  4656. msgstr ""
  4657. #. type: cindex
  4658. #: guix-git/doc/guix.texi:1398
  4659. #, no-wrap
  4660. msgid "SELinux, policy installation"
  4661. msgstr ""
  4662. #. type: Plain text
  4663. #: guix-git/doc/guix.texi:1400
  4664. msgid "To install the policy run this command as root:"
  4665. msgstr ""
  4666. #. type: example
  4667. #: guix-git/doc/guix.texi:1403
  4668. #, no-wrap
  4669. msgid "semodule -i etc/guix-daemon.cil\n"
  4670. msgstr ""
  4671. #. type: Plain text
  4672. #: guix-git/doc/guix.texi:1407
  4673. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  4674. msgstr ""
  4675. #. type: Plain text
  4676. #: guix-git/doc/guix.texi:1412
  4677. 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:"
  4678. msgstr ""
  4679. #. type: example
  4680. #: guix-git/doc/guix.texi:1415
  4681. #, no-wrap
  4682. msgid "ps -Zax | grep guix-daemon\n"
  4683. msgstr ""
  4684. #. type: Plain text
  4685. #: guix-git/doc/guix.texi:1420
  4686. 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."
  4687. msgstr ""
  4688. #. type: cindex
  4689. #: guix-git/doc/guix.texi:1422
  4690. #, no-wrap
  4691. msgid "SELinux, limitations"
  4692. msgstr ""
  4693. #. type: Plain text
  4694. #: guix-git/doc/guix.texi:1427
  4695. 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."
  4696. msgstr ""
  4697. #. type: enumerate
  4698. #: guix-git/doc/guix.texi:1434
  4699. 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."
  4700. msgstr ""
  4701. #. type: enumerate
  4702. #: guix-git/doc/guix.texi:1445
  4703. 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."
  4704. msgstr ""
  4705. #. type: enumerate
  4706. #: guix-git/doc/guix.texi:1450
  4707. 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."
  4708. msgstr ""
  4709. #. type: enumerate
  4710. #: guix-git/doc/guix.texi:1461
  4711. 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."
  4712. msgstr ""
  4713. #. type: enumerate
  4714. #: guix-git/doc/guix.texi:1466
  4715. 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."
  4716. msgstr ""
  4717. #. type: enumerate
  4718. #: guix-git/doc/guix.texi:1474
  4719. 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."
  4720. msgstr ""
  4721. #. type: section
  4722. #: guix-git/doc/guix.texi:1477
  4723. #, no-wrap
  4724. msgid "Invoking @command{guix-daemon}"
  4725. msgstr ""
  4726. #. type: Plain text
  4727. #: guix-git/doc/guix.texi:1483
  4728. 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:"
  4729. msgstr ""
  4730. #. type: Plain text
  4731. #: guix-git/doc/guix.texi:1490
  4732. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  4733. msgstr ""
  4734. #. type: cindex
  4735. #: guix-git/doc/guix.texi:1492
  4736. #, no-wrap
  4737. msgid "container, build environment"
  4738. msgstr ""
  4739. #. type: cindex
  4740. #: guix-git/doc/guix.texi:1494 guix-git/doc/guix.texi:3011
  4741. #: guix-git/doc/guix.texi:3910 guix-git/doc/guix.texi:12780
  4742. #, no-wrap
  4743. msgid "reproducible builds"
  4744. msgstr ""
  4745. #. type: Plain text
  4746. #: guix-git/doc/guix.texi:1506
  4747. 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})."
  4748. msgstr ""
  4749. #. type: Plain text
  4750. #: guix-git/doc/guix.texi:1512
  4751. 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}."
  4752. msgstr ""
  4753. #. type: Plain text
  4754. #: guix-git/doc/guix.texi:1516
  4755. 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}})."
  4756. msgstr ""
  4757. #. type: Plain text
  4758. #: guix-git/doc/guix.texi:1522
  4759. 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."
  4760. msgstr ""
  4761. #. type: Plain text
  4762. #: guix-git/doc/guix.texi:1524
  4763. msgid "The following command-line options are supported:"
  4764. msgstr ""
  4765. #. type: item
  4766. #: guix-git/doc/guix.texi:1526
  4767. #, no-wrap
  4768. msgid "--build-users-group=@var{group}"
  4769. msgstr ""
  4770. #. type: table
  4771. #: guix-git/doc/guix.texi:1529
  4772. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  4773. msgstr ""
  4774. #. type: item
  4775. #: guix-git/doc/guix.texi:1530 guix-git/doc/guix.texi:10265
  4776. #, no-wrap
  4777. msgid "--no-substitutes"
  4778. msgstr ""
  4779. #. type: cindex
  4780. #: guix-git/doc/guix.texi:1531 guix-git/doc/guix.texi:3023
  4781. #: guix-git/doc/guix.texi:3668
  4782. #, no-wrap
  4783. msgid "substitutes"
  4784. msgstr ""
  4785. #. type: table
  4786. #: guix-git/doc/guix.texi:1535 guix-git/doc/guix.texi:10269
  4787. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  4788. msgstr ""
  4789. #. type: table
  4790. #: guix-git/doc/guix.texi:1539
  4791. 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})."
  4792. msgstr ""
  4793. #. type: anchor{#1}
  4794. #: guix-git/doc/guix.texi:1541
  4795. msgid "daemon-substitute-urls"
  4796. msgstr ""
  4797. #. type: item
  4798. #: guix-git/doc/guix.texi:1541 guix-git/doc/guix.texi:10252
  4799. #: guix-git/doc/guix.texi:12211 guix-git/doc/guix.texi:12926
  4800. #: guix-git/doc/guix.texi:13151
  4801. #, no-wrap
  4802. msgid "--substitute-urls=@var{urls}"
  4803. msgstr ""
  4804. #. type: table
  4805. #: guix-git/doc/guix.texi:1545
  4806. 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."
  4807. msgstr ""
  4808. #. type: table
  4809. #: guix-git/doc/guix.texi:1548
  4810. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  4811. msgstr ""
  4812. #. type: table
  4813. #: guix-git/doc/guix.texi:1551
  4814. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  4815. msgstr ""
  4816. #. type: item
  4817. #: guix-git/doc/guix.texi:1553 guix-git/doc/guix.texi:10288
  4818. #, no-wrap
  4819. msgid "--no-offload"
  4820. msgstr ""
  4821. #. type: table
  4822. #: guix-git/doc/guix.texi:1557 guix-git/doc/guix.texi:10292
  4823. 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."
  4824. msgstr ""
  4825. #. type: item
  4826. #: guix-git/doc/guix.texi:1558
  4827. #, no-wrap
  4828. msgid "--cache-failures"
  4829. msgstr ""
  4830. #. type: table
  4831. #: guix-git/doc/guix.texi:1560
  4832. msgid "Cache build failures. By default, only successful builds are cached."
  4833. msgstr ""
  4834. #. type: table
  4835. #: guix-git/doc/guix.texi:1565
  4836. 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}."
  4837. msgstr ""
  4838. #. type: item
  4839. #: guix-git/doc/guix.texi:1566 guix-git/doc/guix.texi:10318
  4840. #, no-wrap
  4841. msgid "--cores=@var{n}"
  4842. msgstr ""
  4843. #. type: itemx
  4844. #: guix-git/doc/guix.texi:1567 guix-git/doc/guix.texi:10319
  4845. #, no-wrap
  4846. msgid "-c @var{n}"
  4847. msgstr ""
  4848. #. type: table
  4849. #: guix-git/doc/guix.texi:1570
  4850. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  4851. msgstr ""
  4852. #. type: table
  4853. #: guix-git/doc/guix.texi:1574
  4854. 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})."
  4855. msgstr ""
  4856. #. type: table
  4857. #: guix-git/doc/guix.texi:1578
  4858. 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}."
  4859. msgstr ""
  4860. #. type: item
  4861. #: guix-git/doc/guix.texi:1579 guix-git/doc/guix.texi:10323
  4862. #, no-wrap
  4863. msgid "--max-jobs=@var{n}"
  4864. msgstr ""
  4865. #. type: itemx
  4866. #: guix-git/doc/guix.texi:1580 guix-git/doc/guix.texi:10324
  4867. #, no-wrap
  4868. msgid "-M @var{n}"
  4869. msgstr ""
  4870. #. type: table
  4871. #: guix-git/doc/guix.texi:1585
  4872. 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."
  4873. msgstr ""
  4874. #. type: item
  4875. #: guix-git/doc/guix.texi:1586 guix-git/doc/guix.texi:10293
  4876. #, no-wrap
  4877. msgid "--max-silent-time=@var{seconds}"
  4878. msgstr ""
  4879. #. type: table
  4880. #: guix-git/doc/guix.texi:1589 guix-git/doc/guix.texi:10296
  4881. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  4882. msgstr ""
  4883. #. type: table
  4884. #: guix-git/doc/guix.texi:1591 guix-git/doc/guix.texi:1600
  4885. msgid "The default value is @code{0}, which disables the timeout."
  4886. msgstr ""
  4887. #. type: table
  4888. #: guix-git/doc/guix.texi:1594
  4889. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  4890. msgstr ""
  4891. #. type: item
  4892. #: guix-git/doc/guix.texi:1595 guix-git/doc/guix.texi:10300
  4893. #, no-wrap
  4894. msgid "--timeout=@var{seconds}"
  4895. msgstr ""
  4896. #. type: table
  4897. #: guix-git/doc/guix.texi:1598 guix-git/doc/guix.texi:10303
  4898. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  4899. msgstr ""
  4900. #. type: table
  4901. #: guix-git/doc/guix.texi:1603
  4902. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  4903. msgstr ""
  4904. #. type: item
  4905. #: guix-git/doc/guix.texi:1604
  4906. #, no-wrap
  4907. msgid "--rounds=@var{N}"
  4908. msgstr ""
  4909. #. type: table
  4910. #: guix-git/doc/guix.texi:1609
  4911. 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})."
  4912. msgstr ""
  4913. #. type: table
  4914. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10287
  4915. #: guix-git/doc/guix.texi:10849
  4916. 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."
  4917. msgstr ""
  4918. #. type: item
  4919. #: guix-git/doc/guix.texi:1614
  4920. #, no-wrap
  4921. msgid "--debug"
  4922. msgstr ""
  4923. #. type: table
  4924. #: guix-git/doc/guix.texi:1616
  4925. msgid "Produce debugging output."
  4926. msgstr ""
  4927. #. type: table
  4928. #: guix-git/doc/guix.texi:1620
  4929. 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})."
  4930. msgstr ""
  4931. #. type: item
  4932. #: guix-git/doc/guix.texi:1621
  4933. #, no-wrap
  4934. msgid "--chroot-directory=@var{dir}"
  4935. msgstr ""
  4936. #. type: table
  4937. #: guix-git/doc/guix.texi:1623
  4938. msgid "Add @var{dir} to the build chroot."
  4939. msgstr ""
  4940. #. type: table
  4941. #: guix-git/doc/guix.texi:1629
  4942. 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."
  4943. msgstr ""
  4944. #. type: item
  4945. #: guix-git/doc/guix.texi:1630
  4946. #, no-wrap
  4947. msgid "--disable-chroot"
  4948. msgstr ""
  4949. #. type: table
  4950. #: guix-git/doc/guix.texi:1632
  4951. msgid "Disable chroot builds."
  4952. msgstr ""
  4953. #. type: table
  4954. #: guix-git/doc/guix.texi:1637
  4955. 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."
  4956. msgstr ""
  4957. #. type: item
  4958. #: guix-git/doc/guix.texi:1638
  4959. #, no-wrap
  4960. msgid "--log-compression=@var{type}"
  4961. msgstr ""
  4962. #. type: table
  4963. #: guix-git/doc/guix.texi:1641
  4964. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  4965. msgstr ""
  4966. #. type: table
  4967. #: guix-git/doc/guix.texi:1645
  4968. 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."
  4969. msgstr ""
  4970. #. type: item
  4971. #: guix-git/doc/guix.texi:1646
  4972. #, no-wrap
  4973. msgid "--discover[=yes|no]"
  4974. msgstr ""
  4975. #. type: table
  4976. #: guix-git/doc/guix.texi:1649 guix-git/doc/guix.texi:15467
  4977. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  4978. msgstr ""
  4979. #. type: table
  4980. #: guix-git/doc/guix.texi:1652
  4981. msgid "This feature is still experimental. However, here are a few considerations."
  4982. msgstr ""
  4983. #. type: enumerate
  4984. #: guix-git/doc/guix.texi:1656
  4985. msgid "It might be faster/less expensive than fetching from remote servers;"
  4986. msgstr ""
  4987. #. type: enumerate
  4988. #: guix-git/doc/guix.texi:1659
  4989. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  4990. msgstr ""
  4991. #. type: enumerate
  4992. #: guix-git/doc/guix.texi:1663
  4993. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  4994. msgstr ""
  4995. #. type: enumerate
  4996. #: guix-git/doc/guix.texi:1666
  4997. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  4998. msgstr ""
  4999. #. type: table
  5000. #: guix-git/doc/guix.texi:1670
  5001. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5002. msgstr ""
  5003. #. type: example
  5004. #: guix-git/doc/guix.texi:1674
  5005. #, no-wrap
  5006. msgid ""
  5007. "herd discover guix-daemon on\n"
  5008. "herd discover guix-daemon off\n"
  5009. msgstr ""
  5010. #. type: item
  5011. #: guix-git/doc/guix.texi:1676
  5012. #, no-wrap
  5013. msgid "--disable-deduplication"
  5014. msgstr ""
  5015. #. type: cindex
  5016. #: guix-git/doc/guix.texi:1677 guix-git/doc/guix.texi:4248
  5017. #, no-wrap
  5018. msgid "deduplication"
  5019. msgstr "중복"
  5020. #. type: table
  5021. #: guix-git/doc/guix.texi:1679
  5022. msgid "Disable automatic file ``deduplication'' in the store."
  5023. msgstr ""
  5024. #. type: table
  5025. #: guix-git/doc/guix.texi:1686
  5026. 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."
  5027. msgstr ""
  5028. #. type: item
  5029. #: guix-git/doc/guix.texi:1687
  5030. #, no-wrap
  5031. msgid "--gc-keep-outputs[=yes|no]"
  5032. msgstr ""
  5033. #. type: table
  5034. #: guix-git/doc/guix.texi:1690
  5035. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5036. msgstr ""
  5037. #. type: cindex
  5038. #: guix-git/doc/guix.texi:1691 guix-git/doc/guix.texi:4061
  5039. #, no-wrap
  5040. msgid "GC roots"
  5041. msgstr ""
  5042. #. type: cindex
  5043. #: guix-git/doc/guix.texi:1692 guix-git/doc/guix.texi:4062
  5044. #, no-wrap
  5045. msgid "garbage collector roots"
  5046. msgstr ""
  5047. #. type: table
  5048. #: guix-git/doc/guix.texi:1698
  5049. 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."
  5050. msgstr ""
  5051. #. type: item
  5052. #: guix-git/doc/guix.texi:1699
  5053. #, no-wrap
  5054. msgid "--gc-keep-derivations[=yes|no]"
  5055. msgstr ""
  5056. #. type: table
  5057. #: guix-git/doc/guix.texi:1702
  5058. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5059. msgstr ""
  5060. #. type: table
  5061. #: guix-git/doc/guix.texi:1708
  5062. 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."
  5063. msgstr ""
  5064. #. type: table
  5065. #: guix-git/doc/guix.texi:1717
  5066. 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."
  5067. msgstr ""
  5068. #. type: item
  5069. #: guix-git/doc/guix.texi:1718
  5070. #, no-wrap
  5071. msgid "--impersonate-linux-2.6"
  5072. msgstr ""
  5073. #. type: table
  5074. #: guix-git/doc/guix.texi:1721
  5075. 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."
  5076. msgstr ""
  5077. #. type: table
  5078. #: guix-git/doc/guix.texi:1724
  5079. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5080. msgstr ""
  5081. #. type: item
  5082. #: guix-git/doc/guix.texi:1725
  5083. #, no-wrap
  5084. msgid "--lose-logs"
  5085. msgstr ""
  5086. #. type: table
  5087. #: guix-git/doc/guix.texi:1728
  5088. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5089. msgstr ""
  5090. #. type: item
  5091. #: guix-git/doc/guix.texi:1729 guix-git/doc/guix.texi:4489
  5092. #: guix-git/doc/guix.texi:5788 guix-git/doc/guix.texi:6159
  5093. #: guix-git/doc/guix.texi:10793 guix-git/doc/guix.texi:12238
  5094. #: guix-git/doc/guix.texi:12489 guix-git/doc/guix.texi:13156
  5095. #: guix-git/doc/guix.texi:32309 guix-git/doc/guix.texi:33108
  5096. #, no-wrap
  5097. msgid "--system=@var{system}"
  5098. msgstr ""
  5099. #. type: table
  5100. #: guix-git/doc/guix.texi:1733
  5101. 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}."
  5102. msgstr ""
  5103. #. type: item
  5104. #: guix-git/doc/guix.texi:1734 guix-git/doc/guix.texi:10098
  5105. #, no-wrap
  5106. msgid "--listen=@var{endpoint}"
  5107. msgstr ""
  5108. #. type: table
  5109. #: guix-git/doc/guix.texi:1739
  5110. 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:"
  5111. msgstr ""
  5112. #. type: item
  5113. #: guix-git/doc/guix.texi:1741
  5114. #, no-wrap
  5115. msgid "--listen=/gnu/var/daemon"
  5116. msgstr ""
  5117. #. type: table
  5118. #: guix-git/doc/guix.texi:1744
  5119. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5120. msgstr ""
  5121. #. type: item
  5122. #: guix-git/doc/guix.texi:1745
  5123. #, no-wrap
  5124. msgid "--listen=localhost"
  5125. msgstr ""
  5126. #. type: cindex
  5127. #: guix-git/doc/guix.texi:1746 guix-git/doc/guix.texi:8782
  5128. #, no-wrap
  5129. msgid "daemon, remote access"
  5130. msgstr ""
  5131. #. type: cindex
  5132. #: guix-git/doc/guix.texi:1747 guix-git/doc/guix.texi:8783
  5133. #, no-wrap
  5134. msgid "remote access to the daemon"
  5135. msgstr ""
  5136. #. type: cindex
  5137. #: guix-git/doc/guix.texi:1748 guix-git/doc/guix.texi:8784
  5138. #, no-wrap
  5139. msgid "daemon, cluster setup"
  5140. msgstr ""
  5141. #. type: cindex
  5142. #: guix-git/doc/guix.texi:1749 guix-git/doc/guix.texi:8785
  5143. #, no-wrap
  5144. msgid "clusters, daemon setup"
  5145. msgstr ""
  5146. #. type: table
  5147. #: guix-git/doc/guix.texi:1752
  5148. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5149. msgstr ""
  5150. #. type: item
  5151. #: guix-git/doc/guix.texi:1753
  5152. #, no-wrap
  5153. msgid "--listen=128.0.0.42:1234"
  5154. msgstr ""
  5155. #. type: table
  5156. #: guix-git/doc/guix.texi:1756
  5157. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5158. msgstr ""
  5159. #. type: table
  5160. #: guix-git/doc/guix.texi:1763
  5161. 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}})."
  5162. msgstr ""
  5163. #. type: quotation
  5164. #: guix-git/doc/guix.texi:1770
  5165. 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."
  5166. msgstr ""
  5167. #. type: table
  5168. #: guix-git/doc/guix.texi:1775
  5169. 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}."
  5170. msgstr ""
  5171. #. type: Plain text
  5172. #: guix-git/doc/guix.texi:1785
  5173. 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."
  5174. msgstr ""
  5175. #. type: anchor{#1}
  5176. #: guix-git/doc/guix.texi:1789
  5177. msgid "locales-and-locpath"
  5178. msgstr ""
  5179. #. type: cindex
  5180. #: guix-git/doc/guix.texi:1789
  5181. #, no-wrap
  5182. msgid "locales, when not on Guix System"
  5183. msgstr ""
  5184. #. type: vindex
  5185. #: guix-git/doc/guix.texi:1790 guix-git/doc/guix.texi:14686
  5186. #, no-wrap
  5187. msgid "LOCPATH"
  5188. msgstr ""
  5189. #. type: vindex
  5190. #: guix-git/doc/guix.texi:1791
  5191. #, no-wrap
  5192. msgid "GUIX_LOCPATH"
  5193. msgstr ""
  5194. #. type: Plain text
  5195. #: guix-git/doc/guix.texi:1796
  5196. 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:"
  5197. msgstr ""
  5198. #. type: example
  5199. #: guix-git/doc/guix.texi:1800
  5200. #, no-wrap
  5201. msgid ""
  5202. "$ guix install glibc-locales\n"
  5203. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5204. msgstr ""
  5205. #. type: Plain text
  5206. #: guix-git/doc/guix.texi:1806
  5207. 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."
  5208. msgstr ""
  5209. #. type: Plain text
  5210. #: guix-git/doc/guix.texi:1810
  5211. 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:"
  5212. msgstr ""
  5213. #. type: enumerate
  5214. #: guix-git/doc/guix.texi:1817
  5215. 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."
  5216. msgstr ""
  5217. #. type: enumerate
  5218. #: guix-git/doc/guix.texi:1824
  5219. 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."
  5220. msgstr ""
  5221. #. type: Plain text
  5222. #: guix-git/doc/guix.texi:1828
  5223. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5224. msgstr ""
  5225. #. type: cindex
  5226. #: guix-git/doc/guix.texi:1831
  5227. #, no-wrap
  5228. msgid "name service switch, glibc"
  5229. msgstr ""
  5230. #. type: cindex
  5231. #: guix-git/doc/guix.texi:1832
  5232. #, no-wrap
  5233. msgid "NSS (name service switch), glibc"
  5234. msgstr ""
  5235. #. type: cindex
  5236. #: guix-git/doc/guix.texi:1833
  5237. #, no-wrap
  5238. msgid "nscd (name service caching daemon)"
  5239. msgstr ""
  5240. #. type: cindex
  5241. #: guix-git/doc/guix.texi:1834
  5242. #, no-wrap
  5243. msgid "name service caching daemon (nscd)"
  5244. msgstr ""
  5245. #. type: Plain text
  5246. #: guix-git/doc/guix.texi:1841
  5247. 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."
  5248. msgstr ""
  5249. #. type: file{#1}
  5250. #: guix-git/doc/guix.texi:1842
  5251. #, no-wrap
  5252. msgid "nsswitch.conf"
  5253. msgstr ""
  5254. #. type: Plain text
  5255. #: guix-git/doc/guix.texi:1847
  5256. 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})."
  5257. msgstr ""
  5258. #. type: cindex
  5259. #: guix-git/doc/guix.texi:1848
  5260. #, no-wrap
  5261. msgid "Network information service (NIS)"
  5262. msgstr ""
  5263. #. type: cindex
  5264. #: guix-git/doc/guix.texi:1849
  5265. #, no-wrap
  5266. msgid "NIS (Network information service)"
  5267. msgstr ""
  5268. #. type: Plain text
  5269. #: guix-git/doc/guix.texi:1858
  5270. 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})."
  5271. msgstr ""
  5272. #. type: Plain text
  5273. #: guix-git/doc/guix.texi:1868
  5274. 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)."
  5275. msgstr ""
  5276. #. type: Plain text
  5277. #: guix-git/doc/guix.texi:1873
  5278. 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."
  5279. msgstr ""
  5280. #. type: Plain text
  5281. #: guix-git/doc/guix.texi:1878
  5282. 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."
  5283. msgstr ""
  5284. #. type: subsection
  5285. #: guix-git/doc/guix.texi:1879
  5286. #, no-wrap
  5287. msgid "X11 Fonts"
  5288. msgstr ""
  5289. #. type: Plain text
  5290. #: guix-git/doc/guix.texi:1889
  5291. 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}."
  5292. msgstr ""
  5293. #. type: code{#1}
  5294. #: guix-git/doc/guix.texi:1890
  5295. #, no-wrap
  5296. msgid "fc-cache"
  5297. msgstr ""
  5298. #. type: cindex
  5299. #: guix-git/doc/guix.texi:1891
  5300. #, no-wrap
  5301. msgid "font cache"
  5302. msgstr ""
  5303. #. type: Plain text
  5304. #: guix-git/doc/guix.texi:1895
  5305. 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:"
  5306. msgstr ""
  5307. #. type: example
  5308. #: guix-git/doc/guix.texi:1899
  5309. #, no-wrap
  5310. msgid ""
  5311. "guix install fontconfig\n"
  5312. "fc-cache -rv\n"
  5313. msgstr ""
  5314. #. type: Plain text
  5315. #: guix-git/doc/guix.texi:1907
  5316. 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:"
  5317. msgstr ""
  5318. #. type: example
  5319. #: guix-git/doc/guix.texi:1910
  5320. #, no-wrap
  5321. msgid "guix install font-adobe-source-han-sans:cn\n"
  5322. msgstr ""
  5323. #. type: code{#1}
  5324. #: guix-git/doc/guix.texi:1912
  5325. #, no-wrap
  5326. msgid "xterm"
  5327. msgstr ""
  5328. #. type: Plain text
  5329. #: guix-git/doc/guix.texi:1916
  5330. 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:"
  5331. msgstr ""
  5332. #. type: example
  5333. #: guix-git/doc/guix.texi:1919
  5334. #, no-wrap
  5335. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5336. msgstr ""
  5337. #. type: Plain text
  5338. #: guix-git/doc/guix.texi:1923
  5339. 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:"
  5340. msgstr ""
  5341. #. type: example
  5342. #: guix-git/doc/guix.texi:1928
  5343. #, no-wrap
  5344. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5345. msgstr ""
  5346. #. type: code{#1}
  5347. #: guix-git/doc/guix.texi:1930
  5348. #, no-wrap
  5349. msgid "xlsfonts"
  5350. msgstr ""
  5351. #. type: Plain text
  5352. #: guix-git/doc/guix.texi:1933
  5353. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5354. msgstr ""
  5355. #. type: code{#1}
  5356. #: guix-git/doc/guix.texi:1937 guix-git/doc/guix.texi:32047
  5357. #, no-wrap
  5358. msgid "nss-certs"
  5359. msgstr ""
  5360. #. type: Plain text
  5361. #: guix-git/doc/guix.texi:1940
  5362. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5363. msgstr ""
  5364. #. type: Plain text
  5365. #: guix-git/doc/guix.texi:1945
  5366. 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."
  5367. msgstr ""
  5368. #. type: code{#1}
  5369. #: guix-git/doc/guix.texi:1948
  5370. #, no-wrap
  5371. msgid "emacs"
  5372. msgstr "이맥스"
  5373. #. type: Plain text
  5374. #: guix-git/doc/guix.texi:1954
  5375. 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."
  5376. msgstr ""
  5377. #. type: Plain text
  5378. #: guix-git/doc/guix.texi:1961
  5379. 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})."
  5380. msgstr ""
  5381. #. type: cindex
  5382. #: guix-git/doc/guix.texi:1966
  5383. #, no-wrap
  5384. msgid "Upgrading Guix, on a foreign distro"
  5385. msgstr ""
  5386. #. type: Plain text
  5387. #: guix-git/doc/guix.texi:1969
  5388. msgid "To upgrade Guix, run:"
  5389. msgstr ""
  5390. #. type: example
  5391. #: guix-git/doc/guix.texi:1972 guix-git/doc/guix.texi:2819
  5392. #, no-wrap
  5393. msgid "guix pull\n"
  5394. msgstr ""
  5395. #. type: Plain text
  5396. #: guix-git/doc/guix.texi:1975
  5397. msgid "@xref{Invoking guix pull}, for more information."
  5398. msgstr ""
  5399. #. type: cindex
  5400. #: guix-git/doc/guix.texi:1976
  5401. #, no-wrap
  5402. msgid "upgrading Guix for the root user, on a foreign distro"
  5403. msgstr ""
  5404. #. type: cindex
  5405. #: guix-git/doc/guix.texi:1977
  5406. #, no-wrap
  5407. msgid "upgrading the Guix daemon, on a foreign distro"
  5408. msgstr ""
  5409. #. type: cindex
  5410. #: guix-git/doc/guix.texi:1978
  5411. #, no-wrap
  5412. msgid "@command{guix pull} for the root user, on a foreign distro"
  5413. msgstr ""
  5414. #. type: Plain text
  5415. #: guix-git/doc/guix.texi:1981
  5416. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  5417. msgstr ""
  5418. #. type: example
  5419. #: guix-git/doc/guix.texi:1984
  5420. #, no-wrap
  5421. msgid "sudo -i guix pull\n"
  5422. msgstr ""
  5423. #. type: Plain text
  5424. #: guix-git/doc/guix.texi:1989
  5425. msgid "followed by (assuming your distro uses the systemd service management tool):"
  5426. msgstr ""
  5427. #. type: example
  5428. #: guix-git/doc/guix.texi:1992
  5429. #, no-wrap
  5430. msgid "systemctl restart guix-daemon.service\n"
  5431. msgstr ""
  5432. #. type: Plain text
  5433. #: guix-git/doc/guix.texi:1996
  5434. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  5435. msgstr ""
  5436. #. type: cindex
  5437. #: guix-git/doc/guix.texi:2003
  5438. #, no-wrap
  5439. msgid "installing Guix System"
  5440. msgstr ""
  5441. #. type: cindex
  5442. #: guix-git/doc/guix.texi:2004
  5443. #, no-wrap
  5444. msgid "Guix System, installation"
  5445. msgstr ""
  5446. #. type: Plain text
  5447. #: guix-git/doc/guix.texi:2009
  5448. 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}."
  5449. msgstr ""
  5450. #. type: quotation
  5451. #: guix-git/doc/guix.texi:2018
  5452. 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."
  5453. msgstr ""
  5454. #. type: quotation
  5455. #: guix-git/doc/guix.texi:2021
  5456. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  5457. msgstr ""
  5458. #. type: Plain text
  5459. #: guix-git/doc/guix.texi:2042
  5460. 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."
  5461. msgstr ""
  5462. #. type: Plain text
  5463. #: guix-git/doc/guix.texi:2045
  5464. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  5465. msgstr ""
  5466. #. type: itemize
  5467. #: guix-git/doc/guix.texi:2050
  5468. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  5469. msgstr ""
  5470. #. type: itemize
  5471. #: guix-git/doc/guix.texi:2055
  5472. 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."
  5473. msgstr ""
  5474. #. type: Plain text
  5475. #: guix-git/doc/guix.texi:2060
  5476. 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."
  5477. msgstr ""
  5478. #. type: cindex
  5479. #: guix-git/doc/guix.texi:2065
  5480. #, no-wrap
  5481. msgid "hardware support on Guix System"
  5482. msgstr ""
  5483. #. type: Plain text
  5484. #: guix-git/doc/guix.texi:2074
  5485. 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."
  5486. msgstr ""
  5487. #. type: cindex
  5488. #: guix-git/doc/guix.texi:2075
  5489. #, no-wrap
  5490. msgid "WiFi, hardware support"
  5491. msgstr ""
  5492. #. type: Plain text
  5493. #: guix-git/doc/guix.texi:2084
  5494. 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}})."
  5495. msgstr ""
  5496. #. type: cindex
  5497. #: guix-git/doc/guix.texi:2085
  5498. #, no-wrap
  5499. msgid "RYF, Respects Your Freedom"
  5500. msgstr ""
  5501. #. type: Plain text
  5502. #: guix-git/doc/guix.texi:2091
  5503. 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."
  5504. msgstr ""
  5505. #. type: Plain text
  5506. #: guix-git/doc/guix.texi:2095
  5507. 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."
  5508. msgstr ""
  5509. #. type: Plain text
  5510. #: guix-git/doc/guix.texi:2104
  5511. 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:"
  5512. msgstr ""
  5513. #. type: table
  5514. #: guix-git/doc/guix.texi:2108
  5515. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  5516. msgstr ""
  5517. #. type: table
  5518. #: guix-git/doc/guix.texi:2111
  5519. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  5520. msgstr ""
  5521. #. type: Plain text
  5522. #: guix-git/doc/guix.texi:2116
  5523. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  5524. msgstr ""
  5525. #. type: example
  5526. #: guix-git/doc/guix.texi:2120
  5527. #, no-wrap
  5528. msgid ""
  5529. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5530. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5531. msgstr ""
  5532. #. type: example
  5533. #: guix-git/doc/guix.texi:2128
  5534. #, no-wrap
  5535. msgid ""
  5536. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  5537. " -qO - | gpg --import -\n"
  5538. msgstr ""
  5539. #. type: Plain text
  5540. #: guix-git/doc/guix.texi:2140
  5541. 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."
  5542. msgstr ""
  5543. #. type: unnumberedsubsec
  5544. #: guix-git/doc/guix.texi:2141
  5545. #, no-wrap
  5546. msgid "Copying to a USB Stick"
  5547. msgstr ""
  5548. #. type: Plain text
  5549. #: guix-git/doc/guix.texi:2146
  5550. 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:"
  5551. msgstr ""
  5552. #. type: example
  5553. #: guix-git/doc/guix.texi:2150
  5554. #, no-wrap
  5555. msgid ""
  5556. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  5557. "sync\n"
  5558. msgstr ""
  5559. #. type: Plain text
  5560. #: guix-git/doc/guix.texi:2153
  5561. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  5562. msgstr ""
  5563. #. type: unnumberedsubsec
  5564. #: guix-git/doc/guix.texi:2154
  5565. #, no-wrap
  5566. msgid "Burning on a DVD"
  5567. msgstr ""
  5568. #. type: Plain text
  5569. #: guix-git/doc/guix.texi:2159
  5570. 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:"
  5571. msgstr ""
  5572. #. type: example
  5573. #: guix-git/doc/guix.texi:2162
  5574. #, no-wrap
  5575. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  5576. msgstr ""
  5577. #. type: Plain text
  5578. #: guix-git/doc/guix.texi:2165
  5579. msgid "Access to @file{/dev/srX} usually requires root privileges."
  5580. msgstr ""
  5581. #. type: unnumberedsubsec
  5582. #: guix-git/doc/guix.texi:2166
  5583. #, no-wrap
  5584. msgid "Booting"
  5585. msgstr ""
  5586. #. type: Plain text
  5587. #: guix-git/doc/guix.texi:2173
  5588. 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}."
  5589. msgstr ""
  5590. #. type: Plain text
  5591. #: guix-git/doc/guix.texi:2176
  5592. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  5593. msgstr ""
  5594. #. type: Plain text
  5595. #: guix-git/doc/guix.texi:2186
  5596. 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})."
  5597. msgstr ""
  5598. #. type: Plain text
  5599. #: guix-git/doc/guix.texi:2194
  5600. 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."
  5601. msgstr ""
  5602. #. type: quotation
  5603. #: guix-git/doc/guix.texi:2199
  5604. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  5605. msgstr ""
  5606. #. type: Plain text
  5607. #: guix-git/doc/guix.texi:2206
  5608. 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."
  5609. msgstr ""
  5610. #. type: Plain text
  5611. #: guix-git/doc/guix.texi:2211
  5612. 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."
  5613. msgstr ""
  5614. #. type: Plain text
  5615. #: guix-git/doc/guix.texi:2213
  5616. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  5617. msgstr ""
  5618. #. type: Plain text
  5619. #: guix-git/doc/guix.texi:2218
  5620. 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."
  5621. msgstr ""
  5622. #. type: Plain text
  5623. #: guix-git/doc/guix.texi:2220
  5624. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  5625. msgstr ""
  5626. #. type: Plain text
  5627. #: guix-git/doc/guix.texi:2223
  5628. 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."
  5629. msgstr ""
  5630. #. type: Plain text
  5631. #: guix-git/doc/guix.texi:2225
  5632. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  5633. msgstr ""
  5634. #. type: Plain text
  5635. #: guix-git/doc/guix.texi:2230
  5636. 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!"
  5637. msgstr ""
  5638. #. type: Plain text
  5639. #: guix-git/doc/guix.texi:2240
  5640. 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})."
  5641. msgstr ""
  5642. #. type: Plain text
  5643. #: guix-git/doc/guix.texi:2246
  5644. 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})."
  5645. msgstr ""
  5646. #. type: subsection
  5647. #: guix-git/doc/guix.texi:2253
  5648. #, no-wrap
  5649. msgid "Keyboard Layout, Networking, and Partitioning"
  5650. msgstr ""
  5651. #. type: Plain text
  5652. #: guix-git/doc/guix.texi:2258
  5653. 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."
  5654. msgstr ""
  5655. #. type: cindex
  5656. #: guix-git/doc/guix.texi:2261 guix-git/doc/guix.texi:14500
  5657. #, no-wrap
  5658. msgid "keyboard layout"
  5659. msgstr ""
  5660. #. type: Plain text
  5661. #: guix-git/doc/guix.texi:2265
  5662. 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:"
  5663. msgstr ""
  5664. #. type: example
  5665. #: guix-git/doc/guix.texi:2268
  5666. #, no-wrap
  5667. msgid "loadkeys dvorak\n"
  5668. msgstr ""
  5669. #. type: Plain text
  5670. #: guix-git/doc/guix.texi:2273
  5671. 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."
  5672. msgstr ""
  5673. #. type: subsubsection
  5674. #: guix-git/doc/guix.texi:2274
  5675. #, no-wrap
  5676. msgid "Networking"
  5677. msgstr "네트워킹"
  5678. #. type: Plain text
  5679. #: guix-git/doc/guix.texi:2277
  5680. msgid "Run the following command to see what your network interfaces are called:"
  5681. msgstr ""
  5682. #. type: example
  5683. #: guix-git/doc/guix.texi:2280
  5684. #, no-wrap
  5685. msgid "ifconfig -a\n"
  5686. msgstr ""
  5687. #. type: table
  5688. #: guix-git/doc/guix.texi:2284 guix-git/doc/guix.texi:2306
  5689. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  5690. msgstr ""
  5691. #. type: example
  5692. #: guix-git/doc/guix.texi:2287
  5693. #, no-wrap
  5694. msgid "ip address\n"
  5695. msgstr ""
  5696. #. type: Plain text
  5697. #: guix-git/doc/guix.texi:2294
  5698. 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}."
  5699. msgstr ""
  5700. #. type: item
  5701. #: guix-git/doc/guix.texi:2296
  5702. #, no-wrap
  5703. msgid "Wired connection"
  5704. msgstr ""
  5705. #. type: table
  5706. #: guix-git/doc/guix.texi:2299
  5707. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  5708. msgstr ""
  5709. #. type: example
  5710. #: guix-git/doc/guix.texi:2302
  5711. #, no-wrap
  5712. msgid "ifconfig @var{interface} up\n"
  5713. msgstr ""
  5714. #. type: example
  5715. #: guix-git/doc/guix.texi:2309
  5716. #, no-wrap
  5717. msgid "ip link set @var{interface} up\n"
  5718. msgstr ""
  5719. #. type: item
  5720. #: guix-git/doc/guix.texi:2311
  5721. #, no-wrap
  5722. msgid "Wireless connection"
  5723. msgstr ""
  5724. #. type: cindex
  5725. #: guix-git/doc/guix.texi:2312 guix-git/doc/guix.texi:16125
  5726. #, no-wrap
  5727. msgid "wireless"
  5728. msgstr "무선"
  5729. #. type: cindex
  5730. #: guix-git/doc/guix.texi:2313 guix-git/doc/guix.texi:16126
  5731. #, no-wrap
  5732. msgid "WiFi"
  5733. msgstr ""
  5734. #. type: table
  5735. #: guix-git/doc/guix.texi:2318
  5736. 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}:"
  5737. msgstr ""
  5738. #. type: example
  5739. #: guix-git/doc/guix.texi:2321
  5740. #, no-wrap
  5741. msgid "nano wpa_supplicant.conf\n"
  5742. msgstr ""
  5743. #. type: table
  5744. #: guix-git/doc/guix.texi:2326
  5745. 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:"
  5746. msgstr ""
  5747. #. type: example
  5748. #: guix-git/doc/guix.texi:2333
  5749. #, no-wrap
  5750. msgid ""
  5751. "network=@{\n"
  5752. " ssid=\"@var{my-ssid}\"\n"
  5753. " key_mgmt=WPA-PSK\n"
  5754. " psk=\"the network's secret passphrase\"\n"
  5755. "@}\n"
  5756. msgstr ""
  5757. #. type: table
  5758. #: guix-git/doc/guix.texi:2338
  5759. 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):"
  5760. msgstr ""
  5761. #. type: example
  5762. #: guix-git/doc/guix.texi:2341
  5763. #, no-wrap
  5764. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  5765. msgstr ""
  5766. #. type: table
  5767. #: guix-git/doc/guix.texi:2344
  5768. msgid "Run @command{man wpa_supplicant} for more information."
  5769. msgstr ""
  5770. #. type: cindex
  5771. #: guix-git/doc/guix.texi:2346
  5772. #, no-wrap
  5773. msgid "DHCP"
  5774. msgstr ""
  5775. #. type: Plain text
  5776. #: guix-git/doc/guix.texi:2349
  5777. 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:"
  5778. msgstr ""
  5779. #. type: example
  5780. #: guix-git/doc/guix.texi:2352
  5781. #, no-wrap
  5782. msgid "dhclient -v @var{interface}\n"
  5783. msgstr ""
  5784. #. type: Plain text
  5785. #: guix-git/doc/guix.texi:2355
  5786. msgid "Try to ping a server to see if networking is up and running:"
  5787. msgstr ""
  5788. #. type: example
  5789. #: guix-git/doc/guix.texi:2358
  5790. #, no-wrap
  5791. msgid "ping -c 3 gnu.org\n"
  5792. msgstr ""
  5793. #. type: Plain text
  5794. #: guix-git/doc/guix.texi:2362
  5795. 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."
  5796. msgstr ""
  5797. #. type: cindex
  5798. #: guix-git/doc/guix.texi:2363
  5799. #, no-wrap
  5800. msgid "proxy, during system installation"
  5801. msgstr ""
  5802. #. type: Plain text
  5803. #: guix-git/doc/guix.texi:2366
  5804. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  5805. msgstr ""
  5806. #. type: example
  5807. #: guix-git/doc/guix.texi:2369
  5808. #, no-wrap
  5809. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  5810. msgstr ""
  5811. #. type: Plain text
  5812. #: guix-git/doc/guix.texi:2374
  5813. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  5814. msgstr ""
  5815. #. type: cindex
  5816. #: guix-git/doc/guix.texi:2375
  5817. #, no-wrap
  5818. msgid "installing over SSH"
  5819. msgstr ""
  5820. #. type: Plain text
  5821. #: guix-git/doc/guix.texi:2378
  5822. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  5823. msgstr ""
  5824. #. type: example
  5825. #: guix-git/doc/guix.texi:2381
  5826. #, no-wrap
  5827. msgid "herd start ssh-daemon\n"
  5828. msgstr ""
  5829. #. type: Plain text
  5830. #: guix-git/doc/guix.texi:2385
  5831. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  5832. msgstr ""
  5833. #. type: subsubsection
  5834. #: guix-git/doc/guix.texi:2386
  5835. #, no-wrap
  5836. msgid "Disk Partitioning"
  5837. msgstr ""
  5838. #. type: Plain text
  5839. #: guix-git/doc/guix.texi:2390
  5840. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  5841. msgstr ""
  5842. #. type: Plain text
  5843. #: guix-git/doc/guix.texi:2395
  5844. 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:"
  5845. msgstr ""
  5846. #. type: example
  5847. #: guix-git/doc/guix.texi:2398
  5848. #, no-wrap
  5849. msgid "cfdisk\n"
  5850. msgstr ""
  5851. #. type: Plain text
  5852. #: guix-git/doc/guix.texi:2404
  5853. 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})."
  5854. msgstr ""
  5855. #. type: cindex
  5856. #: guix-git/doc/guix.texi:2405
  5857. #, no-wrap
  5858. msgid "EFI, installation"
  5859. msgstr ""
  5860. #. type: cindex
  5861. #: guix-git/doc/guix.texi:2406
  5862. #, no-wrap
  5863. msgid "UEFI, installation"
  5864. msgstr ""
  5865. #. type: cindex
  5866. #: guix-git/doc/guix.texi:2407
  5867. #, no-wrap
  5868. msgid "ESP, EFI system partition"
  5869. msgstr ""
  5870. #. type: Plain text
  5871. #: guix-git/doc/guix.texi:2411
  5872. 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}:"
  5873. msgstr ""
  5874. #. type: example
  5875. #: guix-git/doc/guix.texi:2414
  5876. #, no-wrap
  5877. msgid "parted /dev/sda set 1 esp on\n"
  5878. msgstr ""
  5879. #. type: vindex
  5880. #: guix-git/doc/guix.texi:2417 guix-git/doc/guix.texi:32447
  5881. #, no-wrap
  5882. msgid "grub-bootloader"
  5883. msgstr ""
  5884. #. type: vindex
  5885. #: guix-git/doc/guix.texi:2418 guix-git/doc/guix.texi:32441
  5886. #, no-wrap
  5887. msgid "grub-efi-bootloader"
  5888. msgstr ""
  5889. #. type: quotation
  5890. #: guix-git/doc/guix.texi:2425
  5891. 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."
  5892. msgstr ""
  5893. #. type: Plain text
  5894. #: guix-git/doc/guix.texi:2433
  5895. 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:"
  5896. msgstr ""
  5897. #. type: example
  5898. #: guix-git/doc/guix.texi:2436
  5899. #, no-wrap
  5900. msgid "mkfs.fat -F32 /dev/sda1\n"
  5901. msgstr ""
  5902. #. type: Plain text
  5903. #: guix-git/doc/guix.texi:2443
  5904. 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})."
  5905. msgstr ""
  5906. #. type: Plain text
  5907. #: guix-git/doc/guix.texi:2450
  5908. 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:"
  5909. msgstr ""
  5910. #. type: example
  5911. #: guix-git/doc/guix.texi:2453
  5912. #, no-wrap
  5913. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  5914. msgstr ""
  5915. #. type: cindex
  5916. #: guix-git/doc/guix.texi:2455 guix-git/doc/guix.texi:13498
  5917. #, no-wrap
  5918. msgid "encrypted disk"
  5919. msgstr ""
  5920. #. type: Plain text
  5921. #: guix-git/doc/guix.texi:2462
  5922. 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:"
  5923. msgstr ""
  5924. #. type: example
  5925. #: guix-git/doc/guix.texi:2467
  5926. #, no-wrap
  5927. msgid ""
  5928. "cryptsetup luksFormat /dev/sda2\n"
  5929. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  5930. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  5931. msgstr ""
  5932. #. type: Plain text
  5933. #: guix-git/doc/guix.texi:2472
  5934. 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):"
  5935. msgstr ""
  5936. #. type: example
  5937. #: guix-git/doc/guix.texi:2475
  5938. #, no-wrap
  5939. msgid "mount LABEL=my-root /mnt\n"
  5940. msgstr ""
  5941. #. type: Plain text
  5942. #: guix-git/doc/guix.texi:2481
  5943. 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."
  5944. msgstr ""
  5945. #. type: Plain text
  5946. #: guix-git/doc/guix.texi:2486
  5947. 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:"
  5948. msgstr ""
  5949. #. type: example
  5950. #: guix-git/doc/guix.texi:2490
  5951. #, no-wrap
  5952. msgid ""
  5953. "mkswap /dev/sda3\n"
  5954. "swapon /dev/sda3\n"
  5955. msgstr ""
  5956. #. type: Plain text
  5957. #: guix-git/doc/guix.texi:2498
  5958. 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}.}:"
  5959. msgstr ""
  5960. #. type: example
  5961. #: guix-git/doc/guix.texi:2506
  5962. #, no-wrap
  5963. msgid ""
  5964. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  5965. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  5966. "# For security, make the file readable and writable only by root.\n"
  5967. "chmod 600 /mnt/swapfile\n"
  5968. "mkswap /mnt/swapfile\n"
  5969. "swapon /mnt/swapfile\n"
  5970. msgstr ""
  5971. #. type: Plain text
  5972. #: guix-git/doc/guix.texi:2511
  5973. 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."
  5974. msgstr ""
  5975. #. type: Plain text
  5976. #: guix-git/doc/guix.texi:2517
  5977. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  5978. msgstr ""
  5979. #. type: example
  5980. #: guix-git/doc/guix.texi:2520
  5981. #, no-wrap
  5982. msgid "herd start cow-store /mnt\n"
  5983. msgstr ""
  5984. #. type: Plain text
  5985. #: guix-git/doc/guix.texi:2527
  5986. 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."
  5987. msgstr ""
  5988. #. type: Plain text
  5989. #: guix-git/doc/guix.texi:2538
  5990. 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."
  5991. msgstr ""
  5992. #. type: Plain text
  5993. #: guix-git/doc/guix.texi:2545
  5994. 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:"
  5995. msgstr ""
  5996. #. type: example
  5997. #: guix-git/doc/guix.texi:2550
  5998. #, no-wrap
  5999. msgid ""
  6000. "# mkdir /mnt/etc\n"
  6001. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6002. "# nano /mnt/etc/config.scm\n"
  6003. msgstr ""
  6004. #. type: Plain text
  6005. #: guix-git/doc/guix.texi:2554
  6006. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6007. msgstr ""
  6008. #. type: itemize
  6009. #: guix-git/doc/guix.texi:2565
  6010. 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."
  6011. msgstr ""
  6012. #. type: itemize
  6013. #: guix-git/doc/guix.texi:2571
  6014. 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."
  6015. msgstr ""
  6016. #. type: itemize
  6017. #: guix-git/doc/guix.texi:2575
  6018. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6019. msgstr ""
  6020. #. type: Plain text
  6021. #: guix-git/doc/guix.texi:2580
  6022. 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}):"
  6023. msgstr ""
  6024. #. type: example
  6025. #: guix-git/doc/guix.texi:2583
  6026. #, no-wrap
  6027. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6028. msgstr ""
  6029. #. type: Plain text
  6030. #: guix-git/doc/guix.texi:2590
  6031. 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."
  6032. msgstr ""
  6033. #. type: Plain text
  6034. #: guix-git/doc/guix.texi:2598
  6035. 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!"
  6036. msgstr ""
  6037. #. type: Plain text
  6038. #: guix-git/doc/guix.texi:2605
  6039. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6040. msgstr ""
  6041. #. type: example
  6042. #: guix-git/doc/guix.texi:2609
  6043. #, no-wrap
  6044. msgid ""
  6045. "guix pull\n"
  6046. "sudo guix system reconfigure /etc/config.scm\n"
  6047. msgstr ""
  6048. #. type: Plain text
  6049. #: guix-git/doc/guix.texi:2615
  6050. 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})."
  6051. msgstr ""
  6052. #. type: cindex
  6053. #: guix-git/doc/guix.texi:2618
  6054. #, no-wrap
  6055. msgid "sudo vs. @command{guix pull}"
  6056. msgstr ""
  6057. #. type: quotation
  6058. #: guix-git/doc/guix.texi:2622
  6059. 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{}}."
  6060. msgstr ""
  6061. #. type: quotation
  6062. #: guix-git/doc/guix.texi:2627
  6063. 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."
  6064. msgstr ""
  6065. #. type: Plain text
  6066. #: guix-git/doc/guix.texi:2632
  6067. 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!"
  6068. msgstr ""
  6069. #. type: section
  6070. #: guix-git/doc/guix.texi:2635
  6071. #, no-wrap
  6072. msgid "Installing Guix in a Virtual Machine"
  6073. msgstr ""
  6074. #. type: cindex
  6075. #: guix-git/doc/guix.texi:2637
  6076. #, no-wrap
  6077. msgid "virtual machine, Guix System installation"
  6078. msgstr ""
  6079. #. type: cindex
  6080. #: guix-git/doc/guix.texi:2638
  6081. #, no-wrap
  6082. msgid "virtual private server (VPS)"
  6083. msgstr ""
  6084. #. type: cindex
  6085. #: guix-git/doc/guix.texi:2639
  6086. #, no-wrap
  6087. msgid "VPS (virtual private server)"
  6088. msgstr ""
  6089. #. type: Plain text
  6090. #: guix-git/doc/guix.texi:2643
  6091. 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."
  6092. msgstr ""
  6093. #. type: Plain text
  6094. #: guix-git/doc/guix.texi:2646
  6095. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6096. msgstr ""
  6097. #. type: enumerate
  6098. #: guix-git/doc/guix.texi:2651
  6099. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6100. msgstr ""
  6101. #. type: enumerate
  6102. #: guix-git/doc/guix.texi:2655
  6103. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6104. msgstr ""
  6105. #. type: example
  6106. #: guix-git/doc/guix.texi:2658
  6107. #, no-wrap
  6108. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6109. msgstr ""
  6110. #. type: enumerate
  6111. #: guix-git/doc/guix.texi:2662
  6112. 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."
  6113. msgstr ""
  6114. #. type: enumerate
  6115. #: guix-git/doc/guix.texi:2665
  6116. msgid "Boot the USB installation image in an VM:"
  6117. msgstr ""
  6118. #. type: example
  6119. #: guix-git/doc/guix.texi:2671
  6120. #, no-wrap
  6121. msgid ""
  6122. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6123. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6124. " -drive file=guix-system.img \\\n"
  6125. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6126. msgstr ""
  6127. #. type: enumerate
  6128. #: guix-git/doc/guix.texi:2675
  6129. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6130. msgstr ""
  6131. #. type: enumerate
  6132. #: guix-git/doc/guix.texi:2679
  6133. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6134. msgstr ""
  6135. #. type: Plain text
  6136. #: guix-git/doc/guix.texi:2684
  6137. 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."
  6138. msgstr ""
  6139. #. type: cindex
  6140. #: guix-git/doc/guix.texi:2688
  6141. #, no-wrap
  6142. msgid "installation image"
  6143. msgstr ""
  6144. #. type: Plain text
  6145. #: guix-git/doc/guix.texi:2691
  6146. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6147. msgstr ""
  6148. #. type: example
  6149. #: guix-git/doc/guix.texi:2694
  6150. #, no-wrap
  6151. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6152. msgstr ""
  6153. #. type: Plain text
  6154. #: guix-git/doc/guix.texi:2699
  6155. 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."
  6156. msgstr ""
  6157. #. type: section
  6158. #: guix-git/doc/guix.texi:2700
  6159. #, no-wrap
  6160. msgid "Building the Installation Image for ARM Boards"
  6161. msgstr ""
  6162. #. type: Plain text
  6163. #: guix-git/doc/guix.texi:2704
  6164. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6165. msgstr ""
  6166. #. type: Plain text
  6167. #: guix-git/doc/guix.texi:2708
  6168. 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:"
  6169. msgstr ""
  6170. #. type: example
  6171. #: guix-git/doc/guix.texi:2711
  6172. #, no-wrap
  6173. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6174. msgstr ""
  6175. #. type: Plain text
  6176. #: guix-git/doc/guix.texi:2715
  6177. 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."
  6178. msgstr ""
  6179. #. type: Plain text
  6180. #: guix-git/doc/guix.texi:2725
  6181. 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."
  6182. msgstr ""
  6183. #. type: Plain text
  6184. #: guix-git/doc/guix.texi:2729
  6185. 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:"
  6186. msgstr ""
  6187. #. type: example
  6188. #: guix-git/doc/guix.texi:2732
  6189. #, no-wrap
  6190. msgid "guix search text editor\n"
  6191. msgstr ""
  6192. #. type: Plain text
  6193. #: guix-git/doc/guix.texi:2739
  6194. 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}!):"
  6195. msgstr ""
  6196. #. type: example
  6197. #: guix-git/doc/guix.texi:2742
  6198. #, no-wrap
  6199. msgid "guix install emacs\n"
  6200. msgstr ""
  6201. #. type: cindex
  6202. #: guix-git/doc/guix.texi:2744 guix-git/doc/guix.texi:3056
  6203. #: guix-git/doc/guix.texi:3108
  6204. #, no-wrap
  6205. msgid "profile"
  6206. msgstr "프로파일"
  6207. #. type: Plain text
  6208. #: guix-git/doc/guix.texi:2752
  6209. 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)."
  6210. msgstr ""
  6211. #. type: Plain text
  6212. #: guix-git/doc/guix.texi:2755
  6213. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6214. msgstr ""
  6215. #. type: example
  6216. #: guix-git/doc/guix.texi:2758
  6217. #, no-wrap
  6218. msgid ""
  6219. "hint: Consider setting the necessary environment variables by running:\n"
  6220. "\n"
  6221. msgstr ""
  6222. #. type: example
  6223. #: guix-git/doc/guix.texi:2761
  6224. #, no-wrap
  6225. msgid ""
  6226. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6227. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6228. "\n"
  6229. msgstr ""
  6230. #. type: example
  6231. #: guix-git/doc/guix.texi:2763
  6232. #, no-wrap
  6233. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6234. msgstr ""
  6235. #. type: Plain text
  6236. #: guix-git/doc/guix.texi:2777
  6237. 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."
  6238. msgstr ""
  6239. #. type: Plain text
  6240. #: guix-git/doc/guix.texi:2780
  6241. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6242. msgstr ""
  6243. #. type: example
  6244. #: guix-git/doc/guix.texi:2783
  6245. #, no-wrap
  6246. msgid "guix package --list-installed\n"
  6247. msgstr ""
  6248. #. type: Plain text
  6249. #: guix-git/doc/guix.texi:2788
  6250. 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:"
  6251. msgstr ""
  6252. #. type: example
  6253. #: guix-git/doc/guix.texi:2791
  6254. #, no-wrap
  6255. msgid "guix package --roll-back\n"
  6256. msgstr ""
  6257. #. type: Plain text
  6258. #: guix-git/doc/guix.texi:2796
  6259. 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:"
  6260. msgstr ""
  6261. #. type: example
  6262. #: guix-git/doc/guix.texi:2799
  6263. #, no-wrap
  6264. msgid "guix package --list-generations\n"
  6265. msgstr ""
  6266. #. type: Plain text
  6267. #: guix-git/doc/guix.texi:2802
  6268. msgid "Now you know the basics of package management!"
  6269. msgstr ""
  6270. #. type: quotation
  6271. #: guix-git/doc/guix.texi:2803 guix-git/doc/guix.texi:2862
  6272. #, no-wrap
  6273. msgid "Going further"
  6274. msgstr ""
  6275. #. type: quotation
  6276. #: guix-git/doc/guix.texi:2811
  6277. 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."
  6278. msgstr ""
  6279. #. type: Plain text
  6280. #: guix-git/doc/guix.texi:2816
  6281. 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:"
  6282. msgstr ""
  6283. #. type: Plain text
  6284. #: guix-git/doc/guix.texi:2826
  6285. 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}:"
  6286. msgstr ""
  6287. #. type: example
  6288. #: guix-git/doc/guix.texi:2830
  6289. #, no-wrap
  6290. msgid ""
  6291. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6292. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6293. msgstr ""
  6294. #. type: Plain text
  6295. #: guix-git/doc/guix.texi:2834
  6296. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6297. msgstr ""
  6298. #. type: example
  6299. #: guix-git/doc/guix.texi:2837
  6300. #, no-wrap
  6301. msgid "hash guix\n"
  6302. msgstr ""
  6303. #. type: Plain text
  6304. #: guix-git/doc/guix.texi:2841
  6305. 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:"
  6306. msgstr ""
  6307. #. type: example
  6308. #: guix-git/doc/guix.texi:2844
  6309. #, no-wrap
  6310. msgid "guix upgrade\n"
  6311. msgstr ""
  6312. #. type: Plain text
  6313. #: guix-git/doc/guix.texi:2850
  6314. 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!"
  6315. msgstr ""
  6316. #. type: Plain text
  6317. #: guix-git/doc/guix.texi:2853
  6318. msgid "You can display the exact revision of Guix you're currently using by running:"
  6319. msgstr ""
  6320. #. type: example
  6321. #: guix-git/doc/guix.texi:2856
  6322. #, no-wrap
  6323. msgid "guix describe\n"
  6324. msgstr ""
  6325. #. type: Plain text
  6326. #: guix-git/doc/guix.texi:2861
  6327. 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."
  6328. msgstr ""
  6329. #. type: quotation
  6330. #: guix-git/doc/guix.texi:2867
  6331. 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})."
  6332. msgstr ""
  6333. #. type: Plain text
  6334. #: guix-git/doc/guix.texi:2872
  6335. 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:"
  6336. msgstr ""
  6337. #. type: example
  6338. #: guix-git/doc/guix.texi:2875
  6339. #, no-wrap
  6340. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6341. msgstr ""
  6342. #. type: Plain text
  6343. #: guix-git/doc/guix.texi:2884
  6344. 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}:"
  6345. msgstr ""
  6346. #. type: example
  6347. #: guix-git/doc/guix.texi:2887
  6348. #, no-wrap
  6349. msgid "sudo guix system roll-back\n"
  6350. msgstr ""
  6351. #. type: Plain text
  6352. #: guix-git/doc/guix.texi:2894
  6353. 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."
  6354. msgstr ""
  6355. #. type: Plain text
  6356. #: guix-git/doc/guix.texi:2896
  6357. msgid "Now you know enough to get started!"
  6358. msgstr ""
  6359. #. type: quotation
  6360. #: guix-git/doc/guix.texi:2897
  6361. #, no-wrap
  6362. msgid "Resources"
  6363. msgstr ""
  6364. #. type: quotation
  6365. #: guix-git/doc/guix.texi:2900
  6366. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6367. msgstr ""
  6368. #. type: itemize
  6369. #: guix-git/doc/guix.texi:2905
  6370. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6371. msgstr ""
  6372. #. type: itemize
  6373. #: guix-git/doc/guix.texi:2910
  6374. 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."
  6375. msgstr ""
  6376. #. type: itemize
  6377. #: guix-git/doc/guix.texi:2915
  6378. 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."
  6379. msgstr ""
  6380. #. type: itemize
  6381. #: guix-git/doc/guix.texi:2919
  6382. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6383. msgstr ""
  6384. #. type: quotation
  6385. #: guix-git/doc/guix.texi:2922
  6386. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6387. msgstr ""
  6388. #. type: cindex
  6389. #: guix-git/doc/guix.texi:2928
  6390. #, no-wrap
  6391. msgid "packages"
  6392. msgstr "꾸러미"
  6393. #. type: Plain text
  6394. #: guix-git/doc/guix.texi:2933
  6395. 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."
  6396. msgstr ""
  6397. #. type: Plain text
  6398. #: guix-git/doc/guix.texi:2941
  6399. 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):"
  6400. msgstr ""
  6401. #. type: example
  6402. #: guix-git/doc/guix.texi:2944
  6403. #, no-wrap
  6404. msgid "guix install emacs-guix\n"
  6405. msgstr ""
  6406. #. type: Plain text
  6407. #: guix-git/doc/guix.texi:2965
  6408. 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."
  6409. msgstr ""
  6410. #. type: Plain text
  6411. #: guix-git/doc/guix.texi:2969
  6412. 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."
  6413. msgstr ""
  6414. #. type: Plain text
  6415. #: guix-git/doc/guix.texi:2974
  6416. 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}."
  6417. msgstr ""
  6418. #. type: Plain text
  6419. #: guix-git/doc/guix.texi:2982
  6420. 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."
  6421. msgstr ""
  6422. #. type: Plain text
  6423. #: guix-git/doc/guix.texi:2986
  6424. 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}."
  6425. msgstr ""
  6426. #. type: cindex
  6427. #: guix-git/doc/guix.texi:2987 guix-git/doc/guix.texi:3070
  6428. #, no-wrap
  6429. msgid "transactions"
  6430. msgstr "연결"
  6431. #. type: Plain text
  6432. #: guix-git/doc/guix.texi:2994
  6433. 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."
  6434. msgstr ""
  6435. #. type: Plain text
  6436. #: guix-git/doc/guix.texi:3002
  6437. 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})."
  6438. msgstr ""
  6439. #. type: Plain text
  6440. #: guix-git/doc/guix.texi:3009
  6441. 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."
  6442. msgstr ""
  6443. #. type: cindex
  6444. #: guix-git/doc/guix.texi:3010 guix-git/doc/guix.texi:4693
  6445. #, no-wrap
  6446. msgid "reproducibility"
  6447. msgstr ""
  6448. #. type: Plain text
  6449. #: guix-git/doc/guix.texi:3022
  6450. 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})."
  6451. msgstr ""
  6452. #. type: Plain text
  6453. #: guix-git/doc/guix.texi:3033
  6454. 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})."
  6455. msgstr ""
  6456. #. type: Plain text
  6457. #: guix-git/doc/guix.texi:3039
  6458. 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})."
  6459. msgstr ""
  6460. #. type: cindex
  6461. #: guix-git/doc/guix.texi:3040
  6462. #, no-wrap
  6463. msgid "replication, of software environments"
  6464. msgstr ""
  6465. #. type: cindex
  6466. #: guix-git/doc/guix.texi:3041
  6467. #, no-wrap
  6468. msgid "provenance tracking, of software artifacts"
  6469. msgstr ""
  6470. #. type: Plain text
  6471. #: guix-git/doc/guix.texi:3048
  6472. 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."
  6473. msgstr ""
  6474. #. type: section
  6475. #: guix-git/doc/guix.texi:3050
  6476. #, no-wrap
  6477. msgid "Invoking @command{guix package}"
  6478. msgstr ""
  6479. #. type: cindex
  6480. #: guix-git/doc/guix.texi:3052
  6481. #, no-wrap
  6482. msgid "installing packages"
  6483. msgstr ""
  6484. #. type: cindex
  6485. #: guix-git/doc/guix.texi:3053
  6486. #, no-wrap
  6487. msgid "removing packages"
  6488. msgstr ""
  6489. #. type: cindex
  6490. #: guix-git/doc/guix.texi:3054
  6491. #, no-wrap
  6492. msgid "package installation"
  6493. msgstr ""
  6494. #. type: cindex
  6495. #: guix-git/doc/guix.texi:3055
  6496. #, no-wrap
  6497. msgid "package removal"
  6498. msgstr ""
  6499. #. type: Plain text
  6500. #: guix-git/doc/guix.texi:3065
  6501. 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:"
  6502. msgstr ""
  6503. #. type: example
  6504. #: guix-git/doc/guix.texi:3068
  6505. #, no-wrap
  6506. msgid "guix package @var{options}\n"
  6507. msgstr ""
  6508. #. type: Plain text
  6509. #: guix-git/doc/guix.texi:3075
  6510. 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."
  6511. msgstr ""
  6512. #. type: Plain text
  6513. #: guix-git/doc/guix.texi:3078
  6514. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  6515. msgstr ""
  6516. #. type: example
  6517. #: guix-git/doc/guix.texi:3081
  6518. #, no-wrap
  6519. msgid "guix package -r lua -i guile guile-cairo\n"
  6520. msgstr ""
  6521. #. type: cindex
  6522. #: guix-git/doc/guix.texi:3083
  6523. #, no-wrap
  6524. msgid "aliases, for @command{guix package}"
  6525. msgstr ""
  6526. #. type: Plain text
  6527. #: guix-git/doc/guix.texi:3085
  6528. msgid "For your convenience, we also provide the following aliases:"
  6529. msgstr ""
  6530. #. type: itemize
  6531. #: guix-git/doc/guix.texi:3089
  6532. msgid "@command{guix search} is an alias for @command{guix package -s},"
  6533. msgstr ""
  6534. #. type: itemize
  6535. #: guix-git/doc/guix.texi:3091
  6536. msgid "@command{guix install} is an alias for @command{guix package -i},"
  6537. msgstr ""
  6538. #. type: itemize
  6539. #: guix-git/doc/guix.texi:3093
  6540. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  6541. msgstr ""
  6542. #. type: itemize
  6543. #: guix-git/doc/guix.texi:3095
  6544. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  6545. msgstr ""
  6546. #. type: itemize
  6547. #: guix-git/doc/guix.texi:3097
  6548. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  6549. msgstr ""
  6550. #. type: Plain text
  6551. #: guix-git/doc/guix.texi:3102
  6552. 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."
  6553. msgstr ""
  6554. #. type: Plain text
  6555. #: guix-git/doc/guix.texi:3107
  6556. 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}})."
  6557. msgstr ""
  6558. #. type: Plain text
  6559. #: guix-git/doc/guix.texi:3114
  6560. 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."
  6561. msgstr ""
  6562. #. type: cindex
  6563. #: guix-git/doc/guix.texi:3114 guix-git/doc/guix.texi:3347
  6564. #, no-wrap
  6565. msgid "search paths"
  6566. msgstr ""
  6567. #. type: Plain text
  6568. #: guix-git/doc/guix.texi:3119
  6569. 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:"
  6570. msgstr ""
  6571. #. type: example
  6572. #: guix-git/doc/guix.texi:3123
  6573. #, no-wrap
  6574. msgid ""
  6575. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  6576. "source \"$GUIX_PROFILE/etc/profile\"\n"
  6577. msgstr ""
  6578. #. type: Plain text
  6579. #: guix-git/doc/guix.texi:3134
  6580. 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}."
  6581. msgstr ""
  6582. #. type: Plain text
  6583. #: guix-git/doc/guix.texi:3136
  6584. msgid "The @var{options} can be among the following:"
  6585. msgstr ""
  6586. #. type: item
  6587. #: guix-git/doc/guix.texi:3139
  6588. #, no-wrap
  6589. msgid "--install=@var{package} @dots{}"
  6590. msgstr ""
  6591. #. type: itemx
  6592. #: guix-git/doc/guix.texi:3140
  6593. #, no-wrap
  6594. msgid "-i @var{package} @dots{}"
  6595. msgstr ""
  6596. #. type: table
  6597. #: guix-git/doc/guix.texi:3142
  6598. msgid "Install the specified @var{package}s."
  6599. msgstr ""
  6600. #. type: table
  6601. #: guix-git/doc/guix.texi:3147
  6602. 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)."
  6603. msgstr ""
  6604. #. type: table
  6605. #: guix-git/doc/guix.texi:3155
  6606. 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})."
  6607. msgstr ""
  6608. #. type: cindex
  6609. #: guix-git/doc/guix.texi:3156
  6610. #, no-wrap
  6611. msgid "propagated inputs"
  6612. msgstr ""
  6613. #. type: table
  6614. #: guix-git/doc/guix.texi:3162
  6615. 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)."
  6616. msgstr ""
  6617. #. type: anchor{#1}
  6618. #: guix-git/doc/guix.texi:3169
  6619. msgid "package-cmd-propagated-inputs"
  6620. msgstr ""
  6621. #. type: table
  6622. #: guix-git/doc/guix.texi:3169
  6623. 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."
  6624. msgstr ""
  6625. #. type: table
  6626. #: guix-git/doc/guix.texi:3174
  6627. 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."
  6628. msgstr ""
  6629. #. type: item
  6630. #: guix-git/doc/guix.texi:3175
  6631. #, no-wrap
  6632. msgid "--install-from-expression=@var{exp}"
  6633. msgstr ""
  6634. #. type: itemx
  6635. #: guix-git/doc/guix.texi:3176
  6636. #, no-wrap
  6637. msgid "-e @var{exp}"
  6638. msgstr ""
  6639. #. type: table
  6640. #: guix-git/doc/guix.texi:3178
  6641. msgid "Install the package @var{exp} evaluates to."
  6642. msgstr ""
  6643. #. type: table
  6644. #: guix-git/doc/guix.texi:3183
  6645. 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)}."
  6646. msgstr ""
  6647. #. type: table
  6648. #: guix-git/doc/guix.texi:3187
  6649. 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."
  6650. msgstr ""
  6651. #. type: item
  6652. #: guix-git/doc/guix.texi:3188
  6653. #, no-wrap
  6654. msgid "--install-from-file=@var{file}"
  6655. msgstr ""
  6656. #. type: itemx
  6657. #: guix-git/doc/guix.texi:3189 guix-git/doc/guix.texi:10684
  6658. #, no-wrap
  6659. msgid "-f @var{file}"
  6660. msgstr ""
  6661. #. type: table
  6662. #: guix-git/doc/guix.texi:3191
  6663. msgid "Install the package that the code within @var{file} evaluates to."
  6664. msgstr ""
  6665. #. type: table
  6666. #: guix-git/doc/guix.texi:3194 guix-git/doc/guix.texi:5721
  6667. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  6668. msgstr ""
  6669. #. type: include
  6670. #: guix-git/doc/guix.texi:3196 guix-git/doc/guix.texi:10692
  6671. #, no-wrap
  6672. msgid "package-hello.scm"
  6673. msgstr ""
  6674. #. type: table
  6675. #: guix-git/doc/guix.texi:3203
  6676. 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})."
  6677. msgstr ""
  6678. #. type: table
  6679. #: guix-git/doc/guix.texi:3208
  6680. 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}:"
  6681. msgstr ""
  6682. #. type: example
  6683. #: guix-git/doc/guix.texi:3211 guix-git/doc/guix.texi:10702
  6684. #, no-wrap
  6685. msgid "@verbatiminclude package-hello.json\n"
  6686. msgstr ""
  6687. #. type: item
  6688. #: guix-git/doc/guix.texi:3213
  6689. #, no-wrap
  6690. msgid "--remove=@var{package} @dots{}"
  6691. msgstr ""
  6692. #. type: itemx
  6693. #: guix-git/doc/guix.texi:3214
  6694. #, no-wrap
  6695. msgid "-r @var{package} @dots{}"
  6696. msgstr ""
  6697. #. type: table
  6698. #: guix-git/doc/guix.texi:3216
  6699. msgid "Remove the specified @var{package}s."
  6700. msgstr ""
  6701. #. type: table
  6702. #: guix-git/doc/guix.texi:3221
  6703. 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}."
  6704. msgstr ""
  6705. #. type: item
  6706. #: guix-git/doc/guix.texi:3222
  6707. #, no-wrap
  6708. msgid "--upgrade[=@var{regexp} @dots{}]"
  6709. msgstr ""
  6710. #. type: itemx
  6711. #: guix-git/doc/guix.texi:3223
  6712. #, no-wrap
  6713. msgid "-u [@var{regexp} @dots{}]"
  6714. msgstr ""
  6715. #. type: cindex
  6716. #: guix-git/doc/guix.texi:3224
  6717. #, no-wrap
  6718. msgid "upgrading packages"
  6719. msgstr ""
  6720. #. type: table
  6721. #: guix-git/doc/guix.texi:3228
  6722. 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."
  6723. msgstr ""
  6724. #. type: table
  6725. #: guix-git/doc/guix.texi:3233
  6726. 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})."
  6727. msgstr ""
  6728. #. type: cindex
  6729. #: guix-git/doc/guix.texi:3234
  6730. #, no-wrap
  6731. msgid "package transformations, upgrades"
  6732. msgstr ""
  6733. #. type: table
  6734. #: guix-git/doc/guix.texi:3239
  6735. 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:"
  6736. msgstr ""
  6737. #. type: example
  6738. #: guix-git/doc/guix.texi:3242
  6739. #, no-wrap
  6740. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  6741. msgstr ""
  6742. #. type: table
  6743. #: guix-git/doc/guix.texi:3247
  6744. 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."
  6745. msgstr ""
  6746. #. type: table
  6747. #: guix-git/doc/guix.texi:3252
  6748. 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:"
  6749. msgstr ""
  6750. #. type: example
  6751. #: guix-git/doc/guix.texi:3255
  6752. #, no-wrap
  6753. msgid "guix install @var{package}\n"
  6754. msgstr ""
  6755. #. type: item
  6756. #: guix-git/doc/guix.texi:3257
  6757. #, no-wrap
  6758. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  6759. msgstr ""
  6760. #. type: table
  6761. #: guix-git/doc/guix.texi:3262
  6762. 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'':"
  6763. msgstr ""
  6764. #. type: example
  6765. #: guix-git/doc/guix.texi:3265
  6766. #, no-wrap
  6767. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  6768. msgstr ""
  6769. #. type: anchor{#1}
  6770. #: guix-git/doc/guix.texi:3267
  6771. #, no-wrap
  6772. msgid "profile-manifest"
  6773. msgstr ""
  6774. #. type: item
  6775. #: guix-git/doc/guix.texi:3267 guix-git/doc/guix.texi:5726
  6776. #: guix-git/doc/guix.texi:6145 guix-git/doc/guix.texi:11725
  6777. #: guix-git/doc/guix.texi:13162
  6778. #, no-wrap
  6779. msgid "--manifest=@var{file}"
  6780. msgstr ""
  6781. #. type: itemx
  6782. #: guix-git/doc/guix.texi:3268 guix-git/doc/guix.texi:5727
  6783. #: guix-git/doc/guix.texi:6146 guix-git/doc/guix.texi:11726
  6784. #, no-wrap
  6785. msgid "-m @var{file}"
  6786. msgstr ""
  6787. #. type: cindex
  6788. #: guix-git/doc/guix.texi:3269
  6789. #, no-wrap
  6790. msgid "profile declaration"
  6791. msgstr ""
  6792. #. type: cindex
  6793. #: guix-git/doc/guix.texi:3270
  6794. #, no-wrap
  6795. msgid "profile manifest"
  6796. msgstr ""
  6797. #. type: table
  6798. #: guix-git/doc/guix.texi:3274
  6799. 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."
  6800. msgstr ""
  6801. #. type: table
  6802. #: guix-git/doc/guix.texi:3280
  6803. 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."
  6804. msgstr ""
  6805. #. type: table
  6806. #: guix-git/doc/guix.texi:3284
  6807. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  6808. msgstr ""
  6809. #. type: findex
  6810. #: guix-git/doc/guix.texi:3285
  6811. #, no-wrap
  6812. msgid "packages->manifest"
  6813. msgstr ""
  6814. #. type: lisp
  6815. #: guix-git/doc/guix.texi:3288
  6816. #, no-wrap
  6817. msgid ""
  6818. "(use-package-modules guile emacs)\n"
  6819. "\n"
  6820. msgstr ""
  6821. #. type: lisp
  6822. #: guix-git/doc/guix.texi:3294
  6823. #, no-wrap
  6824. msgid ""
  6825. "(packages->manifest\n"
  6826. " (list emacs\n"
  6827. " guile-2.0\n"
  6828. " ;; Use a specific package output.\n"
  6829. " (list guile-2.0 \"debug\")))\n"
  6830. msgstr ""
  6831. #. type: findex
  6832. #: guix-git/doc/guix.texi:3296
  6833. #, no-wrap
  6834. msgid "specifications->manifest"
  6835. msgstr ""
  6836. #. type: table
  6837. #: guix-git/doc/guix.texi:3303
  6838. 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:"
  6839. msgstr ""
  6840. #. type: lisp
  6841. #: guix-git/doc/guix.texi:3307
  6842. #, no-wrap
  6843. msgid ""
  6844. "(specifications->manifest\n"
  6845. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  6846. msgstr ""
  6847. #. type: table
  6848. #: guix-git/doc/guix.texi:3311
  6849. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  6850. msgstr ""
  6851. #. type: item
  6852. #: guix-git/doc/guix.texi:3312 guix-git/doc/guix.texi:4414
  6853. #, no-wrap
  6854. msgid "--roll-back"
  6855. msgstr ""
  6856. #. type: cindex
  6857. #: guix-git/doc/guix.texi:3313 guix-git/doc/guix.texi:4415
  6858. #: guix-git/doc/guix.texi:32869
  6859. #, no-wrap
  6860. msgid "rolling back"
  6861. msgstr ""
  6862. #. type: cindex
  6863. #: guix-git/doc/guix.texi:3314 guix-git/doc/guix.texi:4416
  6864. #, no-wrap
  6865. msgid "undoing transactions"
  6866. msgstr ""
  6867. #. type: cindex
  6868. #: guix-git/doc/guix.texi:3315 guix-git/doc/guix.texi:4417
  6869. #, no-wrap
  6870. msgid "transactions, undoing"
  6871. msgstr ""
  6872. #. type: table
  6873. #: guix-git/doc/guix.texi:3318
  6874. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  6875. msgstr ""
  6876. #. type: table
  6877. #: guix-git/doc/guix.texi:3321
  6878. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  6879. msgstr ""
  6880. #. type: table
  6881. #: guix-git/doc/guix.texi:3325
  6882. 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."
  6883. msgstr ""
  6884. #. type: table
  6885. #: guix-git/doc/guix.texi:3329
  6886. 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."
  6887. msgstr ""
  6888. #. type: item
  6889. #: guix-git/doc/guix.texi:3330 guix-git/doc/guix.texi:4421
  6890. #, no-wrap
  6891. msgid "--switch-generation=@var{pattern}"
  6892. msgstr ""
  6893. #. type: itemx
  6894. #: guix-git/doc/guix.texi:3331 guix-git/doc/guix.texi:4422
  6895. #, no-wrap
  6896. msgid "-S @var{pattern}"
  6897. msgstr ""
  6898. #. type: cindex
  6899. #: guix-git/doc/guix.texi:3332 guix-git/doc/guix.texi:3562
  6900. #: guix-git/doc/guix.texi:4423 guix-git/doc/guix.texi:32827
  6901. #, no-wrap
  6902. msgid "generations"
  6903. msgstr ""
  6904. #. type: table
  6905. #: guix-git/doc/guix.texi:3334 guix-git/doc/guix.texi:4425
  6906. msgid "Switch to a particular generation defined by @var{pattern}."
  6907. msgstr ""
  6908. #. type: table
  6909. #: guix-git/doc/guix.texi:3340 guix-git/doc/guix.texi:4431
  6910. 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}."
  6911. msgstr ""
  6912. #. type: table
  6913. #: guix-git/doc/guix.texi:3345
  6914. 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."
  6915. msgstr ""
  6916. #. type: item
  6917. #: guix-git/doc/guix.texi:3346
  6918. #, no-wrap
  6919. msgid "--search-paths[=@var{kind}]"
  6920. msgstr ""
  6921. #. type: table
  6922. #: guix-git/doc/guix.texi:3352
  6923. 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."
  6924. msgstr ""
  6925. #. type: table
  6926. #: guix-git/doc/guix.texi:3360
  6927. 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."
  6928. msgstr ""
  6929. #. type: table
  6930. #: guix-git/doc/guix.texi:3363
  6931. msgid "The typical use case is to define these environment variables in the shell:"
  6932. msgstr ""
  6933. #. type: example
  6934. #: guix-git/doc/guix.texi:3366
  6935. #, no-wrap
  6936. msgid "$ eval `guix package --search-paths`\n"
  6937. msgstr ""
  6938. #. type: table
  6939. #: guix-git/doc/guix.texi:3372
  6940. 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}."
  6941. msgstr ""
  6942. #. type: table
  6943. #: guix-git/doc/guix.texi:3375
  6944. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  6945. msgstr ""
  6946. #. type: example
  6947. #: guix-git/doc/guix.texi:3380
  6948. #, no-wrap
  6949. msgid ""
  6950. "$ guix package -p foo -i guile\n"
  6951. "$ guix package -p bar -i guile-json\n"
  6952. "$ guix package -p foo -p bar --search-paths\n"
  6953. msgstr ""
  6954. #. type: table
  6955. #: guix-git/doc/guix.texi:3385
  6956. 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."
  6957. msgstr ""
  6958. #. type: cindex
  6959. #: guix-git/doc/guix.texi:3387
  6960. #, no-wrap
  6961. msgid "profile, choosing"
  6962. msgstr ""
  6963. #. type: item
  6964. #: guix-git/doc/guix.texi:3388 guix-git/doc/guix.texi:4451
  6965. #: guix-git/doc/guix.texi:4780
  6966. #, no-wrap
  6967. msgid "--profile=@var{profile}"
  6968. msgstr ""
  6969. #. type: itemx
  6970. #: guix-git/doc/guix.texi:3389 guix-git/doc/guix.texi:4452
  6971. #: guix-git/doc/guix.texi:4781
  6972. #, no-wrap
  6973. msgid "-p @var{profile}"
  6974. msgstr ""
  6975. #. type: table
  6976. #: guix-git/doc/guix.texi:3391
  6977. msgid "Use @var{profile} instead of the user's default profile."
  6978. msgstr ""
  6979. #. type: table
  6980. #: guix-git/doc/guix.texi:3396
  6981. 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:"
  6982. msgstr ""
  6983. #. type: example
  6984. #: guix-git/doc/guix.texi:3402
  6985. #, no-wrap
  6986. msgid ""
  6987. "$ guix install hello -p ~/code/my-profile\n"
  6988. "@dots{}\n"
  6989. "$ ~/code/my-profile/bin/hello\n"
  6990. "Hello, world!\n"
  6991. msgstr ""
  6992. #. type: table
  6993. #: guix-git/doc/guix.texi:3406
  6994. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  6995. msgstr ""
  6996. #. type: example
  6997. #: guix-git/doc/guix.texi:3409
  6998. #, no-wrap
  6999. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7000. msgstr ""
  7001. #. type: item
  7002. #: guix-git/doc/guix.texi:3411
  7003. #, no-wrap
  7004. msgid "--list-profiles"
  7005. msgstr ""
  7006. #. type: table
  7007. #: guix-git/doc/guix.texi:3413
  7008. msgid "List all the user's profiles:"
  7009. msgstr ""
  7010. #. type: example
  7011. #: guix-git/doc/guix.texi:3420
  7012. #, no-wrap
  7013. msgid ""
  7014. "$ guix package --list-profiles\n"
  7015. "/home/charlie/.guix-profile\n"
  7016. "/home/charlie/code/my-profile\n"
  7017. "/home/charlie/code/devel-profile\n"
  7018. "/home/charlie/tmp/test\n"
  7019. msgstr ""
  7020. #. type: table
  7021. #: guix-git/doc/guix.texi:3423
  7022. msgid "When running as root, list all the profiles of all the users."
  7023. msgstr ""
  7024. #. type: cindex
  7025. #: guix-git/doc/guix.texi:3424
  7026. #, no-wrap
  7027. msgid "collisions, in a profile"
  7028. msgstr ""
  7029. #. type: cindex
  7030. #: guix-git/doc/guix.texi:3425
  7031. #, no-wrap
  7032. msgid "colliding packages in profiles"
  7033. msgstr ""
  7034. #. type: cindex
  7035. #: guix-git/doc/guix.texi:3426
  7036. #, no-wrap
  7037. msgid "profile collisions"
  7038. msgstr ""
  7039. #. type: item
  7040. #: guix-git/doc/guix.texi:3427
  7041. #, no-wrap
  7042. msgid "--allow-collisions"
  7043. msgstr ""
  7044. #. type: table
  7045. #: guix-git/doc/guix.texi:3429
  7046. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7047. msgstr ""
  7048. #. type: table
  7049. #: guix-git/doc/guix.texi:3433
  7050. 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."
  7051. msgstr ""
  7052. #. type: item
  7053. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4494
  7054. #: guix-git/doc/guix.texi:6231
  7055. #, no-wrap
  7056. msgid "--bootstrap"
  7057. msgstr ""
  7058. #. type: table
  7059. #: guix-git/doc/guix.texi:3437
  7060. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7061. msgstr ""
  7062. #. type: Plain text
  7063. #: guix-git/doc/guix.texi:3443
  7064. 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:"
  7065. msgstr ""
  7066. #. type: item
  7067. #: guix-git/doc/guix.texi:3446
  7068. #, no-wrap
  7069. msgid "--search=@var{regexp}"
  7070. msgstr ""
  7071. #. type: itemx
  7072. #: guix-git/doc/guix.texi:3447
  7073. #, no-wrap
  7074. msgid "-s @var{regexp}"
  7075. msgstr ""
  7076. #. type: anchor{#1}
  7077. #: guix-git/doc/guix.texi:3449
  7078. msgid "guix-search"
  7079. msgstr ""
  7080. #. type: cindex
  7081. #: guix-git/doc/guix.texi:3449
  7082. #, no-wrap
  7083. msgid "searching for packages"
  7084. msgstr ""
  7085. #. type: table
  7086. #: guix-git/doc/guix.texi:3455
  7087. 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})."
  7088. msgstr ""
  7089. #. type: table
  7090. #: guix-git/doc/guix.texi:3458
  7091. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7092. msgstr ""
  7093. #. type: example
  7094. #: guix-git/doc/guix.texi:3464
  7095. #, no-wrap
  7096. msgid ""
  7097. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7098. "name: jemalloc\n"
  7099. "version: 4.5.0\n"
  7100. "relevance: 6\n"
  7101. "\n"
  7102. msgstr ""
  7103. #. type: example
  7104. #: guix-git/doc/guix.texi:3468
  7105. #, no-wrap
  7106. msgid ""
  7107. "name: glibc\n"
  7108. "version: 2.25\n"
  7109. "relevance: 1\n"
  7110. "\n"
  7111. msgstr ""
  7112. #. type: example
  7113. #: guix-git/doc/guix.texi:3472
  7114. #, no-wrap
  7115. msgid ""
  7116. "name: libgc\n"
  7117. "version: 7.6.0\n"
  7118. "relevance: 1\n"
  7119. msgstr ""
  7120. #. type: table
  7121. #: guix-git/doc/guix.texi:3476
  7122. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7123. msgstr ""
  7124. #. type: example
  7125. #: guix-git/doc/guix.texi:3480
  7126. #, no-wrap
  7127. msgid ""
  7128. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7129. "name: elfutils\n"
  7130. "\n"
  7131. msgstr ""
  7132. #. type: example
  7133. #: guix-git/doc/guix.texi:3483
  7134. #, no-wrap
  7135. msgid ""
  7136. "name: gmp\n"
  7137. "@dots{}\n"
  7138. msgstr ""
  7139. #. type: table
  7140. #: guix-git/doc/guix.texi:3489
  7141. 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):"
  7142. msgstr ""
  7143. #. type: example
  7144. #: guix-git/doc/guix.texi:3494
  7145. #, no-wrap
  7146. msgid ""
  7147. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7148. "name: gnubg\n"
  7149. "@dots{}\n"
  7150. msgstr ""
  7151. #. type: table
  7152. #: guix-git/doc/guix.texi:3500
  7153. 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."
  7154. msgstr ""
  7155. #. type: table
  7156. #: guix-git/doc/guix.texi:3504
  7157. 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:"
  7158. msgstr ""
  7159. #. type: example
  7160. #: guix-git/doc/guix.texi:3508
  7161. #, no-wrap
  7162. msgid ""
  7163. "$ guix search crypto library | \\\n"
  7164. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7165. msgstr ""
  7166. #. type: table
  7167. #: guix-git/doc/guix.texi:3513
  7168. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7169. msgstr ""
  7170. #. type: item
  7171. #: guix-git/doc/guix.texi:3514
  7172. #, no-wrap
  7173. msgid "--show=@var{package}"
  7174. msgstr ""
  7175. #. type: table
  7176. #: guix-git/doc/guix.texi:3518
  7177. 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})."
  7178. msgstr ""
  7179. #. type: example
  7180. #: guix-git/doc/guix.texi:3523
  7181. #, no-wrap
  7182. msgid ""
  7183. "$ guix package --show=python | recsel -p name,version\n"
  7184. "name: python\n"
  7185. "version: 2.7.6\n"
  7186. "\n"
  7187. msgstr ""
  7188. #. type: example
  7189. #: guix-git/doc/guix.texi:3526
  7190. #, no-wrap
  7191. msgid ""
  7192. "name: python\n"
  7193. "version: 3.3.5\n"
  7194. msgstr ""
  7195. #. type: table
  7196. #: guix-git/doc/guix.texi:3530
  7197. 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):"
  7198. msgstr ""
  7199. #. type: example
  7200. #: guix-git/doc/guix.texi:3534
  7201. #, no-wrap
  7202. msgid ""
  7203. "$ guix show python@@3.4 | recsel -p name,version\n"
  7204. "name: python\n"
  7205. "version: 3.4.3\n"
  7206. msgstr ""
  7207. #. type: item
  7208. #: guix-git/doc/guix.texi:3538
  7209. #, no-wrap
  7210. msgid "--list-installed[=@var{regexp}]"
  7211. msgstr ""
  7212. #. type: itemx
  7213. #: guix-git/doc/guix.texi:3539
  7214. #, no-wrap
  7215. msgid "-I [@var{regexp}]"
  7216. msgstr ""
  7217. #. type: table
  7218. #: guix-git/doc/guix.texi:3543
  7219. 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}."
  7220. msgstr ""
  7221. #. type: table
  7222. #: guix-git/doc/guix.texi:3549
  7223. 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."
  7224. msgstr ""
  7225. #. type: item
  7226. #: guix-git/doc/guix.texi:3550
  7227. #, no-wrap
  7228. msgid "--list-available[=@var{regexp}]"
  7229. msgstr ""
  7230. #. type: itemx
  7231. #: guix-git/doc/guix.texi:3551
  7232. #, no-wrap
  7233. msgid "-A [@var{regexp}]"
  7234. msgstr ""
  7235. #. type: table
  7236. #: guix-git/doc/guix.texi:3555
  7237. 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}."
  7238. msgstr ""
  7239. #. type: table
  7240. #: guix-git/doc/guix.texi:3559
  7241. 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."
  7242. msgstr ""
  7243. #. type: item
  7244. #: guix-git/doc/guix.texi:3560 guix-git/doc/guix.texi:4407
  7245. #, no-wrap
  7246. msgid "--list-generations[=@var{pattern}]"
  7247. msgstr ""
  7248. #. type: itemx
  7249. #: guix-git/doc/guix.texi:3561 guix-git/doc/guix.texi:4408
  7250. #, no-wrap
  7251. msgid "-l [@var{pattern}]"
  7252. msgstr ""
  7253. #. type: table
  7254. #: guix-git/doc/guix.texi:3567
  7255. 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."
  7256. msgstr ""
  7257. #. type: table
  7258. #: guix-git/doc/guix.texi:3572
  7259. 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."
  7260. msgstr ""
  7261. #. type: table
  7262. #: guix-git/doc/guix.texi:3575
  7263. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7264. msgstr ""
  7265. #. type: item
  7266. #: guix-git/doc/guix.texi:3577
  7267. #, no-wrap
  7268. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7269. msgstr ""
  7270. #. type: itemize
  7271. #: guix-git/doc/guix.texi:3580
  7272. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7273. msgstr ""
  7274. #. type: itemize
  7275. #: guix-git/doc/guix.texi:3583
  7276. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7277. msgstr ""
  7278. #. type: item
  7279. #: guix-git/doc/guix.texi:3584
  7280. #, no-wrap
  7281. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7282. msgstr ""
  7283. #. type: itemize
  7284. #: guix-git/doc/guix.texi:3587
  7285. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7286. msgstr ""
  7287. #. type: itemize
  7288. #: guix-git/doc/guix.texi:3591
  7289. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7290. msgstr ""
  7291. #. type: item
  7292. #: guix-git/doc/guix.texi:3592
  7293. #, no-wrap
  7294. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7295. msgstr ""
  7296. #. type: itemize
  7297. #: guix-git/doc/guix.texi:3596
  7298. 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."
  7299. msgstr ""
  7300. #. type: item
  7301. #: guix-git/doc/guix.texi:3598 guix-git/doc/guix.texi:4432
  7302. #, no-wrap
  7303. msgid "--delete-generations[=@var{pattern}]"
  7304. msgstr ""
  7305. #. type: itemx
  7306. #: guix-git/doc/guix.texi:3599 guix-git/doc/guix.texi:4433
  7307. #, no-wrap
  7308. msgid "-d [@var{pattern}]"
  7309. msgstr ""
  7310. #. type: table
  7311. #: guix-git/doc/guix.texi:3602 guix-git/doc/guix.texi:4436
  7312. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7313. msgstr ""
  7314. #. type: table
  7315. #: guix-git/doc/guix.texi:3608 guix-git/doc/guix.texi:4442
  7316. 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."
  7317. msgstr ""
  7318. #. type: table
  7319. #: guix-git/doc/guix.texi:3611
  7320. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7321. msgstr ""
  7322. #. type: table
  7323. #: guix-git/doc/guix.texi:3614 guix-git/doc/guix.texi:4447
  7324. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7325. msgstr ""
  7326. #. type: cindex
  7327. #: guix-git/doc/guix.texi:3615
  7328. #, no-wrap
  7329. msgid "manifest, exporting"
  7330. msgstr ""
  7331. #. type: anchor{#1}
  7332. #: guix-git/doc/guix.texi:3617
  7333. msgid "export-manifest"
  7334. msgstr ""
  7335. #. type: item
  7336. #: guix-git/doc/guix.texi:3617
  7337. #, no-wrap
  7338. msgid "--export-manifest"
  7339. msgstr ""
  7340. #. type: table
  7341. #: guix-git/doc/guix.texi:3620
  7342. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7343. msgstr ""
  7344. #. type: table
  7345. #: guix-git/doc/guix.texi:3624
  7346. 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."
  7347. msgstr ""
  7348. #. type: table
  7349. #: guix-git/doc/guix.texi:3629
  7350. 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."
  7351. msgstr ""
  7352. #. type: table
  7353. #: guix-git/doc/guix.texi:3634
  7354. 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."
  7355. msgstr ""
  7356. #. type: cindex
  7357. #: guix-git/doc/guix.texi:3635
  7358. #, no-wrap
  7359. msgid "pinning, channel revisions of a profile"
  7360. msgstr ""
  7361. #. type: item
  7362. #: guix-git/doc/guix.texi:3636
  7363. #, no-wrap
  7364. msgid "--export-channels"
  7365. msgstr ""
  7366. #. type: table
  7367. #: guix-git/doc/guix.texi:3640
  7368. 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})."
  7369. msgstr ""
  7370. #. type: table
  7371. #: guix-git/doc/guix.texi:3644
  7372. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7373. msgstr ""
  7374. #. type: table
  7375. #: guix-git/doc/guix.texi:3652
  7376. 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})."
  7377. msgstr ""
  7378. #. type: table
  7379. #: guix-git/doc/guix.texi:3657
  7380. 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."
  7381. msgstr ""
  7382. #. type: Plain text
  7383. #: guix-git/doc/guix.texi:3664
  7384. 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})."
  7385. msgstr ""
  7386. #. type: cindex
  7387. #: guix-git/doc/guix.texi:3669
  7388. #, no-wrap
  7389. msgid "pre-built binaries"
  7390. msgstr ""
  7391. #. type: Plain text
  7392. #: guix-git/doc/guix.texi:3675
  7393. 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."
  7394. msgstr ""
  7395. #. type: Plain text
  7396. #: guix-git/doc/guix.texi:3680
  7397. 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."
  7398. msgstr ""
  7399. #. type: cindex
  7400. #: guix-git/doc/guix.texi:3694
  7401. #, no-wrap
  7402. msgid "build farm"
  7403. msgstr ""
  7404. #. type: Plain text
  7405. #: guix-git/doc/guix.texi:3704
  7406. 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})."
  7407. msgstr ""
  7408. #. type: Plain text
  7409. #: guix-git/doc/guix.texi:3710
  7410. 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."
  7411. msgstr ""
  7412. #. type: Plain text
  7413. #: guix-git/doc/guix.texi:3719
  7414. 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."
  7415. msgstr ""
  7416. #. type: cindex
  7417. #: guix-git/doc/guix.texi:3723
  7418. #, no-wrap
  7419. msgid "security"
  7420. msgstr "보안"
  7421. #. type: cindex
  7422. #: guix-git/doc/guix.texi:3725
  7423. #, no-wrap
  7424. msgid "access control list (ACL), for substitutes"
  7425. msgstr ""
  7426. #. type: cindex
  7427. #: guix-git/doc/guix.texi:3726
  7428. #, no-wrap
  7429. msgid "ACL (access control list), for substitutes"
  7430. msgstr ""
  7431. #. type: Plain text
  7432. #: guix-git/doc/guix.texi:3733
  7433. 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."
  7434. msgstr ""
  7435. #. type: quotation
  7436. #: guix-git/doc/guix.texi:3737
  7437. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER}} by default."
  7438. msgstr ""
  7439. #. type: Plain text
  7440. #: guix-git/doc/guix.texi:3745
  7441. 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:"
  7442. msgstr ""
  7443. #. type: example
  7444. #: guix-git/doc/guix.texi:3748
  7445. #, no-wrap
  7446. msgid "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  7447. msgstr ""
  7448. #. type: Plain text
  7449. #: guix-git/doc/guix.texi:3752
  7450. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  7451. msgstr ""
  7452. #. type: example
  7453. #: guix-git/doc/guix.texi:3761
  7454. #, no-wrap
  7455. msgid ""
  7456. "$ guix build emacs --dry-run\n"
  7457. "The following derivations would be built:\n"
  7458. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  7459. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  7460. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  7461. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  7462. "@dots{}\n"
  7463. msgstr ""
  7464. #. type: Plain text
  7465. #: guix-git/doc/guix.texi:3765
  7466. msgid "to something like:"
  7467. msgstr ""
  7468. #. type: example
  7469. #: guix-git/doc/guix.texi:3774
  7470. #, no-wrap
  7471. msgid ""
  7472. "$ guix build emacs --dry-run\n"
  7473. "112.3 MB would be downloaded:\n"
  7474. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  7475. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  7476. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  7477. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  7478. "@dots{}\n"
  7479. msgstr ""
  7480. #. type: Plain text
  7481. #: guix-git/doc/guix.texi:3781
  7482. 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."
  7483. msgstr ""
  7484. #. type: cindex
  7485. #: guix-git/doc/guix.texi:3782
  7486. #, no-wrap
  7487. msgid "substitutes, how to disable"
  7488. msgstr ""
  7489. #. type: Plain text
  7490. #: guix-git/doc/guix.texi:3788
  7491. 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."
  7492. msgstr ""
  7493. #. type: cindex
  7494. #: guix-git/doc/guix.texi:3792
  7495. #, no-wrap
  7496. msgid "substitute servers, adding more"
  7497. msgstr ""
  7498. #. type: Plain text
  7499. #: guix-git/doc/guix.texi:3799
  7500. 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."
  7501. msgstr ""
  7502. #. type: Plain text
  7503. #: guix-git/doc/guix.texi:3804
  7504. 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."
  7505. msgstr ""
  7506. #. type: Plain text
  7507. #: guix-git/doc/guix.texi:3811
  7508. 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}})."
  7509. msgstr ""
  7510. #. type: Plain text
  7511. #: guix-git/doc/guix.texi:3816
  7512. 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:"
  7513. msgstr ""
  7514. #. type: lisp
  7515. #: guix-git/doc/guix.texi:3833
  7516. #, no-wrap
  7517. msgid ""
  7518. "(operating-system\n"
  7519. " ;; @dots{}\n"
  7520. " (services\n"
  7521. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  7522. " ;; with the list of services you're actually using.\n"
  7523. " (modify-services %desktop-services\n"
  7524. " (guix-service-type config =>\n"
  7525. " (guix-configuration\n"
  7526. " (inherit config)\n"
  7527. " (substitute-urls\n"
  7528. " (append (list \"https://guix.example.org\")\n"
  7529. " %default-substitute-urls))\n"
  7530. " (authorized-keys\n"
  7531. " (append (list (local-file \"./key.pub\"))\n"
  7532. " %default-authorized-guix-keys)))))))\n"
  7533. msgstr ""
  7534. #. type: Plain text
  7535. #: guix-git/doc/guix.texi:3840
  7536. 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:"
  7537. msgstr ""
  7538. #. type: example
  7539. #: guix-git/doc/guix.texi:3844
  7540. #, no-wrap
  7541. msgid ""
  7542. "$ sudo guix system reconfigure /etc/config.scm\n"
  7543. "$ sudo herd restart guix-daemon\n"
  7544. msgstr ""
  7545. #. type: Plain text
  7546. #: guix-git/doc/guix.texi:3848
  7547. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  7548. msgstr ""
  7549. #. type: enumerate
  7550. #: guix-git/doc/guix.texi:3857
  7551. 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}}):"
  7552. msgstr ""
  7553. #. type: example
  7554. #: guix-git/doc/guix.texi:3860
  7555. #, no-wrap
  7556. msgid "@dots{} --substitute-urls='https://guix.example.org https://@value{SUBSTITUTE-SERVER}'\n"
  7557. msgstr ""
  7558. #. type: enumerate
  7559. #: guix-git/doc/guix.texi:3864
  7560. msgid "Restart the daemon. For systemd, it goes like this:"
  7561. msgstr ""
  7562. #. type: example
  7563. #: guix-git/doc/guix.texi:3868
  7564. #, no-wrap
  7565. msgid ""
  7566. "systemctl daemon-reload\n"
  7567. "systemctl restart guix-daemon.service\n"
  7568. msgstr ""
  7569. #. type: enumerate
  7570. #: guix-git/doc/guix.texi:3872
  7571. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  7572. msgstr ""
  7573. #. type: example
  7574. #: guix-git/doc/guix.texi:3875
  7575. #, no-wrap
  7576. msgid "guix archive --authorize < key.pub\n"
  7577. msgstr ""
  7578. #. type: enumerate
  7579. #: guix-git/doc/guix.texi:3879
  7580. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  7581. msgstr ""
  7582. #. type: Plain text
  7583. #: guix-git/doc/guix.texi:3886
  7584. 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."
  7585. msgstr ""
  7586. #. type: Plain text
  7587. #: guix-git/doc/guix.texi:3890
  7588. 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."
  7589. msgstr ""
  7590. #. type: cindex
  7591. #: guix-git/doc/guix.texi:3894
  7592. #, no-wrap
  7593. msgid "digital signatures"
  7594. msgstr ""
  7595. #. type: Plain text
  7596. #: guix-git/doc/guix.texi:3898
  7597. 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."
  7598. msgstr ""
  7599. #. type: Plain text
  7600. #: guix-git/doc/guix.texi:3904
  7601. 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:"
  7602. msgstr ""
  7603. #. type: example
  7604. #: guix-git/doc/guix.texi:3907
  7605. #, no-wrap
  7606. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  7607. msgstr ""
  7608. #. type: Plain text
  7609. #: guix-git/doc/guix.texi:3918
  7610. 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)."
  7611. msgstr ""
  7612. #. type: Plain text
  7613. #: guix-git/doc/guix.texi:3925
  7614. 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)."
  7615. msgstr ""
  7616. #. type: Plain text
  7617. #: guix-git/doc/guix.texi:3937
  7618. 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}."
  7619. msgstr ""
  7620. #. type: Plain text
  7621. #: guix-git/doc/guix.texi:3946
  7622. 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."
  7623. msgstr ""
  7624. #. type: Plain text
  7625. #: guix-git/doc/guix.texi:3960
  7626. 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."
  7627. msgstr ""
  7628. #. type: Plain text
  7629. #: guix-git/doc/guix.texi:3965
  7630. 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."
  7631. msgstr ""
  7632. #. type: cindex
  7633. #: guix-git/doc/guix.texi:3969
  7634. #, no-wrap
  7635. msgid "trust, of pre-built binaries"
  7636. msgstr ""
  7637. #. type: Plain text
  7638. #: guix-git/doc/guix.texi:3979
  7639. 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})."
  7640. msgstr ""
  7641. #. type: Plain text
  7642. #: guix-git/doc/guix.texi:3991
  7643. 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}})."
  7644. msgstr ""
  7645. #. type: Plain text
  7646. #: guix-git/doc/guix.texi:3995
  7647. 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}."
  7648. msgstr ""
  7649. #. type: cindex
  7650. #: guix-git/doc/guix.texi:3999
  7651. #, no-wrap
  7652. msgid "multiple-output packages"
  7653. msgstr ""
  7654. #. type: cindex
  7655. #: guix-git/doc/guix.texi:4000
  7656. #, no-wrap
  7657. msgid "package outputs"
  7658. msgstr ""
  7659. #. type: cindex
  7660. #: guix-git/doc/guix.texi:4001
  7661. #, no-wrap
  7662. msgid "outputs"
  7663. msgstr ""
  7664. #. type: Plain text
  7665. #: guix-git/doc/guix.texi:4011
  7666. 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."
  7667. msgstr ""
  7668. #. type: Plain text
  7669. #: guix-git/doc/guix.texi:4019
  7670. 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:"
  7671. msgstr ""
  7672. #. type: example
  7673. #: guix-git/doc/guix.texi:4022
  7674. #, no-wrap
  7675. msgid "guix install glib\n"
  7676. msgstr ""
  7677. #. type: item
  7678. #: guix-git/doc/guix.texi:4024 guix-git/doc/guix.texi:34192
  7679. #: guix-git/doc/guix.texi:34249
  7680. #, no-wrap
  7681. msgid "documentation"
  7682. msgstr "문서"
  7683. #. type: Plain text
  7684. #: guix-git/doc/guix.texi:4026
  7685. msgid "The command to install its documentation is:"
  7686. msgstr ""
  7687. #. type: example
  7688. #: guix-git/doc/guix.texi:4029
  7689. #, no-wrap
  7690. msgid "guix install glib:doc\n"
  7691. msgstr ""
  7692. #. type: Plain text
  7693. #: guix-git/doc/guix.texi:4040
  7694. 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})."
  7695. msgstr ""
  7696. #. type: Plain text
  7697. #: guix-git/doc/guix.texi:4048
  7698. 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})."
  7699. msgstr ""
  7700. #. type: section
  7701. #: guix-git/doc/guix.texi:4051
  7702. #, no-wrap
  7703. msgid "Invoking @command{guix gc}"
  7704. msgstr ""
  7705. #. type: cindex
  7706. #: guix-git/doc/guix.texi:4053
  7707. #, no-wrap
  7708. msgid "garbage collector"
  7709. msgstr ""
  7710. #. type: cindex
  7711. #: guix-git/doc/guix.texi:4054
  7712. #, no-wrap
  7713. msgid "disk space"
  7714. msgstr ""
  7715. #. type: Plain text
  7716. #: guix-git/doc/guix.texi:4060
  7717. 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!"
  7718. msgstr ""
  7719. #. type: Plain text
  7720. #: guix-git/doc/guix.texi:4071
  7721. 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."
  7722. msgstr ""
  7723. #. type: Plain text
  7724. #: guix-git/doc/guix.texi:4077
  7725. 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})."
  7726. msgstr ""
  7727. #. type: Plain text
  7728. #: guix-git/doc/guix.texi:4081
  7729. 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:"
  7730. msgstr ""
  7731. #. type: example
  7732. #: guix-git/doc/guix.texi:4084
  7733. #, no-wrap
  7734. msgid "guix gc -F 5G\n"
  7735. msgstr ""
  7736. #. type: Plain text
  7737. #: guix-git/doc/guix.texi:4093
  7738. 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."
  7739. msgstr ""
  7740. #. type: Plain text
  7741. #: guix-git/doc/guix.texi:4099
  7742. 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:"
  7743. msgstr ""
  7744. #. type: item
  7745. #: guix-git/doc/guix.texi:4101
  7746. #, no-wrap
  7747. msgid "--collect-garbage[=@var{min}]"
  7748. msgstr ""
  7749. #. type: itemx
  7750. #: guix-git/doc/guix.texi:4102
  7751. #, no-wrap
  7752. msgid "-C [@var{min}]"
  7753. msgstr ""
  7754. #. type: table
  7755. #: guix-git/doc/guix.texi:4106
  7756. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  7757. msgstr ""
  7758. #. type: table
  7759. #: guix-git/doc/guix.texi:4111
  7760. 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})."
  7761. msgstr ""
  7762. #. type: table
  7763. #: guix-git/doc/guix.texi:4113
  7764. msgid "When @var{min} is omitted, collect all the garbage."
  7765. msgstr ""
  7766. #. type: item
  7767. #: guix-git/doc/guix.texi:4114
  7768. #, no-wrap
  7769. msgid "--free-space=@var{free}"
  7770. msgstr ""
  7771. #. type: itemx
  7772. #: guix-git/doc/guix.texi:4115
  7773. #, no-wrap
  7774. msgid "-F @var{free}"
  7775. msgstr ""
  7776. #. type: table
  7777. #: guix-git/doc/guix.texi:4119
  7778. 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."
  7779. msgstr ""
  7780. #. type: table
  7781. #: guix-git/doc/guix.texi:4122
  7782. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  7783. msgstr ""
  7784. #. type: item
  7785. #: guix-git/doc/guix.texi:4123
  7786. #, no-wrap
  7787. msgid "--delete-generations[=@var{duration}]"
  7788. msgstr ""
  7789. #. type: itemx
  7790. #: guix-git/doc/guix.texi:4124
  7791. #, no-wrap
  7792. msgid "-d [@var{duration}]"
  7793. msgstr ""
  7794. #. type: table
  7795. #: guix-git/doc/guix.texi:4128
  7796. 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}."
  7797. msgstr ""
  7798. #. type: table
  7799. #: guix-git/doc/guix.texi:4132
  7800. 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:"
  7801. msgstr ""
  7802. #. type: example
  7803. #: guix-git/doc/guix.texi:4135
  7804. #, no-wrap
  7805. msgid "guix gc -d 2m -F 10G\n"
  7806. msgstr ""
  7807. #. type: item
  7808. #: guix-git/doc/guix.texi:4137
  7809. #, no-wrap
  7810. msgid "--delete"
  7811. msgstr ""
  7812. #. type: itemx
  7813. #: guix-git/doc/guix.texi:4138
  7814. #, no-wrap
  7815. msgid "-D"
  7816. msgstr ""
  7817. #. type: table
  7818. #: guix-git/doc/guix.texi:4142
  7819. 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."
  7820. msgstr ""
  7821. #. type: item
  7822. #: guix-git/doc/guix.texi:4143
  7823. #, no-wrap
  7824. msgid "--list-failures"
  7825. msgstr ""
  7826. #. type: table
  7827. #: guix-git/doc/guix.texi:4145
  7828. msgid "List store items corresponding to cached build failures."
  7829. msgstr ""
  7830. #. type: table
  7831. #: guix-git/doc/guix.texi:4149
  7832. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  7833. msgstr ""
  7834. #. type: item
  7835. #: guix-git/doc/guix.texi:4150
  7836. #, no-wrap
  7837. msgid "--list-roots"
  7838. msgstr ""
  7839. #. type: table
  7840. #: guix-git/doc/guix.texi:4153
  7841. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  7842. msgstr ""
  7843. #. type: item
  7844. #: guix-git/doc/guix.texi:4154
  7845. #, no-wrap
  7846. msgid "--list-busy"
  7847. msgstr ""
  7848. #. type: table
  7849. #: guix-git/doc/guix.texi:4157
  7850. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  7851. msgstr ""
  7852. #. type: item
  7853. #: guix-git/doc/guix.texi:4158
  7854. #, no-wrap
  7855. msgid "--clear-failures"
  7856. msgstr ""
  7857. #. type: table
  7858. #: guix-git/doc/guix.texi:4160
  7859. msgid "Remove the specified store items from the failed-build cache."
  7860. msgstr ""
  7861. #. type: table
  7862. #: guix-git/doc/guix.texi:4163
  7863. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  7864. msgstr ""
  7865. #. type: item
  7866. #: guix-git/doc/guix.texi:4164
  7867. #, no-wrap
  7868. msgid "--list-dead"
  7869. msgstr ""
  7870. #. type: table
  7871. #: guix-git/doc/guix.texi:4167
  7872. 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."
  7873. msgstr ""
  7874. #. type: item
  7875. #: guix-git/doc/guix.texi:4168
  7876. #, no-wrap
  7877. msgid "--list-live"
  7878. msgstr ""
  7879. #. type: table
  7880. #: guix-git/doc/guix.texi:4170
  7881. msgid "Show the list of live store files and directories."
  7882. msgstr ""
  7883. #. type: Plain text
  7884. #: guix-git/doc/guix.texi:4174
  7885. msgid "In addition, the references among existing store files can be queried:"
  7886. msgstr ""
  7887. #. type: item
  7888. #: guix-git/doc/guix.texi:4177
  7889. #, no-wrap
  7890. msgid "--references"
  7891. msgstr "--references"
  7892. #. type: itemx
  7893. #: guix-git/doc/guix.texi:4178
  7894. #, no-wrap
  7895. msgid "--referrers"
  7896. msgstr ""
  7897. #. type: cindex
  7898. #: guix-git/doc/guix.texi:4179 guix-git/doc/guix.texi:12256
  7899. #, no-wrap
  7900. msgid "package dependencies"
  7901. msgstr ""
  7902. #. type: table
  7903. #: guix-git/doc/guix.texi:4182
  7904. msgid "List the references (respectively, the referrers) of store files given as arguments."
  7905. msgstr ""
  7906. #. type: item
  7907. #: guix-git/doc/guix.texi:4183
  7908. #, no-wrap
  7909. msgid "--requisites"
  7910. msgstr ""
  7911. #. type: itemx
  7912. #: guix-git/doc/guix.texi:4184 guix-git/doc/guix.texi:6031
  7913. #, no-wrap
  7914. msgid "-R"
  7915. msgstr ""
  7916. #. type: item
  7917. #: guix-git/doc/guix.texi:4185 guix-git/doc/guix.texi:12112
  7918. #: guix-git/doc/guix.texi:12140 guix-git/doc/guix.texi:12221
  7919. #, no-wrap
  7920. msgid "closure"
  7921. msgstr ""
  7922. #. type: table
  7923. #: guix-git/doc/guix.texi:4190
  7924. 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."
  7925. msgstr ""
  7926. #. type: table
  7927. #: guix-git/doc/guix.texi:4194
  7928. 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."
  7929. msgstr ""
  7930. #. type: item
  7931. #: guix-git/doc/guix.texi:4195
  7932. #, no-wrap
  7933. msgid "--derivers"
  7934. msgstr ""
  7935. #. type: item
  7936. #: guix-git/doc/guix.texi:4196 guix-git/doc/guix.texi:6345
  7937. #: guix-git/doc/guix.texi:11975 guix-git/doc/guix.texi:12365
  7938. #, no-wrap
  7939. msgid "derivation"
  7940. msgstr ""
  7941. #. type: table
  7942. #: guix-git/doc/guix.texi:4199
  7943. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  7944. msgstr ""
  7945. #. type: table
  7946. #: guix-git/doc/guix.texi:4201
  7947. msgid "For example, this command:"
  7948. msgstr ""
  7949. #. type: example
  7950. #: guix-git/doc/guix.texi:4204
  7951. #, no-wrap
  7952. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  7953. msgstr ""
  7954. #. type: table
  7955. #: guix-git/doc/guix.texi:4209
  7956. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  7957. msgstr ""
  7958. #. type: table
  7959. #: guix-git/doc/guix.texi:4213
  7960. 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."
  7961. msgstr ""
  7962. #. type: Plain text
  7963. #: guix-git/doc/guix.texi:4217
  7964. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  7965. msgstr ""
  7966. #. type: item
  7967. #: guix-git/doc/guix.texi:4220
  7968. #, no-wrap
  7969. msgid "--verify[=@var{options}]"
  7970. msgstr ""
  7971. #. type: cindex
  7972. #: guix-git/doc/guix.texi:4221
  7973. #, no-wrap
  7974. msgid "integrity, of the store"
  7975. msgstr ""
  7976. #. type: cindex
  7977. #: guix-git/doc/guix.texi:4222
  7978. #, no-wrap
  7979. msgid "integrity checking"
  7980. msgstr ""
  7981. #. type: table
  7982. #: guix-git/doc/guix.texi:4224
  7983. msgid "Verify the integrity of the store."
  7984. msgstr ""
  7985. #. type: table
  7986. #: guix-git/doc/guix.texi:4227
  7987. 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}."
  7988. msgstr ""
  7989. #. type: table
  7990. #: guix-git/doc/guix.texi:4230
  7991. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  7992. msgstr ""
  7993. #. type: table
  7994. #: guix-git/doc/guix.texi:4236
  7995. 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."
  7996. msgstr ""
  7997. #. type: cindex
  7998. #: guix-git/doc/guix.texi:4237
  7999. #, no-wrap
  8000. msgid "repairing the store"
  8001. msgstr ""
  8002. #. type: cindex
  8003. #: guix-git/doc/guix.texi:4238 guix-git/doc/guix.texi:10852
  8004. #, no-wrap
  8005. msgid "corruption, recovering from"
  8006. msgstr ""
  8007. #. type: table
  8008. #: guix-git/doc/guix.texi:4246
  8009. 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})."
  8010. msgstr ""
  8011. #. type: item
  8012. #: guix-git/doc/guix.texi:4247
  8013. #, no-wrap
  8014. msgid "--optimize"
  8015. msgstr ""
  8016. #. type: table
  8017. #: guix-git/doc/guix.texi:4251
  8018. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8019. msgstr ""
  8020. #. type: table
  8021. #: guix-git/doc/guix.texi:4257
  8022. 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}."
  8023. msgstr ""
  8024. #. type: section
  8025. #: guix-git/doc/guix.texi:4261
  8026. #, no-wrap
  8027. msgid "Invoking @command{guix pull}"
  8028. msgstr ""
  8029. #. type: cindex
  8030. #: guix-git/doc/guix.texi:4263
  8031. #, no-wrap
  8032. msgid "upgrading Guix"
  8033. msgstr ""
  8034. #. type: cindex
  8035. #: guix-git/doc/guix.texi:4264
  8036. #, no-wrap
  8037. msgid "updating Guix"
  8038. msgstr ""
  8039. #. type: command{#1}
  8040. #: guix-git/doc/guix.texi:4265
  8041. #, no-wrap
  8042. msgid "guix pull"
  8043. msgstr ""
  8044. #. type: cindex
  8045. #: guix-git/doc/guix.texi:4266
  8046. #, no-wrap
  8047. msgid "pull"
  8048. msgstr ""
  8049. #. type: cindex
  8050. #: guix-git/doc/guix.texi:4267
  8051. #, no-wrap
  8052. msgid "security, @command{guix pull}"
  8053. msgstr ""
  8054. #. type: cindex
  8055. #: guix-git/doc/guix.texi:4268
  8056. #, no-wrap
  8057. msgid "authenticity, of code obtained with @command{guix pull}"
  8058. msgstr ""
  8059. #. type: Plain text
  8060. #: guix-git/doc/guix.texi:4278
  8061. 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."
  8062. msgstr ""
  8063. #. type: Plain text
  8064. #: guix-git/doc/guix.texi:4281
  8065. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8066. msgstr ""
  8067. #. type: enumerate
  8068. #: guix-git/doc/guix.texi:4285
  8069. msgid "the @option{--channels} option;"
  8070. msgstr ""
  8071. #. type: enumerate
  8072. #: guix-git/doc/guix.texi:4287
  8073. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8074. msgstr ""
  8075. #. type: enumerate
  8076. #: guix-git/doc/guix.texi:4289
  8077. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8078. msgstr ""
  8079. #. type: enumerate
  8080. #: guix-git/doc/guix.texi:4292
  8081. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8082. msgstr ""
  8083. #. type: Plain text
  8084. #: guix-git/doc/guix.texi:4299
  8085. 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."
  8086. msgstr ""
  8087. #. type: Plain text
  8088. #: guix-git/doc/guix.texi:4305
  8089. 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."
  8090. msgstr ""
  8091. #. type: Plain text
  8092. #: guix-git/doc/guix.texi:4311
  8093. 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}):"
  8094. msgstr ""
  8095. #. type: example
  8096. #: guix-git/doc/guix.texi:4315
  8097. #, no-wrap
  8098. msgid ""
  8099. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8100. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8101. msgstr ""
  8102. #. type: Plain text
  8103. #: guix-git/doc/guix.texi:4319
  8104. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8105. msgstr ""
  8106. #. type: example
  8107. #: guix-git/doc/guix.texi:4327
  8108. #, no-wrap
  8109. msgid ""
  8110. "$ guix pull -l\n"
  8111. "Generation 1\tJun 10 2018 00:18:18\n"
  8112. " guix 65956ad\n"
  8113. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8114. " branch: origin/master\n"
  8115. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8116. "\n"
  8117. msgstr ""
  8118. #. type: example
  8119. #: guix-git/doc/guix.texi:4337
  8120. #, no-wrap
  8121. msgid ""
  8122. "Generation 2\tJun 11 2018 11:02:49\n"
  8123. " guix e0cc7f6\n"
  8124. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8125. " branch: origin/master\n"
  8126. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8127. " 2 new packages: keepalived, libnfnetlink\n"
  8128. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8129. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8130. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8131. "\n"
  8132. msgstr ""
  8133. #. type: example
  8134. #: guix-git/doc/guix.texi:4345
  8135. #, no-wrap
  8136. msgid ""
  8137. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8138. " guix 844cc1c\n"
  8139. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8140. " branch: origin/master\n"
  8141. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8142. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8143. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8144. msgstr ""
  8145. #. type: Plain text
  8146. #: guix-git/doc/guix.texi:4349
  8147. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8148. msgstr ""
  8149. #. type: Plain text
  8150. #: guix-git/doc/guix.texi:4354
  8151. 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:"
  8152. msgstr ""
  8153. #. type: example
  8154. #: guix-git/doc/guix.texi:4360
  8155. #, no-wrap
  8156. msgid ""
  8157. "$ guix pull --roll-back\n"
  8158. "switched from generation 3 to 2\n"
  8159. "$ guix pull --delete-generations=1\n"
  8160. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8161. msgstr ""
  8162. #. type: Plain text
  8163. #: guix-git/doc/guix.texi:4364
  8164. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8165. msgstr ""
  8166. #. type: example
  8167. #: guix-git/doc/guix.texi:4369
  8168. #, no-wrap
  8169. msgid ""
  8170. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8171. "switched from generation 3 to 2\n"
  8172. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8173. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8174. msgstr ""
  8175. #. type: Plain text
  8176. #: guix-git/doc/guix.texi:4373
  8177. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8178. msgstr ""
  8179. #. type: item
  8180. #: guix-git/doc/guix.texi:4375 guix-git/doc/guix.texi:4533
  8181. #, no-wrap
  8182. msgid "--url=@var{url}"
  8183. msgstr ""
  8184. #. type: itemx
  8185. #: guix-git/doc/guix.texi:4376 guix-git/doc/guix.texi:4534
  8186. #, no-wrap
  8187. msgid "--commit=@var{commit}"
  8188. msgstr ""
  8189. #. type: itemx
  8190. #: guix-git/doc/guix.texi:4377 guix-git/doc/guix.texi:4535
  8191. #, no-wrap
  8192. msgid "--branch=@var{branch}"
  8193. msgstr ""
  8194. #. type: table
  8195. #: guix-git/doc/guix.texi:4381
  8196. 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}."
  8197. msgstr ""
  8198. #. type: cindex
  8199. #: guix-git/doc/guix.texi:4382 guix-git/doc/guix.texi:4979
  8200. #, no-wrap
  8201. msgid "@file{channels.scm}, configuration file"
  8202. msgstr ""
  8203. #. type: cindex
  8204. #: guix-git/doc/guix.texi:4383 guix-git/doc/guix.texi:4980
  8205. #, no-wrap
  8206. msgid "configuration file for channels"
  8207. msgstr ""
  8208. #. type: table
  8209. #: guix-git/doc/guix.texi:4387
  8210. 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)."
  8211. msgstr ""
  8212. #. type: item
  8213. #: guix-git/doc/guix.texi:4388 guix-git/doc/guix.texi:4540
  8214. #, no-wrap
  8215. msgid "--channels=@var{file}"
  8216. msgstr ""
  8217. #. type: itemx
  8218. #: guix-git/doc/guix.texi:4389 guix-git/doc/guix.texi:4541
  8219. #, no-wrap
  8220. msgid "-C @var{file}"
  8221. msgstr ""
  8222. #. type: table
  8223. #: guix-git/doc/guix.texi:4395
  8224. 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."
  8225. msgstr ""
  8226. #. type: cindex
  8227. #: guix-git/doc/guix.texi:4396
  8228. #, no-wrap
  8229. msgid "channel news"
  8230. msgstr ""
  8231. #. type: item
  8232. #: guix-git/doc/guix.texi:4397
  8233. #, no-wrap
  8234. msgid "--news"
  8235. msgstr ""
  8236. #. type: itemx
  8237. #: guix-git/doc/guix.texi:4398 guix-git/doc/guix.texi:5806
  8238. #: guix-git/doc/guix.texi:33161
  8239. #, no-wrap
  8240. msgid "-N"
  8241. msgstr ""
  8242. #. type: table
  8243. #: guix-git/doc/guix.texi:4402
  8244. 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})."
  8245. msgstr ""
  8246. #. type: table
  8247. #: guix-git/doc/guix.texi:4406
  8248. 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)."
  8249. msgstr ""
  8250. #. type: table
  8251. #: guix-git/doc/guix.texi:4413
  8252. 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})."
  8253. msgstr ""
  8254. #. type: table
  8255. #: guix-git/doc/guix.texi:4420
  8256. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8257. msgstr ""
  8258. #. type: table
  8259. #: guix-git/doc/guix.texi:4444
  8260. msgid "If the current generation matches, it is @emph{not} deleted."
  8261. msgstr ""
  8262. #. type: table
  8263. #: guix-git/doc/guix.texi:4450
  8264. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8265. msgstr ""
  8266. #. type: table
  8267. #: guix-git/doc/guix.texi:4454
  8268. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8269. msgstr ""
  8270. #. type: item
  8271. #: guix-git/doc/guix.texi:4455 guix-git/doc/guix.texi:10243
  8272. #, no-wrap
  8273. msgid "--dry-run"
  8274. msgstr ""
  8275. #. type: itemx
  8276. #: guix-git/doc/guix.texi:4456 guix-git/doc/guix.texi:10244
  8277. #: guix-git/doc/guix.texi:12094
  8278. #, no-wrap
  8279. msgid "-n"
  8280. msgstr ""
  8281. #. type: table
  8282. #: guix-git/doc/guix.texi:4459
  8283. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8284. msgstr ""
  8285. #. type: item
  8286. #: guix-git/doc/guix.texi:4460 guix-git/doc/guix.texi:33180
  8287. #, no-wrap
  8288. msgid "--allow-downgrades"
  8289. msgstr ""
  8290. #. type: table
  8291. #: guix-git/doc/guix.texi:4463
  8292. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8293. msgstr ""
  8294. #. type: cindex
  8295. #: guix-git/doc/guix.texi:4464
  8296. #, no-wrap
  8297. msgid "downgrade attacks, protection against"
  8298. msgstr ""
  8299. #. type: table
  8300. #: guix-git/doc/guix.texi:4469
  8301. 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."
  8302. msgstr ""
  8303. #. type: quotation
  8304. #: guix-git/doc/guix.texi:4473 guix-git/doc/guix.texi:33194
  8305. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8306. msgstr ""
  8307. #. type: item
  8308. #: guix-git/doc/guix.texi:4475
  8309. #, no-wrap
  8310. msgid "--disable-authentication"
  8311. msgstr ""
  8312. #. type: table
  8313. #: guix-git/doc/guix.texi:4477
  8314. msgid "Allow pulling channel code without authenticating it."
  8315. msgstr ""
  8316. #. type: cindex
  8317. #: guix-git/doc/guix.texi:4478 guix-git/doc/guix.texi:5125
  8318. #, no-wrap
  8319. msgid "authentication, of channel code"
  8320. msgstr ""
  8321. #. type: table
  8322. #: guix-git/doc/guix.texi:4483
  8323. 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."
  8324. msgstr ""
  8325. #. type: quotation
  8326. #: guix-git/doc/guix.texi:4487
  8327. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8328. msgstr ""
  8329. #. type: itemx
  8330. #: guix-git/doc/guix.texi:4490 guix-git/doc/guix.texi:5789
  8331. #: guix-git/doc/guix.texi:6160 guix-git/doc/guix.texi:10794
  8332. #: guix-git/doc/guix.texi:12239 guix-git/doc/guix.texi:12490
  8333. #: guix-git/doc/guix.texi:13157 guix-git/doc/guix.texi:33109
  8334. #, no-wrap
  8335. msgid "-s @var{system}"
  8336. msgstr ""
  8337. #. type: table
  8338. #: guix-git/doc/guix.texi:4493 guix-git/doc/guix.texi:6163
  8339. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8340. msgstr ""
  8341. #. type: table
  8342. #: guix-git/doc/guix.texi:4497
  8343. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8344. msgstr ""
  8345. #. type: Plain text
  8346. #: guix-git/doc/guix.texi:4503
  8347. 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."
  8348. msgstr ""
  8349. #. type: Plain text
  8350. #: guix-git/doc/guix.texi:4506
  8351. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8352. msgstr ""
  8353. #. type: section
  8354. #: guix-git/doc/guix.texi:4508
  8355. #, no-wrap
  8356. msgid "Invoking @command{guix time-machine}"
  8357. msgstr ""
  8358. #. type: command{#1}
  8359. #: guix-git/doc/guix.texi:4510
  8360. #, no-wrap
  8361. msgid "guix time-machine"
  8362. msgstr ""
  8363. #. type: cindex
  8364. #: guix-git/doc/guix.texi:4511 guix-git/doc/guix.texi:5083
  8365. #, no-wrap
  8366. msgid "pinning, channels"
  8367. msgstr ""
  8368. #. type: cindex
  8369. #: guix-git/doc/guix.texi:4512 guix-git/doc/guix.texi:4694
  8370. #: guix-git/doc/guix.texi:5084
  8371. #, no-wrap
  8372. msgid "replicating Guix"
  8373. msgstr ""
  8374. #. type: cindex
  8375. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:5085
  8376. #, no-wrap
  8377. msgid "reproducibility, of Guix"
  8378. msgstr ""
  8379. #. type: Plain text
  8380. #: guix-git/doc/guix.texi:4521
  8381. 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})."
  8382. msgstr ""
  8383. #. type: Plain text
  8384. #: guix-git/doc/guix.texi:4523 guix-git/doc/guix.texi:5538
  8385. #: guix-git/doc/guix.texi:6283 guix-git/doc/guix.texi:10040
  8386. #: guix-git/doc/guix.texi:10163 guix-git/doc/guix.texi:11085
  8387. #: guix-git/doc/guix.texi:11162 guix-git/doc/guix.texi:12069
  8388. #: guix-git/doc/guix.texi:12548 guix-git/doc/guix.texi:12911
  8389. #: guix-git/doc/guix.texi:13000 guix-git/doc/guix.texi:13039
  8390. #: guix-git/doc/guix.texi:13136
  8391. msgid "The general syntax is:"
  8392. msgstr ""
  8393. #. type: example
  8394. #: guix-git/doc/guix.texi:4526
  8395. #, no-wrap
  8396. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  8397. msgstr ""
  8398. #. type: Plain text
  8399. #: guix-git/doc/guix.texi:4531
  8400. 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}):"
  8401. msgstr ""
  8402. #. type: table
  8403. #: guix-git/doc/guix.texi:4539
  8404. 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}."
  8405. msgstr ""
  8406. #. type: table
  8407. #: guix-git/doc/guix.texi:4545
  8408. 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."
  8409. msgstr ""
  8410. #. type: Plain text
  8411. #: guix-git/doc/guix.texi:4549
  8412. 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"
  8413. msgstr ""
  8414. #. type: example
  8415. #: guix-git/doc/guix.texi:4552
  8416. #, no-wrap
  8417. msgid "guix time-machine -- build hello\n"
  8418. msgstr ""
  8419. #. type: Plain text
  8420. #: guix-git/doc/guix.texi:4557
  8421. 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!"
  8422. msgstr ""
  8423. #. type: Plain text
  8424. #: guix-git/doc/guix.texi:4561
  8425. 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})."
  8426. msgstr ""
  8427. #. type: quotation
  8428. #: guix-git/doc/guix.texi:4569
  8429. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  8430. msgstr ""
  8431. #. type: cindex
  8432. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:10077
  8433. #, no-wrap
  8434. msgid "inferiors"
  8435. msgstr ""
  8436. #. type: cindex
  8437. #: guix-git/doc/guix.texi:4572
  8438. #, no-wrap
  8439. msgid "composition of Guix revisions"
  8440. msgstr ""
  8441. #. type: Plain text
  8442. #: guix-git/doc/guix.texi:4577
  8443. 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."
  8444. msgstr ""
  8445. #. type: cindex
  8446. #: guix-git/doc/guix.texi:4578 guix-git/doc/guix.texi:4643
  8447. #, no-wrap
  8448. msgid "inferior packages"
  8449. msgstr ""
  8450. #. type: Plain text
  8451. #: guix-git/doc/guix.texi:4584
  8452. 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}."
  8453. msgstr ""
  8454. #. type: Plain text
  8455. #: guix-git/doc/guix.texi:4594
  8456. 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:"
  8457. msgstr ""
  8458. #. type: lisp
  8459. #: guix-git/doc/guix.texi:4598
  8460. #, no-wrap
  8461. msgid ""
  8462. "(use-modules (guix inferior) (guix channels)\n"
  8463. " (srfi srfi-1)) ;for 'first'\n"
  8464. "\n"
  8465. msgstr ""
  8466. #. type: lisp
  8467. #: guix-git/doc/guix.texi:4607
  8468. #, no-wrap
  8469. msgid ""
  8470. "(define channels\n"
  8471. " ;; This is the old revision from which we want to\n"
  8472. " ;; extract guile-json.\n"
  8473. " (list (channel\n"
  8474. " (name 'guix)\n"
  8475. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8476. " (commit\n"
  8477. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  8478. "\n"
  8479. msgstr ""
  8480. #. type: lisp
  8481. #: guix-git/doc/guix.texi:4611
  8482. #, no-wrap
  8483. msgid ""
  8484. "(define inferior\n"
  8485. " ;; An inferior representing the above revision.\n"
  8486. " (inferior-for-channels channels))\n"
  8487. "\n"
  8488. msgstr ""
  8489. #. type: lisp
  8490. #: guix-git/doc/guix.texi:4617
  8491. #, no-wrap
  8492. msgid ""
  8493. ";; Now create a manifest with the current \"guile\" package\n"
  8494. ";; and the old \"guile-json\" package.\n"
  8495. "(packages->manifest\n"
  8496. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  8497. " (specification->package \"guile\")))\n"
  8498. msgstr ""
  8499. #. type: Plain text
  8500. #: guix-git/doc/guix.texi:4622
  8501. 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."
  8502. msgstr ""
  8503. #. type: Plain text
  8504. #: guix-git/doc/guix.texi:4625
  8505. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  8506. msgstr ""
  8507. #. type: deffn
  8508. #: guix-git/doc/guix.texi:4626
  8509. #, no-wrap
  8510. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  8511. msgstr ""
  8512. #. type: deffn
  8513. #: guix-git/doc/guix.texi:4631
  8514. 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."
  8515. msgstr ""
  8516. #. type: deffn
  8517. #: guix-git/doc/guix.texi:4634
  8518. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  8519. msgstr ""
  8520. #. type: deffn
  8521. #: guix-git/doc/guix.texi:4636
  8522. #, no-wrap
  8523. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  8524. msgstr ""
  8525. #. type: deffn
  8526. #: guix-git/doc/guix.texi:4641
  8527. 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."
  8528. msgstr ""
  8529. #. type: Plain text
  8530. #: guix-git/doc/guix.texi:4646
  8531. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  8532. msgstr ""
  8533. #. type: deffn
  8534. #: guix-git/doc/guix.texi:4647
  8535. #, no-wrap
  8536. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  8537. msgstr ""
  8538. #. type: deffn
  8539. #: guix-git/doc/guix.texi:4649
  8540. msgid "Return the list of packages known to @var{inferior}."
  8541. msgstr ""
  8542. #. type: deffn
  8543. #: guix-git/doc/guix.texi:4651
  8544. #, no-wrap
  8545. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  8546. msgstr ""
  8547. #. type: deffn
  8548. #: guix-git/doc/guix.texi:4656
  8549. 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}."
  8550. msgstr ""
  8551. #. type: deffn
  8552. #: guix-git/doc/guix.texi:4658
  8553. #, no-wrap
  8554. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  8555. msgstr ""
  8556. #. type: deffn
  8557. #: guix-git/doc/guix.texi:4660
  8558. msgid "Return true if @var{obj} is an inferior package."
  8559. msgstr ""
  8560. #. type: deffn
  8561. #: guix-git/doc/guix.texi:4662
  8562. #, no-wrap
  8563. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  8564. msgstr ""
  8565. #. type: deffnx
  8566. #: guix-git/doc/guix.texi:4663
  8567. #, no-wrap
  8568. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  8569. msgstr ""
  8570. #. type: deffnx
  8571. #: guix-git/doc/guix.texi:4664
  8572. #, no-wrap
  8573. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  8574. msgstr ""
  8575. #. type: deffnx
  8576. #: guix-git/doc/guix.texi:4665
  8577. #, no-wrap
  8578. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  8579. msgstr ""
  8580. #. type: deffnx
  8581. #: guix-git/doc/guix.texi:4666
  8582. #, no-wrap
  8583. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  8584. msgstr ""
  8585. #. type: deffnx
  8586. #: guix-git/doc/guix.texi:4667
  8587. #, no-wrap
  8588. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  8589. msgstr ""
  8590. #. type: deffnx
  8591. #: guix-git/doc/guix.texi:4668
  8592. #, no-wrap
  8593. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  8594. msgstr ""
  8595. #. type: deffnx
  8596. #: guix-git/doc/guix.texi:4669
  8597. #, no-wrap
  8598. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  8599. msgstr ""
  8600. #. type: deffnx
  8601. #: guix-git/doc/guix.texi:4670
  8602. #, no-wrap
  8603. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  8604. msgstr ""
  8605. #. type: deffnx
  8606. #: guix-git/doc/guix.texi:4671
  8607. #, no-wrap
  8608. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  8609. msgstr ""
  8610. #. type: deffnx
  8611. #: guix-git/doc/guix.texi:4672
  8612. #, no-wrap
  8613. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  8614. msgstr ""
  8615. #. type: deffnx
  8616. #: guix-git/doc/guix.texi:4673
  8617. #, no-wrap
  8618. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  8619. msgstr ""
  8620. #. type: deffnx
  8621. #: guix-git/doc/guix.texi:4674
  8622. #, no-wrap
  8623. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  8624. msgstr ""
  8625. #. type: deffn
  8626. #: guix-git/doc/guix.texi:4679
  8627. 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."
  8628. msgstr ""
  8629. #. type: Plain text
  8630. #: guix-git/doc/guix.texi:4689
  8631. 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."
  8632. msgstr ""
  8633. #. type: section
  8634. #: guix-git/doc/guix.texi:4691
  8635. #, no-wrap
  8636. msgid "Invoking @command{guix describe}"
  8637. msgstr ""
  8638. #. type: Plain text
  8639. #: guix-git/doc/guix.texi:4702
  8640. 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."
  8641. msgstr ""
  8642. #. type: Plain text
  8643. #: guix-git/doc/guix.texi:4706
  8644. 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}):"
  8645. msgstr ""
  8646. #. type: example
  8647. #: guix-git/doc/guix.texi:4714
  8648. #, no-wrap
  8649. msgid ""
  8650. "$ guix describe\n"
  8651. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  8652. " guix e0fa68c\n"
  8653. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8654. " branch: master\n"
  8655. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  8656. msgstr ""
  8657. #. type: Plain text
  8658. #: guix-git/doc/guix.texi:4723
  8659. 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."
  8660. msgstr ""
  8661. #. type: Plain text
  8662. #: guix-git/doc/guix.texi:4726
  8663. 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:"
  8664. msgstr ""
  8665. #. type: example
  8666. #: guix-git/doc/guix.texi:4739
  8667. #, no-wrap
  8668. msgid ""
  8669. "$ guix describe -f channels\n"
  8670. "(list (channel\n"
  8671. " (name 'guix)\n"
  8672. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8673. " (commit\n"
  8674. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  8675. " (introduction\n"
  8676. " (make-channel-introduction\n"
  8677. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  8678. " (openpgp-fingerprint\n"
  8679. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  8680. msgstr ""
  8681. #. type: Plain text
  8682. #: guix-git/doc/guix.texi:4748
  8683. 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!"
  8684. msgstr ""
  8685. #. type: Plain text
  8686. #: guix-git/doc/guix.texi:4751
  8687. msgid "The details of the options supported by @command{guix describe} are as follows:"
  8688. msgstr ""
  8689. #. type: item
  8690. #: guix-git/doc/guix.texi:4753 guix-git/doc/guix.texi:5990
  8691. #: guix-git/doc/guix.texi:13269
  8692. #, no-wrap
  8693. msgid "--format=@var{format}"
  8694. msgstr ""
  8695. #. type: itemx
  8696. #: guix-git/doc/guix.texi:4754 guix-git/doc/guix.texi:5991
  8697. #: guix-git/doc/guix.texi:13270
  8698. #, no-wrap
  8699. msgid "-f @var{format}"
  8700. msgstr ""
  8701. #. type: table
  8702. #: guix-git/doc/guix.texi:4756 guix-git/doc/guix.texi:13272
  8703. msgid "Produce output in the specified @var{format}, one of:"
  8704. msgstr ""
  8705. #. type: item
  8706. #: guix-git/doc/guix.texi:4758
  8707. #, no-wrap
  8708. msgid "human"
  8709. msgstr ""
  8710. #. type: table
  8711. #: guix-git/doc/guix.texi:4760
  8712. msgid "produce human-readable output;"
  8713. msgstr ""
  8714. #. type: cindex
  8715. #: guix-git/doc/guix.texi:4760 guix-git/doc/guix.texi:4978
  8716. #, no-wrap
  8717. msgid "channels"
  8718. msgstr ""
  8719. #. type: table
  8720. #: guix-git/doc/guix.texi:4764
  8721. 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});"
  8722. msgstr ""
  8723. #. type: item
  8724. #: guix-git/doc/guix.texi:4764
  8725. #, no-wrap
  8726. msgid "channels-sans-intro"
  8727. msgstr ""
  8728. #. type: table
  8729. #: guix-git/doc/guix.texi:4770
  8730. 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;"
  8731. msgstr ""
  8732. #. type: item
  8733. #: guix-git/doc/guix.texi:4770 guix-git/doc/guix.texi:11348
  8734. #, no-wrap
  8735. msgid "json"
  8736. msgstr ""
  8737. #. type: cindex
  8738. #: guix-git/doc/guix.texi:4771
  8739. #, no-wrap
  8740. msgid "JSON"
  8741. msgstr ""
  8742. #. type: table
  8743. #: guix-git/doc/guix.texi:4773
  8744. msgid "produce a list of channel specifications in JSON format;"
  8745. msgstr ""
  8746. #. type: item
  8747. #: guix-git/doc/guix.texi:4773 guix-git/doc/guix.texi:13274
  8748. #, no-wrap
  8749. msgid "recutils"
  8750. msgstr ""
  8751. #. type: table
  8752. #: guix-git/doc/guix.texi:4775
  8753. msgid "produce a list of channel specifications in Recutils format."
  8754. msgstr ""
  8755. #. type: item
  8756. #: guix-git/doc/guix.texi:4777
  8757. #, no-wrap
  8758. msgid "--list-formats"
  8759. msgstr ""
  8760. #. type: table
  8761. #: guix-git/doc/guix.texi:4779
  8762. msgid "Display available formats for @option{--format} option."
  8763. msgstr ""
  8764. #. type: table
  8765. #: guix-git/doc/guix.texi:4783
  8766. msgid "Display information about @var{profile}."
  8767. msgstr ""
  8768. #. type: section
  8769. #: guix-git/doc/guix.texi:4786
  8770. #, no-wrap
  8771. msgid "Invoking @command{guix archive}"
  8772. msgstr ""
  8773. #. type: command{#1}
  8774. #: guix-git/doc/guix.texi:4788
  8775. #, no-wrap
  8776. msgid "guix archive"
  8777. msgstr ""
  8778. #. type: cindex
  8779. #: guix-git/doc/guix.texi:4789
  8780. #, no-wrap
  8781. msgid "archive"
  8782. msgstr "보관소"
  8783. #. type: Plain text
  8784. #: guix-git/doc/guix.texi:4795
  8785. 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."
  8786. msgstr ""
  8787. #. type: quotation
  8788. #: guix-git/doc/guix.texi:4799
  8789. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  8790. msgstr ""
  8791. #. type: cindex
  8792. #: guix-git/doc/guix.texi:4801
  8793. #, no-wrap
  8794. msgid "exporting store items"
  8795. msgstr ""
  8796. #. type: Plain text
  8797. #: guix-git/doc/guix.texi:4803
  8798. msgid "To export store files as an archive to standard output, run:"
  8799. msgstr ""
  8800. #. type: example
  8801. #: guix-git/doc/guix.texi:4806
  8802. #, no-wrap
  8803. msgid "guix archive --export @var{options} @var{specifications}...\n"
  8804. msgstr ""
  8805. #. type: Plain text
  8806. #: guix-git/doc/guix.texi:4813
  8807. 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}:"
  8808. msgstr ""
  8809. #. type: example
  8810. #: guix-git/doc/guix.texi:4816
  8811. #, no-wrap
  8812. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  8813. msgstr ""
  8814. #. type: Plain text
  8815. #: guix-git/doc/guix.texi:4821
  8816. 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})."
  8817. msgstr ""
  8818. #. type: Plain text
  8819. #: guix-git/doc/guix.texi:4824
  8820. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  8821. msgstr ""
  8822. #. type: example
  8823. #: guix-git/doc/guix.texi:4827
  8824. #, no-wrap
  8825. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  8826. msgstr ""
  8827. #. type: Plain text
  8828. #: guix-git/doc/guix.texi:4832
  8829. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  8830. msgstr ""
  8831. #. type: example
  8832. #: guix-git/doc/guix.texi:4836
  8833. #, no-wrap
  8834. msgid ""
  8835. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  8836. " ssh the-machine guix archive --import\n"
  8837. msgstr ""
  8838. #. type: Plain text
  8839. #: guix-git/doc/guix.texi:4846
  8840. 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})."
  8841. msgstr ""
  8842. #. type: cindex
  8843. #: guix-git/doc/guix.texi:4847
  8844. #, no-wrap
  8845. msgid "nar, archive format"
  8846. msgstr ""
  8847. #. type: cindex
  8848. #: guix-git/doc/guix.texi:4848
  8849. #, no-wrap
  8850. msgid "normalized archive (nar)"
  8851. msgstr ""
  8852. #. type: cindex
  8853. #: guix-git/doc/guix.texi:4849
  8854. #, no-wrap
  8855. msgid "nar bundle, archive format"
  8856. msgstr ""
  8857. #. type: Plain text
  8858. #: guix-git/doc/guix.texi:4854
  8859. 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}."
  8860. msgstr ""
  8861. #. type: Plain text
  8862. #: guix-git/doc/guix.texi:4864
  8863. 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."
  8864. msgstr ""
  8865. #. type: Plain text
  8866. #: guix-git/doc/guix.texi:4868
  8867. 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."
  8868. msgstr ""
  8869. #. type: Plain text
  8870. #: guix-git/doc/guix.texi:4874
  8871. 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."
  8872. msgstr ""
  8873. #. type: Plain text
  8874. #: guix-git/doc/guix.texi:4876
  8875. msgid "The main options are:"
  8876. msgstr ""
  8877. #. type: item
  8878. #: guix-git/doc/guix.texi:4878
  8879. #, no-wrap
  8880. msgid "--export"
  8881. msgstr ""
  8882. #. type: table
  8883. #: guix-git/doc/guix.texi:4881
  8884. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  8885. msgstr ""
  8886. #. type: table
  8887. #: guix-git/doc/guix.texi:4884
  8888. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  8889. msgstr ""
  8890. #. type: itemx
  8891. #: guix-git/doc/guix.texi:4885 guix-git/doc/guix.texi:11118
  8892. #: guix-git/doc/guix.texi:11220 guix-git/doc/guix.texi:11245
  8893. #: guix-git/doc/guix.texi:11423 guix-git/doc/guix.texi:11464
  8894. #: guix-git/doc/guix.texi:11511 guix-git/doc/guix.texi:11536
  8895. #: guix-git/doc/guix.texi:11552 guix-git/doc/guix.texi:11583
  8896. #, no-wrap
  8897. msgid "-r"
  8898. msgstr ""
  8899. #. type: item
  8900. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:11117
  8901. #: guix-git/doc/guix.texi:11219 guix-git/doc/guix.texi:11244
  8902. #: guix-git/doc/guix.texi:11422 guix-git/doc/guix.texi:11463
  8903. #: guix-git/doc/guix.texi:11510 guix-git/doc/guix.texi:11535
  8904. #: guix-git/doc/guix.texi:11551 guix-git/doc/guix.texi:11582
  8905. #: guix-git/doc/guix.texi:11639
  8906. #, no-wrap
  8907. msgid "--recursive"
  8908. msgstr ""
  8909. #. type: table
  8910. #: guix-git/doc/guix.texi:4891
  8911. 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."
  8912. msgstr ""
  8913. #. type: item
  8914. #: guix-git/doc/guix.texi:4892
  8915. #, no-wrap
  8916. msgid "--import"
  8917. msgstr ""
  8918. #. type: table
  8919. #: guix-git/doc/guix.texi:4897
  8920. 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)."
  8921. msgstr ""
  8922. #. type: item
  8923. #: guix-git/doc/guix.texi:4898
  8924. #, no-wrap
  8925. msgid "--missing"
  8926. msgstr ""
  8927. #. type: table
  8928. #: guix-git/doc/guix.texi:4902
  8929. 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."
  8930. msgstr ""
  8931. #. type: item
  8932. #: guix-git/doc/guix.texi:4903
  8933. #, no-wrap
  8934. msgid "--generate-key[=@var{parameters}]"
  8935. msgstr ""
  8936. #. type: cindex
  8937. #: guix-git/doc/guix.texi:4904
  8938. #, no-wrap
  8939. msgid "signing, archives"
  8940. msgstr ""
  8941. #. type: table
  8942. #: guix-git/doc/guix.texi:4911
  8943. 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."
  8944. msgstr ""
  8945. #. type: table
  8946. #: guix-git/doc/guix.texi:4921
  8947. 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})."
  8948. msgstr ""
  8949. #. type: item
  8950. #: guix-git/doc/guix.texi:4922
  8951. #, no-wrap
  8952. msgid "--authorize"
  8953. msgstr ""
  8954. #. type: cindex
  8955. #: guix-git/doc/guix.texi:4923
  8956. #, no-wrap
  8957. msgid "authorizing, archives"
  8958. msgstr ""
  8959. #. type: table
  8960. #: guix-git/doc/guix.texi:4927
  8961. 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."
  8962. msgstr ""
  8963. #. type: table
  8964. #: guix-git/doc/guix.texi:4934
  8965. 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)}."
  8966. msgstr ""
  8967. #. type: item
  8968. #: guix-git/doc/guix.texi:4935
  8969. #, no-wrap
  8970. msgid "--extract=@var{directory}"
  8971. msgstr ""
  8972. #. type: itemx
  8973. #: guix-git/doc/guix.texi:4936
  8974. #, no-wrap
  8975. msgid "-x @var{directory}"
  8976. msgstr ""
  8977. #. type: table
  8978. #: guix-git/doc/guix.texi:4940
  8979. 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."
  8980. msgstr ""
  8981. #. type: table
  8982. #: guix-git/doc/guix.texi:4943
  8983. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER}} to @file{/tmp/emacs}:"
  8984. msgstr ""
  8985. #. type: example
  8986. #: guix-git/doc/guix.texi:4948
  8987. #, no-wrap
  8988. msgid ""
  8989. "$ wget -O - \\\n"
  8990. " https://@value{SUBSTITUTE-SERVER}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  8991. " | gunzip | guix archive -x /tmp/emacs\n"
  8992. msgstr ""
  8993. #. type: table
  8994. #: guix-git/doc/guix.texi:4955
  8995. 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."
  8996. msgstr ""
  8997. #. type: table
  8998. #: guix-git/doc/guix.texi:4959
  8999. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9000. msgstr ""
  9001. #. type: item
  9002. #: guix-git/doc/guix.texi:4960
  9003. #, no-wrap
  9004. msgid "--list"
  9005. msgstr ""
  9006. #. type: itemx
  9007. #: guix-git/doc/guix.texi:4961 guix-git/doc/guix.texi:11410
  9008. #: guix-git/doc/guix.texi:11457
  9009. #, no-wrap
  9010. msgid "-t"
  9011. msgstr ""
  9012. #. type: table
  9013. #: guix-git/doc/guix.texi:4965
  9014. 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:"
  9015. msgstr ""
  9016. #. type: example
  9017. #: guix-git/doc/guix.texi:4970
  9018. #, no-wrap
  9019. msgid ""
  9020. "$ wget -O - \\\n"
  9021. " https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9022. " | lzip -d | guix archive -t\n"
  9023. msgstr ""
  9024. #. type: cindex
  9025. #: guix-git/doc/guix.texi:4981
  9026. #, no-wrap
  9027. msgid "@command{guix pull}, configuration file"
  9028. msgstr ""
  9029. #. type: cindex
  9030. #: guix-git/doc/guix.texi:4982
  9031. #, no-wrap
  9032. msgid "configuration of @command{guix pull}"
  9033. msgstr ""
  9034. #. type: Plain text
  9035. #: guix-git/doc/guix.texi:4993
  9036. 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."
  9037. msgstr ""
  9038. #. type: cindex
  9039. #: guix-git/doc/guix.texi:5011
  9040. #, no-wrap
  9041. msgid "extending the package collection (channels)"
  9042. msgstr ""
  9043. #. type: cindex
  9044. #: guix-git/doc/guix.texi:5012
  9045. #, no-wrap
  9046. msgid "variant packages (channels)"
  9047. msgstr ""
  9048. #. type: Plain text
  9049. #: guix-git/doc/guix.texi:5016
  9050. 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):"
  9051. msgstr ""
  9052. #. type: vindex
  9053. #: guix-git/doc/guix.texi:5017
  9054. #, no-wrap
  9055. msgid "%default-channels"
  9056. msgstr ""
  9057. #. type: lisp
  9058. #: guix-git/doc/guix.texi:5024
  9059. #, no-wrap
  9060. msgid ""
  9061. ";; Add variant packages to those Guix provides.\n"
  9062. "(cons (channel\n"
  9063. " (name 'variant-packages)\n"
  9064. " (url \"https://example.org/variant-packages.git\"))\n"
  9065. " %default-channels)\n"
  9066. msgstr ""
  9067. #. type: Plain text
  9068. #: guix-git/doc/guix.texi:5034
  9069. 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:"
  9070. msgstr ""
  9071. #. type: example
  9072. #: guix-git/doc/guix.texi:5049
  9073. #, no-wrap
  9074. msgid ""
  9075. "$ guix pull --list-generations\n"
  9076. "@dots{}\n"
  9077. "Generation 19\tAug 27 2018 16:20:48\n"
  9078. " guix d894ab8\n"
  9079. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9080. " branch: master\n"
  9081. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9082. " variant-packages dd3df5e\n"
  9083. " repository URL: https://example.org/variant-packages.git\n"
  9084. " branch: master\n"
  9085. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9086. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9087. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9088. msgstr ""
  9089. #. type: Plain text
  9090. #: guix-git/doc/guix.texi:5057
  9091. 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."
  9092. msgstr ""
  9093. #. type: Plain text
  9094. #: guix-git/doc/guix.texi:5066
  9095. 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:"
  9096. msgstr ""
  9097. #. type: lisp
  9098. #: guix-git/doc/guix.texi:5073
  9099. #, no-wrap
  9100. msgid ""
  9101. ";; Tell 'guix pull' to use another repo.\n"
  9102. "(list (channel\n"
  9103. " (name 'guix)\n"
  9104. " (url \"https://example.org/another-guix.git\")\n"
  9105. " (branch \"super-hacks\")))\n"
  9106. msgstr ""
  9107. #. type: Plain text
  9108. #: guix-git/doc/guix.texi:5079
  9109. 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})."
  9110. msgstr ""
  9111. #. type: Plain text
  9112. #: guix-git/doc/guix.texi:5090
  9113. 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:"
  9114. msgstr ""
  9115. #. type: lisp
  9116. #: guix-git/doc/guix.texi:5101
  9117. #, no-wrap
  9118. msgid ""
  9119. ";; Deploy specific commits of my channels of interest.\n"
  9120. "(list (channel\n"
  9121. " (name 'guix)\n"
  9122. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9123. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9124. " (channel\n"
  9125. " (name 'variant-packages)\n"
  9126. " (url \"https://example.org/variant-packages.git\")\n"
  9127. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9128. msgstr ""
  9129. #. type: Plain text
  9130. #: guix-git/doc/guix.texi:5108
  9131. 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})."
  9132. msgstr ""
  9133. #. type: Plain text
  9134. #: guix-git/doc/guix.texi:5115
  9135. 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."
  9136. msgstr ""
  9137. #. type: Plain text
  9138. #: guix-git/doc/guix.texi:5120
  9139. 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."
  9140. msgstr ""
  9141. #. type: anchor{#1}
  9142. #: guix-git/doc/guix.texi:5125
  9143. msgid "channel-authentication"
  9144. msgstr ""
  9145. #. type: Plain text
  9146. #: guix-git/doc/guix.texi:5131
  9147. 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."
  9148. msgstr ""
  9149. #. type: Plain text
  9150. #: guix-git/doc/guix.texi:5136
  9151. 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:"
  9152. msgstr ""
  9153. #. type: lisp
  9154. #: guix-git/doc/guix.texi:5146
  9155. #, no-wrap
  9156. msgid ""
  9157. "(channel\n"
  9158. " (name 'some-channel)\n"
  9159. " (url \"https://example.org/some-channel.git\")\n"
  9160. " (introduction\n"
  9161. " (make-channel-introduction\n"
  9162. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9163. " (openpgp-fingerprint\n"
  9164. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9165. msgstr ""
  9166. #. type: Plain text
  9167. #: guix-git/doc/guix.texi:5152
  9168. 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{}}."
  9169. msgstr ""
  9170. #. type: Plain text
  9171. #: guix-git/doc/guix.texi:5158
  9172. 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."
  9173. msgstr ""
  9174. #. type: Plain text
  9175. #: guix-git/doc/guix.texi:5160
  9176. msgid "If you're curious about the authentication mechanics, read on!"
  9177. msgstr ""
  9178. #. type: Plain text
  9179. #: guix-git/doc/guix.texi:5171
  9180. 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}."
  9181. msgstr ""
  9182. #. type: lisp
  9183. #: guix-git/doc/guix.texi:5174
  9184. #, no-wrap
  9185. msgid ""
  9186. "(use-modules (guix ci))\n"
  9187. "\n"
  9188. msgstr ""
  9189. #. type: lisp
  9190. #: guix-git/doc/guix.texi:5178
  9191. #, no-wrap
  9192. msgid ""
  9193. "(list (channel-with-substitutes-available\n"
  9194. " %default-guix-channel\n"
  9195. " \"https://ci.guix.gnu.org\"))\n"
  9196. msgstr ""
  9197. #. type: Plain text
  9198. #: guix-git/doc/guix.texi:5185
  9199. 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."
  9200. msgstr ""
  9201. #. type: cindex
  9202. #: guix-git/doc/guix.texi:5189
  9203. #, no-wrap
  9204. msgid "personal packages (channels)"
  9205. msgstr ""
  9206. #. type: cindex
  9207. #: guix-git/doc/guix.texi:5190
  9208. #, no-wrap
  9209. msgid "channels, for personal packages"
  9210. msgstr ""
  9211. #. type: Plain text
  9212. #: guix-git/doc/guix.texi:5198
  9213. 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?"
  9214. msgstr ""
  9215. #. type: quotation
  9216. #: guix-git/doc/guix.texi:5202 guix-git/doc/guix.texi:13624
  9217. #: guix-git/doc/guix.texi:19579 guix-git/doc/guix.texi:19586
  9218. #, no-wrap
  9219. msgid "Warning"
  9220. msgstr "경고"
  9221. #. type: quotation
  9222. #: guix-git/doc/guix.texi:5206
  9223. 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:"
  9224. msgstr ""
  9225. #. type: itemize
  9226. #: guix-git/doc/guix.texi:5214
  9227. 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."
  9228. msgstr ""
  9229. #. type: itemize
  9230. #: guix-git/doc/guix.texi:5223
  9231. 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."
  9232. msgstr ""
  9233. #. type: itemize
  9234. #: guix-git/doc/guix.texi:5227
  9235. 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."
  9236. msgstr ""
  9237. #. type: quotation
  9238. #: guix-git/doc/guix.texi:5234
  9239. 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."
  9240. msgstr ""
  9241. #. type: Plain text
  9242. #: guix-git/doc/guix.texi:5246
  9243. 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})."
  9244. msgstr ""
  9245. #. type: Plain text
  9246. #: guix-git/doc/guix.texi:5251
  9247. 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."
  9248. msgstr ""
  9249. #. type: cindex
  9250. #: guix-git/doc/guix.texi:5256
  9251. #, no-wrap
  9252. msgid "subdirectory, channels"
  9253. msgstr ""
  9254. #. type: Plain text
  9255. #: guix-git/doc/guix.texi:5260
  9256. 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:"
  9257. msgstr ""
  9258. #. type: lisp
  9259. #: guix-git/doc/guix.texi:5265
  9260. #, no-wrap
  9261. msgid ""
  9262. "(channel\n"
  9263. " (version 0)\n"
  9264. " (directory \"guix\"))\n"
  9265. msgstr ""
  9266. #. type: cindex
  9267. #: guix-git/doc/guix.texi:5270
  9268. #, no-wrap
  9269. msgid "dependencies, channels"
  9270. msgstr ""
  9271. #. type: cindex
  9272. #: guix-git/doc/guix.texi:5271
  9273. #, no-wrap
  9274. msgid "meta-data, channels"
  9275. msgstr ""
  9276. #. type: Plain text
  9277. #: guix-git/doc/guix.texi:5276
  9278. 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."
  9279. msgstr ""
  9280. #. type: Plain text
  9281. #: guix-git/doc/guix.texi:5278
  9282. msgid "The meta-data file should contain a simple S-expression like this:"
  9283. msgstr ""
  9284. #. type: lisp
  9285. #: guix-git/doc/guix.texi:5286
  9286. #, no-wrap
  9287. msgid ""
  9288. "(channel\n"
  9289. " (version 0)\n"
  9290. " (dependencies\n"
  9291. " (channel\n"
  9292. " (name some-collection)\n"
  9293. " (url \"https://example.org/first-collection.git\")\n"
  9294. "\n"
  9295. msgstr ""
  9296. #. type: lisp
  9297. #: guix-git/doc/guix.texi:5298
  9298. #, no-wrap
  9299. msgid ""
  9300. " ;; The 'introduction' bit below is optional: you would\n"
  9301. " ;; provide it for dependencies that can be authenticated.\n"
  9302. " (introduction\n"
  9303. " (channel-introduction\n"
  9304. " (version 0)\n"
  9305. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9306. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9307. " (channel\n"
  9308. " (name some-other-collection)\n"
  9309. " (url \"https://example.org/second-collection.git\")\n"
  9310. " (branch \"testing\"))))\n"
  9311. msgstr ""
  9312. #. type: Plain text
  9313. #: guix-git/doc/guix.texi:5304
  9314. 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."
  9315. msgstr ""
  9316. #. type: Plain text
  9317. #: guix-git/doc/guix.texi:5308
  9318. 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."
  9319. msgstr ""
  9320. #. type: cindex
  9321. #: guix-git/doc/guix.texi:5312
  9322. #, no-wrap
  9323. msgid "channel authorizations"
  9324. msgstr ""
  9325. #. type: anchor{#1}
  9326. #: guix-git/doc/guix.texi:5326
  9327. msgid "channel-authorizations"
  9328. msgstr ""
  9329. #. type: Plain text
  9330. #: guix-git/doc/guix.texi:5326
  9331. 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:"
  9332. msgstr ""
  9333. #. type: lisp
  9334. #: guix-git/doc/guix.texi:5329
  9335. #, no-wrap
  9336. msgid ""
  9337. ";; Example '.guix-authorizations' file.\n"
  9338. "\n"
  9339. msgstr ""
  9340. #. type: lisp
  9341. #: guix-git/doc/guix.texi:5332
  9342. #, no-wrap
  9343. msgid ""
  9344. "(authorizations\n"
  9345. " (version 0) ;current file format version\n"
  9346. "\n"
  9347. msgstr ""
  9348. #. type: lisp
  9349. #: guix-git/doc/guix.texi:5339
  9350. #, no-wrap
  9351. msgid ""
  9352. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9353. " (name \"alice\"))\n"
  9354. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9355. " (name \"bob\"))\n"
  9356. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9357. " (name \"charlie\"))))\n"
  9358. msgstr ""
  9359. #. type: Plain text
  9360. #: guix-git/doc/guix.texi:5343
  9361. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9362. msgstr ""
  9363. #. type: Plain text
  9364. #: guix-git/doc/guix.texi:5348
  9365. 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?"
  9366. msgstr ""
  9367. #. type: cindex
  9368. #: guix-git/doc/guix.texi:5349
  9369. #, no-wrap
  9370. msgid "channel introduction"
  9371. msgstr ""
  9372. #. type: Plain text
  9373. #: guix-git/doc/guix.texi:5356
  9374. 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."
  9375. msgstr ""
  9376. #. type: Plain text
  9377. #: guix-git/doc/guix.texi:5363
  9378. 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:"
  9379. msgstr ""
  9380. #. type: lisp
  9381. #: guix-git/doc/guix.texi:5368
  9382. #, no-wrap
  9383. msgid ""
  9384. "(channel\n"
  9385. " (version 0)\n"
  9386. " (keyring-reference \"my-keyring-branch\"))\n"
  9387. msgstr ""
  9388. #. type: Plain text
  9389. #: guix-git/doc/guix.texi:5372
  9390. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9391. msgstr ""
  9392. #. type: enumerate
  9393. #: guix-git/doc/guix.texi:5378
  9394. 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})."
  9395. msgstr ""
  9396. #. type: enumerate
  9397. #: guix-git/doc/guix.texi:5383
  9398. 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.)"
  9399. msgstr ""
  9400. #. type: enumerate
  9401. #: guix-git/doc/guix.texi:5389
  9402. 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."
  9403. msgstr ""
  9404. #. type: Plain text
  9405. #: guix-git/doc/guix.texi:5394
  9406. 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:"
  9407. msgstr ""
  9408. #. type: example
  9409. #: guix-git/doc/guix.texi:5397
  9410. #, no-wrap
  9411. msgid "guix git authenticate @var{commit} @var{signer}\n"
  9412. msgstr ""
  9413. #. type: Plain text
  9414. #: guix-git/doc/guix.texi:5402
  9415. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  9416. msgstr ""
  9417. #. type: Plain text
  9418. #: guix-git/doc/guix.texi:5409
  9419. 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."
  9420. msgstr ""
  9421. #. type: cindex
  9422. #: guix-git/doc/guix.texi:5413
  9423. #, no-wrap
  9424. msgid "primary URL, channels"
  9425. msgstr ""
  9426. #. type: Plain text
  9427. #: guix-git/doc/guix.texi:5416
  9428. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  9429. msgstr ""
  9430. #. type: lisp
  9431. #: guix-git/doc/guix.texi:5421
  9432. #, no-wrap
  9433. msgid ""
  9434. "(channel\n"
  9435. " (version 0)\n"
  9436. " (url \"https://example.org/guix.git\"))\n"
  9437. msgstr ""
  9438. #. type: Plain text
  9439. #: guix-git/doc/guix.texi:5428
  9440. 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."
  9441. msgstr ""
  9442. #. type: Plain text
  9443. #: guix-git/doc/guix.texi:5432
  9444. 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."
  9445. msgstr ""
  9446. #. type: cindex
  9447. #: guix-git/doc/guix.texi:5436
  9448. #, no-wrap
  9449. msgid "news, for channels"
  9450. msgstr ""
  9451. #. type: Plain text
  9452. #: guix-git/doc/guix.texi:5440
  9453. 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."
  9454. msgstr ""
  9455. #. type: Plain text
  9456. #: guix-git/doc/guix.texi:5445
  9457. 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."
  9458. msgstr ""
  9459. #. type: Plain text
  9460. #: guix-git/doc/guix.texi:5448
  9461. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  9462. msgstr ""
  9463. #. type: lisp
  9464. #: guix-git/doc/guix.texi:5453
  9465. #, no-wrap
  9466. msgid ""
  9467. "(channel\n"
  9468. " (version 0)\n"
  9469. " (news-file \"etc/news.txt\"))\n"
  9470. msgstr ""
  9471. #. type: Plain text
  9472. #: guix-git/doc/guix.texi:5457
  9473. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  9474. msgstr ""
  9475. #. type: lisp
  9476. #: guix-git/doc/guix.texi:5470
  9477. #, no-wrap
  9478. msgid ""
  9479. "(channel-news\n"
  9480. " (version 0)\n"
  9481. " (entry (tag \"the-bug-fix\")\n"
  9482. " (title (en \"Fixed terrible bug\")\n"
  9483. " (fr \"Oh la la\"))\n"
  9484. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  9485. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  9486. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  9487. " (title (en \"Added a great package\")\n"
  9488. " (ca \"Què vol dir guix?\"))\n"
  9489. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  9490. msgstr ""
  9491. #. type: Plain text
  9492. #: guix-git/doc/guix.texi:5477
  9493. 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."
  9494. msgstr ""
  9495. #. type: Plain text
  9496. #: guix-git/doc/guix.texi:5482
  9497. 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."
  9498. msgstr ""
  9499. #. type: Plain text
  9500. #: guix-git/doc/guix.texi:5488
  9501. 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."
  9502. msgstr ""
  9503. #. type: Plain text
  9504. #: guix-git/doc/guix.texi:5494
  9505. 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:"
  9506. msgstr ""
  9507. #. type: example
  9508. #: guix-git/doc/guix.texi:5497
  9509. #, no-wrap
  9510. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  9511. msgstr ""
  9512. #. type: Plain text
  9513. #: guix-git/doc/guix.texi:5501
  9514. 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."
  9515. msgstr ""
  9516. #. type: cindex
  9517. #: guix-git/doc/guix.texi:5506
  9518. #, no-wrap
  9519. msgid "software development"
  9520. msgstr "소프트웨어 개발"
  9521. #. type: Plain text
  9522. #: guix-git/doc/guix.texi:5510
  9523. 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."
  9524. msgstr ""
  9525. #. type: Plain text
  9526. #: guix-git/doc/guix.texi:5516
  9527. 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."
  9528. msgstr ""
  9529. #. type: section
  9530. #: guix-git/doc/guix.texi:5525
  9531. #, no-wrap
  9532. msgid "Invoking @command{guix environment}"
  9533. msgstr ""
  9534. #. type: cindex
  9535. #: guix-git/doc/guix.texi:5527
  9536. #, no-wrap
  9537. msgid "reproducible build environments"
  9538. msgstr ""
  9539. #. type: cindex
  9540. #: guix-git/doc/guix.texi:5528
  9541. #, no-wrap
  9542. msgid "development environments"
  9543. msgstr ""
  9544. #. type: command{#1}
  9545. #: guix-git/doc/guix.texi:5529
  9546. #, no-wrap
  9547. msgid "guix environment"
  9548. msgstr ""
  9549. #. type: cindex
  9550. #: guix-git/doc/guix.texi:5530
  9551. #, no-wrap
  9552. msgid "environment, package build environment"
  9553. msgstr ""
  9554. #. type: Plain text
  9555. #: guix-git/doc/guix.texi:5536
  9556. 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."
  9557. msgstr ""
  9558. #. type: example
  9559. #: guix-git/doc/guix.texi:5541
  9560. #, no-wrap
  9561. msgid "guix environment @var{options} @var{package}@dots{}\n"
  9562. msgstr ""
  9563. #. type: Plain text
  9564. #: guix-git/doc/guix.texi:5545
  9565. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  9566. msgstr ""
  9567. #. type: example
  9568. #: guix-git/doc/guix.texi:5548
  9569. #, no-wrap
  9570. msgid "guix environment guile\n"
  9571. msgstr ""
  9572. #. type: Plain text
  9573. #: guix-git/doc/guix.texi:5565
  9574. 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.}."
  9575. msgstr ""
  9576. #. type: Plain text
  9577. #: guix-git/doc/guix.texi:5571
  9578. 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."
  9579. msgstr ""
  9580. #. type: vindex
  9581. #: guix-git/doc/guix.texi:5572
  9582. #, no-wrap
  9583. msgid "GUIX_ENVIRONMENT"
  9584. msgstr ""
  9585. #. type: Plain text
  9586. #: guix-git/doc/guix.texi:5578
  9587. 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}):"
  9588. msgstr ""
  9589. #. type: example
  9590. #: guix-git/doc/guix.texi:5584
  9591. #, no-wrap
  9592. msgid ""
  9593. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  9594. "then\n"
  9595. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  9596. "fi\n"
  9597. msgstr ""
  9598. #. type: Plain text
  9599. #: guix-git/doc/guix.texi:5588
  9600. msgid "...@: or to browse the profile:"
  9601. msgstr ""
  9602. #. type: example
  9603. #: guix-git/doc/guix.texi:5591
  9604. #, no-wrap
  9605. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  9606. msgstr ""
  9607. #. type: Plain text
  9608. #: guix-git/doc/guix.texi:5597
  9609. 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:"
  9610. msgstr ""
  9611. #. type: example
  9612. #: guix-git/doc/guix.texi:5600
  9613. #, no-wrap
  9614. msgid "guix environment guile emacs\n"
  9615. msgstr ""
  9616. #. type: Plain text
  9617. #: guix-git/doc/guix.texi:5605
  9618. 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:"
  9619. msgstr ""
  9620. #. type: example
  9621. #: guix-git/doc/guix.texi:5608
  9622. #, no-wrap
  9623. msgid "guix environment guile -- make -j4\n"
  9624. msgstr ""
  9625. #. type: Plain text
  9626. #: guix-git/doc/guix.texi:5614
  9627. 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:"
  9628. msgstr ""
  9629. #. type: example
  9630. #: guix-git/doc/guix.texi:5617
  9631. #, no-wrap
  9632. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  9633. msgstr ""
  9634. #. type: Plain text
  9635. #: guix-git/doc/guix.texi:5628
  9636. 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:"
  9637. msgstr ""
  9638. #. type: example
  9639. #: guix-git/doc/guix.texi:5631
  9640. #, no-wrap
  9641. msgid "guix environment --pure guix --ad-hoc git strace\n"
  9642. msgstr ""
  9643. #. type: item
  9644. #: guix-git/doc/guix.texi:5633 guix-git/doc/guix.texi:5794
  9645. #: guix-git/doc/guix.texi:13025 guix-git/doc/guix.texi:33068
  9646. #, no-wrap
  9647. msgid "container"
  9648. msgstr "컨테이너"
  9649. #. type: Plain text
  9650. #: guix-git/doc/guix.texi:5641
  9651. 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:"
  9652. msgstr ""
  9653. #. type: example
  9654. #: guix-git/doc/guix.texi:5644
  9655. #, no-wrap
  9656. msgid "guix environment --ad-hoc --container guile -- guile\n"
  9657. msgstr ""
  9658. #. type: quotation
  9659. #: guix-git/doc/guix.texi:5648
  9660. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  9661. msgstr ""
  9662. #. type: cindex
  9663. #: guix-git/doc/guix.texi:5650
  9664. #, no-wrap
  9665. msgid "certificates"
  9666. msgstr "인증서"
  9667. #. type: Plain text
  9668. #: guix-git/doc/guix.texi:5657
  9669. 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."
  9670. msgstr ""
  9671. #. type: example
  9672. #: guix-git/doc/guix.texi:5664
  9673. #, no-wrap
  9674. msgid ""
  9675. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  9676. " --expose=/etc/machine-id \\\n"
  9677. " --expose=/etc/ssl/certs/ \\\n"
  9678. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  9679. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  9680. msgstr ""
  9681. #. type: Plain text
  9682. #: guix-git/doc/guix.texi:5667
  9683. msgid "The available options are summarized below."
  9684. msgstr ""
  9685. #. type: item
  9686. #: guix-git/doc/guix.texi:5669 guix-git/doc/guix.texi:6205
  9687. #: guix-git/doc/guix.texi:10863 guix-git/doc/guix.texi:33165
  9688. #, no-wrap
  9689. msgid "--root=@var{file}"
  9690. msgstr ""
  9691. #. type: itemx
  9692. #: guix-git/doc/guix.texi:5670 guix-git/doc/guix.texi:6206
  9693. #: guix-git/doc/guix.texi:10864 guix-git/doc/guix.texi:33166
  9694. #, no-wrap
  9695. msgid "-r @var{file}"
  9696. msgstr ""
  9697. #. type: cindex
  9698. #: guix-git/doc/guix.texi:5671
  9699. #, no-wrap
  9700. msgid "persistent environment"
  9701. msgstr ""
  9702. #. type: cindex
  9703. #: guix-git/doc/guix.texi:5672
  9704. #, no-wrap
  9705. msgid "garbage collector root, for environments"
  9706. msgstr ""
  9707. #. type: table
  9708. #: guix-git/doc/guix.texi:5675
  9709. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  9710. msgstr ""
  9711. #. type: table
  9712. #: guix-git/doc/guix.texi:5678
  9713. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  9714. msgstr ""
  9715. #. type: table
  9716. #: guix-git/doc/guix.texi:5684
  9717. 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."
  9718. msgstr ""
  9719. #. type: item
  9720. #: guix-git/doc/guix.texi:5685 guix-git/doc/guix.texi:6137
  9721. #: guix-git/doc/guix.texi:10709 guix-git/doc/guix.texi:11684
  9722. #: guix-git/doc/guix.texi:12479 guix-git/doc/guix.texi:33100
  9723. #, no-wrap
  9724. msgid "--expression=@var{expr}"
  9725. msgstr ""
  9726. #. type: itemx
  9727. #: guix-git/doc/guix.texi:5686 guix-git/doc/guix.texi:6138
  9728. #: guix-git/doc/guix.texi:10710 guix-git/doc/guix.texi:11685
  9729. #: guix-git/doc/guix.texi:12480 guix-git/doc/guix.texi:33101
  9730. #, no-wrap
  9731. msgid "-e @var{expr}"
  9732. msgstr ""
  9733. #. type: table
  9734. #: guix-git/doc/guix.texi:5689
  9735. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  9736. msgstr ""
  9737. #. type: table
  9738. #: guix-git/doc/guix.texi:5691
  9739. msgid "For example, running:"
  9740. msgstr ""
  9741. #. type: example
  9742. #: guix-git/doc/guix.texi:5694
  9743. #, no-wrap
  9744. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  9745. msgstr ""
  9746. #. type: table
  9747. #: guix-git/doc/guix.texi:5698
  9748. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  9749. msgstr ""
  9750. #. type: table
  9751. #: guix-git/doc/guix.texi:5700
  9752. msgid "Running:"
  9753. msgstr "실행중:"
  9754. #. type: example
  9755. #: guix-git/doc/guix.texi:5703
  9756. #, no-wrap
  9757. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  9758. msgstr ""
  9759. #. type: table
  9760. #: guix-git/doc/guix.texi:5706
  9761. msgid "starts a shell with all the base system packages available."
  9762. msgstr ""
  9763. #. type: table
  9764. #: guix-git/doc/guix.texi:5709
  9765. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  9766. msgstr ""
  9767. #. type: example
  9768. #: guix-git/doc/guix.texi:5712
  9769. #, no-wrap
  9770. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  9771. msgstr ""
  9772. #. type: item
  9773. #: guix-git/doc/guix.texi:5714
  9774. #, no-wrap
  9775. msgid "--load=@var{file}"
  9776. msgstr ""
  9777. #. type: itemx
  9778. #: guix-git/doc/guix.texi:5715
  9779. #, no-wrap
  9780. msgid "-l @var{file}"
  9781. msgstr ""
  9782. #. type: table
  9783. #: guix-git/doc/guix.texi:5718
  9784. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  9785. msgstr ""
  9786. #. type: lisp
  9787. #: guix-git/doc/guix.texi:5724
  9788. #, no-wrap
  9789. msgid "@verbatiminclude environment-gdb.scm\n"
  9790. msgstr ""
  9791. #. type: table
  9792. #: guix-git/doc/guix.texi:5731
  9793. 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."
  9794. msgstr ""
  9795. #. type: table
  9796. #: guix-git/doc/guix.texi:5735
  9797. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  9798. msgstr ""
  9799. #. type: item
  9800. #: guix-git/doc/guix.texi:5736
  9801. #, no-wrap
  9802. msgid "--ad-hoc"
  9803. msgstr ""
  9804. #. type: table
  9805. #: guix-git/doc/guix.texi:5741
  9806. 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."
  9807. msgstr ""
  9808. #. type: table
  9809. #: guix-git/doc/guix.texi:5743
  9810. msgid "For instance, the command:"
  9811. msgstr ""
  9812. #. type: example
  9813. #: guix-git/doc/guix.texi:5746
  9814. #, no-wrap
  9815. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  9816. msgstr ""
  9817. #. type: table
  9818. #: guix-git/doc/guix.texi:5750
  9819. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  9820. msgstr ""
  9821. #. type: table
  9822. #: guix-git/doc/guix.texi:5755
  9823. 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})."
  9824. msgstr ""
  9825. #. type: table
  9826. #: guix-git/doc/guix.texi:5761
  9827. 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."
  9828. msgstr ""
  9829. #. type: item
  9830. #: guix-git/doc/guix.texi:5762
  9831. #, no-wrap
  9832. msgid "--pure"
  9833. msgstr ""
  9834. #. type: table
  9835. #: guix-git/doc/guix.texi:5766
  9836. 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."
  9837. msgstr ""
  9838. #. type: item
  9839. #: guix-git/doc/guix.texi:5767
  9840. #, no-wrap
  9841. msgid "--preserve=@var{regexp}"
  9842. msgstr ""
  9843. #. type: itemx
  9844. #: guix-git/doc/guix.texi:5768
  9845. #, no-wrap
  9846. msgid "-E @var{regexp}"
  9847. msgstr ""
  9848. #. type: table
  9849. #: guix-git/doc/guix.texi:5773
  9850. 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."
  9851. msgstr ""
  9852. #. type: example
  9853. #: guix-git/doc/guix.texi:5777
  9854. #, no-wrap
  9855. msgid ""
  9856. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  9857. " -- mpirun @dots{}\n"
  9858. msgstr ""
  9859. #. type: table
  9860. #: guix-git/doc/guix.texi:5783
  9861. 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.)."
  9862. msgstr ""
  9863. #. type: item
  9864. #: guix-git/doc/guix.texi:5784
  9865. #, no-wrap
  9866. msgid "--search-paths"
  9867. msgstr ""
  9868. #. type: table
  9869. #: guix-git/doc/guix.texi:5787
  9870. msgid "Display the environment variable definitions that make up the environment."
  9871. msgstr ""
  9872. #. type: table
  9873. #: guix-git/doc/guix.texi:5791
  9874. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  9875. msgstr ""
  9876. #. type: item
  9877. #: guix-git/doc/guix.texi:5792
  9878. #, no-wrap
  9879. msgid "--container"
  9880. msgstr "--container"
  9881. #. type: itemx
  9882. #: guix-git/doc/guix.texi:5793
  9883. #, no-wrap
  9884. msgid "-C"
  9885. msgstr ""
  9886. #. type: table
  9887. #: guix-git/doc/guix.texi:5800
  9888. 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."
  9889. msgstr ""
  9890. #. type: table
  9891. #: guix-git/doc/guix.texi:5804
  9892. 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)."
  9893. msgstr ""
  9894. #. type: item
  9895. #: guix-git/doc/guix.texi:5805 guix-git/doc/guix.texi:33160
  9896. #, no-wrap
  9897. msgid "--network"
  9898. msgstr ""
  9899. #. type: table
  9900. #: guix-git/doc/guix.texi:5810
  9901. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  9902. msgstr ""
  9903. #. type: item
  9904. #: guix-git/doc/guix.texi:5811
  9905. #, no-wrap
  9906. msgid "--link-profile"
  9907. msgstr ""
  9908. #. type: itemx
  9909. #: guix-git/doc/guix.texi:5812
  9910. #, no-wrap
  9911. msgid "-P"
  9912. msgstr ""
  9913. #. type: table
  9914. #: guix-git/doc/guix.texi:5820
  9915. 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."
  9916. msgstr ""
  9917. #. type: table
  9918. #: guix-git/doc/guix.texi:5826
  9919. 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."
  9920. msgstr ""
  9921. #. type: item
  9922. #: guix-git/doc/guix.texi:5827 guix-git/doc/guix.texi:12612
  9923. #, no-wrap
  9924. msgid "--user=@var{user}"
  9925. msgstr ""
  9926. #. type: itemx
  9927. #: guix-git/doc/guix.texi:5828 guix-git/doc/guix.texi:12613
  9928. #, no-wrap
  9929. msgid "-u @var{user}"
  9930. msgstr ""
  9931. #. type: table
  9932. #: guix-git/doc/guix.texi:5835
  9933. 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."
  9934. msgstr ""
  9935. #. type: table
  9936. #: guix-git/doc/guix.texi:5840
  9937. 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."
  9938. msgstr ""
  9939. #. type: example
  9940. #: guix-git/doc/guix.texi:5847
  9941. #, no-wrap
  9942. msgid ""
  9943. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  9944. "cd $HOME/wd\n"
  9945. "guix environment --container --user=foo \\\n"
  9946. " --expose=$HOME/test \\\n"
  9947. " --expose=/tmp/target=$HOME/target\n"
  9948. msgstr ""
  9949. #. type: table
  9950. #: guix-git/doc/guix.texi:5852
  9951. 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."
  9952. msgstr ""
  9953. #. type: item
  9954. #: guix-git/doc/guix.texi:5853
  9955. #, no-wrap
  9956. msgid "--no-cwd"
  9957. msgstr ""
  9958. #. type: table
  9959. #: guix-git/doc/guix.texi:5860
  9960. 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}."
  9961. msgstr ""
  9962. #. type: item
  9963. #: guix-git/doc/guix.texi:5861
  9964. #, no-wrap
  9965. msgid "--expose=@var{source}[=@var{target}]"
  9966. msgstr ""
  9967. #. type: itemx
  9968. #: guix-git/doc/guix.texi:5862
  9969. #, no-wrap
  9970. msgid "--share=@var{source}[=@var{target}]"
  9971. msgstr ""
  9972. #. type: table
  9973. #: guix-git/doc/guix.texi:5868
  9974. 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."
  9975. msgstr ""
  9976. #. type: table
  9977. #: guix-git/doc/guix.texi:5872
  9978. 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:"
  9979. msgstr ""
  9980. #. type: example
  9981. #: guix-git/doc/guix.texi:5875
  9982. #, no-wrap
  9983. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  9984. msgstr ""
  9985. #. type: Plain text
  9986. #: guix-git/doc/guix.texi:5883
  9987. 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})."
  9988. msgstr ""
  9989. #. type: section
  9990. #: guix-git/doc/guix.texi:5885
  9991. #, no-wrap
  9992. msgid "Invoking @command{guix pack}"
  9993. msgstr ""
  9994. #. type: Plain text
  9995. #: guix-git/doc/guix.texi:5891
  9996. 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."
  9997. msgstr ""
  9998. #. type: quotation
  9999. #: guix-git/doc/guix.texi:5896
  10000. 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}."
  10001. msgstr ""
  10002. #. type: cindex
  10003. #: guix-git/doc/guix.texi:5898
  10004. #, no-wrap
  10005. msgid "pack"
  10006. msgstr ""
  10007. #. type: cindex
  10008. #: guix-git/doc/guix.texi:5899
  10009. #, no-wrap
  10010. msgid "bundle"
  10011. msgstr ""
  10012. #. type: cindex
  10013. #: guix-git/doc/guix.texi:5900
  10014. #, no-wrap
  10015. msgid "application bundle"
  10016. msgstr ""
  10017. #. type: cindex
  10018. #: guix-git/doc/guix.texi:5901
  10019. #, no-wrap
  10020. msgid "software bundle"
  10021. msgstr ""
  10022. #. type: Plain text
  10023. #: guix-git/doc/guix.texi:5910
  10024. 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."
  10025. msgstr ""
  10026. #. type: Plain text
  10027. #: guix-git/doc/guix.texi:5913
  10028. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10029. msgstr ""
  10030. #. type: example
  10031. #: guix-git/doc/guix.texi:5918
  10032. #, no-wrap
  10033. msgid ""
  10034. "$ guix pack guile emacs geiser\n"
  10035. "@dots{}\n"
  10036. "/gnu/store/@dots{}-pack.tar.gz\n"
  10037. msgstr ""
  10038. #. type: Plain text
  10039. #: guix-git/doc/guix.texi:5926
  10040. 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})."
  10041. msgstr ""
  10042. #. type: Plain text
  10043. #: guix-git/doc/guix.texi:5931
  10044. 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:"
  10045. msgstr ""
  10046. #. type: example
  10047. #: guix-git/doc/guix.texi:5934
  10048. #, no-wrap
  10049. msgid "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n"
  10050. msgstr ""
  10051. #. type: Plain text
  10052. #: guix-git/doc/guix.texi:5938
  10053. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10054. msgstr ""
  10055. #. type: cindex
  10056. #: guix-git/doc/guix.texi:5939
  10057. #, no-wrap
  10058. msgid "relocatable binaries, with @command{guix pack}"
  10059. msgstr ""
  10060. #. type: Plain text
  10061. #: guix-git/doc/guix.texi:5947
  10062. 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}."
  10063. msgstr ""
  10064. #. type: cindex
  10065. #: guix-git/doc/guix.texi:5948
  10066. #, no-wrap
  10067. msgid "Docker, build an image with guix pack"
  10068. msgstr ""
  10069. #. type: Plain text
  10070. #: guix-git/doc/guix.texi:5951
  10071. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10072. msgstr ""
  10073. #. type: example
  10074. #: guix-git/doc/guix.texi:5954
  10075. #, no-wrap
  10076. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10077. msgstr ""
  10078. #. type: Plain text
  10079. #: guix-git/doc/guix.texi:5959
  10080. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10081. msgstr ""
  10082. #. type: example
  10083. #: guix-git/doc/guix.texi:5963
  10084. #, no-wrap
  10085. msgid ""
  10086. "docker load < @var{file}\n"
  10087. "docker run -ti guile-guile-readline /bin/guile\n"
  10088. msgstr ""
  10089. #. type: Plain text
  10090. #: guix-git/doc/guix.texi:5970
  10091. 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."
  10092. msgstr ""
  10093. #. type: cindex
  10094. #: guix-git/doc/guix.texi:5971
  10095. #, no-wrap
  10096. msgid "Singularity, build an image with guix pack"
  10097. msgstr ""
  10098. #. type: cindex
  10099. #: guix-git/doc/guix.texi:5972
  10100. #, no-wrap
  10101. msgid "SquashFS, build an image with guix pack"
  10102. msgstr ""
  10103. #. type: Plain text
  10104. #: guix-git/doc/guix.texi:5975
  10105. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10106. msgstr ""
  10107. #. type: example
  10108. #: guix-git/doc/guix.texi:5978
  10109. #, no-wrap
  10110. msgid "guix pack -f squashfs bash guile emacs geiser\n"
  10111. msgstr ""
  10112. #. type: Plain text
  10113. #: guix-git/doc/guix.texi:5986
  10114. 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}."
  10115. msgstr ""
  10116. #. type: Plain text
  10117. #: guix-git/doc/guix.texi:5988
  10118. msgid "Several command-line options allow you to customize your pack:"
  10119. msgstr ""
  10120. #. type: table
  10121. #: guix-git/doc/guix.texi:5993
  10122. msgid "Produce a pack in the given @var{format}."
  10123. msgstr ""
  10124. #. type: table
  10125. #: guix-git/doc/guix.texi:5995
  10126. msgid "The available formats are:"
  10127. msgstr ""
  10128. #. type: item
  10129. #: guix-git/doc/guix.texi:5997
  10130. #, no-wrap
  10131. msgid "tarball"
  10132. msgstr ""
  10133. #. type: table
  10134. #: guix-git/doc/guix.texi:6000
  10135. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10136. msgstr ""
  10137. #. type: item
  10138. #: guix-git/doc/guix.texi:6001
  10139. #, no-wrap
  10140. msgid "docker"
  10141. msgstr ""
  10142. #. type: table
  10143. #: guix-git/doc/guix.texi:6007
  10144. 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."
  10145. msgstr ""
  10146. #. type: item
  10147. #: guix-git/doc/guix.texi:6008
  10148. #, no-wrap
  10149. msgid "squashfs"
  10150. msgstr ""
  10151. #. type: table
  10152. #: guix-git/doc/guix.texi:6012
  10153. 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."
  10154. msgstr ""
  10155. #. type: quotation
  10156. #: guix-git/doc/guix.texi:6018
  10157. 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:"
  10158. msgstr ""
  10159. #. type: example
  10160. #: guix-git/doc/guix.texi:6021
  10161. #, no-wrap
  10162. msgid "guix pack -f squashfs bash @dots{}\n"
  10163. msgstr ""
  10164. #. type: quotation
  10165. #: guix-git/doc/guix.texi:6026
  10166. 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."
  10167. msgstr ""
  10168. #. type: cindex
  10169. #: guix-git/doc/guix.texi:6029
  10170. #, no-wrap
  10171. msgid "relocatable binaries"
  10172. msgstr ""
  10173. #. type: item
  10174. #: guix-git/doc/guix.texi:6030
  10175. #, no-wrap
  10176. msgid "--relocatable"
  10177. msgstr ""
  10178. #. type: table
  10179. #: guix-git/doc/guix.texi:6034
  10180. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10181. msgstr ""
  10182. #. type: table
  10183. #: guix-git/doc/guix.texi:6042
  10184. 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."
  10185. msgstr ""
  10186. #. type: table
  10187. #: guix-git/doc/guix.texi:6044
  10188. msgid "For example, if you create a pack containing Bash with:"
  10189. msgstr ""
  10190. #. type: example
  10191. #: guix-git/doc/guix.texi:6047
  10192. #, no-wrap
  10193. msgid "guix pack -RR -S /mybin=bin bash\n"
  10194. msgstr ""
  10195. #. type: table
  10196. #: guix-git/doc/guix.texi:6052
  10197. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10198. msgstr ""
  10199. #. type: example
  10200. #: guix-git/doc/guix.texi:6056
  10201. #, no-wrap
  10202. msgid ""
  10203. "tar xf pack.tar.gz\n"
  10204. "./mybin/sh\n"
  10205. msgstr ""
  10206. #. type: table
  10207. #: guix-git/doc/guix.texi:6064
  10208. 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."
  10209. msgstr ""
  10210. #. type: quotation
  10211. #: guix-git/doc/guix.texi:6070
  10212. 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."
  10213. msgstr ""
  10214. #. type: quotation
  10215. #: guix-git/doc/guix.texi:6076
  10216. 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:"
  10217. msgstr ""
  10218. #. type: item
  10219. #: guix-git/doc/guix.texi:6078 guix-git/doc/guix.texi:16223
  10220. #, no-wrap
  10221. msgid "default"
  10222. msgstr "기본"
  10223. #. type: table
  10224. #: guix-git/doc/guix.texi:6081
  10225. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10226. msgstr ""
  10227. #. type: item
  10228. #: guix-git/doc/guix.texi:6082
  10229. #, no-wrap
  10230. msgid "performance"
  10231. msgstr "성능"
  10232. #. type: table
  10233. #: guix-git/doc/guix.texi:6085
  10234. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10235. msgstr ""
  10236. #. type: item
  10237. #: guix-git/doc/guix.texi:6086
  10238. #, no-wrap
  10239. msgid "userns"
  10240. msgstr ""
  10241. #. type: table
  10242. #: guix-git/doc/guix.texi:6089
  10243. msgid "Run the program through user namespaces and abort if they are not supported."
  10244. msgstr ""
  10245. #. type: item
  10246. #: guix-git/doc/guix.texi:6090
  10247. #, no-wrap
  10248. msgid "proot"
  10249. msgstr ""
  10250. #. type: table
  10251. #: guix-git/doc/guix.texi:6097
  10252. 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."
  10253. msgstr ""
  10254. #. type: item
  10255. #: guix-git/doc/guix.texi:6098
  10256. #, no-wrap
  10257. msgid "fakechroot"
  10258. msgstr ""
  10259. #. type: table
  10260. #: guix-git/doc/guix.texi:6106
  10261. 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."
  10262. msgstr ""
  10263. #. type: vindex
  10264. #: guix-git/doc/guix.texi:6108
  10265. #, no-wrap
  10266. msgid "GUIX_EXECUTION_ENGINE"
  10267. msgstr ""
  10268. #. type: quotation
  10269. #: guix-git/doc/guix.texi:6112
  10270. 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."
  10271. msgstr ""
  10272. #. type: cindex
  10273. #: guix-git/doc/guix.texi:6114
  10274. #, no-wrap
  10275. msgid "entry point, for Docker images"
  10276. msgstr ""
  10277. #. type: item
  10278. #: guix-git/doc/guix.texi:6115
  10279. #, no-wrap
  10280. msgid "--entry-point=@var{command}"
  10281. msgstr ""
  10282. #. type: table
  10283. #: guix-git/doc/guix.texi:6120
  10284. 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."
  10285. msgstr ""
  10286. #. type: table
  10287. #: guix-git/doc/guix.texi:6124
  10288. 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:"
  10289. msgstr ""
  10290. #. type: example
  10291. #: guix-git/doc/guix.texi:6127
  10292. #, no-wrap
  10293. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10294. msgstr ""
  10295. #. type: table
  10296. #: guix-git/doc/guix.texi:6131
  10297. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10298. msgstr ""
  10299. #. type: example
  10300. #: guix-git/doc/guix.texi:6135
  10301. #, no-wrap
  10302. msgid ""
  10303. "docker load -i pack.tar.gz\n"
  10304. "docker run @var{image-id}\n"
  10305. msgstr ""
  10306. #. type: table
  10307. #: guix-git/doc/guix.texi:6140 guix-git/doc/guix.texi:11687
  10308. #: guix-git/doc/guix.texi:12482
  10309. msgid "Consider the package @var{expr} evaluates to."
  10310. msgstr ""
  10311. #. type: table
  10312. #: guix-git/doc/guix.texi:6144
  10313. 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}})."
  10314. msgstr ""
  10315. #. type: table
  10316. #: guix-git/doc/guix.texi:6150
  10317. 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."
  10318. msgstr ""
  10319. #. type: table
  10320. #: guix-git/doc/guix.texi:6158
  10321. 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."
  10322. msgstr ""
  10323. #. type: item
  10324. #: guix-git/doc/guix.texi:6164 guix-git/doc/guix.texi:10827
  10325. #, no-wrap
  10326. msgid "--target=@var{triplet}"
  10327. msgstr ""
  10328. #. type: cindex
  10329. #: guix-git/doc/guix.texi:6165 guix-git/doc/guix.texi:6616
  10330. #: guix-git/doc/guix.texi:10828
  10331. #, no-wrap
  10332. msgid "cross-compilation"
  10333. msgstr ""
  10334. #. type: table
  10335. #: guix-git/doc/guix.texi:6169
  10336. 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})."
  10337. msgstr ""
  10338. #. type: item
  10339. #: guix-git/doc/guix.texi:6170
  10340. #, no-wrap
  10341. msgid "--compression=@var{tool}"
  10342. msgstr ""
  10343. #. type: itemx
  10344. #: guix-git/doc/guix.texi:6171
  10345. #, no-wrap
  10346. msgid "-C @var{tool}"
  10347. msgstr ""
  10348. #. type: table
  10349. #: guix-git/doc/guix.texi:6175
  10350. 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."
  10351. msgstr ""
  10352. #. type: item
  10353. #: guix-git/doc/guix.texi:6176
  10354. #, no-wrap
  10355. msgid "--symlink=@var{spec}"
  10356. msgstr ""
  10357. #. type: itemx
  10358. #: guix-git/doc/guix.texi:6177
  10359. #, no-wrap
  10360. msgid "-S @var{spec}"
  10361. msgstr ""
  10362. #. type: table
  10363. #: guix-git/doc/guix.texi:6180
  10364. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10365. msgstr ""
  10366. #. type: table
  10367. #: guix-git/doc/guix.texi:6184
  10368. 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."
  10369. msgstr ""
  10370. #. type: table
  10371. #: guix-git/doc/guix.texi:6187
  10372. 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."
  10373. msgstr ""
  10374. #. type: item
  10375. #: guix-git/doc/guix.texi:6188 guix-git/doc/guix.texi:33119
  10376. #, no-wrap
  10377. msgid "--save-provenance"
  10378. msgstr ""
  10379. #. type: table
  10380. #: guix-git/doc/guix.texi:6192
  10381. 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})."
  10382. msgstr ""
  10383. #. type: table
  10384. #: guix-git/doc/guix.texi:6198
  10385. 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."
  10386. msgstr ""
  10387. #. type: table
  10388. #: guix-git/doc/guix.texi:6204
  10389. 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."
  10390. msgstr ""
  10391. #. type: cindex
  10392. #: guix-git/doc/guix.texi:6207
  10393. #, no-wrap
  10394. msgid "garbage collector root, for packs"
  10395. msgstr ""
  10396. #. type: table
  10397. #: guix-git/doc/guix.texi:6210
  10398. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  10399. msgstr ""
  10400. #. type: item
  10401. #: guix-git/doc/guix.texi:6211
  10402. #, no-wrap
  10403. msgid "--localstatedir"
  10404. msgstr ""
  10405. #. type: itemx
  10406. #: guix-git/doc/guix.texi:6212
  10407. #, no-wrap
  10408. msgid "--profile-name=@var{name}"
  10409. msgstr ""
  10410. #. type: table
  10411. #: guix-git/doc/guix.texi:6217
  10412. 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}."
  10413. msgstr ""
  10414. #. type: table
  10415. #: guix-git/doc/guix.texi:6223
  10416. 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."
  10417. msgstr ""
  10418. #. type: table
  10419. #: guix-git/doc/guix.texi:6226
  10420. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  10421. msgstr ""
  10422. #. type: item
  10423. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:33113
  10424. #, no-wrap
  10425. msgid "--derivation"
  10426. msgstr ""
  10427. #. type: itemx
  10428. #: guix-git/doc/guix.texi:6228 guix-git/doc/guix.texi:10859
  10429. #: guix-git/doc/guix.texi:33114
  10430. #, no-wrap
  10431. msgid "-d"
  10432. msgstr ""
  10433. #. type: table
  10434. #: guix-git/doc/guix.texi:6230
  10435. msgid "Print the name of the derivation that builds the pack."
  10436. msgstr ""
  10437. #. type: table
  10438. #: guix-git/doc/guix.texi:6234
  10439. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  10440. msgstr ""
  10441. #. type: Plain text
  10442. #: guix-git/doc/guix.texi:6239
  10443. 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})."
  10444. msgstr ""
  10445. #. type: cindex
  10446. #: guix-git/doc/guix.texi:6244
  10447. #, no-wrap
  10448. msgid "GCC"
  10449. msgstr ""
  10450. #. type: cindex
  10451. #: guix-git/doc/guix.texi:6245
  10452. #, no-wrap
  10453. msgid "ld-wrapper"
  10454. msgstr ""
  10455. #. type: cindex
  10456. #: guix-git/doc/guix.texi:6246
  10457. #, no-wrap
  10458. msgid "linker wrapper"
  10459. msgstr ""
  10460. #. type: cindex
  10461. #: guix-git/doc/guix.texi:6247
  10462. #, no-wrap
  10463. msgid "toolchain, for C development"
  10464. msgstr ""
  10465. #. type: cindex
  10466. #: guix-git/doc/guix.texi:6248
  10467. #, no-wrap
  10468. msgid "toolchain, for Fortran development"
  10469. msgstr ""
  10470. #. type: Plain text
  10471. #: guix-git/doc/guix.texi:6255
  10472. 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."
  10473. msgstr ""
  10474. #. type: Plain text
  10475. #: guix-git/doc/guix.texi:6261
  10476. 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}."
  10477. msgstr ""
  10478. #. type: Plain text
  10479. #: guix-git/doc/guix.texi:6265
  10480. 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})."
  10481. msgstr ""
  10482. #. type: section
  10483. #: guix-git/doc/guix.texi:6268
  10484. #, no-wrap
  10485. msgid "Invoking @command{guix git authenticate}"
  10486. msgstr ""
  10487. #. type: Plain text
  10488. #: guix-git/doc/guix.texi:6276
  10489. 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)."
  10490. msgstr ""
  10491. #. type: Plain text
  10492. #: guix-git/doc/guix.texi:6281
  10493. 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."
  10494. msgstr ""
  10495. #. type: example
  10496. #: guix-git/doc/guix.texi:6286
  10497. #, no-wrap
  10498. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  10499. msgstr ""
  10500. #. type: Plain text
  10501. #: guix-git/doc/guix.texi:6295
  10502. 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."
  10503. msgstr ""
  10504. #. type: item
  10505. #: guix-git/doc/guix.texi:6297
  10506. #, no-wrap
  10507. msgid "--repository=@var{directory}"
  10508. msgstr ""
  10509. #. type: itemx
  10510. #: guix-git/doc/guix.texi:6298
  10511. #, no-wrap
  10512. msgid "-r @var{directory}"
  10513. msgstr ""
  10514. #. type: table
  10515. #: guix-git/doc/guix.texi:6301
  10516. msgid "Open the Git repository in @var{directory} instead of the current directory."
  10517. msgstr ""
  10518. #. type: item
  10519. #: guix-git/doc/guix.texi:6302
  10520. #, no-wrap
  10521. msgid "--keyring=@var{reference}"
  10522. msgstr ""
  10523. #. type: itemx
  10524. #: guix-git/doc/guix.texi:6303
  10525. #, no-wrap
  10526. msgid "-k @var{reference}"
  10527. msgstr ""
  10528. #. type: table
  10529. #: guix-git/doc/guix.texi:6309
  10530. 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}."
  10531. msgstr ""
  10532. #. type: item
  10533. #: guix-git/doc/guix.texi:6310
  10534. #, no-wrap
  10535. msgid "--stats"
  10536. msgstr ""
  10537. #. type: table
  10538. #: guix-git/doc/guix.texi:6312
  10539. msgid "Display commit signing statistics upon completion."
  10540. msgstr ""
  10541. #. type: item
  10542. #: guix-git/doc/guix.texi:6313
  10543. #, no-wrap
  10544. msgid "--cache-key=@var{key}"
  10545. msgstr ""
  10546. #. type: table
  10547. #: guix-git/doc/guix.texi:6317
  10548. 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."
  10549. msgstr ""
  10550. #. type: item
  10551. #: guix-git/doc/guix.texi:6318
  10552. #, no-wrap
  10553. msgid "--historical-authorizations=@var{file}"
  10554. msgstr ""
  10555. #. type: table
  10556. #: guix-git/doc/guix.texi:6325
  10557. 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})."
  10558. msgstr ""
  10559. #. type: Plain text
  10560. #: guix-git/doc/guix.texi:6338
  10561. 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."
  10562. msgstr ""
  10563. #. type: Plain text
  10564. #: guix-git/doc/guix.texi:6344
  10565. 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."
  10566. msgstr ""
  10567. #. type: Plain text
  10568. #: guix-git/doc/guix.texi:6353
  10569. 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."
  10570. msgstr ""
  10571. #. type: Plain text
  10572. #: guix-git/doc/guix.texi:6356
  10573. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  10574. msgstr ""
  10575. #. type: menuentry
  10576. #: guix-git/doc/guix.texi:6369
  10577. msgid "Programming Guix in Guile"
  10578. msgstr ""
  10579. #. type: Plain text
  10580. #: guix-git/doc/guix.texi:6385
  10581. 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})."
  10582. msgstr ""
  10583. #. type: Plain text
  10584. #: guix-git/doc/guix.texi:6392
  10585. 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."
  10586. msgstr ""
  10587. #. type: cindex
  10588. #: guix-git/doc/guix.texi:6394
  10589. #, no-wrap
  10590. msgid "package module search path"
  10591. msgstr ""
  10592. #. type: Plain text
  10593. #: guix-git/doc/guix.texi:6403
  10594. 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:"
  10595. msgstr ""
  10596. #. type: enumerate
  10597. #: guix-git/doc/guix.texi:6410
  10598. 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."
  10599. msgstr ""
  10600. #. type: enumerate
  10601. #: guix-git/doc/guix.texi:6416
  10602. 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."
  10603. msgstr ""
  10604. #. type: Plain text
  10605. #: guix-git/doc/guix.texi:6419
  10606. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  10607. msgstr ""
  10608. #. type: defvr
  10609. #: guix-git/doc/guix.texi:6420
  10610. #, no-wrap
  10611. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  10612. msgstr ""
  10613. #. type: defvr
  10614. #: guix-git/doc/guix.texi:6424
  10615. 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."
  10616. msgstr ""
  10617. #. type: Plain text
  10618. #: guix-git/doc/guix.texi:6432
  10619. 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}."
  10620. msgstr ""
  10621. #. type: Plain text
  10622. #: guix-git/doc/guix.texi:6440
  10623. 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:"
  10624. msgstr ""
  10625. #. type: lisp
  10626. #: guix-git/doc/guix.texi:6448
  10627. #, no-wrap
  10628. msgid ""
  10629. "(define-module (gnu packages hello)\n"
  10630. " #:use-module (guix packages)\n"
  10631. " #:use-module (guix download)\n"
  10632. " #:use-module (guix build-system gnu)\n"
  10633. " #:use-module (guix licenses)\n"
  10634. " #:use-module (gnu packages gawk))\n"
  10635. "\n"
  10636. msgstr ""
  10637. #. type: lisp
  10638. #: guix-git/doc/guix.texi:6467
  10639. #, no-wrap
  10640. msgid ""
  10641. "(define-public hello\n"
  10642. " (package\n"
  10643. " (name \"hello\")\n"
  10644. " (version \"2.10\")\n"
  10645. " (source (origin\n"
  10646. " (method url-fetch)\n"
  10647. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  10648. " \".tar.gz\"))\n"
  10649. " (sha256\n"
  10650. " (base32\n"
  10651. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  10652. " (build-system gnu-build-system)\n"
  10653. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  10654. " (inputs `((\"gawk\" ,gawk)))\n"
  10655. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  10656. " (description \"Guess what GNU Hello prints!\")\n"
  10657. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  10658. " (license gpl3+)))\n"
  10659. msgstr ""
  10660. #. type: Plain text
  10661. #: guix-git/doc/guix.texi:6477
  10662. 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\"}."
  10663. msgstr ""
  10664. #. type: Plain text
  10665. #: guix-git/doc/guix.texi:6481
  10666. 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})."
  10667. msgstr ""
  10668. #. type: Plain text
  10669. #: guix-git/doc/guix.texi:6487
  10670. 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})."
  10671. msgstr ""
  10672. #. type: Plain text
  10673. #: guix-git/doc/guix.texi:6489
  10674. msgid "There are a few points worth noting in the above package definition:"
  10675. msgstr ""
  10676. #. type: itemize
  10677. #: guix-git/doc/guix.texi:6496
  10678. 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."
  10679. msgstr ""
  10680. #. type: itemize
  10681. #: guix-git/doc/guix.texi:6499
  10682. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  10683. msgstr ""
  10684. #. type: itemize
  10685. #: guix-git/doc/guix.texi:6506
  10686. 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})."
  10687. msgstr ""
  10688. #. type: cindex
  10689. #: guix-git/doc/guix.texi:6507
  10690. #, no-wrap
  10691. msgid "patches"
  10692. msgstr ""
  10693. #. type: itemize
  10694. #: guix-git/doc/guix.texi:6511
  10695. 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."
  10696. msgstr ""
  10697. #. type: cindex
  10698. #: guix-git/doc/guix.texi:6513
  10699. #, no-wrap
  10700. msgid "GNU Build System"
  10701. msgstr ""
  10702. #. type: itemize
  10703. #: guix-git/doc/guix.texi:6519
  10704. 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."
  10705. msgstr ""
  10706. #. type: itemize
  10707. #: guix-git/doc/guix.texi:6523
  10708. 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."
  10709. msgstr ""
  10710. #. type: itemize
  10711. #: guix-git/doc/guix.texi:6529
  10712. 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."
  10713. msgstr ""
  10714. #. type: findex
  10715. #: guix-git/doc/guix.texi:6530 guix-git/doc/guix.texi:6533
  10716. #, no-wrap
  10717. msgid "quote"
  10718. msgstr ""
  10719. #. type: cindex
  10720. #: guix-git/doc/guix.texi:6531
  10721. #, no-wrap
  10722. msgid "quoting"
  10723. msgstr ""
  10724. #. type: findex
  10725. #: guix-git/doc/guix.texi:6532
  10726. #, no-wrap
  10727. msgid "'"
  10728. msgstr ""
  10729. #. type: itemize
  10730. #: guix-git/doc/guix.texi:6541
  10731. 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})."
  10732. msgstr ""
  10733. #. type: itemize
  10734. #: guix-git/doc/guix.texi:6547
  10735. 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})."
  10736. msgstr ""
  10737. #. type: itemize
  10738. #: guix-git/doc/guix.texi:6553
  10739. 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."
  10740. msgstr ""
  10741. #. type: cindex
  10742. #: guix-git/doc/guix.texi:6554
  10743. #, no-wrap
  10744. msgid "backquote (quasiquote)"
  10745. msgstr ""
  10746. #. type: findex
  10747. #: guix-git/doc/guix.texi:6555
  10748. #, no-wrap
  10749. msgid "`"
  10750. msgstr ""
  10751. #. type: findex
  10752. #: guix-git/doc/guix.texi:6556
  10753. #, no-wrap
  10754. msgid "quasiquote"
  10755. msgstr ""
  10756. #. type: cindex
  10757. #: guix-git/doc/guix.texi:6557
  10758. #, no-wrap
  10759. msgid "comma (unquote)"
  10760. msgstr ""
  10761. #. type: findex
  10762. #: guix-git/doc/guix.texi:6558
  10763. #, no-wrap
  10764. msgid ","
  10765. msgstr ""
  10766. #. type: findex
  10767. #: guix-git/doc/guix.texi:6559
  10768. #, no-wrap
  10769. msgid "unquote"
  10770. msgstr ""
  10771. #. type: findex
  10772. #: guix-git/doc/guix.texi:6560
  10773. #, no-wrap
  10774. msgid ",@@"
  10775. msgstr ""
  10776. #. type: findex
  10777. #: guix-git/doc/guix.texi:6561
  10778. #, no-wrap
  10779. msgid "unquote-splicing"
  10780. msgstr ""
  10781. #. type: itemize
  10782. #: guix-git/doc/guix.texi:6567
  10783. 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})."
  10784. msgstr ""
  10785. #. type: itemize
  10786. #: guix-git/doc/guix.texi:6571
  10787. 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})."
  10788. msgstr ""
  10789. #. type: itemize
  10790. #: guix-git/doc/guix.texi:6575
  10791. 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."
  10792. msgstr ""
  10793. #. type: Plain text
  10794. #: guix-git/doc/guix.texi:6578
  10795. msgid "@xref{package Reference}, for a full description of possible fields."
  10796. msgstr ""
  10797. #. type: Plain text
  10798. #: guix-git/doc/guix.texi:6589
  10799. 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."
  10800. msgstr ""
  10801. #. type: vindex
  10802. #: guix-git/doc/guix.texi:6589
  10803. #, no-wrap
  10804. msgid "GUIX_PACKAGE_PATH"
  10805. msgstr "GUIX_PACKAGE_PATH"
  10806. #. type: Plain text
  10807. #: guix-git/doc/guix.texi:6593
  10808. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  10809. msgstr ""
  10810. #. type: Plain text
  10811. #: guix-git/doc/guix.texi:6597
  10812. 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})."
  10813. msgstr ""
  10814. #. type: Plain text
  10815. #: guix-git/doc/guix.texi:6603
  10816. 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})."
  10817. msgstr ""
  10818. #. type: deffn
  10819. #: guix-git/doc/guix.texi:6604
  10820. #, no-wrap
  10821. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  10822. msgstr ""
  10823. #. type: deffn
  10824. #: guix-git/doc/guix.texi:6607
  10825. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  10826. msgstr ""
  10827. #. type: deffn
  10828. #: guix-git/doc/guix.texi:6613
  10829. 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})."
  10830. msgstr ""
  10831. #. type: Plain text
  10832. #: guix-git/doc/guix.texi:6619
  10833. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  10834. msgstr ""
  10835. #. type: deffn
  10836. #: guix-git/doc/guix.texi:6620
  10837. #, no-wrap
  10838. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  10839. msgstr ""
  10840. #. type: deffn
  10841. #: guix-git/doc/guix.texi:6624
  10842. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  10843. msgstr ""
  10844. #. type: deffn
  10845. #: guix-git/doc/guix.texi:6628
  10846. 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})."
  10847. msgstr ""
  10848. #. type: Plain text
  10849. #: guix-git/doc/guix.texi:6632
  10850. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  10851. msgstr ""
  10852. #. type: subsection
  10853. #: guix-git/doc/guix.texi:6640
  10854. #, no-wrap
  10855. msgid "@code{package} Reference"
  10856. msgstr ""
  10857. #. type: Plain text
  10858. #: guix-git/doc/guix.texi:6644
  10859. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  10860. msgstr ""
  10861. #. type: deftp
  10862. #: guix-git/doc/guix.texi:6645
  10863. #, no-wrap
  10864. msgid "{Data Type} package"
  10865. msgstr ""
  10866. #. type: deftp
  10867. #: guix-git/doc/guix.texi:6647
  10868. msgid "This is the data type representing a package recipe."
  10869. msgstr ""
  10870. #. type: table
  10871. #: guix-git/doc/guix.texi:6651
  10872. msgid "The name of the package, as a string."
  10873. msgstr ""
  10874. #. type: code{#1}
  10875. #: guix-git/doc/guix.texi:6652
  10876. #, no-wrap
  10877. msgid "version"
  10878. msgstr "버전"
  10879. #. type: table
  10880. #: guix-git/doc/guix.texi:6654
  10881. msgid "The version of the package, as a string."
  10882. msgstr ""
  10883. #. type: code{#1}
  10884. #: guix-git/doc/guix.texi:6655 guix-git/doc/guix.texi:11958
  10885. #: guix-git/doc/guix.texi:14203 guix-git/doc/guix.texi:14706
  10886. #, no-wrap
  10887. msgid "source"
  10888. msgstr "소스"
  10889. #. type: table
  10890. #: guix-git/doc/guix.texi:6662
  10891. 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}})."
  10892. msgstr ""
  10893. #. type: code{#1}
  10894. #: guix-git/doc/guix.texi:6663
  10895. #, no-wrap
  10896. msgid "build-system"
  10897. msgstr "구성-시스템"
  10898. #. type: table
  10899. #: guix-git/doc/guix.texi:6666
  10900. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  10901. msgstr ""
  10902. #. type: item
  10903. #: guix-git/doc/guix.texi:6667 guix-git/doc/guix.texi:16669
  10904. #, no-wrap
  10905. msgid "@code{arguments} (default: @code{'()})"
  10906. msgstr ""
  10907. #. type: table
  10908. #: guix-git/doc/guix.texi:6670
  10909. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  10910. msgstr ""
  10911. #. type: item
  10912. #: guix-git/doc/guix.texi:6671
  10913. #, no-wrap
  10914. msgid "@code{inputs} (default: @code{'()})"
  10915. msgstr ""
  10916. #. type: itemx
  10917. #: guix-git/doc/guix.texi:6672
  10918. #, no-wrap
  10919. msgid "@code{native-inputs} (default: @code{'()})"
  10920. msgstr ""
  10921. #. type: itemx
  10922. #: guix-git/doc/guix.texi:6673
  10923. #, no-wrap
  10924. msgid "@code{propagated-inputs} (default: @code{'()})"
  10925. msgstr ""
  10926. #. type: cindex
  10927. #: guix-git/doc/guix.texi:6674
  10928. #, no-wrap
  10929. msgid "inputs, of packages"
  10930. msgstr ""
  10931. #. type: table
  10932. #: guix-git/doc/guix.texi:6682
  10933. 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:"
  10934. msgstr ""
  10935. #. type: lisp
  10936. #: guix-git/doc/guix.texi:6687
  10937. #, no-wrap
  10938. msgid ""
  10939. "`((\"libffi\" ,libffi)\n"
  10940. " (\"libunistring\" ,libunistring)\n"
  10941. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  10942. msgstr ""
  10943. #. type: cindex
  10944. #: guix-git/doc/guix.texi:6689
  10945. #, no-wrap
  10946. msgid "cross compilation, package dependencies"
  10947. msgstr ""
  10948. #. type: table
  10949. #: guix-git/doc/guix.texi:6695
  10950. 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."
  10951. msgstr ""
  10952. #. type: table
  10953. #: guix-git/doc/guix.texi:6700
  10954. 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})."
  10955. msgstr ""
  10956. #. type: anchor{#1}
  10957. #: guix-git/doc/guix.texi:6708
  10958. msgid "package-propagated-inputs"
  10959. msgstr ""
  10960. #. type: table
  10961. #: guix-git/doc/guix.texi:6708
  10962. 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)."
  10963. msgstr ""
  10964. #. type: table
  10965. #: guix-git/doc/guix.texi:6712
  10966. 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."
  10967. msgstr ""
  10968. #. type: table
  10969. #: guix-git/doc/guix.texi:6719
  10970. 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}."
  10971. msgstr ""
  10972. #. type: item
  10973. #: guix-git/doc/guix.texi:6720
  10974. #, no-wrap
  10975. msgid "@code{outputs} (default: @code{'(\"out\")})"
  10976. msgstr ""
  10977. #. type: table
  10978. #: guix-git/doc/guix.texi:6723
  10979. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  10980. msgstr ""
  10981. #. type: item
  10982. #: guix-git/doc/guix.texi:6724
  10983. #, no-wrap
  10984. msgid "@code{native-search-paths} (default: @code{'()})"
  10985. msgstr ""
  10986. #. type: itemx
  10987. #: guix-git/doc/guix.texi:6725
  10988. #, no-wrap
  10989. msgid "@code{search-paths} (default: @code{'()})"
  10990. msgstr ""
  10991. #. type: table
  10992. #: guix-git/doc/guix.texi:6728
  10993. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  10994. msgstr ""
  10995. #. type: item
  10996. #: guix-git/doc/guix.texi:6729
  10997. #, no-wrap
  10998. msgid "@code{replacement} (default: @code{#f})"
  10999. msgstr ""
  11000. #. type: table
  11001. #: guix-git/doc/guix.texi:6733
  11002. 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."
  11003. msgstr ""
  11004. #. type: item
  11005. #: guix-git/doc/guix.texi:6734 guix-git/doc/guix.texi:11950
  11006. #, no-wrap
  11007. msgid "synopsis"
  11008. msgstr "개요"
  11009. #. type: table
  11010. #: guix-git/doc/guix.texi:6736
  11011. msgid "A one-line description of the package."
  11012. msgstr ""
  11013. #. type: code{#1}
  11014. #: guix-git/doc/guix.texi:6737 guix-git/doc/guix.texi:11951
  11015. #: guix-git/doc/guix.texi:33811 guix-git/doc/guix.texi:33962
  11016. #, no-wrap
  11017. msgid "description"
  11018. msgstr "설명"
  11019. #. type: table
  11020. #: guix-git/doc/guix.texi:6739
  11021. msgid "A more elaborate description of the package."
  11022. msgstr ""
  11023. #. type: code{#1}
  11024. #: guix-git/doc/guix.texi:6740
  11025. #, no-wrap
  11026. msgid "license"
  11027. msgstr "저작권"
  11028. #. type: cindex
  11029. #: guix-git/doc/guix.texi:6741
  11030. #, no-wrap
  11031. msgid "license, of packages"
  11032. msgstr ""
  11033. #. type: table
  11034. #: guix-git/doc/guix.texi:6744
  11035. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11036. msgstr ""
  11037. #. type: itemx
  11038. #: guix-git/doc/guix.texi:6745 guix-git/doc/guix.texi:11959
  11039. #, no-wrap
  11040. msgid "home-page"
  11041. msgstr "홈페이지"
  11042. #. type: table
  11043. #: guix-git/doc/guix.texi:6747
  11044. msgid "The URL to the home-page of the package, as a string."
  11045. msgstr ""
  11046. #. type: item
  11047. #: guix-git/doc/guix.texi:6748
  11048. #, no-wrap
  11049. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11050. msgstr ""
  11051. #. type: table
  11052. #: guix-git/doc/guix.texi:6751
  11053. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11054. msgstr ""
  11055. #. type: item
  11056. #: guix-git/doc/guix.texi:6752
  11057. #, no-wrap
  11058. msgid "@code{location} (default: source location of the @code{package} form)"
  11059. msgstr ""
  11060. #. type: table
  11061. #: guix-git/doc/guix.texi:6756
  11062. 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."
  11063. msgstr ""
  11064. #. type: deffn
  11065. #: guix-git/doc/guix.texi:6759
  11066. #, no-wrap
  11067. msgid "{Scheme Syntax} this-package"
  11068. msgstr ""
  11069. #. type: deffn
  11070. #: guix-git/doc/guix.texi:6762
  11071. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  11072. msgstr ""
  11073. #. type: deffn
  11074. #: guix-git/doc/guix.texi:6765
  11075. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11076. msgstr ""
  11077. #. type: lisp
  11078. #: guix-git/doc/guix.texi:6770
  11079. #, no-wrap
  11080. msgid ""
  11081. "(package\n"
  11082. " (name \"guile\")\n"
  11083. " ;; ...\n"
  11084. "\n"
  11085. msgstr ""
  11086. #. type: lisp
  11087. #: guix-git/doc/guix.texi:6776
  11088. #, no-wrap
  11089. msgid ""
  11090. " ;; When cross-compiled, Guile, for example, depends on\n"
  11091. " ;; a native version of itself. Add it here.\n"
  11092. " (native-inputs (if (%current-target-system)\n"
  11093. " `((\"self\" ,this-package))\n"
  11094. " '())))\n"
  11095. msgstr ""
  11096. #. type: deffn
  11097. #: guix-git/doc/guix.texi:6779
  11098. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11099. msgstr ""
  11100. #. type: Plain text
  11101. #: guix-git/doc/guix.texi:6785
  11102. 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."
  11103. msgstr ""
  11104. #. type: cindex
  11105. #: guix-git/doc/guix.texi:6786
  11106. #, no-wrap
  11107. msgid "tool chain, choosing a package's tool chain"
  11108. msgstr ""
  11109. #. type: deffn
  11110. #: guix-git/doc/guix.texi:6787
  11111. #, no-wrap
  11112. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11113. msgstr ""
  11114. #. type: deffn
  11115. #: guix-git/doc/guix.texi:6792
  11116. 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."
  11117. msgstr ""
  11118. #. type: deffn
  11119. #: guix-git/doc/guix.texi:6796
  11120. 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:"
  11121. msgstr ""
  11122. #. type: lisp
  11123. #: guix-git/doc/guix.texi:6800
  11124. #, no-wrap
  11125. msgid ""
  11126. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11127. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11128. msgstr ""
  11129. #. type: deffn
  11130. #: guix-git/doc/guix.texi:6808
  11131. 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."
  11132. msgstr ""
  11133. #. type: subsection
  11134. #: guix-git/doc/guix.texi:6811
  11135. #, no-wrap
  11136. msgid "@code{origin} Reference"
  11137. msgstr ""
  11138. #. type: Plain text
  11139. #: guix-git/doc/guix.texi:6819
  11140. 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."
  11141. msgstr ""
  11142. #. type: deftp
  11143. #: guix-git/doc/guix.texi:6820
  11144. #, no-wrap
  11145. msgid "{Data Type} origin"
  11146. msgstr ""
  11147. #. type: deftp
  11148. #: guix-git/doc/guix.texi:6822
  11149. msgid "This is the data type representing a source code origin."
  11150. msgstr ""
  11151. #. type: code{#1}
  11152. #: guix-git/doc/guix.texi:6824 guix-git/doc/guix.texi:24843
  11153. #, no-wrap
  11154. msgid "uri"
  11155. msgstr ""
  11156. #. type: table
  11157. #: guix-git/doc/guix.texi:6829
  11158. 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."
  11159. msgstr ""
  11160. #. type: cindex
  11161. #: guix-git/doc/guix.texi:6830
  11162. #, no-wrap
  11163. msgid "fixed-output derivations, for download"
  11164. msgstr ""
  11165. #. type: code{#1}
  11166. #: guix-git/doc/guix.texi:6831
  11167. #, no-wrap
  11168. msgid "method"
  11169. msgstr "방식"
  11170. #. type: table
  11171. #: guix-git/doc/guix.texi:6838
  11172. 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})."
  11173. msgstr ""
  11174. #. type: table
  11175. #: guix-git/doc/guix.texi:6842
  11176. 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)."
  11177. msgstr ""
  11178. #. type: code{#1}
  11179. #: guix-git/doc/guix.texi:6843
  11180. #, no-wrap
  11181. msgid "sha256"
  11182. msgstr ""
  11183. #. type: table
  11184. #: guix-git/doc/guix.texi:6847
  11185. 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."
  11186. msgstr ""
  11187. #. type: code{#1}
  11188. #: guix-git/doc/guix.texi:6848
  11189. #, no-wrap
  11190. msgid "hash"
  11191. msgstr ""
  11192. #. type: table
  11193. #: guix-git/doc/guix.texi:6851
  11194. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11195. msgstr ""
  11196. #. type: table
  11197. #: guix-git/doc/guix.texi:6855
  11198. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11199. msgstr ""
  11200. #. type: item
  11201. #: guix-git/doc/guix.texi:6856
  11202. #, no-wrap
  11203. msgid "@code{file-name} (default: @code{#f})"
  11204. msgstr ""
  11205. #. type: table
  11206. #: guix-git/doc/guix.texi:6862
  11207. 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."
  11208. msgstr ""
  11209. #. type: item
  11210. #: guix-git/doc/guix.texi:6863
  11211. #, no-wrap
  11212. msgid "@code{patches} (default: @code{'()})"
  11213. msgstr ""
  11214. #. type: table
  11215. #: guix-git/doc/guix.texi:6866
  11216. 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."
  11217. msgstr ""
  11218. #. type: table
  11219. #: guix-git/doc/guix.texi:6870
  11220. 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}."
  11221. msgstr ""
  11222. #. type: item
  11223. #: guix-git/doc/guix.texi:6871
  11224. #, no-wrap
  11225. msgid "@code{snippet} (default: @code{#f})"
  11226. msgstr ""
  11227. #. type: table
  11228. #: guix-git/doc/guix.texi:6875
  11229. 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."
  11230. msgstr ""
  11231. #. type: item
  11232. #: guix-git/doc/guix.texi:6876
  11233. #, no-wrap
  11234. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11235. msgstr ""
  11236. #. type: table
  11237. #: guix-git/doc/guix.texi:6879
  11238. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11239. msgstr ""
  11240. #. type: item
  11241. #: guix-git/doc/guix.texi:6880
  11242. #, no-wrap
  11243. msgid "@code{patch-inputs} (default: @code{#f})"
  11244. msgstr ""
  11245. #. type: table
  11246. #: guix-git/doc/guix.texi:6884
  11247. 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."
  11248. msgstr ""
  11249. #. type: item
  11250. #: guix-git/doc/guix.texi:6885 guix-git/doc/guix.texi:24716
  11251. #, no-wrap
  11252. msgid "@code{modules} (default: @code{'()})"
  11253. msgstr ""
  11254. #. type: table
  11255. #: guix-git/doc/guix.texi:6888
  11256. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11257. msgstr ""
  11258. #. type: item
  11259. #: guix-git/doc/guix.texi:6889
  11260. #, no-wrap
  11261. msgid "@code{patch-guile} (default: @code{#f})"
  11262. msgstr ""
  11263. #. type: table
  11264. #: guix-git/doc/guix.texi:6892
  11265. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11266. msgstr ""
  11267. #. type: deftp
  11268. #: guix-git/doc/guix.texi:6895
  11269. #, no-wrap
  11270. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11271. msgstr ""
  11272. #. type: deftp
  11273. #: guix-git/doc/guix.texi:6899
  11274. 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}."
  11275. msgstr ""
  11276. #. type: deftp
  11277. #: guix-git/doc/guix.texi:6902
  11278. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11279. msgstr ""
  11280. #. type: deftp
  11281. #: guix-git/doc/guix.texi:6904
  11282. msgid "The following forms are all equivalent:"
  11283. msgstr ""
  11284. #. type: lisp
  11285. #: guix-git/doc/guix.texi:6913
  11286. #, no-wrap
  11287. msgid ""
  11288. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11289. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11290. " sha256)\n"
  11291. "(content-hash (base32\n"
  11292. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11293. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11294. " sha256)\n"
  11295. msgstr ""
  11296. #. type: deftp
  11297. #: guix-git/doc/guix.texi:6918
  11298. 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}."
  11299. msgstr ""
  11300. #. type: Plain text
  11301. #: guix-git/doc/guix.texi:6924
  11302. 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."
  11303. msgstr ""
  11304. #. type: deffn
  11305. #: guix-git/doc/guix.texi:6925
  11306. #, no-wrap
  11307. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11308. msgstr ""
  11309. #. type: deffn
  11310. #: guix-git/doc/guix.texi:6933
  11311. 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."
  11312. msgstr ""
  11313. #. type: deffn
  11314. #: guix-git/doc/guix.texi:6936
  11315. 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}."
  11316. msgstr ""
  11317. #. type: deffn
  11318. #: guix-git/doc/guix.texi:6939
  11319. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11320. msgstr ""
  11321. #. type: Plain text
  11322. #: guix-git/doc/guix.texi:6945
  11323. 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."
  11324. msgstr ""
  11325. #. type: deffn
  11326. #: guix-git/doc/guix.texi:6946
  11327. #, no-wrap
  11328. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11329. msgstr ""
  11330. #. type: deffn
  11331. #: guix-git/doc/guix.texi:6951
  11332. 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}."
  11333. msgstr ""
  11334. #. type: deftp
  11335. #: guix-git/doc/guix.texi:6953
  11336. #, no-wrap
  11337. msgid "{Data Type} git-reference"
  11338. msgstr ""
  11339. #. type: deftp
  11340. #: guix-git/doc/guix.texi:6956
  11341. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11342. msgstr ""
  11343. #. type: code{#1}
  11344. #: guix-git/doc/guix.texi:6958 guix-git/doc/guix.texi:22478
  11345. #, no-wrap
  11346. msgid "url"
  11347. msgstr ""
  11348. #. type: table
  11349. #: guix-git/doc/guix.texi:6960
  11350. msgid "The URL of the Git repository to clone."
  11351. msgstr ""
  11352. #. type: code{#1}
  11353. #: guix-git/doc/guix.texi:6961
  11354. #, no-wrap
  11355. msgid "commit"
  11356. msgstr "수행"
  11357. #. type: table
  11358. #: guix-git/doc/guix.texi:6965
  11359. 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."
  11360. msgstr ""
  11361. #. type: item
  11362. #: guix-git/doc/guix.texi:6966
  11363. #, no-wrap
  11364. msgid "@code{recursive?} (default: @code{#f})"
  11365. msgstr ""
  11366. #. type: table
  11367. #: guix-git/doc/guix.texi:6968
  11368. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  11369. msgstr ""
  11370. #. type: deftp
  11371. #: guix-git/doc/guix.texi:6972
  11372. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  11373. msgstr ""
  11374. #. type: lisp
  11375. #: guix-git/doc/guix.texi:6977
  11376. #, no-wrap
  11377. msgid ""
  11378. "(git-reference\n"
  11379. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11380. " (commit \"v2.10\"))\n"
  11381. msgstr ""
  11382. #. type: deftp
  11383. #: guix-git/doc/guix.texi:6981
  11384. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  11385. msgstr ""
  11386. #. type: lisp
  11387. #: guix-git/doc/guix.texi:6986
  11388. #, no-wrap
  11389. msgid ""
  11390. "(git-reference\n"
  11391. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11392. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  11393. msgstr ""
  11394. #. type: Plain text
  11395. #: guix-git/doc/guix.texi:6992
  11396. 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."
  11397. msgstr ""
  11398. #. type: deffn
  11399. #: guix-git/doc/guix.texi:6993
  11400. #, no-wrap
  11401. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  11402. msgstr ""
  11403. #. type: deffn
  11404. #: guix-git/doc/guix.texi:6999
  11405. 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}."
  11406. msgstr ""
  11407. #. type: cindex
  11408. #: guix-git/doc/guix.texi:7004
  11409. #, no-wrap
  11410. msgid "customizing packages"
  11411. msgstr ""
  11412. #. type: cindex
  11413. #: guix-git/doc/guix.texi:7005
  11414. #, no-wrap
  11415. msgid "variants, of packages"
  11416. msgstr ""
  11417. #. type: Plain text
  11418. #: guix-git/doc/guix.texi:7015
  11419. 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!"
  11420. msgstr ""
  11421. #. type: cindex
  11422. #: guix-git/doc/guix.texi:7016
  11423. #, no-wrap
  11424. msgid "inherit, for package definitions"
  11425. msgstr ""
  11426. #. type: Plain text
  11427. #: guix-git/doc/guix.texi:7023
  11428. 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."
  11429. msgstr ""
  11430. #. type: Plain text
  11431. #: guix-git/doc/guix.texi:7028
  11432. 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!):"
  11433. msgstr ""
  11434. #. type: lisp
  11435. #: guix-git/doc/guix.texi:7031
  11436. #, no-wrap
  11437. msgid ""
  11438. "(use-modules (gnu packages base)) ;for 'hello'\n"
  11439. "\n"
  11440. msgstr ""
  11441. #. type: lisp
  11442. #: guix-git/doc/guix.texi:7043
  11443. #, no-wrap
  11444. msgid ""
  11445. "(define hello-2.2\n"
  11446. " (package\n"
  11447. " (inherit hello)\n"
  11448. " (version \"2.2\")\n"
  11449. " (source (origin\n"
  11450. " (method url-fetch)\n"
  11451. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11452. " \".tar.gz\"))\n"
  11453. " (sha256\n"
  11454. " (base32\n"
  11455. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  11456. msgstr ""
  11457. #. type: Plain text
  11458. #: guix-git/doc/guix.texi:7052
  11459. 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."
  11460. msgstr ""
  11461. #. type: Plain text
  11462. #: guix-git/doc/guix.texi:7058
  11463. 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:"
  11464. msgstr ""
  11465. #. type: lisp
  11466. #: guix-git/doc/guix.texi:7062
  11467. #, no-wrap
  11468. msgid ""
  11469. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  11470. " (srfi srfi-1)) ;for 'alist-delete'\n"
  11471. "\n"
  11472. msgstr ""
  11473. #. type: lisp
  11474. #: guix-git/doc/guix.texi:7068
  11475. #, no-wrap
  11476. msgid ""
  11477. "(define gdb-sans-guile\n"
  11478. " (package\n"
  11479. " (inherit gdb)\n"
  11480. " (inputs (alist-delete \"guile\"\n"
  11481. " (package-inputs gdb)))))\n"
  11482. msgstr ""
  11483. #. type: Plain text
  11484. #: guix-git/doc/guix.texi:7074
  11485. 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})."
  11486. msgstr ""
  11487. #. type: Plain text
  11488. #: guix-git/doc/guix.texi:7082
  11489. 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:"
  11490. msgstr ""
  11491. #. type: lisp
  11492. #: guix-git/doc/guix.texi:7093
  11493. #, no-wrap
  11494. msgid ""
  11495. "(define (make-lua-socket name lua)\n"
  11496. " ;; Return a luasocket package built with LUA.\n"
  11497. " (package\n"
  11498. " (name name)\n"
  11499. " (version \"3.0\")\n"
  11500. " ;; several fields omitted\n"
  11501. " (inputs\n"
  11502. " `((\"lua\" ,lua)))\n"
  11503. " (synopsis \"Socket library for Lua\")))\n"
  11504. "\n"
  11505. msgstr ""
  11506. #. type: lisp
  11507. #: guix-git/doc/guix.texi:7096
  11508. #, no-wrap
  11509. msgid ""
  11510. "(define-public lua5.1-socket\n"
  11511. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  11512. "\n"
  11513. msgstr ""
  11514. #. type: lisp
  11515. #: guix-git/doc/guix.texi:7099
  11516. #, no-wrap
  11517. msgid ""
  11518. "(define-public lua5.2-socket\n"
  11519. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  11520. msgstr ""
  11521. #. type: Plain text
  11522. #: guix-git/doc/guix.texi:7107
  11523. 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})."
  11524. msgstr ""
  11525. #. type: cindex
  11526. #: guix-git/doc/guix.texi:7108
  11527. #, no-wrap
  11528. msgid "package transformations"
  11529. msgstr ""
  11530. #. type: Plain text
  11531. #: guix-git/doc/guix.texi:7113
  11532. 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}):"
  11533. msgstr ""
  11534. #. type: deffn
  11535. #: guix-git/doc/guix.texi:7114
  11536. #, no-wrap
  11537. msgid "{Scheme Procedure} options->transformation @var{opts}"
  11538. msgstr ""
  11539. #. type: deffn
  11540. #: guix-git/doc/guix.texi:7118
  11541. 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:"
  11542. msgstr ""
  11543. #. type: lisp
  11544. #: guix-git/doc/guix.texi:7122
  11545. #, no-wrap
  11546. msgid ""
  11547. "((with-branch . \"guile-gcrypt=master\")\n"
  11548. " (without-tests . \"libgcrypt\"))\n"
  11549. msgstr ""
  11550. #. type: deffn
  11551. #: guix-git/doc/guix.texi:7126
  11552. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  11553. msgstr ""
  11554. #. type: Plain text
  11555. #: guix-git/doc/guix.texi:7129
  11556. msgid "For instance, a manifest equivalent to this command:"
  11557. msgstr ""
  11558. #. type: example
  11559. #: guix-git/doc/guix.texi:7134
  11560. #, no-wrap
  11561. msgid ""
  11562. "guix build guix \\\n"
  11563. " --with-branch=guile-gcrypt=master \\\n"
  11564. " --with-debug-info=zlib\n"
  11565. msgstr ""
  11566. #. type: Plain text
  11567. #: guix-git/doc/guix.texi:7138
  11568. msgid "... would look like this:"
  11569. msgstr ""
  11570. #. type: lisp
  11571. #: guix-git/doc/guix.texi:7141
  11572. #, no-wrap
  11573. msgid ""
  11574. "(use-modules (guix transformations))\n"
  11575. "\n"
  11576. msgstr ""
  11577. #. type: lisp
  11578. #: guix-git/doc/guix.texi:7147
  11579. #, no-wrap
  11580. msgid ""
  11581. "(define transform\n"
  11582. " ;; The package transformation procedure.\n"
  11583. " (options->transformation\n"
  11584. " '((with-branch . \"guile-gcrypt=master\")\n"
  11585. " (with-debug-info . \"zlib\"))))\n"
  11586. "\n"
  11587. msgstr ""
  11588. #. type: lisp
  11589. #: guix-git/doc/guix.texi:7150
  11590. #, no-wrap
  11591. msgid ""
  11592. "(packages->manifest\n"
  11593. " (list (transform (specification->package \"guix\"))))\n"
  11594. msgstr ""
  11595. #. type: cindex
  11596. #: guix-git/doc/guix.texi:7152
  11597. #, no-wrap
  11598. msgid "input rewriting"
  11599. msgstr ""
  11600. #. type: cindex
  11601. #: guix-git/doc/guix.texi:7153
  11602. #, no-wrap
  11603. msgid "dependency graph rewriting"
  11604. msgstr ""
  11605. #. type: Plain text
  11606. #: guix-git/doc/guix.texi:7160
  11607. 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."
  11608. msgstr ""
  11609. #. type: Plain text
  11610. #: guix-git/doc/guix.texi:7164
  11611. 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."
  11612. msgstr ""
  11613. #. type: deffn
  11614. #: guix-git/doc/guix.texi:7165
  11615. #, no-wrap
  11616. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  11617. msgstr ""
  11618. #. type: deffn
  11619. #: guix-git/doc/guix.texi:7172
  11620. 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."
  11621. msgstr ""
  11622. #. type: deffn
  11623. #: guix-git/doc/guix.texi:7175
  11624. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  11625. msgstr ""
  11626. #. type: table
  11627. #: guix-git/doc/guix.texi:7179 guix-git/doc/guix.texi:10505
  11628. msgid "Consider this example:"
  11629. msgstr ""
  11630. #. type: lisp
  11631. #: guix-git/doc/guix.texi:7185
  11632. #, no-wrap
  11633. msgid ""
  11634. "(define libressl-instead-of-openssl\n"
  11635. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  11636. " ;; recursively.\n"
  11637. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  11638. "\n"
  11639. msgstr ""
  11640. #. type: lisp
  11641. #: guix-git/doc/guix.texi:7188
  11642. #, no-wrap
  11643. msgid ""
  11644. "(define git-with-libressl\n"
  11645. " (libressl-instead-of-openssl git))\n"
  11646. msgstr ""
  11647. #. type: Plain text
  11648. #: guix-git/doc/guix.texi:7196
  11649. 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}})."
  11650. msgstr ""
  11651. #. type: Plain text
  11652. #: guix-git/doc/guix.texi:7199
  11653. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  11654. msgstr ""
  11655. #. type: deffn
  11656. #: guix-git/doc/guix.texi:7200
  11657. #, no-wrap
  11658. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  11659. msgstr ""
  11660. #. type: deffn
  11661. #: guix-git/doc/guix.texi:7207
  11662. 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."
  11663. msgstr ""
  11664. #. type: Plain text
  11665. #: guix-git/doc/guix.texi:7210
  11666. msgid "The example above could be rewritten this way:"
  11667. msgstr ""
  11668. #. type: lisp
  11669. #: guix-git/doc/guix.texi:7215
  11670. #, no-wrap
  11671. msgid ""
  11672. "(define libressl-instead-of-openssl\n"
  11673. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  11674. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  11675. msgstr ""
  11676. #. type: Plain text
  11677. #: guix-git/doc/guix.texi:7220
  11678. 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."
  11679. msgstr ""
  11680. #. type: Plain text
  11681. #: guix-git/doc/guix.texi:7224
  11682. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  11683. msgstr ""
  11684. #. type: deffn
  11685. #: guix-git/doc/guix.texi:7225
  11686. #, no-wrap
  11687. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  11688. msgstr ""
  11689. #. type: deffn
  11690. #: guix-git/doc/guix.texi:7230
  11691. 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."
  11692. msgstr ""
  11693. #. type: cindex
  11694. #: guix-git/doc/guix.texi:7236
  11695. #, no-wrap
  11696. msgid "build system"
  11697. msgstr ""
  11698. #. type: Plain text
  11699. #: guix-git/doc/guix.texi:7241
  11700. 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."
  11701. msgstr ""
  11702. #. type: Plain text
  11703. #: guix-git/doc/guix.texi:7245
  11704. 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."
  11705. msgstr ""
  11706. #. type: cindex
  11707. #: guix-git/doc/guix.texi:7246
  11708. #, no-wrap
  11709. msgid "bag (low-level package representation)"
  11710. msgstr ""
  11711. #. type: Plain text
  11712. #: guix-git/doc/guix.texi:7256
  11713. 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}})."
  11714. msgstr ""
  11715. #. type: Plain text
  11716. #: guix-git/doc/guix.texi:7264
  11717. 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})."
  11718. msgstr ""
  11719. #. type: Plain text
  11720. #: guix-git/doc/guix.texi:7268
  11721. 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."
  11722. msgstr ""
  11723. #. type: defvr
  11724. #: guix-git/doc/guix.texi:7269
  11725. #, no-wrap
  11726. msgid "{Scheme Variable} gnu-build-system"
  11727. msgstr ""
  11728. #. type: defvr
  11729. #: guix-git/doc/guix.texi:7273
  11730. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  11731. msgstr ""
  11732. #. type: cindex
  11733. #: guix-git/doc/guix.texi:7274 guix-git/doc/guix.texi:8200
  11734. #: guix-git/doc/guix.texi:8655
  11735. #, no-wrap
  11736. msgid "build phases"
  11737. msgstr ""
  11738. #. type: defvr
  11739. #: guix-git/doc/guix.texi:7281
  11740. 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."
  11741. msgstr ""
  11742. #. type: defvr
  11743. #: guix-git/doc/guix.texi:7288
  11744. 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."
  11745. msgstr ""
  11746. #. type: defvr
  11747. #: guix-git/doc/guix.texi:7292
  11748. 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:"
  11749. msgstr ""
  11750. #. type: item
  11751. #: guix-git/doc/guix.texi:7294
  11752. #, no-wrap
  11753. msgid "#:phases"
  11754. msgstr ""
  11755. #. type: table
  11756. #: guix-git/doc/guix.texi:7297
  11757. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  11758. msgstr ""
  11759. #. type: item
  11760. #: guix-git/doc/guix.texi:7298
  11761. #, fuzzy, no-wrap
  11762. #| msgid "configure"
  11763. msgid "#:configure-flags"
  11764. msgstr "설정"
  11765. #. type: table
  11766. #: guix-git/doc/guix.texi:7301
  11767. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  11768. msgstr ""
  11769. #. type: item
  11770. #: guix-git/doc/guix.texi:7302
  11771. #, no-wrap
  11772. msgid "#:make-flags"
  11773. msgstr ""
  11774. #. type: table
  11775. #: guix-git/doc/guix.texi:7306
  11776. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  11777. msgstr ""
  11778. #. type: item
  11779. #: guix-git/doc/guix.texi:7307
  11780. #, no-wrap
  11781. msgid "#:out-of-source?"
  11782. msgstr ""
  11783. #. type: table
  11784. #: guix-git/doc/guix.texi:7310
  11785. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  11786. msgstr ""
  11787. #. type: table
  11788. #: guix-git/doc/guix.texi:7315
  11789. 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}."
  11790. msgstr ""
  11791. #. type: item
  11792. #: guix-git/doc/guix.texi:7316
  11793. #, no-wrap
  11794. msgid "#:tests?"
  11795. msgstr ""
  11796. #. type: table
  11797. #: guix-git/doc/guix.texi:7319
  11798. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  11799. msgstr ""
  11800. #. type: item
  11801. #: guix-git/doc/guix.texi:7320
  11802. #, fuzzy, no-wrap
  11803. #| msgid "target"
  11804. msgid "#:test-target"
  11805. msgstr "대상"
  11806. #. type: table
  11807. #: guix-git/doc/guix.texi:7323
  11808. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  11809. msgstr ""
  11810. #. type: item
  11811. #: guix-git/doc/guix.texi:7324
  11812. #, no-wrap
  11813. msgid "#:parallel-build?"
  11814. msgstr ""
  11815. #. type: itemx
  11816. #: guix-git/doc/guix.texi:7325
  11817. #, no-wrap
  11818. msgid "#:parallel-tests?"
  11819. msgstr ""
  11820. #. type: table
  11821. #: guix-git/doc/guix.texi:7332
  11822. 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}})."
  11823. msgstr ""
  11824. #. type: cindex
  11825. #: guix-git/doc/guix.texi:7333
  11826. #, no-wrap
  11827. msgid "RUNPATH, validation"
  11828. msgstr ""
  11829. #. type: item
  11830. #: guix-git/doc/guix.texi:7334
  11831. #, no-wrap
  11832. msgid "#:validate-runpath?"
  11833. msgstr ""
  11834. #. type: table
  11835. #: guix-git/doc/guix.texi:7338
  11836. 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."
  11837. msgstr ""
  11838. #. type: table
  11839. #: guix-git/doc/guix.texi:7346
  11840. 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}."
  11841. msgstr ""
  11842. #. type: item
  11843. #: guix-git/doc/guix.texi:7347
  11844. #, no-wrap
  11845. msgid "#:substitutable?"
  11846. msgstr "#:대체할 수 있는?"
  11847. #. type: table
  11848. #: guix-git/doc/guix.texi:7351
  11849. 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})."
  11850. msgstr ""
  11851. #. type: item
  11852. #: guix-git/doc/guix.texi:7352
  11853. #, fuzzy, no-wrap
  11854. #| msgid "--references"
  11855. msgid "#:allowed-references"
  11856. msgstr "--references"
  11857. #. type: itemx
  11858. #: guix-git/doc/guix.texi:7353
  11859. #, fuzzy, no-wrap
  11860. #| msgid "--references"
  11861. msgid "#:disallowed-references"
  11862. msgstr "--references"
  11863. #. type: table
  11864. #: guix-git/doc/guix.texi:7358
  11865. 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."
  11866. msgstr ""
  11867. #. type: table
  11868. #: guix-git/doc/guix.texi:7363
  11869. 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})."
  11870. msgstr ""
  11871. #. type: defvr
  11872. #: guix-git/doc/guix.texi:7366
  11873. msgid "Most other build systems support these keyword arguments."
  11874. msgstr ""
  11875. #. type: Plain text
  11876. #: guix-git/doc/guix.texi:7373
  11877. 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."
  11878. msgstr ""
  11879. #. type: defvr
  11880. #: guix-git/doc/guix.texi:7374
  11881. #, no-wrap
  11882. msgid "{Scheme Variable} ant-build-system"
  11883. msgstr ""
  11884. #. type: defvr
  11885. #: guix-git/doc/guix.texi:7378
  11886. 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}."
  11887. msgstr ""
  11888. #. type: defvr
  11889. #: guix-git/doc/guix.texi:7383
  11890. 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."
  11891. msgstr ""
  11892. #. type: defvr
  11893. #: guix-git/doc/guix.texi:7389
  11894. 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''."
  11895. msgstr ""
  11896. #. type: defvr
  11897. #: guix-git/doc/guix.texi:7397
  11898. 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."
  11899. msgstr ""
  11900. #. type: defvr
  11901. #: guix-git/doc/guix.texi:7401
  11902. 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."
  11903. msgstr ""
  11904. #. type: defvr
  11905. #: guix-git/doc/guix.texi:7404
  11906. #, no-wrap
  11907. msgid "{Scheme Variable} android-ndk-build-system"
  11908. msgstr ""
  11909. #. type: cindex
  11910. #: guix-git/doc/guix.texi:7405
  11911. #, no-wrap
  11912. msgid "Android distribution"
  11913. msgstr ""
  11914. #. type: cindex
  11915. #: guix-git/doc/guix.texi:7406
  11916. #, no-wrap
  11917. msgid "Android NDK build system"
  11918. msgstr ""
  11919. #. type: defvr
  11920. #: guix-git/doc/guix.texi:7410
  11921. 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."
  11922. msgstr ""
  11923. #. type: defvr
  11924. #: guix-git/doc/guix.texi:7414
  11925. 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."
  11926. msgstr ""
  11927. #. type: defvr
  11928. #: guix-git/doc/guix.texi:7417
  11929. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  11930. msgstr ""
  11931. #. type: defvr
  11932. #: guix-git/doc/guix.texi:7420
  11933. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  11934. msgstr ""
  11935. #. type: defvr
  11936. #: guix-git/doc/guix.texi:7423
  11937. #, no-wrap
  11938. msgid "{Scheme Variable} asdf-build-system/source"
  11939. msgstr ""
  11940. #. type: defvrx
  11941. #: guix-git/doc/guix.texi:7424
  11942. #, no-wrap
  11943. msgid "{Scheme Variable} asdf-build-system/sbcl"
  11944. msgstr ""
  11945. #. type: defvrx
  11946. #: guix-git/doc/guix.texi:7425
  11947. #, no-wrap
  11948. msgid "{Scheme Variable} asdf-build-system/ecl"
  11949. msgstr ""
  11950. #. type: defvr
  11951. #: guix-git/doc/guix.texi:7431
  11952. 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."
  11953. msgstr ""
  11954. #. type: defvr
  11955. #: guix-git/doc/guix.texi:7438
  11956. 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."
  11957. msgstr ""
  11958. #. type: defvr
  11959. #: guix-git/doc/guix.texi:7442
  11960. 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}."
  11961. msgstr ""
  11962. #. type: defvr
  11963. #: guix-git/doc/guix.texi:7446
  11964. 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."
  11965. msgstr ""
  11966. #. type: defvr
  11967. #: guix-git/doc/guix.texi:7454
  11968. 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."
  11969. msgstr ""
  11970. #. type: defvr
  11971. #: guix-git/doc/guix.texi:7463
  11972. 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."
  11973. msgstr ""
  11974. #. type: defvr
  11975. #: guix-git/doc/guix.texi:7468
  11976. 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."
  11977. msgstr ""
  11978. #. type: defvr
  11979. #: guix-git/doc/guix.texi:7471
  11980. #, no-wrap
  11981. msgid "{Scheme Variable} cargo-build-system"
  11982. msgstr ""
  11983. #. type: cindex
  11984. #: guix-git/doc/guix.texi:7472
  11985. #, no-wrap
  11986. msgid "Rust programming language"
  11987. msgstr ""
  11988. #. type: cindex
  11989. #: guix-git/doc/guix.texi:7473
  11990. #, no-wrap
  11991. msgid "Cargo (Rust build system)"
  11992. msgstr ""
  11993. #. type: defvr
  11994. #: guix-git/doc/guix.texi:7477
  11995. 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}."
  11996. msgstr ""
  11997. #. type: defvr
  11998. #: guix-git/doc/guix.texi:7480
  11999. 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."
  12000. msgstr ""
  12001. #. type: defvr
  12002. #: guix-git/doc/guix.texi:7490
  12003. 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."
  12004. msgstr ""
  12005. #. type: defvr
  12006. #: guix-git/doc/guix.texi:7500
  12007. 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."
  12008. msgstr ""
  12009. #. type: defvr
  12010. #: guix-git/doc/guix.texi:7502
  12011. #, no-wrap
  12012. msgid "{Scheme Variable} chicken-build-system"
  12013. msgstr ""
  12014. #. type: defvr
  12015. #: guix-git/doc/guix.texi:7507
  12016. 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."
  12017. msgstr ""
  12018. #. type: defvr
  12019. #: guix-git/doc/guix.texi:7510
  12020. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  12021. msgstr ""
  12022. #. type: defvr
  12023. #: guix-git/doc/guix.texi:7514
  12024. 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."
  12025. msgstr ""
  12026. #. type: defvr
  12027. #: guix-git/doc/guix.texi:7516
  12028. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  12029. msgstr ""
  12030. #. type: lisp
  12031. #: guix-git/doc/guix.texi:7519
  12032. #, no-wrap
  12033. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  12034. msgstr ""
  12035. #. type: defvr
  12036. #: guix-git/doc/guix.texi:7524
  12037. 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."
  12038. msgstr ""
  12039. #. type: defvr
  12040. #: guix-git/doc/guix.texi:7526
  12041. #, no-wrap
  12042. msgid "{Scheme Variable} copy-build-system"
  12043. msgstr ""
  12044. #. type: defvr
  12045. #: guix-git/doc/guix.texi:7530
  12046. 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."
  12047. msgstr ""
  12048. #. type: defvr
  12049. #: guix-git/doc/guix.texi:7535
  12050. 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}."
  12051. msgstr ""
  12052. #. type: defvr
  12053. #: guix-git/doc/guix.texi:7540
  12054. 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."
  12055. msgstr ""
  12056. #. type: item
  12057. #: guix-git/doc/guix.texi:7542
  12058. #, no-wrap
  12059. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  12060. msgstr ""
  12061. #. type: item
  12062. #: guix-git/doc/guix.texi:7544
  12063. #, no-wrap
  12064. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  12065. msgstr ""
  12066. #. type: item
  12067. #: guix-git/doc/guix.texi:7545
  12068. #, no-wrap
  12069. msgid "Otherwise install @var{source} as @var{target}."
  12070. msgstr ""
  12071. #. type: item
  12072. #: guix-git/doc/guix.texi:7548
  12073. #, no-wrap
  12074. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  12075. msgstr ""
  12076. #. type: itemize
  12077. #: guix-git/doc/guix.texi:7551
  12078. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  12079. msgstr ""
  12080. #. type: item
  12081. #: guix-git/doc/guix.texi:7552
  12082. #, no-wrap
  12083. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12084. msgstr ""
  12085. #. type: item
  12086. #: guix-git/doc/guix.texi:7553
  12087. #, no-wrap
  12088. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12089. msgstr ""
  12090. #. type: itemize
  12091. #: guix-git/doc/guix.texi:7556
  12092. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12093. msgstr ""
  12094. #. type: item
  12095. #: guix-git/doc/guix.texi:7557
  12096. #, no-wrap
  12097. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12098. msgstr ""
  12099. #. type: itemize
  12100. #: guix-git/doc/guix.texi:7559
  12101. msgid "at least one of the elements in the given list."
  12102. msgstr ""
  12103. #. type: item
  12104. #: guix-git/doc/guix.texi:7559
  12105. #, no-wrap
  12106. msgid "With @code{#:include-regexp}, install all the files which the"
  12107. msgstr ""
  12108. #. type: itemize
  12109. #: guix-git/doc/guix.texi:7562
  12110. msgid "subpaths match at least one of the regular expressions in the given list."
  12111. msgstr ""
  12112. #. type: item
  12113. #: guix-git/doc/guix.texi:7562
  12114. #, no-wrap
  12115. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12116. msgstr ""
  12117. #. type: itemize
  12118. #: guix-git/doc/guix.texi:7567
  12119. 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."
  12120. msgstr ""
  12121. #. type: itemize
  12122. #: guix-git/doc/guix.texi:7571
  12123. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12124. msgstr ""
  12125. #. type: defvr
  12126. #: guix-git/doc/guix.texi:7574
  12127. msgid "Examples:"
  12128. msgstr "예:"
  12129. #. type: item
  12130. #: guix-git/doc/guix.texi:7576
  12131. #, no-wrap
  12132. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12133. msgstr ""
  12134. #. type: item
  12135. #: guix-git/doc/guix.texi:7577
  12136. #, no-wrap
  12137. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12138. msgstr ""
  12139. #. type: item
  12140. #: guix-git/doc/guix.texi:7578
  12141. #, no-wrap
  12142. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12143. msgstr ""
  12144. #. type: itemize
  12145. #: guix-git/doc/guix.texi:7580
  12146. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12147. msgstr ""
  12148. #. type: item
  12149. #: guix-git/doc/guix.texi:7580
  12150. #, no-wrap
  12151. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12152. msgstr ""
  12153. #. type: itemize
  12154. #: guix-git/doc/guix.texi:7582
  12155. msgid "@file{share/my-app/sub/file}."
  12156. msgstr ""
  12157. #. type: item
  12158. #: guix-git/doc/guix.texi:7582
  12159. #, no-wrap
  12160. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12161. msgstr ""
  12162. #. type: itemize
  12163. #: guix-git/doc/guix.texi:7584
  12164. msgid "@file{share/my-app/file}."
  12165. msgstr ""
  12166. #. type: cindex
  12167. #: guix-git/doc/guix.texi:7588
  12168. #, no-wrap
  12169. msgid "Clojure (programming language)"
  12170. msgstr ""
  12171. #. type: cindex
  12172. #: guix-git/doc/guix.texi:7589
  12173. #, no-wrap
  12174. msgid "simple Clojure build system"
  12175. msgstr ""
  12176. #. type: defvr
  12177. #: guix-git/doc/guix.texi:7590
  12178. #, no-wrap
  12179. msgid "{Scheme Variable} clojure-build-system"
  12180. msgstr ""
  12181. #. type: defvr
  12182. #: guix-git/doc/guix.texi:7595
  12183. 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."
  12184. msgstr ""
  12185. #. type: defvr
  12186. #: guix-git/doc/guix.texi:7599
  12187. 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."
  12188. msgstr ""
  12189. #. type: defvr
  12190. #: guix-git/doc/guix.texi:7605
  12191. 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."
  12192. msgstr ""
  12193. #. type: defvr
  12194. #: guix-git/doc/guix.texi:7608
  12195. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12196. msgstr ""
  12197. #. type: item
  12198. #: guix-git/doc/guix.texi:7611 guix-git/doc/guix.texi:8163
  12199. #: guix-git/doc/guix.texi:8210 guix-git/doc/guix.texi:8279
  12200. #: guix-git/doc/guix.texi:32905
  12201. #, no-wrap
  12202. msgid "build"
  12203. msgstr ""
  12204. #. type: table
  12205. #: guix-git/doc/guix.texi:7620
  12206. 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."
  12207. msgstr ""
  12208. #. type: item
  12209. #: guix-git/doc/guix.texi:7621 guix-git/doc/guix.texi:8167
  12210. #: guix-git/doc/guix.texi:8284
  12211. #, no-wrap
  12212. msgid "check"
  12213. msgstr ""
  12214. #. type: table
  12215. #: guix-git/doc/guix.texi:7628
  12216. 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."
  12217. msgstr ""
  12218. #. type: item
  12219. #: guix-git/doc/guix.texi:7629 guix-git/doc/guix.texi:8171
  12220. #: guix-git/doc/guix.texi:8214 guix-git/doc/guix.texi:8290
  12221. #, no-wrap
  12222. msgid "install"
  12223. msgstr "설치"
  12224. #. type: table
  12225. #: guix-git/doc/guix.texi:7631
  12226. msgid "This phase installs all jars built previously."
  12227. msgstr ""
  12228. #. type: defvr
  12229. #: guix-git/doc/guix.texi:7634
  12230. msgid "Apart from the above, this build system also contains an additional phase:"
  12231. msgstr ""
  12232. #. type: item
  12233. #: guix-git/doc/guix.texi:7637
  12234. #, no-wrap
  12235. msgid "install-doc"
  12236. msgstr ""
  12237. #. type: table
  12238. #: guix-git/doc/guix.texi:7642
  12239. 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."
  12240. msgstr ""
  12241. #. type: defvr
  12242. #: guix-git/doc/guix.texi:7645
  12243. #, no-wrap
  12244. msgid "{Scheme Variable} cmake-build-system"
  12245. msgstr ""
  12246. #. type: defvr
  12247. #: guix-git/doc/guix.texi:7649
  12248. 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}."
  12249. msgstr ""
  12250. #. type: defvr
  12251. #: guix-git/doc/guix.texi:7653
  12252. 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."
  12253. msgstr ""
  12254. #. type: defvr
  12255. #: guix-git/doc/guix.texi:7660
  12256. 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."
  12257. msgstr ""
  12258. #. type: defvr
  12259. #: guix-git/doc/guix.texi:7662
  12260. #, no-wrap
  12261. msgid "{Scheme Variable} dune-build-system"
  12262. msgstr ""
  12263. #. type: defvr
  12264. #: guix-git/doc/guix.texi:7669
  12265. 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."
  12266. msgstr ""
  12267. #. type: defvr
  12268. #: guix-git/doc/guix.texi:7673
  12269. 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."
  12270. msgstr ""
  12271. #. type: defvr
  12272. #: guix-git/doc/guix.texi:7677
  12273. 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."
  12274. msgstr ""
  12275. #. type: defvr
  12276. #: guix-git/doc/guix.texi:7681
  12277. 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}."
  12278. msgstr ""
  12279. #. type: defvr
  12280. #: guix-git/doc/guix.texi:7686
  12281. 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}."
  12282. msgstr ""
  12283. #. type: defvr
  12284. #: guix-git/doc/guix.texi:7688
  12285. #, no-wrap
  12286. msgid "{Scheme Variable} go-build-system"
  12287. msgstr ""
  12288. #. type: defvr
  12289. #: guix-git/doc/guix.texi:7693
  12290. 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}."
  12291. msgstr ""
  12292. #. type: defvr
  12293. #: guix-git/doc/guix.texi:7704
  12294. 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."
  12295. msgstr ""
  12296. #. type: defvr
  12297. #: guix-git/doc/guix.texi:7709
  12298. 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."
  12299. msgstr ""
  12300. #. type: defvr
  12301. #: guix-git/doc/guix.texi:7711
  12302. #, no-wrap
  12303. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12304. msgstr ""
  12305. #. type: defvr
  12306. #: guix-git/doc/guix.texi:7714
  12307. 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+."
  12308. msgstr ""
  12309. #. type: defvr
  12310. #: guix-git/doc/guix.texi:7717
  12311. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12312. msgstr ""
  12313. #. type: item
  12314. #: guix-git/doc/guix.texi:7719 guix-git/doc/guix.texi:8187
  12315. #, no-wrap
  12316. msgid "glib-or-gtk-wrap"
  12317. msgstr ""
  12318. #. type: table
  12319. #: guix-git/doc/guix.texi:7726
  12320. 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."
  12321. msgstr ""
  12322. #. type: table
  12323. #: guix-git/doc/guix.texi:7733
  12324. 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+."
  12325. msgstr ""
  12326. #. type: item
  12327. #: guix-git/doc/guix.texi:7734 guix-git/doc/guix.texi:8191
  12328. #, no-wrap
  12329. msgid "glib-or-gtk-compile-schemas"
  12330. msgstr ""
  12331. #. type: table
  12332. #: guix-git/doc/guix.texi:7742
  12333. 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."
  12334. msgstr ""
  12335. #. type: defvr
  12336. #: guix-git/doc/guix.texi:7745
  12337. msgid "Both phases are executed after the @code{install} phase."
  12338. msgstr ""
  12339. #. type: defvr
  12340. #: guix-git/doc/guix.texi:7747
  12341. #, no-wrap
  12342. msgid "{Scheme Variable} guile-build-system"
  12343. msgstr ""
  12344. #. type: defvr
  12345. #: guix-git/doc/guix.texi:7754
  12346. 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."
  12347. msgstr ""
  12348. #. type: defvr
  12349. #: guix-git/doc/guix.texi:7757
  12350. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12351. msgstr ""
  12352. #. type: defvr
  12353. #: guix-git/doc/guix.texi:7760
  12354. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12355. msgstr ""
  12356. #. type: defvr
  12357. #: guix-git/doc/guix.texi:7762
  12358. #, no-wrap
  12359. msgid "{Scheme Variable} julia-build-system"
  12360. msgstr ""
  12361. #. type: defvr
  12362. #: guix-git/doc/guix.texi:7769
  12363. 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}."
  12364. msgstr ""
  12365. #. type: defvr
  12366. #: guix-git/doc/guix.texi:7773
  12367. 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)."
  12368. msgstr ""
  12369. #. type: defvr
  12370. #: guix-git/doc/guix.texi:7777
  12371. 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}."
  12372. msgstr ""
  12373. #. type: defvr
  12374. #: guix-git/doc/guix.texi:7782
  12375. 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."
  12376. msgstr ""
  12377. #. type: defvr
  12378. #: guix-git/doc/guix.texi:7786
  12379. 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:"
  12380. msgstr ""
  12381. #. type: lisp
  12382. #: guix-git/doc/guix.texi:7798
  12383. #, no-wrap
  12384. msgid ""
  12385. "(add-after 'unpack 'override-binary-path\n"
  12386. " (lambda* (#:key inputs #:allow-other-keys)\n"
  12387. " (for-each (lambda (wrapper)\n"
  12388. " (substitute* wrapper\n"
  12389. " ((\"generate_wrapper_header.*\")\n"
  12390. " (string-append\n"
  12391. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  12392. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  12393. " ;; There's a Julia file for each platform, override them all.\n"
  12394. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  12395. msgstr ""
  12396. #. type: defvr
  12397. #: guix-git/doc/guix.texi:7806
  12398. 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."
  12399. msgstr ""
  12400. #. type: defvr
  12401. #: guix-git/doc/guix.texi:7808
  12402. #, no-wrap
  12403. msgid "{Scheme Variable} maven-build-system"
  12404. msgstr ""
  12405. #. type: defvr
  12406. #: guix-git/doc/guix.texi:7815
  12407. 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."
  12408. msgstr ""
  12409. #. type: defvr
  12410. #: guix-git/doc/guix.texi:7825
  12411. 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."
  12412. msgstr ""
  12413. #. type: defvr
  12414. #: guix-git/doc/guix.texi:7828
  12415. 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."
  12416. msgstr ""
  12417. #. type: defvr
  12418. #: guix-git/doc/guix.texi:7834
  12419. 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}."
  12420. msgstr ""
  12421. #. type: defvr
  12422. #: guix-git/doc/guix.texi:7840
  12423. 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."
  12424. msgstr ""
  12425. #. type: defvr
  12426. #: guix-git/doc/guix.texi:7843
  12427. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  12428. msgstr ""
  12429. #. type: defvr
  12430. #: guix-git/doc/guix.texi:7848
  12431. 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."
  12432. msgstr ""
  12433. #. type: defvr
  12434. #: guix-git/doc/guix.texi:7850
  12435. #, no-wrap
  12436. msgid "{Scheme Variable} minify-build-system"
  12437. msgstr ""
  12438. #. type: defvr
  12439. #: guix-git/doc/guix.texi:7853
  12440. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  12441. msgstr ""
  12442. #. type: defvr
  12443. #: guix-git/doc/guix.texi:7859
  12444. 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."
  12445. msgstr ""
  12446. #. type: defvr
  12447. #: guix-git/doc/guix.texi:7863
  12448. 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."
  12449. msgstr ""
  12450. #. type: defvr
  12451. #: guix-git/doc/guix.texi:7865
  12452. #, no-wrap
  12453. msgid "{Scheme Variable} ocaml-build-system"
  12454. msgstr ""
  12455. #. type: defvr
  12456. #: guix-git/doc/guix.texi:7871
  12457. 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."
  12458. msgstr ""
  12459. #. type: defvr
  12460. #: guix-git/doc/guix.texi:7881
  12461. 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."
  12462. msgstr ""
  12463. #. type: defvr
  12464. #: guix-git/doc/guix.texi:7886
  12465. 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."
  12466. msgstr ""
  12467. #. type: defvr
  12468. #: guix-git/doc/guix.texi:7890
  12469. 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."
  12470. msgstr ""
  12471. #. type: defvr
  12472. #: guix-git/doc/guix.texi:7898
  12473. 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."
  12474. msgstr ""
  12475. #. type: defvr
  12476. #: guix-git/doc/guix.texi:7906
  12477. 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."
  12478. msgstr ""
  12479. #. type: defvr
  12480. #: guix-git/doc/guix.texi:7908
  12481. #, no-wrap
  12482. msgid "{Scheme Variable} python-build-system"
  12483. msgstr ""
  12484. #. type: defvr
  12485. #: guix-git/doc/guix.texi:7913
  12486. 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{}}."
  12487. msgstr ""
  12488. #. type: defvr
  12489. #: guix-git/doc/guix.texi:7917
  12490. 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."
  12491. msgstr ""
  12492. #. type: defvr
  12493. #: guix-git/doc/guix.texi:7923
  12494. 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."
  12495. msgstr ""
  12496. #. type: defvr
  12497. #: guix-git/doc/guix.texi:7928
  12498. 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}."
  12499. msgstr ""
  12500. #. type: defvr
  12501. #: guix-git/doc/guix.texi:7930
  12502. #, no-wrap
  12503. msgid "{Scheme Variable} perl-build-system"
  12504. msgstr ""
  12505. #. type: defvr
  12506. #: guix-git/doc/guix.texi:7942
  12507. 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."
  12508. msgstr ""
  12509. #. type: defvr
  12510. #: guix-git/doc/guix.texi:7946
  12511. 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."
  12512. msgstr ""
  12513. #. type: defvr
  12514. #: guix-git/doc/guix.texi:7948
  12515. msgid "Which Perl package is used can be specified with @code{#:perl}."
  12516. msgstr ""
  12517. #. type: defvr
  12518. #: guix-git/doc/guix.texi:7950
  12519. #, no-wrap
  12520. msgid "{Scheme Variable} renpy-build-system"
  12521. msgstr ""
  12522. #. type: defvr
  12523. #: guix-git/doc/guix.texi:7954
  12524. 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."
  12525. msgstr ""
  12526. #. type: defvr
  12527. #: guix-git/doc/guix.texi:7957
  12528. 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."
  12529. msgstr ""
  12530. #. type: defvr
  12531. #: guix-git/doc/guix.texi:7961
  12532. 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}."
  12533. msgstr ""
  12534. #. type: defvr
  12535. #: guix-git/doc/guix.texi:7963
  12536. #, no-wrap
  12537. msgid "{Scheme Variable} qt-build-system"
  12538. msgstr ""
  12539. #. type: defvr
  12540. #: guix-git/doc/guix.texi:7966
  12541. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  12542. msgstr ""
  12543. #. type: defvr
  12544. #: guix-git/doc/guix.texi:7969
  12545. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  12546. msgstr ""
  12547. #. type: item
  12548. #: guix-git/doc/guix.texi:7971
  12549. #, no-wrap
  12550. msgid "check-setup"
  12551. msgstr ""
  12552. #. type: table
  12553. #: guix-git/doc/guix.texi:7978
  12554. 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}."
  12555. msgstr ""
  12556. #. type: table
  12557. #: guix-git/doc/guix.texi:7981
  12558. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  12559. msgstr ""
  12560. #. type: item
  12561. #: guix-git/doc/guix.texi:7982
  12562. #, no-wrap
  12563. msgid "qt-wrap"
  12564. msgstr ""
  12565. #. type: table
  12566. #: guix-git/doc/guix.texi:7988
  12567. 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."
  12568. msgstr ""
  12569. #. type: table
  12570. #: guix-git/doc/guix.texi:7994
  12571. 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."
  12572. msgstr ""
  12573. #. type: table
  12574. #: guix-git/doc/guix.texi:7996
  12575. msgid "This phase is added after the @code{install} phase."
  12576. msgstr ""
  12577. #. type: defvr
  12578. #: guix-git/doc/guix.texi:7999
  12579. #, no-wrap
  12580. msgid "{Scheme Variable} r-build-system"
  12581. msgstr ""
  12582. #. type: defvr
  12583. #: guix-git/doc/guix.texi:8007
  12584. 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}."
  12585. msgstr ""
  12586. #. type: defvr
  12587. #: guix-git/doc/guix.texi:8009
  12588. #, no-wrap
  12589. msgid "{Scheme Variable} rakudo-build-system"
  12590. msgstr ""
  12591. #. type: defvr
  12592. #: guix-git/doc/guix.texi:8017
  12593. 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."
  12594. msgstr ""
  12595. #. type: defvr
  12596. #: guix-git/doc/guix.texi:8025
  12597. 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."
  12598. msgstr ""
  12599. #. type: defvr
  12600. #: guix-git/doc/guix.texi:8027
  12601. #, no-wrap
  12602. msgid "{Scheme Variable} texlive-build-system"
  12603. msgstr ""
  12604. #. type: defvr
  12605. #: guix-git/doc/guix.texi:8032
  12606. 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."
  12607. msgstr ""
  12608. #. type: defvr
  12609. #: guix-git/doc/guix.texi:8041
  12610. 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."
  12611. msgstr ""
  12612. #. type: defvr
  12613. #: guix-git/doc/guix.texi:8044
  12614. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  12615. msgstr ""
  12616. #. type: defvr
  12617. #: guix-git/doc/guix.texi:8046
  12618. #, no-wrap
  12619. msgid "{Scheme Variable} ruby-build-system"
  12620. msgstr ""
  12621. #. type: defvr
  12622. #: guix-git/doc/guix.texi:8050
  12623. 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}."
  12624. msgstr ""
  12625. #. type: defvr
  12626. #: guix-git/doc/guix.texi:8058
  12627. 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."
  12628. msgstr ""
  12629. #. type: defvr
  12630. #: guix-git/doc/guix.texi:8062
  12631. 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."
  12632. msgstr ""
  12633. #. type: defvr
  12634. #: guix-git/doc/guix.texi:8064
  12635. #, no-wrap
  12636. msgid "{Scheme Variable} waf-build-system"
  12637. msgstr ""
  12638. #. type: defvr
  12639. #: guix-git/doc/guix.texi:8070
  12640. 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."
  12641. msgstr ""
  12642. #. type: defvr
  12643. #: guix-git/doc/guix.texi:8074
  12644. 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."
  12645. msgstr ""
  12646. #. type: defvr
  12647. #: guix-git/doc/guix.texi:8076
  12648. #, no-wrap
  12649. msgid "{Scheme Variable} scons-build-system"
  12650. msgstr ""
  12651. #. type: defvr
  12652. #: guix-git/doc/guix.texi:8082
  12653. 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."
  12654. msgstr ""
  12655. #. type: defvr
  12656. #: guix-git/doc/guix.texi:8089
  12657. 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."
  12658. msgstr ""
  12659. #. type: defvr
  12660. #: guix-git/doc/guix.texi:8091
  12661. #, no-wrap
  12662. msgid "{Scheme Variable} haskell-build-system"
  12663. msgstr ""
  12664. #. type: defvr
  12665. #: guix-git/doc/guix.texi:8105
  12666. 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."
  12667. msgstr ""
  12668. #. type: defvr
  12669. #: guix-git/doc/guix.texi:8108
  12670. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  12671. msgstr ""
  12672. #. type: defvr
  12673. #: guix-git/doc/guix.texi:8110
  12674. #, no-wrap
  12675. msgid "{Scheme Variable} dub-build-system"
  12676. msgstr ""
  12677. #. type: defvr
  12678. #: guix-git/doc/guix.texi:8115
  12679. 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."
  12680. msgstr ""
  12681. #. type: defvr
  12682. #: guix-git/doc/guix.texi:8118
  12683. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  12684. msgstr ""
  12685. #. type: anchor{#1}
  12686. #: guix-git/doc/guix.texi:8121
  12687. msgid "emacs-build-system"
  12688. msgstr ""
  12689. #. type: defvr
  12690. #: guix-git/doc/guix.texi:8121
  12691. #, no-wrap
  12692. msgid "{Scheme Variable} emacs-build-system"
  12693. msgstr ""
  12694. #. type: defvr
  12695. #: guix-git/doc/guix.texi:8125
  12696. 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})."
  12697. msgstr ""
  12698. #. type: defvr
  12699. #: guix-git/doc/guix.texi:8131
  12700. 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}."
  12701. msgstr ""
  12702. #. type: defvr
  12703. #: guix-git/doc/guix.texi:8133
  12704. #, no-wrap
  12705. msgid "{Scheme Variable} font-build-system"
  12706. msgstr ""
  12707. #. type: defvr
  12708. #: guix-git/doc/guix.texi:8139
  12709. 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."
  12710. msgstr ""
  12711. #. type: defvr
  12712. #: guix-git/doc/guix.texi:8141
  12713. #, no-wrap
  12714. msgid "{Scheme Variable} meson-build-system"
  12715. msgstr ""
  12716. #. type: defvr
  12717. #: guix-git/doc/guix.texi:8145
  12718. 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."
  12719. msgstr ""
  12720. #. type: defvr
  12721. #: guix-git/doc/guix.texi:8151
  12722. 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."
  12723. msgstr ""
  12724. #. type: defvr
  12725. #: guix-git/doc/guix.texi:8154
  12726. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  12727. msgstr ""
  12728. #. type: item
  12729. #: guix-git/doc/guix.texi:8157 guix-git/doc/guix.texi:8206
  12730. #: guix-git/doc/guix.texi:8274
  12731. #, no-wrap
  12732. msgid "configure"
  12733. msgstr "설정"
  12734. #. type: table
  12735. #: guix-git/doc/guix.texi:8162
  12736. 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}."
  12737. msgstr ""
  12738. #. type: table
  12739. #: guix-git/doc/guix.texi:8166
  12740. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  12741. msgstr ""
  12742. #. type: table
  12743. #: guix-git/doc/guix.texi:8170
  12744. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  12745. msgstr ""
  12746. #. type: table
  12747. #: guix-git/doc/guix.texi:8173
  12748. msgid "The phase runs @code{ninja install} and can not be changed."
  12749. msgstr ""
  12750. #. type: defvr
  12751. #: guix-git/doc/guix.texi:8176
  12752. msgid "Apart from that, the build system also adds the following phases:"
  12753. msgstr ""
  12754. #. type: item
  12755. #: guix-git/doc/guix.texi:8179
  12756. #, no-wrap
  12757. msgid "fix-runpath"
  12758. msgstr ""
  12759. #. type: table
  12760. #: guix-git/doc/guix.texi:8186
  12761. 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."
  12762. msgstr ""
  12763. #. type: table
  12764. #: guix-git/doc/guix.texi:8190 guix-git/doc/guix.texi:8194
  12765. 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?}."
  12766. msgstr ""
  12767. #. type: defvr
  12768. #: guix-git/doc/guix.texi:8197
  12769. #, no-wrap
  12770. msgid "{Scheme Variable} linux-module-build-system"
  12771. msgstr ""
  12772. #. type: defvr
  12773. #: guix-git/doc/guix.texi:8199
  12774. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  12775. msgstr ""
  12776. #. type: defvr
  12777. #: guix-git/doc/guix.texi:8203
  12778. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  12779. msgstr ""
  12780. #. type: table
  12781. #: guix-git/doc/guix.texi:8209
  12782. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  12783. msgstr ""
  12784. #. type: table
  12785. #: guix-git/doc/guix.texi:8213
  12786. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  12787. msgstr ""
  12788. #. type: table
  12789. #: guix-git/doc/guix.texi:8217
  12790. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  12791. msgstr ""
  12792. #. type: defvr
  12793. #: guix-git/doc/guix.texi:8222
  12794. 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)."
  12795. msgstr ""
  12796. #. type: defvr
  12797. #: guix-git/doc/guix.texi:8224
  12798. #, no-wrap
  12799. msgid "{Scheme Variable} node-build-system"
  12800. msgstr ""
  12801. #. type: defvr
  12802. #: guix-git/doc/guix.texi:8229
  12803. 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."
  12804. msgstr ""
  12805. #. type: defvr
  12806. #: guix-git/doc/guix.texi:8233
  12807. 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}."
  12808. msgstr ""
  12809. #. type: Plain text
  12810. #: guix-git/doc/guix.texi:8239
  12811. 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."
  12812. msgstr ""
  12813. #. type: defvr
  12814. #: guix-git/doc/guix.texi:8240
  12815. #, no-wrap
  12816. msgid "{Scheme Variable} trivial-build-system"
  12817. msgstr ""
  12818. #. type: defvr
  12819. #: guix-git/doc/guix.texi:8242
  12820. msgid "This variable is exported by @code{(guix build-system trivial)}."
  12821. msgstr ""
  12822. #. type: defvr
  12823. #: guix-git/doc/guix.texi:8247
  12824. 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}})."
  12825. msgstr ""
  12826. #. type: cindex
  12827. #: guix-git/doc/guix.texi:8252
  12828. #, no-wrap
  12829. msgid "build phases, for packages"
  12830. msgstr ""
  12831. #. type: Plain text
  12832. #: guix-git/doc/guix.texi:8258
  12833. 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})."
  12834. msgstr ""
  12835. #. type: Plain text
  12836. #: guix-git/doc/guix.texi:8262
  12837. 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:"
  12838. msgstr ""
  12839. #. type: item
  12840. #: guix-git/doc/guix.texi:8264
  12841. #, no-wrap
  12842. msgid "unpack"
  12843. msgstr ""
  12844. #. type: table
  12845. #: guix-git/doc/guix.texi:8268
  12846. 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."
  12847. msgstr ""
  12848. #. type: item
  12849. #: guix-git/doc/guix.texi:8269
  12850. #, no-wrap
  12851. msgid "patch-source-shebangs"
  12852. msgstr ""
  12853. #. type: table
  12854. #: guix-git/doc/guix.texi:8273
  12855. 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}."
  12856. msgstr ""
  12857. #. type: table
  12858. #: guix-git/doc/guix.texi:8278
  12859. 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."
  12860. msgstr ""
  12861. #. type: table
  12862. #: guix-git/doc/guix.texi:8283
  12863. 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}."
  12864. msgstr ""
  12865. #. type: table
  12866. #: guix-git/doc/guix.texi:8289
  12867. 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}."
  12868. msgstr ""
  12869. #. type: table
  12870. #: guix-git/doc/guix.texi:8292
  12871. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  12872. msgstr ""
  12873. #. type: item
  12874. #: guix-git/doc/guix.texi:8293
  12875. #, no-wrap
  12876. msgid "patch-shebangs"
  12877. msgstr ""
  12878. #. type: table
  12879. #: guix-git/doc/guix.texi:8295
  12880. msgid "Patch shebangs on the installed executable files."
  12881. msgstr ""
  12882. #. type: item
  12883. #: guix-git/doc/guix.texi:8296
  12884. #, no-wrap
  12885. msgid "strip"
  12886. msgstr ""
  12887. #. type: table
  12888. #: guix-git/doc/guix.texi:8300
  12889. 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})."
  12890. msgstr ""
  12891. #. type: Plain text
  12892. #: guix-git/doc/guix.texi:8309
  12893. 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})."
  12894. msgstr ""
  12895. #. type: Plain text
  12896. #: guix-git/doc/guix.texi:8316
  12897. 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."
  12898. msgstr ""
  12899. #. type: vindex
  12900. #: guix-git/doc/guix.texi:8317
  12901. #, no-wrap
  12902. msgid "%standard-phases"
  12903. msgstr ""
  12904. #. type: Plain text
  12905. #: guix-git/doc/guix.texi:8323
  12906. 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!}:"
  12907. msgstr ""
  12908. #. type: lisp
  12909. #: guix-git/doc/guix.texi:8326
  12910. #, no-wrap
  12911. msgid ""
  12912. ";; The build phases of 'gnu-build-system'.\n"
  12913. "\n"
  12914. msgstr ""
  12915. #. type: lisp
  12916. #: guix-git/doc/guix.texi:8330
  12917. #, no-wrap
  12918. msgid ""
  12919. "(define* (unpack #:key source #:allow-other-keys)\n"
  12920. " ;; Extract the source tarball.\n"
  12921. " (invoke \"tar\" \"xvf\" source))\n"
  12922. "\n"
  12923. msgstr ""
  12924. #. type: lisp
  12925. #: guix-git/doc/guix.texi:8336
  12926. #, no-wrap
  12927. msgid ""
  12928. "(define* (configure #:key outputs #:allow-other-keys)\n"
  12929. " ;; Run the 'configure' script. Install to output \"out\".\n"
  12930. " (let ((out (assoc-ref outputs \"out\")))\n"
  12931. " (invoke \"./configure\"\n"
  12932. " (string-append \"--prefix=\" out))))\n"
  12933. "\n"
  12934. msgstr ""
  12935. #. type: lisp
  12936. #: guix-git/doc/guix.texi:8340
  12937. #, no-wrap
  12938. msgid ""
  12939. "(define* (build #:allow-other-keys)\n"
  12940. " ;; Compile.\n"
  12941. " (invoke \"make\"))\n"
  12942. "\n"
  12943. msgstr ""
  12944. #. type: lisp
  12945. #: guix-git/doc/guix.texi:8347
  12946. #, no-wrap
  12947. msgid ""
  12948. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  12949. " #:allow-other-keys)\n"
  12950. " ;; Run the test suite.\n"
  12951. " (if tests?\n"
  12952. " (invoke \"make\" test-target)\n"
  12953. " (display \"test suite not run\\n\")))\n"
  12954. "\n"
  12955. msgstr ""
  12956. #. type: lisp
  12957. #: guix-git/doc/guix.texi:8351
  12958. #, no-wrap
  12959. msgid ""
  12960. "(define* (install #:allow-other-keys)\n"
  12961. " ;; Install files to the prefix 'configure' specified.\n"
  12962. " (invoke \"make\" \"install\"))\n"
  12963. "\n"
  12964. msgstr ""
  12965. #. type: lisp
  12966. #: guix-git/doc/guix.texi:8360
  12967. #, no-wrap
  12968. msgid ""
  12969. "(define %standard-phases\n"
  12970. " ;; The list of standard phases (quite a few are omitted\n"
  12971. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  12972. " (list (cons 'unpack unpack)\n"
  12973. " (cons 'configure configure)\n"
  12974. " (cons 'build build)\n"
  12975. " (cons 'check check)\n"
  12976. " (cons 'install install)))\n"
  12977. msgstr ""
  12978. #. type: Plain text
  12979. #: guix-git/doc/guix.texi:8370
  12980. 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."
  12981. msgstr ""
  12982. #. type: Plain text
  12983. #: guix-git/doc/guix.texi:8376
  12984. 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})."
  12985. msgstr ""
  12986. #. type: Plain text
  12987. #: guix-git/doc/guix.texi:8392
  12988. 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."
  12989. msgstr ""
  12990. #. type: cindex
  12991. #: guix-git/doc/guix.texi:8393
  12992. #, no-wrap
  12993. msgid "build phases, customizing"
  12994. msgstr ""
  12995. #. type: Plain text
  12996. #: guix-git/doc/guix.texi:8402
  12997. 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}})."
  12998. msgstr ""
  12999. #. type: Plain text
  13000. #: guix-git/doc/guix.texi:8407
  13001. 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}:"
  13002. msgstr ""
  13003. #. type: lisp
  13004. #: guix-git/doc/guix.texi:8427
  13005. #, no-wrap
  13006. msgid ""
  13007. "(define-public example\n"
  13008. " (package\n"
  13009. " (name \"example\")\n"
  13010. " ;; other fields omitted\n"
  13011. " (build-system gnu-build-system)\n"
  13012. " (arguments\n"
  13013. " '(#:phases (modify-phases %standard-phases\n"
  13014. " (delete 'configure)\n"
  13015. " (add-before 'build 'set-prefix-in-makefile\n"
  13016. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13017. " ;; Modify the makefile so that its\n"
  13018. " ;; 'PREFIX' variable points to \"out\".\n"
  13019. " (let ((out (assoc-ref outputs \"out\")))\n"
  13020. " (substitute* \"Makefile\"\n"
  13021. " ((\"PREFIX =.*\")\n"
  13022. " (string-append \"PREFIX = \"\n"
  13023. " out \"\\n\")))\n"
  13024. " #true))))))))\n"
  13025. msgstr ""
  13026. #. type: Plain text
  13027. #: guix-git/doc/guix.texi:8433
  13028. 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}."
  13029. msgstr ""
  13030. #. type: cindex
  13031. #: guix-git/doc/guix.texi:8434 guix-git/doc/guix.texi:9407
  13032. #, no-wrap
  13033. msgid "code staging"
  13034. msgstr ""
  13035. #. type: cindex
  13036. #: guix-git/doc/guix.texi:8435 guix-git/doc/guix.texi:9408
  13037. #, no-wrap
  13038. msgid "staging, of code"
  13039. msgstr ""
  13040. #. type: Plain text
  13041. #: guix-git/doc/guix.texi:8442
  13042. 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."
  13043. msgstr ""
  13044. #. type: Plain text
  13045. #: guix-git/doc/guix.texi:8452
  13046. 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."
  13047. msgstr ""
  13048. #. type: Plain text
  13049. #: guix-git/doc/guix.texi:8456
  13050. 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."
  13051. msgstr ""
  13052. #. type: Plain text
  13053. #: guix-git/doc/guix.texi:8461
  13054. 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}):"
  13055. msgstr ""
  13056. #. type: lisp
  13057. #: guix-git/doc/guix.texi:8468
  13058. #, no-wrap
  13059. msgid ""
  13060. "(with-imported-modules '((guix build utils)) ;import it\n"
  13061. " (computed-file \"empty-tree\"\n"
  13062. " #~(begin\n"
  13063. " ;; Put it in scope.\n"
  13064. " (use-modules (guix build utils))\n"
  13065. "\n"
  13066. msgstr ""
  13067. #. type: lisp
  13068. #: guix-git/doc/guix.texi:8471
  13069. #, no-wrap
  13070. msgid ""
  13071. " ;; Happily use its 'mkdir-p' procedure.\n"
  13072. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  13073. msgstr ""
  13074. #. type: Plain text
  13075. #: guix-git/doc/guix.texi:8475
  13076. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  13077. msgstr ""
  13078. #. type: subsection
  13079. #: guix-git/doc/guix.texi:8478
  13080. #, no-wrap
  13081. msgid "Dealing with Store File Names"
  13082. msgstr ""
  13083. #. type: Plain text
  13084. #: guix-git/doc/guix.texi:8481
  13085. msgid "This section documents procedures that deal with store file names."
  13086. msgstr ""
  13087. #. type: deffn
  13088. #: guix-git/doc/guix.texi:8482
  13089. #, no-wrap
  13090. msgid "{Scheme Procedure} %store-directory"
  13091. msgstr ""
  13092. #. type: deffn
  13093. #: guix-git/doc/guix.texi:8484
  13094. msgid "Return the directory name of the store."
  13095. msgstr ""
  13096. #. type: deffn
  13097. #: guix-git/doc/guix.texi:8486
  13098. #, no-wrap
  13099. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13100. msgstr ""
  13101. #. type: deffn
  13102. #: guix-git/doc/guix.texi:8488
  13103. msgid "Return true if @var{file} is in the store."
  13104. msgstr ""
  13105. #. type: deffn
  13106. #: guix-git/doc/guix.texi:8490
  13107. #, no-wrap
  13108. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13109. msgstr ""
  13110. #. type: deffn
  13111. #: guix-git/doc/guix.texi:8493
  13112. 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."
  13113. msgstr ""
  13114. #. type: deffn
  13115. #: guix-git/doc/guix.texi:8495
  13116. #, no-wrap
  13117. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13118. msgstr ""
  13119. #. type: deffn
  13120. #: guix-git/doc/guix.texi:8500
  13121. 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."
  13122. msgstr ""
  13123. #. type: subsection
  13124. #: guix-git/doc/guix.texi:8502
  13125. #, no-wrap
  13126. msgid "File Types"
  13127. msgstr "파일 유형"
  13128. #. type: Plain text
  13129. #: guix-git/doc/guix.texi:8505
  13130. msgid "The procedures below deal with files and file types."
  13131. msgstr ""
  13132. #. type: deffn
  13133. #: guix-git/doc/guix.texi:8506
  13134. #, no-wrap
  13135. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13136. msgstr ""
  13137. #. type: deffn
  13138. #: guix-git/doc/guix.texi:8508
  13139. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13140. msgstr ""
  13141. #. type: deffn
  13142. #: guix-git/doc/guix.texi:8510
  13143. #, no-wrap
  13144. msgid "{Scheme Procedure} executable-file? @var{file}"
  13145. msgstr ""
  13146. #. type: deffn
  13147. #: guix-git/doc/guix.texi:8512
  13148. msgid "Return @code{#t} if @var{file} exists and is executable."
  13149. msgstr ""
  13150. #. type: deffn
  13151. #: guix-git/doc/guix.texi:8514
  13152. #, no-wrap
  13153. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13154. msgstr ""
  13155. #. type: deffn
  13156. #: guix-git/doc/guix.texi:8516
  13157. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13158. msgstr ""
  13159. #. type: deffn
  13160. #: guix-git/doc/guix.texi:8518
  13161. #, no-wrap
  13162. msgid "{Scheme Procedure} elf-file? @var{file}"
  13163. msgstr ""
  13164. #. type: deffnx
  13165. #: guix-git/doc/guix.texi:8519
  13166. #, no-wrap
  13167. msgid "{Scheme Procedure} ar-file? @var{file}"
  13168. msgstr ""
  13169. #. type: deffnx
  13170. #: guix-git/doc/guix.texi:8520
  13171. #, no-wrap
  13172. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13173. msgstr ""
  13174. #. type: deffn
  13175. #: guix-git/doc/guix.texi:8523
  13176. 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."
  13177. msgstr ""
  13178. #. type: deffn
  13179. #: guix-git/doc/guix.texi:8525
  13180. #, no-wrap
  13181. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13182. msgstr ""
  13183. #. type: deffn
  13184. #: guix-git/doc/guix.texi:8529
  13185. 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."
  13186. msgstr ""
  13187. #. type: subsection
  13188. #: guix-git/doc/guix.texi:8531
  13189. #, no-wrap
  13190. msgid "File Manipulation"
  13191. msgstr ""
  13192. #. type: Plain text
  13193. #: guix-git/doc/guix.texi:8538
  13194. 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})."
  13195. msgstr ""
  13196. #. type: deffn
  13197. #: guix-git/doc/guix.texi:8539
  13198. #, no-wrap
  13199. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13200. msgstr ""
  13201. #. type: deffn
  13202. #: guix-git/doc/guix.texi:8541
  13203. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13204. msgstr ""
  13205. #. type: deffn
  13206. #: guix-git/doc/guix.texi:8548
  13207. 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."
  13208. msgstr ""
  13209. #. type: deffn
  13210. #: guix-git/doc/guix.texi:8550
  13211. #, no-wrap
  13212. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13213. msgstr ""
  13214. #. type: deffn
  13215. #: guix-git/doc/guix.texi:8552
  13216. msgid "Create directory @var{dir} and all its ancestors."
  13217. msgstr ""
  13218. #. type: deffn
  13219. #: guix-git/doc/guix.texi:8554
  13220. #, no-wrap
  13221. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13222. msgstr ""
  13223. #. type: deffn
  13224. #: guix-git/doc/guix.texi:8557
  13225. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13226. msgstr ""
  13227. #. type: deffn
  13228. #: guix-git/doc/guix.texi:8559
  13229. #, no-wrap
  13230. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13231. msgstr ""
  13232. #. type: deffn
  13233. #: guix-git/doc/guix.texi:8561
  13234. msgid "Make @var{file} writable for its owner."
  13235. msgstr ""
  13236. #. type: deffn
  13237. #: guix-git/doc/guix.texi:8563
  13238. #, no-wrap
  13239. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13240. msgstr ""
  13241. #. type: deffn
  13242. #: guix-git/doc/guix.texi:8570
  13243. 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."
  13244. msgstr ""
  13245. #. type: deffn
  13246. #: guix-git/doc/guix.texi:8572
  13247. #, no-wrap
  13248. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13249. msgstr ""
  13250. #. type: deffn
  13251. #: guix-git/doc/guix.texi:8577
  13252. 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."
  13253. msgstr ""
  13254. #. type: deffn
  13255. #: guix-git/doc/guix.texi:8579
  13256. #, no-wrap
  13257. msgid "{Scheme Syntax} substitute* @var{file} @"
  13258. msgstr ""
  13259. #. type: deffn
  13260. #: guix-git/doc/guix.texi:8584
  13261. 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:"
  13262. msgstr ""
  13263. #. type: lisp
  13264. #: guix-git/doc/guix.texi:8591
  13265. #, no-wrap
  13266. msgid ""
  13267. "(substitute* file\n"
  13268. " ((\"hello\")\n"
  13269. " \"good morning\\n\")\n"
  13270. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13271. " (string-append \"baz\" letter end)))\n"
  13272. msgstr ""
  13273. #. type: deffn
  13274. #: guix-git/doc/guix.texi:8597
  13275. 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."
  13276. msgstr ""
  13277. #. type: deffn
  13278. #: guix-git/doc/guix.texi:8600
  13279. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13280. msgstr ""
  13281. #. type: deffn
  13282. #: guix-git/doc/guix.texi:8603
  13283. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13284. msgstr ""
  13285. #. type: deffn
  13286. #: guix-git/doc/guix.texi:8606
  13287. 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."
  13288. msgstr ""
  13289. #. type: subsection
  13290. #: guix-git/doc/guix.texi:8608
  13291. #, no-wrap
  13292. msgid "File Search"
  13293. msgstr ""
  13294. #. type: cindex
  13295. #: guix-git/doc/guix.texi:8610
  13296. #, no-wrap
  13297. msgid "file, searching"
  13298. msgstr ""
  13299. #. type: Plain text
  13300. #: guix-git/doc/guix.texi:8612
  13301. msgid "This section documents procedures to search and filter files."
  13302. msgstr ""
  13303. #. type: deffn
  13304. #: guix-git/doc/guix.texi:8613
  13305. #, no-wrap
  13306. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13307. msgstr ""
  13308. #. type: deffn
  13309. #: guix-git/doc/guix.texi:8616
  13310. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13311. msgstr ""
  13312. #. type: deffn
  13313. #: guix-git/doc/guix.texi:8618
  13314. #, no-wrap
  13315. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13316. msgstr ""
  13317. #. type: deffn
  13318. #: guix-git/doc/guix.texi:8629
  13319. 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."
  13320. msgstr ""
  13321. #. type: Plain text
  13322. #: guix-git/doc/guix.texi:8633
  13323. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13324. msgstr ""
  13325. #. type: lisp
  13326. #: guix-git/doc/guix.texi:8638
  13327. #, no-wrap
  13328. msgid ""
  13329. ";; List all the regular files in the current directory.\n"
  13330. "(find-files \".\")\n"
  13331. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13332. "\n"
  13333. msgstr ""
  13334. #. type: lisp
  13335. #: guix-git/doc/guix.texi:8642
  13336. #, no-wrap
  13337. msgid ""
  13338. ";; List all the .scm files under gnu/services.\n"
  13339. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13340. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13341. "\n"
  13342. msgstr ""
  13343. #. type: lisp
  13344. #: guix-git/doc/guix.texi:8646
  13345. #, no-wrap
  13346. msgid ""
  13347. ";; List ar files in the current directory.\n"
  13348. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13349. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13350. msgstr ""
  13351. #. type: deffn
  13352. #: guix-git/doc/guix.texi:8648
  13353. #, no-wrap
  13354. msgid "{Scheme Procedure} which @var{program}"
  13355. msgstr ""
  13356. #. type: deffn
  13357. #: guix-git/doc/guix.texi:8651
  13358. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  13359. msgstr ""
  13360. #. type: Plain text
  13361. #: guix-git/doc/guix.texi:8662
  13362. 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})."
  13363. msgstr ""
  13364. #. type: Plain text
  13365. #: guix-git/doc/guix.texi:8666
  13366. 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."
  13367. msgstr ""
  13368. #. type: cindex
  13369. #: guix-git/doc/guix.texi:8667
  13370. #, no-wrap
  13371. msgid "build phases, modifying"
  13372. msgstr ""
  13373. #. type: deffn
  13374. #: guix-git/doc/guix.texi:8668
  13375. #, no-wrap
  13376. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  13377. msgstr ""
  13378. #. type: deffn
  13379. #: guix-git/doc/guix.texi:8671
  13380. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  13381. msgstr ""
  13382. #. type: lisp
  13383. #: guix-git/doc/guix.texi:8677
  13384. #, no-wrap
  13385. msgid ""
  13386. "(delete @var{old-phase-name})\n"
  13387. "(replace @var{old-phase-name} @var{new-phase})\n"
  13388. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13389. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13390. msgstr ""
  13391. #. type: deffn
  13392. #: guix-git/doc/guix.texi:8681
  13393. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  13394. msgstr ""
  13395. #. type: Plain text
  13396. #: guix-git/doc/guix.texi:8692
  13397. 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:"
  13398. msgstr ""
  13399. #. type: lisp
  13400. #: guix-git/doc/guix.texi:8706
  13401. #, no-wrap
  13402. msgid ""
  13403. "(modify-phases %standard-phases\n"
  13404. " (add-after 'install 'fix-egrep-and-fgrep\n"
  13405. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  13406. " ;; absolute file name instead of searching for it in $PATH.\n"
  13407. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13408. " (let* ((out (assoc-ref outputs \"out\"))\n"
  13409. " (bin (string-append out \"/bin\")))\n"
  13410. " (substitute* (list (string-append bin \"/egrep\")\n"
  13411. " (string-append bin \"/fgrep\"))\n"
  13412. " ((\"^exec grep\")\n"
  13413. " (string-append \"exec \" bin \"/grep\")))\n"
  13414. " #t))))\n"
  13415. msgstr ""
  13416. #. type: Plain text
  13417. #: guix-git/doc/guix.texi:8713
  13418. 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:"
  13419. msgstr ""
  13420. #. type: lisp
  13421. #: guix-git/doc/guix.texi:8726
  13422. #, no-wrap
  13423. msgid ""
  13424. "(modify-phases %standard-phases\n"
  13425. " (delete 'configure) ;no 'configure' script\n"
  13426. " (replace 'install\n"
  13427. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13428. " ;; The package's Makefile doesn't provide an \"install\"\n"
  13429. " ;; rule so do it by ourselves.\n"
  13430. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  13431. " \"/bin\")))\n"
  13432. " (install-file \"footswitch\" bin)\n"
  13433. " (install-file \"scythe\" bin)\n"
  13434. " #t))))\n"
  13435. msgstr ""
  13436. #. type: cindex
  13437. #: guix-git/doc/guix.texi:8734
  13438. #, no-wrap
  13439. msgid "store items"
  13440. msgstr ""
  13441. #. type: cindex
  13442. #: guix-git/doc/guix.texi:8735
  13443. #, no-wrap
  13444. msgid "store paths"
  13445. msgstr ""
  13446. #. type: Plain text
  13447. #: guix-git/doc/guix.texi:8746
  13448. 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}."
  13449. msgstr ""
  13450. #. type: Plain text
  13451. #: guix-git/doc/guix.texi:8751
  13452. 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."
  13453. msgstr ""
  13454. #. type: quotation
  13455. #: guix-git/doc/guix.texi:8756
  13456. 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})."
  13457. msgstr ""
  13458. #. type: quotation
  13459. #: guix-git/doc/guix.texi:8760
  13460. 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."
  13461. msgstr ""
  13462. #. type: Plain text
  13463. #: guix-git/doc/guix.texi:8767
  13464. 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."
  13465. msgstr ""
  13466. #. type: defvr
  13467. #: guix-git/doc/guix.texi:8768
  13468. #, no-wrap
  13469. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  13470. msgstr ""
  13471. #. type: defvr
  13472. #: guix-git/doc/guix.texi:8773
  13473. 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:"
  13474. msgstr ""
  13475. #. type: code{#1}
  13476. #: guix-git/doc/guix.texi:8775 guix-git/doc/guix.texi:24475
  13477. #, no-wrap
  13478. msgid "file"
  13479. msgstr "파일"
  13480. #. type: itemx
  13481. #: guix-git/doc/guix.texi:8776
  13482. #, no-wrap
  13483. msgid "unix"
  13484. msgstr ""
  13485. #. type: table
  13486. #: guix-git/doc/guix.texi:8780
  13487. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  13488. msgstr ""
  13489. #. type: item
  13490. #: guix-git/doc/guix.texi:8781
  13491. #, no-wrap
  13492. msgid "guix"
  13493. msgstr ""
  13494. #. type: table
  13495. #: guix-git/doc/guix.texi:8789
  13496. 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):"
  13497. msgstr ""
  13498. #. type: example
  13499. #: guix-git/doc/guix.texi:8792
  13500. #, no-wrap
  13501. msgid "guix://master.guix.example.org:1234\n"
  13502. msgstr ""
  13503. #. type: table
  13504. #: guix-git/doc/guix.texi:8797
  13505. 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}."
  13506. msgstr ""
  13507. #. type: table
  13508. #: guix-git/doc/guix.texi:8801
  13509. 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}})."
  13510. msgstr ""
  13511. #. type: item
  13512. #: guix-git/doc/guix.texi:8802
  13513. #, no-wrap
  13514. msgid "ssh"
  13515. msgstr "ssh"
  13516. #. type: cindex
  13517. #: guix-git/doc/guix.texi:8803
  13518. #, no-wrap
  13519. msgid "SSH access to build daemons"
  13520. msgstr ""
  13521. #. type: table
  13522. #: guix-git/doc/guix.texi:8809
  13523. 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:"
  13524. msgstr ""
  13525. #. type: example
  13526. #: guix-git/doc/guix.texi:8812
  13527. #, no-wrap
  13528. msgid "ssh://charlie@@guix.example.org:22\n"
  13529. msgstr ""
  13530. #. type: table
  13531. #: guix-git/doc/guix.texi:8816
  13532. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  13533. msgstr ""
  13534. #. type: defvr
  13535. #: guix-git/doc/guix.texi:8819
  13536. msgid "Additional URI schemes may be supported in the future."
  13537. msgstr ""
  13538. #. type: quotation
  13539. #: guix-git/doc/guix.texi:8826
  13540. 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})."
  13541. msgstr ""
  13542. #. type: deffn
  13543. #: guix-git/doc/guix.texi:8829
  13544. #, no-wrap
  13545. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  13546. msgstr ""
  13547. #. type: deffn
  13548. #: guix-git/doc/guix.texi:8834
  13549. 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."
  13550. msgstr ""
  13551. #. type: deffn
  13552. #: guix-git/doc/guix.texi:8837
  13553. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  13554. msgstr ""
  13555. #. type: deffn
  13556. #: guix-git/doc/guix.texi:8839
  13557. #, no-wrap
  13558. msgid "{Scheme Procedure} close-connection @var{server}"
  13559. msgstr ""
  13560. #. type: deffn
  13561. #: guix-git/doc/guix.texi:8841
  13562. msgid "Close the connection to @var{server}."
  13563. msgstr ""
  13564. #. type: defvr
  13565. #: guix-git/doc/guix.texi:8843
  13566. #, no-wrap
  13567. msgid "{Scheme Variable} current-build-output-port"
  13568. msgstr ""
  13569. #. type: defvr
  13570. #: guix-git/doc/guix.texi:8846
  13571. 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."
  13572. msgstr ""
  13573. #. type: Plain text
  13574. #: guix-git/doc/guix.texi:8850
  13575. msgid "Procedures that make RPCs all take a server object as their first argument."
  13576. msgstr ""
  13577. #. type: deffn
  13578. #: guix-git/doc/guix.texi:8851
  13579. #, no-wrap
  13580. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  13581. msgstr ""
  13582. #. type: cindex
  13583. #: guix-git/doc/guix.texi:8852
  13584. #, no-wrap
  13585. msgid "invalid store items"
  13586. msgstr ""
  13587. #. type: deffn
  13588. #: guix-git/doc/guix.texi:8857
  13589. 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)."
  13590. msgstr ""
  13591. #. type: deffn
  13592. #: guix-git/doc/guix.texi:8860
  13593. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  13594. msgstr ""
  13595. #. type: deffn
  13596. #: guix-git/doc/guix.texi:8862
  13597. #, no-wrap
  13598. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  13599. msgstr ""
  13600. #. type: deffn
  13601. #: guix-git/doc/guix.texi:8866
  13602. 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."
  13603. msgstr ""
  13604. #. type: deffn
  13605. #: guix-git/doc/guix.texi:8868
  13606. #, no-wrap
  13607. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  13608. msgstr ""
  13609. #. type: deffn
  13610. #: guix-git/doc/guix.texi:8873
  13611. 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."
  13612. msgstr ""
  13613. #. type: Plain text
  13614. #: guix-git/doc/guix.texi:8879
  13615. 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})."
  13616. msgstr ""
  13617. #. type: i{#1}
  13618. #: guix-git/doc/guix.texi:8882
  13619. msgid "This section is currently incomplete."
  13620. msgstr ""
  13621. #. type: cindex
  13622. #: guix-git/doc/guix.texi:8886
  13623. #, no-wrap
  13624. msgid "derivations"
  13625. msgstr ""
  13626. #. type: Plain text
  13627. #: guix-git/doc/guix.texi:8890
  13628. 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:"
  13629. msgstr ""
  13630. #. type: itemize
  13631. #: guix-git/doc/guix.texi:8895
  13632. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  13633. msgstr ""
  13634. #. type: cindex
  13635. #: guix-git/doc/guix.texi:8897
  13636. #, no-wrap
  13637. msgid "build-time dependencies"
  13638. msgstr ""
  13639. #. type: cindex
  13640. #: guix-git/doc/guix.texi:8898
  13641. #, no-wrap
  13642. msgid "dependencies, build-time"
  13643. msgstr ""
  13644. #. type: itemize
  13645. #: guix-git/doc/guix.texi:8902
  13646. 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.)."
  13647. msgstr ""
  13648. #. type: itemize
  13649. #: guix-git/doc/guix.texi:8905
  13650. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  13651. msgstr ""
  13652. #. type: itemize
  13653. #: guix-git/doc/guix.texi:8909
  13654. msgid "The file name of a build script in the store, along with the arguments to be passed."
  13655. msgstr ""
  13656. #. type: itemize
  13657. #: guix-git/doc/guix.texi:8912
  13658. msgid "A list of environment variables to be defined."
  13659. msgstr ""
  13660. #. type: cindex
  13661. #: guix-git/doc/guix.texi:8915
  13662. #, no-wrap
  13663. msgid "derivation path"
  13664. msgstr ""
  13665. #. type: Plain text
  13666. #: guix-git/doc/guix.texi:8923
  13667. 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})."
  13668. msgstr ""
  13669. #. type: cindex
  13670. #: guix-git/doc/guix.texi:8924
  13671. #, no-wrap
  13672. msgid "fixed-output derivations"
  13673. msgstr ""
  13674. #. type: Plain text
  13675. #: guix-git/doc/guix.texi:8931
  13676. 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."
  13677. msgstr ""
  13678. #. type: item
  13679. #: guix-git/doc/guix.texi:8932 guix-git/doc/guix.texi:12392
  13680. #, no-wrap
  13681. msgid "references"
  13682. msgstr "환경설정"
  13683. #. type: cindex
  13684. #: guix-git/doc/guix.texi:8933
  13685. #, no-wrap
  13686. msgid "run-time dependencies"
  13687. msgstr ""
  13688. #. type: cindex
  13689. #: guix-git/doc/guix.texi:8934
  13690. #, no-wrap
  13691. msgid "dependencies, run-time"
  13692. msgstr ""
  13693. #. type: Plain text
  13694. #: guix-git/doc/guix.texi:8941
  13695. 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."
  13696. msgstr ""
  13697. #. type: Plain text
  13698. #: guix-git/doc/guix.texi:8946
  13699. 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:"
  13700. msgstr ""
  13701. #. type: deffn
  13702. #: guix-git/doc/guix.texi:8947
  13703. #, no-wrap
  13704. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  13705. msgstr ""
  13706. #. type: deffn
  13707. #: guix-git/doc/guix.texi:8956
  13708. 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."
  13709. msgstr ""
  13710. #. type: deffn
  13711. #: guix-git/doc/guix.texi:8963
  13712. 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."
  13713. msgstr ""
  13714. #. type: deffn
  13715. #: guix-git/doc/guix.texi:8968
  13716. 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."
  13717. msgstr ""
  13718. #. type: deffn
  13719. #: guix-git/doc/guix.texi:8973
  13720. 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."
  13721. msgstr ""
  13722. #. type: deffn
  13723. #: guix-git/doc/guix.texi:8980
  13724. 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."
  13725. msgstr ""
  13726. #. type: deffn
  13727. #: guix-git/doc/guix.texi:8985
  13728. 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."
  13729. msgstr ""
  13730. #. type: deffn
  13731. #: guix-git/doc/guix.texi:8990
  13732. 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."
  13733. msgstr ""
  13734. #. type: deffn
  13735. #: guix-git/doc/guix.texi:8993
  13736. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  13737. msgstr ""
  13738. #. type: Plain text
  13739. #: guix-git/doc/guix.texi:8999
  13740. 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:"
  13741. msgstr ""
  13742. #. type: lisp
  13743. #: guix-git/doc/guix.texi:9004
  13744. #, no-wrap
  13745. msgid ""
  13746. "(use-modules (guix utils)\n"
  13747. " (guix store)\n"
  13748. " (guix derivations))\n"
  13749. "\n"
  13750. msgstr ""
  13751. #. type: lisp
  13752. #: guix-git/doc/guix.texi:9013
  13753. #, no-wrap
  13754. msgid ""
  13755. "(let ((builder ; add the Bash script to the store\n"
  13756. " (add-text-to-store store \"my-builder.sh\"\n"
  13757. " \"echo hello world > $out\\n\" '())))\n"
  13758. " (derivation store \"foo\"\n"
  13759. " bash `(\"-e\" ,builder)\n"
  13760. " #:inputs `((,bash) (,builder))\n"
  13761. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  13762. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  13763. msgstr ""
  13764. #. type: Plain text
  13765. #: guix-git/doc/guix.texi:9020
  13766. 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}."
  13767. msgstr ""
  13768. #. type: Plain text
  13769. #: guix-git/doc/guix.texi:9025
  13770. 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}."
  13771. msgstr ""
  13772. #. type: deffn
  13773. #: guix-git/doc/guix.texi:9026
  13774. #, no-wrap
  13775. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  13776. msgstr ""
  13777. #. type: deffn
  13778. #: guix-git/doc/guix.texi:9042
  13779. 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))}."
  13780. msgstr ""
  13781. #. type: deffn
  13782. #: guix-git/doc/guix.texi:9050
  13783. 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."
  13784. msgstr ""
  13785. #. type: deffn
  13786. #: guix-git/doc/guix.texi:9054
  13787. 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."
  13788. msgstr ""
  13789. #. type: deffn
  13790. #: guix-git/doc/guix.texi:9059
  13791. 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?}."
  13792. msgstr ""
  13793. #. type: Plain text
  13794. #: guix-git/doc/guix.texi:9064
  13795. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  13796. msgstr ""
  13797. #. type: lisp
  13798. #: guix-git/doc/guix.texi:9072
  13799. #, no-wrap
  13800. msgid ""
  13801. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  13802. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  13803. " (call-with-output-file (string-append out \"/test\")\n"
  13804. " (lambda (p)\n"
  13805. " (display '(hello guix) p))))))\n"
  13806. " (build-expression->derivation store \"goo\" builder))\n"
  13807. "\n"
  13808. msgstr ""
  13809. #. type: lisp
  13810. #: guix-git/doc/guix.texi:9074
  13811. #, no-wrap
  13812. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  13813. msgstr ""
  13814. #. type: cindex
  13815. #: guix-git/doc/guix.texi:9080
  13816. #, no-wrap
  13817. msgid "monad"
  13818. msgstr ""
  13819. #. type: Plain text
  13820. #: guix-git/doc/guix.texi:9086
  13821. 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."
  13822. msgstr ""
  13823. #. type: Plain text
  13824. #: guix-git/doc/guix.texi:9092
  13825. 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."
  13826. msgstr ""
  13827. #. type: cindex
  13828. #: guix-git/doc/guix.texi:9093
  13829. #, no-wrap
  13830. msgid "monadic values"
  13831. msgstr ""
  13832. #. type: cindex
  13833. #: guix-git/doc/guix.texi:9094
  13834. #, no-wrap
  13835. msgid "monadic functions"
  13836. msgstr ""
  13837. #. type: Plain text
  13838. #: guix-git/doc/guix.texi:9104
  13839. 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}."
  13840. msgstr ""
  13841. #. type: Plain text
  13842. #: guix-git/doc/guix.texi:9106
  13843. msgid "Consider this ``normal'' procedure:"
  13844. msgstr ""
  13845. #. type: lisp
  13846. #: guix-git/doc/guix.texi:9115
  13847. #, no-wrap
  13848. msgid ""
  13849. "(define (sh-symlink store)\n"
  13850. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  13851. " (let* ((drv (package-derivation store bash))\n"
  13852. " (out (derivation->output-path drv))\n"
  13853. " (sh (string-append out \"/bin/bash\")))\n"
  13854. " (build-expression->derivation store \"sh\"\n"
  13855. " `(symlink ,sh %output))))\n"
  13856. msgstr ""
  13857. #. type: Plain text
  13858. #: guix-git/doc/guix.texi:9119
  13859. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  13860. msgstr ""
  13861. #. type: lisp
  13862. #: guix-git/doc/guix.texi:9127
  13863. #, no-wrap
  13864. msgid ""
  13865. "(define (sh-symlink)\n"
  13866. " ;; Same, but return a monadic value.\n"
  13867. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  13868. " (gexp->derivation \"sh\"\n"
  13869. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  13870. " #$output))))\n"
  13871. msgstr ""
  13872. #. type: Plain text
  13873. #: guix-git/doc/guix.texi:9134
  13874. 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}."
  13875. msgstr ""
  13876. #. type: Plain text
  13877. #: guix-git/doc/guix.texi:9138
  13878. 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}):"
  13879. msgstr ""
  13880. #. type: lisp
  13881. #: guix-git/doc/guix.texi:9144
  13882. #, no-wrap
  13883. msgid ""
  13884. "(define (sh-symlink)\n"
  13885. " (gexp->derivation \"sh\"\n"
  13886. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  13887. " #$output)))\n"
  13888. msgstr ""
  13889. #. type: Plain text
  13890. #: guix-git/doc/guix.texi:9153
  13891. 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}:"
  13892. msgstr ""
  13893. #. type: lisp
  13894. #: guix-git/doc/guix.texi:9157
  13895. #, no-wrap
  13896. msgid ""
  13897. "(run-with-store (open-connection) (sh-symlink))\n"
  13898. "@result{} /gnu/store/...-sh-symlink\n"
  13899. msgstr ""
  13900. #. type: Plain text
  13901. #: guix-git/doc/guix.texi:9163
  13902. 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:"
  13903. msgstr ""
  13904. #. type: example
  13905. #: guix-git/doc/guix.texi:9167
  13906. #, no-wrap
  13907. msgid ""
  13908. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  13909. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  13910. msgstr ""
  13911. #. type: Plain text
  13912. #: guix-git/doc/guix.texi:9171
  13913. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  13914. msgstr ""
  13915. #. type: example
  13916. #: guix-git/doc/guix.texi:9180
  13917. #, no-wrap
  13918. msgid ""
  13919. "scheme@@(guile-user)> ,enter-store-monad\n"
  13920. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  13921. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  13922. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  13923. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  13924. "store-monad@@(guile-user) [1]> ,q\n"
  13925. "scheme@@(guile-user)>\n"
  13926. msgstr ""
  13927. #. type: Plain text
  13928. #: guix-git/doc/guix.texi:9185
  13929. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  13930. msgstr ""
  13931. #. type: Plain text
  13932. #: guix-git/doc/guix.texi:9188
  13933. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  13934. msgstr ""
  13935. #. type: deffn
  13936. #: guix-git/doc/guix.texi:9189
  13937. #, no-wrap
  13938. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  13939. msgstr ""
  13940. #. type: deffn
  13941. #: guix-git/doc/guix.texi:9192
  13942. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  13943. msgstr ""
  13944. #. type: deffn
  13945. #: guix-git/doc/guix.texi:9194
  13946. #, no-wrap
  13947. msgid "{Scheme Syntax} return @var{val}"
  13948. msgstr ""
  13949. #. type: deffn
  13950. #: guix-git/doc/guix.texi:9196
  13951. msgid "Return a monadic value that encapsulates @var{val}."
  13952. msgstr ""
  13953. #. type: deffn
  13954. #: guix-git/doc/guix.texi:9198
  13955. #, no-wrap
  13956. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  13957. msgstr ""
  13958. #. type: deffn
  13959. #: guix-git/doc/guix.texi:9205
  13960. 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:"
  13961. msgstr ""
  13962. #. type: lisp
  13963. #: guix-git/doc/guix.texi:9213
  13964. #, no-wrap
  13965. msgid ""
  13966. "(run-with-state\n"
  13967. " (with-monad %state-monad\n"
  13968. " (>>= (return 1)\n"
  13969. " (lambda (x) (return (+ 1 x)))\n"
  13970. " (lambda (x) (return (* 2 x)))))\n"
  13971. " 'some-state)\n"
  13972. "\n"
  13973. msgstr ""
  13974. #. type: lisp
  13975. #: guix-git/doc/guix.texi:9216
  13976. #, no-wrap
  13977. msgid ""
  13978. "@result{} 4\n"
  13979. "@result{} some-state\n"
  13980. msgstr ""
  13981. #. type: deffn
  13982. #: guix-git/doc/guix.texi:9219
  13983. #, no-wrap
  13984. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  13985. msgstr ""
  13986. #. type: deffn
  13987. #: guix-git/doc/guix.texi:9221
  13988. msgid "@var{body} ..."
  13989. msgstr ""
  13990. #. type: deffnx
  13991. #: guix-git/doc/guix.texi:9221
  13992. #, no-wrap
  13993. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  13994. msgstr ""
  13995. #. type: deffn
  13996. #: guix-git/doc/guix.texi:9233
  13997. 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}."
  13998. msgstr ""
  13999. #. type: deffn
  14000. #: guix-git/doc/guix.texi:9236
  14001. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  14002. msgstr ""
  14003. #. type: deffn
  14004. #: guix-git/doc/guix.texi:9238
  14005. #, no-wrap
  14006. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  14007. msgstr ""
  14008. #. type: deffn
  14009. #: guix-git/doc/guix.texi:9242
  14010. 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."
  14011. msgstr ""
  14012. #. type: deffn
  14013. #: guix-git/doc/guix.texi:9246
  14014. 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."
  14015. msgstr ""
  14016. #. type: deffn
  14017. #: guix-git/doc/guix.texi:9248
  14018. #, no-wrap
  14019. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  14020. msgstr ""
  14021. #. type: deffn
  14022. #: guix-git/doc/guix.texi:9253
  14023. 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."
  14024. msgstr ""
  14025. #. type: deffn
  14026. #: guix-git/doc/guix.texi:9255
  14027. #, no-wrap
  14028. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  14029. msgstr ""
  14030. #. type: deffn
  14031. #: guix-git/doc/guix.texi:9260
  14032. 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."
  14033. msgstr ""
  14034. #. type: cindex
  14035. #: guix-git/doc/guix.texi:9262
  14036. #, no-wrap
  14037. msgid "state monad"
  14038. msgstr ""
  14039. #. type: Plain text
  14040. #: guix-git/doc/guix.texi:9266
  14041. 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."
  14042. msgstr ""
  14043. #. type: defvr
  14044. #: guix-git/doc/guix.texi:9267
  14045. #, no-wrap
  14046. msgid "{Scheme Variable} %state-monad"
  14047. msgstr ""
  14048. #. type: defvr
  14049. #: guix-git/doc/guix.texi:9270
  14050. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  14051. msgstr ""
  14052. #. type: defvr
  14053. #: guix-git/doc/guix.texi:9274
  14054. 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:"
  14055. msgstr ""
  14056. #. type: lisp
  14057. #: guix-git/doc/guix.texi:9281
  14058. #, no-wrap
  14059. msgid ""
  14060. "(define (square x)\n"
  14061. " (mlet %state-monad ((count (current-state)))\n"
  14062. " (mbegin %state-monad\n"
  14063. " (set-current-state (+ 1 count))\n"
  14064. " (return (* x x)))))\n"
  14065. "\n"
  14066. msgstr ""
  14067. #. type: lisp
  14068. #: guix-git/doc/guix.texi:9285
  14069. #, no-wrap
  14070. msgid ""
  14071. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  14072. "@result{} (0 1 4)\n"
  14073. "@result{} 3\n"
  14074. msgstr ""
  14075. #. type: defvr
  14076. #: guix-git/doc/guix.texi:9289
  14077. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  14078. msgstr ""
  14079. #. type: deffn
  14080. #: guix-git/doc/guix.texi:9291
  14081. #, no-wrap
  14082. msgid "{Monadic Procedure} current-state"
  14083. msgstr ""
  14084. #. type: deffn
  14085. #: guix-git/doc/guix.texi:9293
  14086. msgid "Return the current state as a monadic value."
  14087. msgstr ""
  14088. #. type: deffn
  14089. #: guix-git/doc/guix.texi:9295
  14090. #, no-wrap
  14091. msgid "{Monadic Procedure} set-current-state @var{value}"
  14092. msgstr ""
  14093. #. type: deffn
  14094. #: guix-git/doc/guix.texi:9298
  14095. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14096. msgstr ""
  14097. #. type: deffn
  14098. #: guix-git/doc/guix.texi:9300
  14099. #, no-wrap
  14100. msgid "{Monadic Procedure} state-push @var{value}"
  14101. msgstr ""
  14102. #. type: deffn
  14103. #: guix-git/doc/guix.texi:9303
  14104. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14105. msgstr ""
  14106. #. type: deffn
  14107. #: guix-git/doc/guix.texi:9305
  14108. #, no-wrap
  14109. msgid "{Monadic Procedure} state-pop"
  14110. msgstr ""
  14111. #. type: deffn
  14112. #: guix-git/doc/guix.texi:9308
  14113. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14114. msgstr ""
  14115. #. type: deffn
  14116. #: guix-git/doc/guix.texi:9310
  14117. #, no-wrap
  14118. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14119. msgstr ""
  14120. #. type: deffn
  14121. #: guix-git/doc/guix.texi:9313
  14122. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14123. msgstr ""
  14124. #. type: Plain text
  14125. #: guix-git/doc/guix.texi:9317
  14126. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14127. msgstr ""
  14128. #. type: defvr
  14129. #: guix-git/doc/guix.texi:9318
  14130. #, no-wrap
  14131. msgid "{Scheme Variable} %store-monad"
  14132. msgstr ""
  14133. #. type: defvr
  14134. #: guix-git/doc/guix.texi:9320
  14135. msgid "The store monad---an alias for @code{%state-monad}."
  14136. msgstr ""
  14137. #. type: defvr
  14138. #: guix-git/doc/guix.texi:9324
  14139. 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)."
  14140. msgstr ""
  14141. #. type: deffn
  14142. #: guix-git/doc/guix.texi:9326
  14143. #, no-wrap
  14144. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14145. msgstr ""
  14146. #. type: deffn
  14147. #: guix-git/doc/guix.texi:9329
  14148. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14149. msgstr ""
  14150. #. type: deffn
  14151. #: guix-git/doc/guix.texi:9331
  14152. #, no-wrap
  14153. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14154. msgstr ""
  14155. #. type: deffn
  14156. #: guix-git/doc/guix.texi:9335
  14157. 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."
  14158. msgstr ""
  14159. #. type: deffn
  14160. #: guix-git/doc/guix.texi:9337
  14161. #, no-wrap
  14162. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14163. msgstr ""
  14164. #. type: deffn
  14165. #: guix-git/doc/guix.texi:9341
  14166. 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."
  14167. msgstr ""
  14168. #. type: deffn
  14169. #: guix-git/doc/guix.texi:9343
  14170. #, no-wrap
  14171. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14172. msgstr ""
  14173. #. type: deffn
  14174. #: guix-git/doc/guix.texi:9348
  14175. 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."
  14176. msgstr ""
  14177. #. type: deffn
  14178. #: guix-git/doc/guix.texi:9352 guix-git/doc/guix.texi:9775
  14179. 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."
  14180. msgstr ""
  14181. #. type: deffn
  14182. #: guix-git/doc/guix.texi:9357 guix-git/doc/guix.texi:9780
  14183. 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."
  14184. msgstr ""
  14185. #. type: deffn
  14186. #: guix-git/doc/guix.texi:9359
  14187. msgid "The example below adds a file to the store, under two different names:"
  14188. msgstr ""
  14189. #. type: lisp
  14190. #: guix-git/doc/guix.texi:9365
  14191. #, no-wrap
  14192. msgid ""
  14193. "(run-with-store (open-connection)\n"
  14194. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14195. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14196. " (return (list a b))))\n"
  14197. "\n"
  14198. msgstr ""
  14199. #. type: lisp
  14200. #: guix-git/doc/guix.texi:9367
  14201. #, no-wrap
  14202. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14203. msgstr ""
  14204. #. type: Plain text
  14205. #: guix-git/doc/guix.texi:9373
  14206. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14207. msgstr ""
  14208. #. type: deffn
  14209. #: guix-git/doc/guix.texi:9374
  14210. #, no-wrap
  14211. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14212. msgstr ""
  14213. #. type: deffn
  14214. #: guix-git/doc/guix.texi:9382
  14215. 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."
  14216. msgstr ""
  14217. #. type: deffn
  14218. #: guix-git/doc/guix.texi:9386
  14219. 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."
  14220. msgstr ""
  14221. #. type: deffn
  14222. #: guix-git/doc/guix.texi:9388
  14223. #, no-wrap
  14224. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14225. msgstr ""
  14226. #. type: deffnx
  14227. #: guix-git/doc/guix.texi:9389
  14228. #, no-wrap
  14229. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14230. msgstr ""
  14231. #. type: deffn
  14232. #: guix-git/doc/guix.texi:9393
  14233. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14234. msgstr ""
  14235. #. type: cindex
  14236. #: guix-git/doc/guix.texi:9399
  14237. #, no-wrap
  14238. msgid "G-expression"
  14239. msgstr ""
  14240. #. type: cindex
  14241. #: guix-git/doc/guix.texi:9400
  14242. #, no-wrap
  14243. msgid "build code quoting"
  14244. msgstr ""
  14245. #. type: Plain text
  14246. #: guix-git/doc/guix.texi:9406
  14247. 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})."
  14248. msgstr ""
  14249. #. type: cindex
  14250. #: guix-git/doc/guix.texi:9409
  14251. #, no-wrap
  14252. msgid "strata of code"
  14253. msgstr ""
  14254. #. type: Plain text
  14255. #: guix-git/doc/guix.texi:9421
  14256. 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})."
  14257. msgstr ""
  14258. #. type: Plain text
  14259. #: guix-git/doc/guix.texi:9428
  14260. 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."
  14261. msgstr ""
  14262. #. type: Plain text
  14263. #: guix-git/doc/guix.texi:9437
  14264. 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:"
  14265. msgstr ""
  14266. #. type: itemize
  14267. #: guix-git/doc/guix.texi:9442
  14268. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14269. msgstr ""
  14270. #. type: itemize
  14271. #: guix-git/doc/guix.texi:9447
  14272. 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."
  14273. msgstr ""
  14274. #. type: itemize
  14275. #: guix-git/doc/guix.texi:9452
  14276. 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."
  14277. msgstr ""
  14278. #. type: cindex
  14279. #: guix-git/doc/guix.texi:9454 guix-git/doc/guix.texi:10011
  14280. #, no-wrap
  14281. msgid "lowering, of high-level objects in gexps"
  14282. msgstr ""
  14283. #. type: Plain text
  14284. #: guix-git/doc/guix.texi:9464
  14285. 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)."
  14286. msgstr ""
  14287. #. type: Plain text
  14288. #: guix-git/doc/guix.texi:9466
  14289. msgid "To illustrate the idea, here is an example of a gexp:"
  14290. msgstr ""
  14291. #. type: lisp
  14292. #: guix-git/doc/guix.texi:9474
  14293. #, no-wrap
  14294. msgid ""
  14295. "(define build-exp\n"
  14296. " #~(begin\n"
  14297. " (mkdir #$output)\n"
  14298. " (chdir #$output)\n"
  14299. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14300. " \"list-files\")))\n"
  14301. msgstr ""
  14302. #. type: Plain text
  14303. #: guix-git/doc/guix.texi:9479
  14304. 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}:"
  14305. msgstr ""
  14306. #. type: lisp
  14307. #: guix-git/doc/guix.texi:9482
  14308. #, no-wrap
  14309. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14310. msgstr ""
  14311. #. type: Plain text
  14312. #: guix-git/doc/guix.texi:9490
  14313. 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."
  14314. msgstr ""
  14315. #. type: cindex
  14316. #: guix-git/doc/guix.texi:9491
  14317. #, no-wrap
  14318. msgid "cross compilation"
  14319. msgstr ""
  14320. #. type: Plain text
  14321. #: guix-git/doc/guix.texi:9497
  14322. 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:"
  14323. msgstr ""
  14324. #. type: lisp
  14325. #: guix-git/doc/guix.texi:9508
  14326. #, no-wrap
  14327. msgid ""
  14328. "(gexp->derivation \"vi\"\n"
  14329. " #~(begin\n"
  14330. " (mkdir #$output)\n"
  14331. " (mkdir (string-append #$output \"/bin\"))\n"
  14332. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14333. " \"-s\"\n"
  14334. " (string-append #$emacs \"/bin/emacs\")\n"
  14335. " (string-append #$output \"/bin/vi\")))\n"
  14336. " #:target \"aarch64-linux-gnu\")\n"
  14337. msgstr ""
  14338. #. type: Plain text
  14339. #: guix-git/doc/guix.texi:9514
  14340. 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."
  14341. msgstr ""
  14342. #. type: cindex
  14343. #: guix-git/doc/guix.texi:9515
  14344. #, no-wrap
  14345. msgid "imported modules, for gexps"
  14346. msgstr ""
  14347. #. type: findex
  14348. #: guix-git/doc/guix.texi:9516
  14349. #, no-wrap
  14350. msgid "with-imported-modules"
  14351. msgstr ""
  14352. #. type: Plain text
  14353. #: guix-git/doc/guix.texi:9521
  14354. 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:"
  14355. msgstr ""
  14356. #. type: lisp
  14357. #: guix-git/doc/guix.texi:9532
  14358. #, no-wrap
  14359. msgid ""
  14360. "(let ((build (with-imported-modules '((guix build utils))\n"
  14361. " #~(begin\n"
  14362. " (use-modules (guix build utils))\n"
  14363. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  14364. " (gexp->derivation \"empty-dir\"\n"
  14365. " #~(begin\n"
  14366. " #$build\n"
  14367. " (display \"success!\\n\")\n"
  14368. " #t)))\n"
  14369. msgstr ""
  14370. #. type: Plain text
  14371. #: guix-git/doc/guix.texi:9538
  14372. 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."
  14373. msgstr ""
  14374. #. type: cindex
  14375. #: guix-git/doc/guix.texi:9539
  14376. #, no-wrap
  14377. msgid "module closure"
  14378. msgstr ""
  14379. #. type: findex
  14380. #: guix-git/doc/guix.texi:9540
  14381. #, no-wrap
  14382. msgid "source-module-closure"
  14383. msgstr ""
  14384. #. type: Plain text
  14385. #: guix-git/doc/guix.texi:9547
  14386. 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:"
  14387. msgstr ""
  14388. #. type: lisp
  14389. #: guix-git/doc/guix.texi:9550
  14390. #, no-wrap
  14391. msgid ""
  14392. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  14393. "\n"
  14394. msgstr ""
  14395. #. type: lisp
  14396. #: guix-git/doc/guix.texi:9559
  14397. #, no-wrap
  14398. msgid ""
  14399. "(with-imported-modules (source-module-closure\n"
  14400. " '((guix build utils)\n"
  14401. " (gnu build vm)))\n"
  14402. " (gexp->derivation \"something-with-vms\"\n"
  14403. " #~(begin\n"
  14404. " (use-modules (guix build utils)\n"
  14405. " (gnu build vm))\n"
  14406. " @dots{})))\n"
  14407. msgstr ""
  14408. #. type: cindex
  14409. #: guix-git/doc/guix.texi:9561
  14410. #, no-wrap
  14411. msgid "extensions, for gexps"
  14412. msgstr ""
  14413. #. type: findex
  14414. #: guix-git/doc/guix.texi:9562
  14415. #, no-wrap
  14416. msgid "with-extensions"
  14417. msgstr ""
  14418. #. type: Plain text
  14419. #: guix-git/doc/guix.texi:9567
  14420. 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:"
  14421. msgstr ""
  14422. #. type: lisp
  14423. #: guix-git/doc/guix.texi:9570
  14424. #, no-wrap
  14425. msgid ""
  14426. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  14427. "\n"
  14428. msgstr ""
  14429. #. type: lisp
  14430. #: guix-git/doc/guix.texi:9576
  14431. #, no-wrap
  14432. msgid ""
  14433. "(with-extensions (list guile-json)\n"
  14434. " (gexp->derivation \"something-with-json\"\n"
  14435. " #~(begin\n"
  14436. " (use-modules (json))\n"
  14437. " @dots{})))\n"
  14438. msgstr ""
  14439. #. type: Plain text
  14440. #: guix-git/doc/guix.texi:9579
  14441. msgid "The syntactic form to construct gexps is summarized below."
  14442. msgstr ""
  14443. #. type: deffn
  14444. #: guix-git/doc/guix.texi:9580
  14445. #, no-wrap
  14446. msgid "{Scheme Syntax} #~@var{exp}"
  14447. msgstr ""
  14448. #. type: deffnx
  14449. #: guix-git/doc/guix.texi:9581
  14450. #, no-wrap
  14451. msgid "{Scheme Syntax} (gexp @var{exp})"
  14452. msgstr ""
  14453. #. type: deffn
  14454. #: guix-git/doc/guix.texi:9584
  14455. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  14456. msgstr ""
  14457. #. type: item
  14458. #: guix-git/doc/guix.texi:9586
  14459. #, no-wrap
  14460. msgid "#$@var{obj}"
  14461. msgstr ""
  14462. #. type: itemx
  14463. #: guix-git/doc/guix.texi:9587
  14464. #, no-wrap
  14465. msgid "(ungexp @var{obj})"
  14466. msgstr ""
  14467. #. type: table
  14468. #: guix-git/doc/guix.texi:9592
  14469. 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}."
  14470. msgstr ""
  14471. #. type: table
  14472. #: guix-git/doc/guix.texi:9595
  14473. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  14474. msgstr ""
  14475. #. type: table
  14476. #: guix-git/doc/guix.texi:9598
  14477. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  14478. msgstr ""
  14479. #. type: table
  14480. #: guix-git/doc/guix.texi:9600
  14481. msgid "If @var{obj} is another kind of object, it is inserted as is."
  14482. msgstr ""
  14483. #. type: item
  14484. #: guix-git/doc/guix.texi:9601
  14485. #, no-wrap
  14486. msgid "#$@var{obj}:@var{output}"
  14487. msgstr ""
  14488. #. type: itemx
  14489. #: guix-git/doc/guix.texi:9602
  14490. #, no-wrap
  14491. msgid "(ungexp @var{obj} @var{output})"
  14492. msgstr ""
  14493. #. type: table
  14494. #: guix-git/doc/guix.texi:9606
  14495. 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})."
  14496. msgstr ""
  14497. #. type: item
  14498. #: guix-git/doc/guix.texi:9607
  14499. #, no-wrap
  14500. msgid "#+@var{obj}"
  14501. msgstr ""
  14502. #. type: itemx
  14503. #: guix-git/doc/guix.texi:9608
  14504. #, no-wrap
  14505. msgid "#+@var{obj}:output"
  14506. msgstr ""
  14507. #. type: itemx
  14508. #: guix-git/doc/guix.texi:9609
  14509. #, no-wrap
  14510. msgid "(ungexp-native @var{obj})"
  14511. msgstr ""
  14512. #. type: itemx
  14513. #: guix-git/doc/guix.texi:9610
  14514. #, no-wrap
  14515. msgid "(ungexp-native @var{obj} @var{output})"
  14516. msgstr ""
  14517. #. type: table
  14518. #: guix-git/doc/guix.texi:9613
  14519. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  14520. msgstr ""
  14521. #. type: item
  14522. #: guix-git/doc/guix.texi:9614
  14523. #, no-wrap
  14524. msgid "#$output[:@var{output}]"
  14525. msgstr ""
  14526. #. type: itemx
  14527. #: guix-git/doc/guix.texi:9615
  14528. #, no-wrap
  14529. msgid "(ungexp output [@var{output}])"
  14530. msgstr ""
  14531. #. type: table
  14532. #: guix-git/doc/guix.texi:9618
  14533. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  14534. msgstr ""
  14535. #. type: table
  14536. #: guix-git/doc/guix.texi:9620
  14537. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  14538. msgstr ""
  14539. #. type: item
  14540. #: guix-git/doc/guix.texi:9621
  14541. #, no-wrap
  14542. msgid "#$@@@var{lst}"
  14543. msgstr ""
  14544. #. type: itemx
  14545. #: guix-git/doc/guix.texi:9622
  14546. #, no-wrap
  14547. msgid "(ungexp-splicing @var{lst})"
  14548. msgstr ""
  14549. #. type: table
  14550. #: guix-git/doc/guix.texi:9625
  14551. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  14552. msgstr ""
  14553. #. type: item
  14554. #: guix-git/doc/guix.texi:9626
  14555. #, no-wrap
  14556. msgid "#+@@@var{lst}"
  14557. msgstr ""
  14558. #. type: itemx
  14559. #: guix-git/doc/guix.texi:9627
  14560. #, no-wrap
  14561. msgid "(ungexp-native-splicing @var{lst})"
  14562. msgstr ""
  14563. #. type: table
  14564. #: guix-git/doc/guix.texi:9630
  14565. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  14566. msgstr ""
  14567. #. type: deffn
  14568. #: guix-git/doc/guix.texi:9635
  14569. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  14570. msgstr ""
  14571. #. type: deffn
  14572. #: guix-git/doc/guix.texi:9637
  14573. #, no-wrap
  14574. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  14575. msgstr ""
  14576. #. type: deffn
  14577. #: guix-git/doc/guix.texi:9640
  14578. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  14579. msgstr ""
  14580. #. type: deffn
  14581. #: guix-git/doc/guix.texi:9644
  14582. 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:"
  14583. msgstr ""
  14584. #. type: lisp
  14585. #: guix-git/doc/guix.texi:9650
  14586. #, no-wrap
  14587. msgid ""
  14588. "`((guix build utils)\n"
  14589. " (guix gcrypt)\n"
  14590. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  14591. " #~(define-module @dots{}))))\n"
  14592. msgstr ""
  14593. #. type: deffn
  14594. #: guix-git/doc/guix.texi:9655
  14595. 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."
  14596. msgstr ""
  14597. #. type: deffn
  14598. #: guix-git/doc/guix.texi:9659
  14599. 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{}."
  14600. msgstr ""
  14601. #. type: deffn
  14602. #: guix-git/doc/guix.texi:9661
  14603. #, no-wrap
  14604. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  14605. msgstr ""
  14606. #. type: deffn
  14607. #: guix-git/doc/guix.texi:9666
  14608. 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."
  14609. msgstr ""
  14610. #. type: deffn
  14611. #: guix-git/doc/guix.texi:9671
  14612. 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{}."
  14613. msgstr ""
  14614. #. type: deffn
  14615. #: guix-git/doc/guix.texi:9673
  14616. #, no-wrap
  14617. msgid "{Scheme Procedure} gexp? @var{obj}"
  14618. msgstr ""
  14619. #. type: deffn
  14620. #: guix-git/doc/guix.texi:9675
  14621. msgid "Return @code{#t} if @var{obj} is a G-expression."
  14622. msgstr ""
  14623. #. type: Plain text
  14624. #: guix-git/doc/guix.texi:9681
  14625. 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)."
  14626. msgstr ""
  14627. #. type: deffn
  14628. #: guix-git/doc/guix.texi:9682
  14629. #, no-wrap
  14630. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  14631. msgstr ""
  14632. #. type: deffn
  14633. #: guix-git/doc/guix.texi:9700
  14634. 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}."
  14635. msgstr ""
  14636. #. type: deffn
  14637. #: guix-git/doc/guix.texi:9708
  14638. 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))}."
  14639. msgstr ""
  14640. #. type: deffn
  14641. #: guix-git/doc/guix.texi:9711
  14642. 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\"}."
  14643. msgstr ""
  14644. #. type: deffn
  14645. #: guix-git/doc/guix.texi:9714
  14646. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  14647. msgstr ""
  14648. #. type: deffn
  14649. #: guix-git/doc/guix.texi:9717
  14650. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  14651. msgstr ""
  14652. #. type: example
  14653. #: guix-git/doc/guix.texi:9724
  14654. #, no-wrap
  14655. msgid ""
  14656. "(@var{file-name} @var{package})\n"
  14657. "(@var{file-name} @var{package} @var{output})\n"
  14658. "(@var{file-name} @var{derivation})\n"
  14659. "(@var{file-name} @var{derivation} @var{output})\n"
  14660. "(@var{file-name} @var{store-item})\n"
  14661. msgstr ""
  14662. #. type: deffn
  14663. #: guix-git/doc/guix.texi:9730
  14664. 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."
  14665. msgstr ""
  14666. #. type: deffn
  14667. #: guix-git/doc/guix.texi:9736
  14668. 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."
  14669. msgstr ""
  14670. #. type: deffn
  14671. #: guix-git/doc/guix.texi:9739
  14672. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  14673. msgstr ""
  14674. #. type: deffn
  14675. #: guix-git/doc/guix.texi:9741
  14676. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  14677. msgstr ""
  14678. #. type: cindex
  14679. #: guix-git/doc/guix.texi:9743
  14680. #, no-wrap
  14681. msgid "file-like objects"
  14682. msgstr ""
  14683. #. type: Plain text
  14684. #: guix-git/doc/guix.texi:9748
  14685. 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:"
  14686. msgstr ""
  14687. #. type: lisp
  14688. #: guix-git/doc/guix.texi:9752
  14689. #, no-wrap
  14690. msgid ""
  14691. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  14692. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  14693. msgstr ""
  14694. #. type: Plain text
  14695. #: guix-git/doc/guix.texi:9761
  14696. 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."
  14697. msgstr ""
  14698. #. type: deffn
  14699. #: guix-git/doc/guix.texi:9762
  14700. #, no-wrap
  14701. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  14702. msgstr ""
  14703. #. type: deffn
  14704. #: guix-git/doc/guix.texi:9771
  14705. 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}."
  14706. msgstr ""
  14707. #. type: deffn
  14708. #: guix-git/doc/guix.texi:9783
  14709. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  14710. msgstr ""
  14711. #. type: deffn
  14712. #: guix-git/doc/guix.texi:9785
  14713. #, no-wrap
  14714. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  14715. msgstr ""
  14716. #. type: deffn
  14717. #: guix-git/doc/guix.texi:9788
  14718. 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."
  14719. msgstr ""
  14720. #. type: deffn
  14721. #: guix-git/doc/guix.texi:9790
  14722. msgid "This is the declarative counterpart of @code{text-file}."
  14723. msgstr ""
  14724. #. type: deffn
  14725. #: guix-git/doc/guix.texi:9792
  14726. #, no-wrap
  14727. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  14728. msgstr ""
  14729. #. type: deffn
  14730. #: guix-git/doc/guix.texi:9799
  14731. 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}."
  14732. msgstr ""
  14733. #. type: deffn
  14734. #: guix-git/doc/guix.texi:9801
  14735. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  14736. msgstr ""
  14737. #. type: deffn
  14738. #: guix-git/doc/guix.texi:9803
  14739. #, no-wrap
  14740. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  14741. msgstr ""
  14742. #. type: deffn
  14743. #: guix-git/doc/guix.texi:9809
  14744. 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}."
  14745. msgstr ""
  14746. #. type: deffn
  14747. #: guix-git/doc/guix.texi:9812
  14748. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  14749. msgstr ""
  14750. #. type: lisp
  14751. #: guix-git/doc/guix.texi:9815
  14752. #, no-wrap
  14753. msgid ""
  14754. "(use-modules (guix gexp) (gnu packages base))\n"
  14755. "\n"
  14756. msgstr ""
  14757. #. type: lisp
  14758. #: guix-git/doc/guix.texi:9819
  14759. #, no-wrap
  14760. msgid ""
  14761. "(gexp->script \"list-files\"\n"
  14762. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  14763. " \"ls\"))\n"
  14764. msgstr ""
  14765. #. type: deffn
  14766. #: guix-git/doc/guix.texi:9824
  14767. 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:"
  14768. msgstr ""
  14769. #. type: example
  14770. #: guix-git/doc/guix.texi:9829
  14771. #, no-wrap
  14772. msgid ""
  14773. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  14774. "!#\n"
  14775. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  14776. msgstr ""
  14777. #. type: deffn
  14778. #: guix-git/doc/guix.texi:9832
  14779. #, no-wrap
  14780. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  14781. msgstr ""
  14782. #. type: deffn
  14783. #: guix-git/doc/guix.texi:9837
  14784. 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}."
  14785. msgstr ""
  14786. #. type: deffn
  14787. #: guix-git/doc/guix.texi:9839
  14788. msgid "This is the declarative counterpart of @code{gexp->script}."
  14789. msgstr ""
  14790. #. type: deffn
  14791. #: guix-git/doc/guix.texi:9841
  14792. #, no-wrap
  14793. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  14794. msgstr ""
  14795. #. type: deffn
  14796. #: guix-git/doc/guix.texi:9848
  14797. 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."
  14798. msgstr ""
  14799. #. type: deffn
  14800. #: guix-git/doc/guix.texi:9853
  14801. 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}."
  14802. msgstr ""
  14803. #. type: deffn
  14804. #: guix-git/doc/guix.texi:9856
  14805. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  14806. msgstr ""
  14807. #. type: deffn
  14808. #: guix-git/doc/guix.texi:9858
  14809. #, no-wrap
  14810. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  14811. msgstr ""
  14812. #. type: deffn
  14813. #: guix-git/doc/guix.texi:9862
  14814. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  14815. msgstr ""
  14816. #. type: deffn
  14817. #: guix-git/doc/guix.texi:9864
  14818. msgid "This is the declarative counterpart of @code{gexp->file}."
  14819. msgstr ""
  14820. #. type: deffn
  14821. #: guix-git/doc/guix.texi:9866
  14822. #, no-wrap
  14823. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  14824. msgstr ""
  14825. #. type: deffn
  14826. #: guix-git/doc/guix.texi:9872
  14827. 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."
  14828. msgstr ""
  14829. #. type: deffn
  14830. #: guix-git/doc/guix.texi:9877
  14831. 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:"
  14832. msgstr ""
  14833. #. type: lisp
  14834. #: guix-git/doc/guix.texi:9885
  14835. #, no-wrap
  14836. msgid ""
  14837. "(define (profile.sh)\n"
  14838. " ;; Return the name of a shell script in the store that\n"
  14839. " ;; initializes the 'PATH' environment variable.\n"
  14840. " (text-file* \"profile.sh\"\n"
  14841. " \"export PATH=\" coreutils \"/bin:\"\n"
  14842. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  14843. msgstr ""
  14844. #. type: deffn
  14845. #: guix-git/doc/guix.texi:9890
  14846. 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."
  14847. msgstr ""
  14848. #. type: deffn
  14849. #: guix-git/doc/guix.texi:9892
  14850. #, no-wrap
  14851. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  14852. msgstr ""
  14853. #. type: deffn
  14854. #: guix-git/doc/guix.texi:9896
  14855. 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:"
  14856. msgstr ""
  14857. #. type: lisp
  14858. #: guix-git/doc/guix.texi:9900
  14859. #, no-wrap
  14860. msgid ""
  14861. "(mixed-text-file \"profile\"\n"
  14862. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  14863. msgstr ""
  14864. #. type: deffn
  14865. #: guix-git/doc/guix.texi:9903
  14866. msgid "This is the declarative counterpart of @code{text-file*}."
  14867. msgstr ""
  14868. #. type: deffn
  14869. #: guix-git/doc/guix.texi:9905
  14870. #, no-wrap
  14871. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  14872. msgstr ""
  14873. #. type: deffn
  14874. #: guix-git/doc/guix.texi:9910
  14875. 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:"
  14876. msgstr ""
  14877. #. type: lisp
  14878. #: guix-git/doc/guix.texi:9917
  14879. #, no-wrap
  14880. msgid ""
  14881. "(file-union \"etc\"\n"
  14882. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  14883. " \"127.0.0.1 localhost\"))\n"
  14884. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  14885. " \"alias ls='ls --color=auto'\"))))\n"
  14886. msgstr ""
  14887. #. type: deffn
  14888. #: guix-git/doc/guix.texi:9920
  14889. msgid "This yields an @code{etc} directory containing these two files."
  14890. msgstr ""
  14891. #. type: deffn
  14892. #: guix-git/doc/guix.texi:9922
  14893. #, no-wrap
  14894. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  14895. msgstr ""
  14896. #. type: deffn
  14897. #: guix-git/doc/guix.texi:9925
  14898. 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:"
  14899. msgstr ""
  14900. #. type: lisp
  14901. #: guix-git/doc/guix.texi:9928
  14902. #, no-wrap
  14903. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  14904. msgstr ""
  14905. #. type: deffn
  14906. #: guix-git/doc/guix.texi:9931
  14907. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  14908. msgstr ""
  14909. #. type: deffn
  14910. #: guix-git/doc/guix.texi:9933
  14911. #, no-wrap
  14912. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  14913. msgstr ""
  14914. #. type: deffn
  14915. #: guix-git/doc/guix.texi:9937
  14916. 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."
  14917. msgstr ""
  14918. #. type: deffn
  14919. #: guix-git/doc/guix.texi:9939
  14920. msgid "As an example, consider this gexp:"
  14921. msgstr ""
  14922. #. type: lisp
  14923. #: guix-git/doc/guix.texi:9944
  14924. #, no-wrap
  14925. msgid ""
  14926. "(gexp->script \"run-uname\"\n"
  14927. " #~(system* #$(file-append coreutils\n"
  14928. " \"/bin/uname\")))\n"
  14929. msgstr ""
  14930. #. type: deffn
  14931. #: guix-git/doc/guix.texi:9947
  14932. msgid "The same effect could be achieved with:"
  14933. msgstr ""
  14934. #. type: lisp
  14935. #: guix-git/doc/guix.texi:9952
  14936. #, no-wrap
  14937. msgid ""
  14938. "(gexp->script \"run-uname\"\n"
  14939. " #~(system* (string-append #$coreutils\n"
  14940. " \"/bin/uname\")))\n"
  14941. msgstr ""
  14942. #. type: deffn
  14943. #: guix-git/doc/guix.texi:9958
  14944. 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}."
  14945. msgstr ""
  14946. #. type: deffn
  14947. #: guix-git/doc/guix.texi:9960
  14948. #, no-wrap
  14949. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  14950. msgstr ""
  14951. #. type: deffnx
  14952. #: guix-git/doc/guix.texi:9961
  14953. #, no-wrap
  14954. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  14955. msgstr ""
  14956. #. type: deffn
  14957. #: guix-git/doc/guix.texi:9964
  14958. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  14959. msgstr ""
  14960. #. type: deffn
  14961. #: guix-git/doc/guix.texi:9969
  14962. 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."
  14963. msgstr ""
  14964. #. type: deffn
  14965. #: guix-git/doc/guix.texi:9972
  14966. 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:"
  14967. msgstr ""
  14968. #. type: lisp
  14969. #: guix-git/doc/guix.texi:9983
  14970. #, no-wrap
  14971. msgid ""
  14972. "#~(system*\n"
  14973. " #+(let-system system\n"
  14974. " (cond ((string-prefix? \"armhf-\" system)\n"
  14975. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  14976. " ((string-prefix? \"x86_64-\" system)\n"
  14977. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  14978. " (else\n"
  14979. " (error \"dunno!\"))))\n"
  14980. " \"-net\" \"user\" #$image)\n"
  14981. msgstr ""
  14982. #. type: deffn
  14983. #: guix-git/doc/guix.texi:9986
  14984. #, no-wrap
  14985. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  14986. msgstr ""
  14987. #. type: deffn
  14988. #: guix-git/doc/guix.texi:9992
  14989. 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."
  14990. msgstr ""
  14991. #. type: deffn
  14992. #: guix-git/doc/guix.texi:9995
  14993. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  14994. msgstr ""
  14995. #. type: lisp
  14996. #: guix-git/doc/guix.texi:9999
  14997. #, no-wrap
  14998. msgid ""
  14999. "(with-parameters ((%current-system \"i686-linux\"))\n"
  15000. " coreutils)\n"
  15001. msgstr ""
  15002. #. type: deffn
  15003. #: guix-git/doc/guix.texi:10003
  15004. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  15005. msgstr ""
  15006. #. type: Plain text
  15007. #: guix-git/doc/guix.texi:10010
  15008. 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."
  15009. msgstr ""
  15010. #. type: Plain text
  15011. #: guix-git/doc/guix.texi:10016
  15012. 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."
  15013. msgstr ""
  15014. #. type: deffn
  15015. #: guix-git/doc/guix.texi:10017
  15016. #, no-wrap
  15017. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  15018. msgstr ""
  15019. #. type: deffn
  15020. #: guix-git/doc/guix.texi:10023
  15021. 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>}."
  15022. msgstr ""
  15023. #. type: section
  15024. #: guix-git/doc/guix.texi:10026
  15025. #, no-wrap
  15026. msgid "Invoking @command{guix repl}"
  15027. msgstr ""
  15028. #. type: cindex
  15029. #: guix-git/doc/guix.texi:10028
  15030. #, no-wrap
  15031. msgid "REPL, read-eval-print loop, script"
  15032. msgstr ""
  15033. #. type: Plain text
  15034. #: guix-git/doc/guix.texi:10038
  15035. 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."
  15036. msgstr ""
  15037. #. type: example
  15038. #: guix-git/doc/guix.texi:10043
  15039. #, no-wrap
  15040. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  15041. msgstr ""
  15042. #. type: Plain text
  15043. #: guix-git/doc/guix.texi:10047
  15044. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  15045. msgstr ""
  15046. #. type: example
  15047. #: guix-git/doc/guix.texi:10050
  15048. #, no-wrap
  15049. msgid "guix repl my-script.scm\n"
  15050. msgstr ""
  15051. #. type: Plain text
  15052. #: guix-git/doc/guix.texi:10054
  15053. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  15054. msgstr ""
  15055. #. type: example
  15056. #: guix-git/doc/guix.texi:10057
  15057. #, no-wrap
  15058. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  15059. msgstr ""
  15060. #. type: Plain text
  15061. #: guix-git/doc/guix.texi:10062
  15062. 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:"
  15063. msgstr ""
  15064. #. type: example
  15065. #: guix-git/doc/guix.texi:10066
  15066. #, no-wrap
  15067. msgid ""
  15068. "@code{#!/usr/bin/env -S guix repl --}\n"
  15069. "@code{!#}\n"
  15070. msgstr ""
  15071. #. type: Plain text
  15072. #: guix-git/doc/guix.texi:10069
  15073. msgid "Without a file name argument, a Guile REPL is started:"
  15074. msgstr ""
  15075. #. type: example
  15076. #: guix-git/doc/guix.texi:10075
  15077. #, no-wrap
  15078. msgid ""
  15079. "$ guix repl\n"
  15080. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15081. "scheme@@(guile-user)> coreutils\n"
  15082. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15083. msgstr ""
  15084. #. type: Plain text
  15085. #: guix-git/doc/guix.texi:10082
  15086. 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."
  15087. msgstr ""
  15088. #. type: Plain text
  15089. #: guix-git/doc/guix.texi:10084
  15090. msgid "The available options are as follows:"
  15091. msgstr ""
  15092. #. type: item
  15093. #: guix-git/doc/guix.texi:10086 guix-git/doc/guix.texi:12448
  15094. #, no-wrap
  15095. msgid "--type=@var{type}"
  15096. msgstr ""
  15097. #. type: itemx
  15098. #: guix-git/doc/guix.texi:10087 guix-git/doc/guix.texi:12449
  15099. #: guix-git/doc/guix.texi:33138
  15100. #, no-wrap
  15101. msgid "-t @var{type}"
  15102. msgstr ""
  15103. #. type: table
  15104. #: guix-git/doc/guix.texi:10089
  15105. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15106. msgstr ""
  15107. #. type: item
  15108. #: guix-git/doc/guix.texi:10091
  15109. #, no-wrap
  15110. msgid "guile"
  15111. msgstr ""
  15112. #. type: table
  15113. #: guix-git/doc/guix.texi:10093
  15114. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15115. msgstr ""
  15116. #. type: item
  15117. #: guix-git/doc/guix.texi:10093
  15118. #, no-wrap
  15119. msgid "machine"
  15120. msgstr "장비"
  15121. #. type: table
  15122. #: guix-git/doc/guix.texi:10096
  15123. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15124. msgstr ""
  15125. #. type: table
  15126. #: guix-git/doc/guix.texi:10102
  15127. 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:"
  15128. msgstr ""
  15129. #. type: item
  15130. #: guix-git/doc/guix.texi:10104
  15131. #, no-wrap
  15132. msgid "--listen=tcp:37146"
  15133. msgstr ""
  15134. #. type: table
  15135. #: guix-git/doc/guix.texi:10106
  15136. msgid "Accept connections on localhost on port 37146."
  15137. msgstr ""
  15138. #. type: item
  15139. #: guix-git/doc/guix.texi:10107
  15140. #, no-wrap
  15141. msgid "--listen=unix:/tmp/socket"
  15142. msgstr ""
  15143. #. type: table
  15144. #: guix-git/doc/guix.texi:10109
  15145. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15146. msgstr ""
  15147. #. type: item
  15148. #: guix-git/doc/guix.texi:10111 guix-git/doc/guix.texi:10215
  15149. #: guix-git/doc/guix.texi:11917 guix-git/doc/guix.texi:12097
  15150. #: guix-git/doc/guix.texi:12242 guix-git/doc/guix.texi:12496
  15151. #, no-wrap
  15152. msgid "--load-path=@var{directory}"
  15153. msgstr ""
  15154. #. type: itemx
  15155. #: guix-git/doc/guix.texi:10112 guix-git/doc/guix.texi:10216
  15156. #: guix-git/doc/guix.texi:12098 guix-git/doc/guix.texi:12243
  15157. #: guix-git/doc/guix.texi:12497
  15158. #, no-wrap
  15159. msgid "-L @var{directory}"
  15160. msgstr ""
  15161. #. type: table
  15162. #: guix-git/doc/guix.texi:10115 guix-git/doc/guix.texi:10219
  15163. #: guix-git/doc/guix.texi:11920 guix-git/doc/guix.texi:12101
  15164. #: guix-git/doc/guix.texi:12246 guix-git/doc/guix.texi:12500
  15165. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15166. msgstr ""
  15167. #. type: table
  15168. #: guix-git/doc/guix.texi:10118
  15169. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15170. msgstr ""
  15171. #. type: itemx
  15172. #: guix-git/doc/guix.texi:10119 guix-git/doc/guix.texi:10678
  15173. #, no-wrap
  15174. msgid "-q"
  15175. msgstr ""
  15176. #. type: table
  15177. #: guix-git/doc/guix.texi:10122
  15178. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15179. msgstr ""
  15180. #. type: Plain text
  15181. #: guix-git/doc/guix.texi:10132
  15182. 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."
  15183. msgstr ""
  15184. #. type: cindex
  15185. #: guix-git/doc/guix.texi:10154
  15186. #, no-wrap
  15187. msgid "package building"
  15188. msgstr ""
  15189. #. type: command{#1}
  15190. #: guix-git/doc/guix.texi:10155
  15191. #, no-wrap
  15192. msgid "guix build"
  15193. msgstr ""
  15194. #. type: Plain text
  15195. #: guix-git/doc/guix.texi:10161
  15196. 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."
  15197. msgstr ""
  15198. #. type: example
  15199. #: guix-git/doc/guix.texi:10166
  15200. #, no-wrap
  15201. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15202. msgstr ""
  15203. #. type: Plain text
  15204. #: guix-git/doc/guix.texi:10171
  15205. 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:"
  15206. msgstr ""
  15207. #. type: example
  15208. #: guix-git/doc/guix.texi:10174
  15209. #, no-wrap
  15210. msgid "guix build emacs guile\n"
  15211. msgstr ""
  15212. #. type: Plain text
  15213. #: guix-git/doc/guix.texi:10177
  15214. msgid "Similarly, the following command builds all the available packages:"
  15215. msgstr ""
  15216. #. type: example
  15217. #: guix-git/doc/guix.texi:10181
  15218. #, no-wrap
  15219. msgid ""
  15220. "guix build --quiet --keep-going \\\n"
  15221. " $(guix package -A | cut -f1,2 --output-delimiter=@@)\n"
  15222. msgstr ""
  15223. #. type: Plain text
  15224. #: guix-git/doc/guix.texi:10189
  15225. 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})."
  15226. msgstr ""
  15227. #. type: Plain text
  15228. #: guix-git/doc/guix.texi:10194
  15229. 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."
  15230. msgstr ""
  15231. #. type: Plain text
  15232. #: guix-git/doc/guix.texi:10197
  15233. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15234. msgstr ""
  15235. #. type: Plain text
  15236. #: guix-git/doc/guix.texi:10212
  15237. 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:"
  15238. msgstr ""
  15239. #. type: table
  15240. #: guix-git/doc/guix.texi:10222 guix-git/doc/guix.texi:11923
  15241. #: guix-git/doc/guix.texi:12104 guix-git/doc/guix.texi:12249
  15242. #: guix-git/doc/guix.texi:12503
  15243. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15244. msgstr ""
  15245. #. type: item
  15246. #: guix-git/doc/guix.texi:10223
  15247. #, no-wrap
  15248. msgid "--keep-failed"
  15249. msgstr ""
  15250. #. type: itemx
  15251. #: guix-git/doc/guix.texi:10224
  15252. #, no-wrap
  15253. msgid "-K"
  15254. msgstr ""
  15255. #. type: table
  15256. #: guix-git/doc/guix.texi:10230
  15257. 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."
  15258. msgstr ""
  15259. #. type: table
  15260. #: guix-git/doc/guix.texi:10234
  15261. 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})."
  15262. msgstr ""
  15263. #. type: item
  15264. #: guix-git/doc/guix.texi:10235
  15265. #, no-wrap
  15266. msgid "--keep-going"
  15267. msgstr ""
  15268. #. type: itemx
  15269. #: guix-git/doc/guix.texi:10236
  15270. #, no-wrap
  15271. msgid "-k"
  15272. msgstr ""
  15273. #. type: table
  15274. #: guix-git/doc/guix.texi:10239
  15275. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15276. msgstr ""
  15277. #. type: table
  15278. #: guix-git/doc/guix.texi:10242
  15279. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15280. msgstr ""
  15281. #. type: table
  15282. #: guix-git/doc/guix.texi:10246
  15283. msgid "Do not build the derivations."
  15284. msgstr ""
  15285. #. type: anchor{#1}
  15286. #: guix-git/doc/guix.texi:10248
  15287. msgid "fallback-option"
  15288. msgstr ""
  15289. #. type: item
  15290. #: guix-git/doc/guix.texi:10248
  15291. #, no-wrap
  15292. msgid "--fallback"
  15293. msgstr ""
  15294. #. type: table
  15295. #: guix-git/doc/guix.texi:10251
  15296. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15297. msgstr ""
  15298. #. type: anchor{#1}
  15299. #: guix-git/doc/guix.texi:10257
  15300. msgid "client-substitute-urls"
  15301. msgstr ""
  15302. #. type: table
  15303. #: guix-git/doc/guix.texi:10257
  15304. 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})."
  15305. msgstr ""
  15306. #. type: table
  15307. #: guix-git/doc/guix.texi:10261
  15308. 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})."
  15309. msgstr ""
  15310. #. type: table
  15311. #: guix-git/doc/guix.texi:10264
  15312. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15313. msgstr ""
  15314. #. type: item
  15315. #: guix-git/doc/guix.texi:10270
  15316. #, no-wrap
  15317. msgid "--no-grafts"
  15318. msgstr ""
  15319. #. type: table
  15320. #: guix-git/doc/guix.texi:10274
  15321. 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."
  15322. msgstr ""
  15323. #. type: item
  15324. #: guix-git/doc/guix.texi:10275
  15325. #, no-wrap
  15326. msgid "--rounds=@var{n}"
  15327. msgstr ""
  15328. #. type: table
  15329. #: guix-git/doc/guix.texi:10278
  15330. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15331. msgstr ""
  15332. #. type: table
  15333. #: guix-git/doc/guix.texi:10283
  15334. 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."
  15335. msgstr ""
  15336. #. type: table
  15337. #: guix-git/doc/guix.texi:10299
  15338. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15339. msgstr ""
  15340. #. type: table
  15341. #: guix-git/doc/guix.texi:10306
  15342. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15343. msgstr ""
  15344. #. type: cindex
  15345. #: guix-git/doc/guix.texi:10309
  15346. #, no-wrap
  15347. msgid "verbosity, of the command-line tools"
  15348. msgstr ""
  15349. #. type: cindex
  15350. #: guix-git/doc/guix.texi:10310
  15351. #, no-wrap
  15352. msgid "build logs, verbosity"
  15353. msgstr ""
  15354. #. type: item
  15355. #: guix-git/doc/guix.texi:10311
  15356. #, no-wrap
  15357. msgid "-v @var{level}"
  15358. msgstr ""
  15359. #. type: itemx
  15360. #: guix-git/doc/guix.texi:10312
  15361. #, no-wrap
  15362. msgid "--verbosity=@var{level}"
  15363. msgstr ""
  15364. #. type: table
  15365. #: guix-git/doc/guix.texi:10317
  15366. 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."
  15367. msgstr ""
  15368. #. type: table
  15369. #: guix-git/doc/guix.texi:10322
  15370. 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."
  15371. msgstr ""
  15372. #. type: table
  15373. #: guix-git/doc/guix.texi:10328
  15374. 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."
  15375. msgstr ""
  15376. #. type: item
  15377. #: guix-git/doc/guix.texi:10329
  15378. #, no-wrap
  15379. msgid "--debug=@var{level}"
  15380. msgstr ""
  15381. #. type: table
  15382. #: guix-git/doc/guix.texi:10333
  15383. 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."
  15384. msgstr ""
  15385. #. type: Plain text
  15386. #: guix-git/doc/guix.texi:10340
  15387. 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."
  15388. msgstr ""
  15389. #. type: Plain text
  15390. #: guix-git/doc/guix.texi:10344
  15391. 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."
  15392. msgstr ""
  15393. #. type: defvr
  15394. #: guix-git/doc/guix.texi:10345
  15395. #, no-wrap
  15396. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  15397. msgstr ""
  15398. #. type: defvr
  15399. #: guix-git/doc/guix.texi:10350
  15400. 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:"
  15401. msgstr ""
  15402. #. type: example
  15403. #: guix-git/doc/guix.texi:10353
  15404. #, no-wrap
  15405. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  15406. msgstr ""
  15407. #. type: defvr
  15408. #: guix-git/doc/guix.texi:10357
  15409. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  15410. msgstr ""
  15411. #. type: cindex
  15412. #: guix-git/doc/guix.texi:10363
  15413. #, no-wrap
  15414. msgid "package variants"
  15415. msgstr ""
  15416. #. type: Plain text
  15417. #: guix-git/doc/guix.texi:10371
  15418. 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})."
  15419. msgstr ""
  15420. #. type: Plain text
  15421. #: guix-git/doc/guix.texi:10375
  15422. 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."
  15423. msgstr ""
  15424. #. type: Plain text
  15425. #: guix-git/doc/guix.texi:10380
  15426. 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)."
  15427. msgstr ""
  15428. #. type: item
  15429. #: guix-git/doc/guix.texi:10383
  15430. #, no-wrap
  15431. msgid "--with-source=@var{source}"
  15432. msgstr ""
  15433. #. type: itemx
  15434. #: guix-git/doc/guix.texi:10384
  15435. #, no-wrap
  15436. msgid "--with-source=@var{package}=@var{source}"
  15437. msgstr ""
  15438. #. type: itemx
  15439. #: guix-git/doc/guix.texi:10385
  15440. #, no-wrap
  15441. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  15442. msgstr ""
  15443. #. type: table
  15444. #: guix-git/doc/guix.texi:10390
  15445. 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})."
  15446. msgstr ""
  15447. #. type: table
  15448. #: guix-git/doc/guix.texi:10396
  15449. 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}."
  15450. msgstr ""
  15451. #. type: table
  15452. #: guix-git/doc/guix.texi:10399
  15453. 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}."
  15454. msgstr ""
  15455. #. type: table
  15456. #: guix-git/doc/guix.texi:10404
  15457. 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:"
  15458. msgstr ""
  15459. #. type: example
  15460. #: guix-git/doc/guix.texi:10407
  15461. #, no-wrap
  15462. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  15463. msgstr ""
  15464. #. type: table
  15465. #: guix-git/doc/guix.texi:10411
  15466. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  15467. msgstr ""
  15468. #. type: example
  15469. #: guix-git/doc/guix.texi:10414
  15470. #, no-wrap
  15471. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  15472. msgstr ""
  15473. #. type: table
  15474. #: guix-git/doc/guix.texi:10417
  15475. msgid "@dots{} or to build from a checkout in a pristine environment:"
  15476. msgstr ""
  15477. #. type: example
  15478. #: guix-git/doc/guix.texi:10421
  15479. #, no-wrap
  15480. msgid ""
  15481. "$ git clone git://git.sv.gnu.org/guix.git\n"
  15482. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  15483. msgstr ""
  15484. #. type: item
  15485. #: guix-git/doc/guix.texi:10423
  15486. #, no-wrap
  15487. msgid "--with-input=@var{package}=@var{replacement}"
  15488. msgstr ""
  15489. #. type: table
  15490. #: guix-git/doc/guix.texi:10428
  15491. 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}."
  15492. msgstr ""
  15493. #. type: table
  15494. #: guix-git/doc/guix.texi:10432
  15495. 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}:"
  15496. msgstr ""
  15497. #. type: example
  15498. #: guix-git/doc/guix.texi:10435
  15499. #, no-wrap
  15500. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  15501. msgstr ""
  15502. #. type: table
  15503. #: guix-git/doc/guix.texi:10440
  15504. 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}."
  15505. msgstr ""
  15506. #. type: table
  15507. #: guix-git/doc/guix.texi:10443
  15508. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  15509. msgstr ""
  15510. #. type: item
  15511. #: guix-git/doc/guix.texi:10444
  15512. #, no-wrap
  15513. msgid "--with-graft=@var{package}=@var{replacement}"
  15514. msgstr ""
  15515. #. type: table
  15516. #: guix-git/doc/guix.texi:10450
  15517. 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."
  15518. msgstr ""
  15519. #. type: table
  15520. #: guix-git/doc/guix.texi:10454
  15521. 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:"
  15522. msgstr ""
  15523. #. type: example
  15524. #: guix-git/doc/guix.texi:10457
  15525. #, no-wrap
  15526. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  15527. msgstr ""
  15528. #. type: table
  15529. #: guix-git/doc/guix.texi:10466
  15530. 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!"
  15531. msgstr ""
  15532. #. type: cindex
  15533. #: guix-git/doc/guix.texi:10467 guix-git/doc/guix.texi:34481
  15534. #, no-wrap
  15535. msgid "debugging info, rebuilding"
  15536. msgstr ""
  15537. #. type: item
  15538. #: guix-git/doc/guix.texi:10468
  15539. #, no-wrap
  15540. msgid "--with-debug-info=@var{package}"
  15541. msgstr ""
  15542. #. type: table
  15543. #: guix-git/doc/guix.texi:10473
  15544. 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})."
  15545. msgstr ""
  15546. #. type: table
  15547. #: guix-git/doc/guix.texi:10479
  15548. 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:"
  15549. msgstr ""
  15550. #. type: example
  15551. #: guix-git/doc/guix.texi:10482 guix-git/doc/guix.texi:34512
  15552. #, no-wrap
  15553. msgid "guix install inkscape --with-debug-info=glib\n"
  15554. msgstr ""
  15555. #. type: table
  15556. #: guix-git/doc/guix.texi:10486
  15557. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  15558. msgstr ""
  15559. #. type: quotation
  15560. #: guix-git/doc/guix.texi:10492
  15561. 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."
  15562. msgstr ""
  15563. #. type: quotation
  15564. #: guix-git/doc/guix.texi:10496
  15565. 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."
  15566. msgstr ""
  15567. #. type: cindex
  15568. #: guix-git/doc/guix.texi:10498
  15569. #, no-wrap
  15570. msgid "tool chain, changing the build tool chain of a package"
  15571. msgstr ""
  15572. #. type: item
  15573. #: guix-git/doc/guix.texi:10499
  15574. #, no-wrap
  15575. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  15576. msgstr ""
  15577. #. type: table
  15578. #: guix-git/doc/guix.texi:10503
  15579. 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++."
  15580. msgstr ""
  15581. #. type: example
  15582. #: guix-git/doc/guix.texi:10510
  15583. #, no-wrap
  15584. msgid ""
  15585. "guix build octave-cli \\\n"
  15586. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  15587. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  15588. msgstr ""
  15589. #. type: table
  15590. #: guix-git/doc/guix.texi:10517
  15591. 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}."
  15592. msgstr ""
  15593. #. type: table
  15594. #: guix-git/doc/guix.texi:10521
  15595. 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:"
  15596. msgstr ""
  15597. #. type: example
  15598. #: guix-git/doc/guix.texi:10525
  15599. #, no-wrap
  15600. msgid ""
  15601. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  15602. " intel-mpi-benchmarks\n"
  15603. msgstr ""
  15604. #. type: quotation
  15605. #: guix-git/doc/guix.texi:10534
  15606. 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."
  15607. msgstr ""
  15608. #. type: item
  15609. #: guix-git/doc/guix.texi:10536
  15610. #, no-wrap
  15611. msgid "--with-git-url=@var{package}=@var{url}"
  15612. msgstr ""
  15613. #. type: cindex
  15614. #: guix-git/doc/guix.texi:10537
  15615. #, no-wrap
  15616. msgid "Git, using the latest commit"
  15617. msgstr ""
  15618. #. type: cindex
  15619. #: guix-git/doc/guix.texi:10538
  15620. #, no-wrap
  15621. msgid "latest commit, building"
  15622. msgstr ""
  15623. #. type: table
  15624. #: guix-git/doc/guix.texi:10542
  15625. 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."
  15626. msgstr ""
  15627. #. type: table
  15628. #: guix-git/doc/guix.texi:10545
  15629. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  15630. msgstr ""
  15631. #. type: example
  15632. #: guix-git/doc/guix.texi:10549
  15633. #, no-wrap
  15634. msgid ""
  15635. "guix build python-numpy \\\n"
  15636. " --with-git-url=python=https://github.com/python/cpython\n"
  15637. msgstr ""
  15638. #. type: table
  15639. #: guix-git/doc/guix.texi:10553
  15640. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  15641. msgstr ""
  15642. #. type: cindex
  15643. #: guix-git/doc/guix.texi:10554 guix-git/doc/guix.texi:27180
  15644. #, no-wrap
  15645. msgid "continuous integration"
  15646. msgstr ""
  15647. #. type: table
  15648. #: guix-git/doc/guix.texi:10560
  15649. 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)."
  15650. msgstr ""
  15651. #. type: table
  15652. #: guix-git/doc/guix.texi:10564
  15653. 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."
  15654. msgstr ""
  15655. #. type: item
  15656. #: guix-git/doc/guix.texi:10565
  15657. #, no-wrap
  15658. msgid "--with-branch=@var{package}=@var{branch}"
  15659. msgstr ""
  15660. #. type: table
  15661. #: guix-git/doc/guix.texi:10571
  15662. 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."
  15663. msgstr ""
  15664. #. type: table
  15665. #: guix-git/doc/guix.texi:10576
  15666. 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:"
  15667. msgstr ""
  15668. #. type: example
  15669. #: guix-git/doc/guix.texi:10579
  15670. #, no-wrap
  15671. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  15672. msgstr ""
  15673. #. type: item
  15674. #: guix-git/doc/guix.texi:10581
  15675. #, no-wrap
  15676. msgid "--with-commit=@var{package}=@var{commit}"
  15677. msgstr ""
  15678. #. type: table
  15679. #: guix-git/doc/guix.texi:10585
  15680. 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."
  15681. msgstr ""
  15682. #. type: item
  15683. #: guix-git/doc/guix.texi:10586
  15684. #, no-wrap
  15685. msgid "--with-patch=@var{package}=@var{file}"
  15686. msgstr ""
  15687. #. type: table
  15688. #: guix-git/doc/guix.texi:10593
  15689. 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})."
  15690. msgstr ""
  15691. #. type: table
  15692. #: guix-git/doc/guix.texi:10596
  15693. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  15694. msgstr ""
  15695. #. type: example
  15696. #: guix-git/doc/guix.texi:10599
  15697. #, no-wrap
  15698. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  15699. msgstr ""
  15700. #. type: table
  15701. #: guix-git/doc/guix.texi:10603
  15702. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  15703. msgstr ""
  15704. #. type: cindex
  15705. #: guix-git/doc/guix.texi:10604
  15706. #, no-wrap
  15707. msgid "upstream, latest version"
  15708. msgstr ""
  15709. #. type: item
  15710. #: guix-git/doc/guix.texi:10605
  15711. #, no-wrap
  15712. msgid "--with-latest=@var{package}"
  15713. msgstr ""
  15714. #. type: table
  15715. #: guix-git/doc/guix.texi:10610
  15716. 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})."
  15717. msgstr ""
  15718. #. type: table
  15719. #: guix-git/doc/guix.texi:10614
  15720. 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."
  15721. msgstr ""
  15722. #. type: table
  15723. #: guix-git/doc/guix.texi:10617
  15724. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  15725. msgstr ""
  15726. #. type: example
  15727. #: guix-git/doc/guix.texi:10620
  15728. #, no-wrap
  15729. msgid "guix build guix --with-latest=guile-json\n"
  15730. msgstr ""
  15731. #. type: table
  15732. #: guix-git/doc/guix.texi:10629
  15733. 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."
  15734. msgstr ""
  15735. #. type: table
  15736. #: guix-git/doc/guix.texi:10634
  15737. 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})."
  15738. msgstr ""
  15739. #. type: cindex
  15740. #: guix-git/doc/guix.texi:10635
  15741. #, no-wrap
  15742. msgid "test suite, skipping"
  15743. msgstr ""
  15744. #. type: item
  15745. #: guix-git/doc/guix.texi:10636
  15746. #, no-wrap
  15747. msgid "--without-tests=@var{package}"
  15748. msgstr ""
  15749. #. type: table
  15750. #: guix-git/doc/guix.texi:10642
  15751. 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."
  15752. msgstr ""
  15753. #. type: table
  15754. #: guix-git/doc/guix.texi:10646
  15755. 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:"
  15756. msgstr ""
  15757. #. type: example
  15758. #: guix-git/doc/guix.texi:10649
  15759. #, no-wrap
  15760. msgid "guix install --without-tests=python python-notebook\n"
  15761. msgstr ""
  15762. #. type: table
  15763. #: guix-git/doc/guix.texi:10655
  15764. 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."
  15765. msgstr ""
  15766. #. type: table
  15767. #: guix-git/doc/guix.texi:10661
  15768. 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."
  15769. msgstr ""
  15770. #. type: Plain text
  15771. #: guix-git/doc/guix.texi:10668
  15772. 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."
  15773. msgstr ""
  15774. #. type: Plain text
  15775. #: guix-git/doc/guix.texi:10674
  15776. msgid "The command-line options presented below are specific to @command{guix build}."
  15777. msgstr ""
  15778. #. type: item
  15779. #: guix-git/doc/guix.texi:10677
  15780. #, no-wrap
  15781. msgid "--quiet"
  15782. msgstr ""
  15783. #. type: table
  15784. #: guix-git/doc/guix.texi:10682
  15785. 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."
  15786. msgstr ""
  15787. #. type: item
  15788. #: guix-git/doc/guix.texi:10683
  15789. #, no-wrap
  15790. msgid "--file=@var{file}"
  15791. msgstr ""
  15792. #. type: table
  15793. #: guix-git/doc/guix.texi:10687
  15794. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  15795. msgstr ""
  15796. #. type: table
  15797. #: guix-git/doc/guix.texi:10690
  15798. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  15799. msgstr ""
  15800. #. type: table
  15801. #: guix-git/doc/guix.texi:10699
  15802. 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}:"
  15803. msgstr ""
  15804. #. type: item
  15805. #: guix-git/doc/guix.texi:10704
  15806. #, no-wrap
  15807. msgid "--manifest=@var{manifest}"
  15808. msgstr ""
  15809. #. type: itemx
  15810. #: guix-git/doc/guix.texi:10705
  15811. #, no-wrap
  15812. msgid "-m @var{manifest}"
  15813. msgstr ""
  15814. #. type: table
  15815. #: guix-git/doc/guix.texi:10708
  15816. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  15817. msgstr ""
  15818. #. type: table
  15819. #: guix-git/doc/guix.texi:10712
  15820. msgid "Build the package or derivation @var{expr} evaluates to."
  15821. msgstr ""
  15822. #. type: table
  15823. #: guix-git/doc/guix.texi:10716
  15824. 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."
  15825. msgstr ""
  15826. #. type: table
  15827. #: guix-git/doc/guix.texi:10720
  15828. 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})."
  15829. msgstr ""
  15830. #. type: table
  15831. #: guix-git/doc/guix.texi:10724
  15832. 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}."
  15833. msgstr ""
  15834. #. type: item
  15835. #: guix-git/doc/guix.texi:10725
  15836. #, no-wrap
  15837. msgid "--source"
  15838. msgstr ""
  15839. #. type: itemx
  15840. #: guix-git/doc/guix.texi:10726
  15841. #, no-wrap
  15842. msgid "-S"
  15843. msgstr ""
  15844. #. type: table
  15845. #: guix-git/doc/guix.texi:10729
  15846. msgid "Build the source derivations of the packages, rather than the packages themselves."
  15847. msgstr ""
  15848. #. type: table
  15849. #: guix-git/doc/guix.texi:10733
  15850. 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."
  15851. msgstr ""
  15852. #. type: table
  15853. #: guix-git/doc/guix.texi:10737
  15854. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  15855. msgstr ""
  15856. #. type: cindex
  15857. #: guix-git/doc/guix.texi:10738
  15858. #, no-wrap
  15859. msgid "source, verification"
  15860. msgstr ""
  15861. #. type: table
  15862. #: guix-git/doc/guix.texi:10744
  15863. 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."
  15864. msgstr ""
  15865. #. type: table
  15866. #: guix-git/doc/guix.texi:10749
  15867. 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."
  15868. msgstr ""
  15869. #. type: item
  15870. #: guix-git/doc/guix.texi:10750
  15871. #, no-wrap
  15872. msgid "--sources"
  15873. msgstr ""
  15874. #. type: table
  15875. #: guix-git/doc/guix.texi:10757
  15876. 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:"
  15877. msgstr ""
  15878. #. type: item
  15879. #: guix-git/doc/guix.texi:10759 guix-git/doc/guix.texi:12303
  15880. #, no-wrap
  15881. msgid "package"
  15882. msgstr "꾸러미"
  15883. #. type: table
  15884. #: guix-git/doc/guix.texi:10762
  15885. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  15886. msgstr ""
  15887. #. type: item
  15888. #: guix-git/doc/guix.texi:10763 guix-git/doc/guix.texi:18249
  15889. #, no-wrap
  15890. msgid "all"
  15891. msgstr "전체"
  15892. #. type: table
  15893. #: guix-git/doc/guix.texi:10766
  15894. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  15895. msgstr ""
  15896. #. type: example
  15897. #: guix-git/doc/guix.texi:10772
  15898. #, no-wrap
  15899. msgid ""
  15900. "$ guix build --sources tzdata\n"
  15901. "The following derivations will be built:\n"
  15902. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  15903. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  15904. msgstr ""
  15905. #. type: item
  15906. #: guix-git/doc/guix.texi:10774
  15907. #, no-wrap
  15908. msgid "transitive"
  15909. msgstr ""
  15910. #. type: table
  15911. #: guix-git/doc/guix.texi:10778
  15912. 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."
  15913. msgstr ""
  15914. #. type: example
  15915. #: guix-git/doc/guix.texi:10789
  15916. #, no-wrap
  15917. msgid ""
  15918. "$ guix build --sources=transitive tzdata\n"
  15919. "The following derivations will be built:\n"
  15920. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  15921. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  15922. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  15923. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  15924. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  15925. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  15926. "@dots{}\n"
  15927. msgstr ""
  15928. #. type: table
  15929. #: guix-git/doc/guix.texi:10799
  15930. 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."
  15931. msgstr ""
  15932. #. type: quotation
  15933. #: guix-git/doc/guix.texi:10804
  15934. 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."
  15935. msgstr ""
  15936. #. type: table
  15937. #: guix-git/doc/guix.texi:10811
  15938. 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."
  15939. msgstr ""
  15940. #. type: quotation
  15941. #: guix-git/doc/guix.texi:10816
  15942. 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."
  15943. msgstr ""
  15944. #. type: table
  15945. #: guix-git/doc/guix.texi:10822
  15946. 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."
  15947. msgstr ""
  15948. #. type: table
  15949. #: guix-git/doc/guix.texi:10826
  15950. 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."
  15951. msgstr ""
  15952. #. type: table
  15953. #: guix-git/doc/guix.texi:10832
  15954. 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})."
  15955. msgstr ""
  15956. #. type: anchor{#1}
  15957. #: guix-git/doc/guix.texi:10834
  15958. msgid "build-check"
  15959. msgstr ""
  15960. #. type: item
  15961. #: guix-git/doc/guix.texi:10834
  15962. #, no-wrap
  15963. msgid "--check"
  15964. msgstr ""
  15965. #. type: cindex
  15966. #: guix-git/doc/guix.texi:10835
  15967. #, no-wrap
  15968. msgid "determinism, checking"
  15969. msgstr ""
  15970. #. type: cindex
  15971. #: guix-git/doc/guix.texi:10836
  15972. #, no-wrap
  15973. msgid "reproducibility, checking"
  15974. msgstr ""
  15975. #. type: table
  15976. #: guix-git/doc/guix.texi:10840
  15977. 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."
  15978. msgstr ""
  15979. #. type: table
  15980. #: guix-git/doc/guix.texi:10845
  15981. 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."
  15982. msgstr ""
  15983. #. type: item
  15984. #: guix-git/doc/guix.texi:10850
  15985. #, no-wrap
  15986. msgid "--repair"
  15987. msgstr ""
  15988. #. type: cindex
  15989. #: guix-git/doc/guix.texi:10851
  15990. #, no-wrap
  15991. msgid "repairing store items"
  15992. msgstr ""
  15993. #. type: table
  15994. #: guix-git/doc/guix.texi:10855
  15995. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  15996. msgstr ""
  15997. #. type: table
  15998. #: guix-git/doc/guix.texi:10857
  15999. msgid "This operation is not atomic and thus restricted to @code{root}."
  16000. msgstr ""
  16001. #. type: item
  16002. #: guix-git/doc/guix.texi:10858
  16003. #, no-wrap
  16004. msgid "--derivations"
  16005. msgstr ""
  16006. #. type: table
  16007. #: guix-git/doc/guix.texi:10862
  16008. msgid "Return the derivation paths, not the output paths, of the given packages."
  16009. msgstr ""
  16010. #. type: cindex
  16011. #: guix-git/doc/guix.texi:10865
  16012. #, no-wrap
  16013. msgid "GC roots, adding"
  16014. msgstr ""
  16015. #. type: cindex
  16016. #: guix-git/doc/guix.texi:10866
  16017. #, no-wrap
  16018. msgid "garbage collector roots, adding"
  16019. msgstr ""
  16020. #. type: table
  16021. #: guix-git/doc/guix.texi:10869 guix-git/doc/guix.texi:33169
  16022. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  16023. msgstr ""
  16024. #. type: table
  16025. #: guix-git/doc/guix.texi:10875
  16026. 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."
  16027. msgstr ""
  16028. #. type: item
  16029. #: guix-git/doc/guix.texi:10876
  16030. #, no-wrap
  16031. msgid "--log-file"
  16032. msgstr ""
  16033. #. type: cindex
  16034. #: guix-git/doc/guix.texi:10877
  16035. #, no-wrap
  16036. msgid "build logs, access"
  16037. msgstr ""
  16038. #. type: table
  16039. #: guix-git/doc/guix.texi:10881
  16040. 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."
  16041. msgstr ""
  16042. #. type: table
  16043. #: guix-git/doc/guix.texi:10884
  16044. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  16045. msgstr ""
  16046. #. type: example
  16047. #: guix-git/doc/guix.texi:10890
  16048. #, no-wrap
  16049. msgid ""
  16050. "guix build --log-file $(guix build -d guile)\n"
  16051. "guix build --log-file $(guix build guile)\n"
  16052. "guix build --log-file guile\n"
  16053. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  16054. msgstr ""
  16055. #. type: table
  16056. #: guix-git/doc/guix.texi:10895
  16057. 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})."
  16058. msgstr ""
  16059. #. type: table
  16060. #: guix-git/doc/guix.texi:10898
  16061. 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:"
  16062. msgstr ""
  16063. #. type: example
  16064. #: guix-git/doc/guix.texi:10902
  16065. #, no-wrap
  16066. msgid ""
  16067. "$ guix build --log-file gdb -s aarch64-linux\n"
  16068. "https://@value{SUBSTITUTE-SERVER}/log/@dots{}-gdb-7.10\n"
  16069. msgstr ""
  16070. #. type: table
  16071. #: guix-git/doc/guix.texi:10905
  16072. msgid "You can freely access a huge library of build logs!"
  16073. msgstr ""
  16074. #. type: cindex
  16075. #: guix-git/doc/guix.texi:10910
  16076. #, no-wrap
  16077. msgid "build failures, debugging"
  16078. msgstr ""
  16079. #. type: Plain text
  16080. #: guix-git/doc/guix.texi:10916
  16081. 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."
  16082. msgstr ""
  16083. #. type: Plain text
  16084. #: guix-git/doc/guix.texi:10921
  16085. 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}})."
  16086. msgstr ""
  16087. #. type: Plain text
  16088. #: guix-git/doc/guix.texi:10927
  16089. 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:"
  16090. msgstr ""
  16091. #. type: example
  16092. #: guix-git/doc/guix.texi:10934
  16093. #, no-wrap
  16094. msgid ""
  16095. "$ guix build foo -K\n"
  16096. "@dots{} @i{build fails}\n"
  16097. "$ cd /tmp/guix-build-foo.drv-0\n"
  16098. "$ source ./environment-variables\n"
  16099. "$ cd foo-1.2\n"
  16100. msgstr ""
  16101. #. type: Plain text
  16102. #: guix-git/doc/guix.texi:10938
  16103. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16104. msgstr ""
  16105. #. type: Plain text
  16106. #: guix-git/doc/guix.texi:10944
  16107. 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})."
  16108. msgstr ""
  16109. #. type: Plain text
  16110. #: guix-git/doc/guix.texi:10947
  16111. 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:"
  16112. msgstr ""
  16113. #. type: example
  16114. #: guix-git/doc/guix.texi:10955
  16115. #, no-wrap
  16116. msgid ""
  16117. "$ guix build -K foo\n"
  16118. "@dots{}\n"
  16119. "$ cd /tmp/guix-build-foo.drv-0\n"
  16120. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16121. "[env]# source ./environment-variables\n"
  16122. "[env]# cd foo-1.2\n"
  16123. msgstr ""
  16124. #. type: Plain text
  16125. #: guix-git/doc/guix.texi:10964
  16126. 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)."
  16127. msgstr ""
  16128. #. type: Plain text
  16129. #: guix-git/doc/guix.texi:10967
  16130. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16131. msgstr ""
  16132. #. type: example
  16133. #: guix-git/doc/guix.texi:10970
  16134. #, no-wrap
  16135. msgid "[env]# rm /bin/sh\n"
  16136. msgstr ""
  16137. #. type: Plain text
  16138. #: guix-git/doc/guix.texi:10974
  16139. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16140. msgstr ""
  16141. #. type: Plain text
  16142. #: guix-git/doc/guix.texi:10977
  16143. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16144. msgstr ""
  16145. #. type: example
  16146. #: guix-git/doc/guix.texi:10980
  16147. #, no-wrap
  16148. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16149. msgstr ""
  16150. #. type: Plain text
  16151. #: guix-git/doc/guix.texi:10985
  16152. 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."
  16153. msgstr ""
  16154. #. type: section
  16155. #: guix-git/doc/guix.texi:10988
  16156. #, no-wrap
  16157. msgid "Invoking @command{guix edit}"
  16158. msgstr ""
  16159. #. type: command{#1}
  16160. #: guix-git/doc/guix.texi:10990
  16161. #, no-wrap
  16162. msgid "guix edit"
  16163. msgstr ""
  16164. #. type: cindex
  16165. #: guix-git/doc/guix.texi:10991
  16166. #, no-wrap
  16167. msgid "package definition, editing"
  16168. msgstr ""
  16169. #. type: Plain text
  16170. #: guix-git/doc/guix.texi:10996
  16171. 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:"
  16172. msgstr ""
  16173. #. type: example
  16174. #: guix-git/doc/guix.texi:10999
  16175. #, no-wrap
  16176. msgid "guix edit gcc@@4.9 vim\n"
  16177. msgstr ""
  16178. #. type: Plain text
  16179. #: guix-git/doc/guix.texi:11005
  16180. 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."
  16181. msgstr ""
  16182. #. type: Plain text
  16183. #: guix-git/doc/guix.texi:11011
  16184. 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."
  16185. msgstr ""
  16186. #. type: Plain text
  16187. #: guix-git/doc/guix.texi:11016
  16188. 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."
  16189. msgstr ""
  16190. #. type: section
  16191. #: guix-git/doc/guix.texi:11018
  16192. #, no-wrap
  16193. msgid "Invoking @command{guix download}"
  16194. msgstr ""
  16195. #. type: command{#1}
  16196. #: guix-git/doc/guix.texi:11020
  16197. #, no-wrap
  16198. msgid "guix download"
  16199. msgstr ""
  16200. #. type: cindex
  16201. #: guix-git/doc/guix.texi:11021
  16202. #, no-wrap
  16203. msgid "downloading package sources"
  16204. msgstr ""
  16205. #. type: Plain text
  16206. #: guix-git/doc/guix.texi:11028
  16207. 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."
  16208. msgstr ""
  16209. #. type: Plain text
  16210. #: guix-git/doc/guix.texi:11035
  16211. 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})."
  16212. msgstr ""
  16213. #. type: Plain text
  16214. #: guix-git/doc/guix.texi:11043
  16215. 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."
  16216. msgstr ""
  16217. #. type: Plain text
  16218. #: guix-git/doc/guix.texi:11048
  16219. 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."
  16220. msgstr ""
  16221. #. type: Plain text
  16222. #: guix-git/doc/guix.texi:11050 guix-git/doc/guix.texi:12602
  16223. msgid "The following options are available:"
  16224. msgstr ""
  16225. #. type: item
  16226. #: guix-git/doc/guix.texi:11052 guix-git/doc/guix.texi:11096
  16227. #, no-wrap
  16228. msgid "--hash=@var{algorithm}"
  16229. msgstr ""
  16230. #. type: itemx
  16231. #: guix-git/doc/guix.texi:11053 guix-git/doc/guix.texi:11097
  16232. #, no-wrap
  16233. msgid "-H @var{algorithm}"
  16234. msgstr ""
  16235. #. type: table
  16236. #: guix-git/doc/guix.texi:11056
  16237. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16238. msgstr ""
  16239. #. type: item
  16240. #: guix-git/doc/guix.texi:11057 guix-git/doc/guix.texi:11106
  16241. #, no-wrap
  16242. msgid "--format=@var{fmt}"
  16243. msgstr ""
  16244. #. type: itemx
  16245. #: guix-git/doc/guix.texi:11058 guix-git/doc/guix.texi:11107
  16246. #, no-wrap
  16247. msgid "-f @var{fmt}"
  16248. msgstr ""
  16249. #. type: table
  16250. #: guix-git/doc/guix.texi:11061
  16251. 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}."
  16252. msgstr ""
  16253. #. type: item
  16254. #: guix-git/doc/guix.texi:11062
  16255. #, no-wrap
  16256. msgid "--no-check-certificate"
  16257. msgstr ""
  16258. #. type: table
  16259. #: guix-git/doc/guix.texi:11064
  16260. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16261. msgstr ""
  16262. #. type: table
  16263. #: guix-git/doc/guix.texi:11068
  16264. 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."
  16265. msgstr ""
  16266. #. type: item
  16267. #: guix-git/doc/guix.texi:11069
  16268. #, no-wrap
  16269. msgid "--output=@var{file}"
  16270. msgstr ""
  16271. #. type: itemx
  16272. #: guix-git/doc/guix.texi:11070
  16273. #, no-wrap
  16274. msgid "-o @var{file}"
  16275. msgstr ""
  16276. #. type: table
  16277. #: guix-git/doc/guix.texi:11073
  16278. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16279. msgstr ""
  16280. #. type: section
  16281. #: guix-git/doc/guix.texi:11076
  16282. #, no-wrap
  16283. msgid "Invoking @command{guix hash}"
  16284. msgstr ""
  16285. #. type: command{#1}
  16286. #: guix-git/doc/guix.texi:11078
  16287. #, no-wrap
  16288. msgid "guix hash"
  16289. msgstr ""
  16290. #. type: Plain text
  16291. #: guix-git/doc/guix.texi:11083
  16292. 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})."
  16293. msgstr ""
  16294. #. type: example
  16295. #: guix-git/doc/guix.texi:11088
  16296. #, no-wrap
  16297. msgid "guix hash @var{option} @var{file}\n"
  16298. msgstr ""
  16299. #. type: Plain text
  16300. #: guix-git/doc/guix.texi:11093
  16301. 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:"
  16302. msgstr ""
  16303. #. type: table
  16304. #: guix-git/doc/guix.texi:11100
  16305. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16306. msgstr ""
  16307. #. type: table
  16308. #: guix-git/doc/guix.texi:11105
  16309. 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})."
  16310. msgstr ""
  16311. #. type: table
  16312. #: guix-git/doc/guix.texi:11109
  16313. msgid "Write the hash in the format specified by @var{fmt}."
  16314. msgstr ""
  16315. #. type: table
  16316. #: guix-git/doc/guix.texi:11112
  16317. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16318. msgstr ""
  16319. #. type: table
  16320. #: guix-git/doc/guix.texi:11116
  16321. 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."
  16322. msgstr ""
  16323. #. type: table
  16324. #: guix-git/doc/guix.texi:11120
  16325. msgid "Compute the hash on @var{file} recursively."
  16326. msgstr ""
  16327. #. type: table
  16328. #: guix-git/doc/guix.texi:11129
  16329. 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})."
  16330. msgstr ""
  16331. #. type: item
  16332. #: guix-git/doc/guix.texi:11130
  16333. #, no-wrap
  16334. msgid "--exclude-vcs"
  16335. msgstr ""
  16336. #. type: itemx
  16337. #: guix-git/doc/guix.texi:11131 guix-git/doc/guix.texi:12089
  16338. #, no-wrap
  16339. msgid "-x"
  16340. msgstr ""
  16341. #. type: table
  16342. #: guix-git/doc/guix.texi:11134
  16343. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16344. msgstr ""
  16345. #. type: vindex
  16346. #: guix-git/doc/guix.texi:11135
  16347. #, no-wrap
  16348. msgid "git-fetch"
  16349. msgstr ""
  16350. #. type: table
  16351. #: guix-git/doc/guix.texi:11139
  16352. 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}):"
  16353. msgstr ""
  16354. #. type: example
  16355. #: guix-git/doc/guix.texi:11144
  16356. #, no-wrap
  16357. msgid ""
  16358. "$ git clone http://example.org/foo.git\n"
  16359. "$ cd foo\n"
  16360. "$ guix hash -rx .\n"
  16361. msgstr ""
  16362. #. type: cindex
  16363. #: guix-git/doc/guix.texi:11148 guix-git/doc/guix.texi:11153
  16364. #, no-wrap
  16365. msgid "Invoking @command{guix import}"
  16366. msgstr ""
  16367. #. type: cindex
  16368. #: guix-git/doc/guix.texi:11150
  16369. #, no-wrap
  16370. msgid "importing packages"
  16371. msgstr ""
  16372. #. type: cindex
  16373. #: guix-git/doc/guix.texi:11151
  16374. #, no-wrap
  16375. msgid "package import"
  16376. msgstr ""
  16377. #. type: cindex
  16378. #: guix-git/doc/guix.texi:11152
  16379. #, no-wrap
  16380. msgid "package conversion"
  16381. msgstr ""
  16382. #. type: Plain text
  16383. #: guix-git/doc/guix.texi:11160
  16384. 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})."
  16385. msgstr ""
  16386. #. type: example
  16387. #: guix-git/doc/guix.texi:11165
  16388. #, no-wrap
  16389. msgid "guix import @var{importer} @var{options}@dots{}\n"
  16390. msgstr ""
  16391. #. type: Plain text
  16392. #: guix-git/doc/guix.texi:11170
  16393. 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}."
  16394. msgstr ""
  16395. #. type: Plain text
  16396. #: guix-git/doc/guix.texi:11174
  16397. 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."
  16398. msgstr ""
  16399. #. type: Plain text
  16400. #: guix-git/doc/guix.texi:11176
  16401. msgid "Currently, the available ``importers'' are:"
  16402. msgstr ""
  16403. #. type: item
  16404. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11736
  16405. #, no-wrap
  16406. msgid "gnu"
  16407. msgstr ""
  16408. #. type: table
  16409. #: guix-git/doc/guix.texi:11182
  16410. 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."
  16411. msgstr ""
  16412. #. type: table
  16413. #: guix-git/doc/guix.texi:11185
  16414. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  16415. msgstr ""
  16416. #. type: table
  16417. #: guix-git/doc/guix.texi:11188
  16418. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  16419. msgstr ""
  16420. #. type: example
  16421. #: guix-git/doc/guix.texi:11191
  16422. #, no-wrap
  16423. msgid "guix import gnu hello\n"
  16424. msgstr ""
  16425. #. type: table
  16426. #: guix-git/doc/guix.texi:11194 guix-git/doc/guix.texi:11404
  16427. #: guix-git/doc/guix.texi:11454 guix-git/doc/guix.texi:11483
  16428. msgid "Specific command-line options are:"
  16429. msgstr ""
  16430. #. type: item
  16431. #: guix-git/doc/guix.texi:11196 guix-git/doc/guix.texi:11897
  16432. #, no-wrap
  16433. msgid "--key-download=@var{policy}"
  16434. msgstr ""
  16435. #. type: table
  16436. #: guix-git/doc/guix.texi:11200
  16437. 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}}."
  16438. msgstr ""
  16439. #. type: item
  16440. #: guix-git/doc/guix.texi:11202 guix-git/doc/guix.texi:11203
  16441. #: guix-git/doc/guix.texi:11758
  16442. #, no-wrap
  16443. msgid "pypi"
  16444. msgstr ""
  16445. #. type: table
  16446. #: guix-git/doc/guix.texi:11210
  16447. 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."
  16448. msgstr ""
  16449. #. type: table
  16450. #: guix-git/doc/guix.texi:11213
  16451. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  16452. msgstr ""
  16453. #. type: example
  16454. #: guix-git/doc/guix.texi:11216
  16455. #, no-wrap
  16456. msgid "guix import pypi itsdangerous\n"
  16457. msgstr ""
  16458. #. type: table
  16459. #: guix-git/doc/guix.texi:11224 guix-git/doc/guix.texi:11249
  16460. #: guix-git/doc/guix.texi:11427 guix-git/doc/guix.texi:11468
  16461. #: guix-git/doc/guix.texi:11515 guix-git/doc/guix.texi:11540
  16462. #: guix-git/doc/guix.texi:11556 guix-git/doc/guix.texi:11587
  16463. 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."
  16464. msgstr ""
  16465. #. type: item
  16466. #: guix-git/doc/guix.texi:11226 guix-git/doc/guix.texi:11227
  16467. #: guix-git/doc/guix.texi:11760
  16468. #, no-wrap
  16469. msgid "gem"
  16470. msgstr ""
  16471. #. type: table
  16472. #: guix-git/doc/guix.texi:11236
  16473. 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."
  16474. msgstr ""
  16475. #. type: table
  16476. #: guix-git/doc/guix.texi:11238
  16477. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  16478. msgstr ""
  16479. #. type: example
  16480. #: guix-git/doc/guix.texi:11241
  16481. #, no-wrap
  16482. msgid "guix import gem rails\n"
  16483. msgstr ""
  16484. #. type: item
  16485. #: guix-git/doc/guix.texi:11251 guix-git/doc/guix.texi:11756
  16486. #, no-wrap
  16487. msgid "cpan"
  16488. msgstr ""
  16489. #. type: cindex
  16490. #: guix-git/doc/guix.texi:11252
  16491. #, no-wrap
  16492. msgid "CPAN"
  16493. msgstr ""
  16494. #. type: table
  16495. #: guix-git/doc/guix.texi:11260
  16496. 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."
  16497. msgstr ""
  16498. #. type: table
  16499. #: guix-git/doc/guix.texi:11263
  16500. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  16501. msgstr ""
  16502. #. type: example
  16503. #: guix-git/doc/guix.texi:11266
  16504. #, no-wrap
  16505. msgid "guix import cpan Acme::Boolean\n"
  16506. msgstr ""
  16507. #. type: item
  16508. #: guix-git/doc/guix.texi:11268 guix-git/doc/guix.texi:11752
  16509. #, no-wrap
  16510. msgid "cran"
  16511. msgstr ""
  16512. #. type: cindex
  16513. #: guix-git/doc/guix.texi:11269
  16514. #, no-wrap
  16515. msgid "CRAN"
  16516. msgstr ""
  16517. #. type: cindex
  16518. #: guix-git/doc/guix.texi:11270
  16519. #, no-wrap
  16520. msgid "Bioconductor"
  16521. msgstr ""
  16522. #. type: table
  16523. #: guix-git/doc/guix.texi:11274
  16524. 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}."
  16525. msgstr ""
  16526. #. type: table
  16527. #: guix-git/doc/guix.texi:11276
  16528. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  16529. msgstr ""
  16530. #. type: table
  16531. #: guix-git/doc/guix.texi:11278
  16532. msgid "The command command below imports metadata for the Cairo R package:"
  16533. msgstr ""
  16534. #. type: example
  16535. #: guix-git/doc/guix.texi:11281
  16536. #, no-wrap
  16537. msgid "guix import cran Cairo\n"
  16538. msgstr ""
  16539. #. type: table
  16540. #: guix-git/doc/guix.texi:11286
  16541. 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."
  16542. msgstr ""
  16543. #. type: table
  16544. #: guix-git/doc/guix.texi:11293
  16545. 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}."
  16546. msgstr ""
  16547. #. type: table
  16548. #: guix-git/doc/guix.texi:11298
  16549. 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."
  16550. msgstr ""
  16551. #. type: table
  16552. #: guix-git/doc/guix.texi:11301
  16553. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  16554. msgstr ""
  16555. #. type: table
  16556. #: guix-git/doc/guix.texi:11303
  16557. msgid "The command below imports metadata for the GenomicRanges R package:"
  16558. msgstr ""
  16559. #. type: example
  16560. #: guix-git/doc/guix.texi:11306
  16561. #, no-wrap
  16562. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  16563. msgstr ""
  16564. #. type: table
  16565. #: guix-git/doc/guix.texi:11311
  16566. 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:"
  16567. msgstr ""
  16568. #. type: example
  16569. #: guix-git/doc/guix.texi:11314
  16570. #, no-wrap
  16571. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  16572. msgstr ""
  16573. #. type: item
  16574. #: guix-git/doc/guix.texi:11316
  16575. #, no-wrap
  16576. msgid "texlive"
  16577. msgstr ""
  16578. #. type: cindex
  16579. #: guix-git/doc/guix.texi:11317
  16580. #, no-wrap
  16581. msgid "TeX Live"
  16582. msgstr ""
  16583. #. type: cindex
  16584. #: guix-git/doc/guix.texi:11318
  16585. #, no-wrap
  16586. msgid "CTAN"
  16587. msgstr ""
  16588. #. type: table
  16589. #: guix-git/doc/guix.texi:11322
  16590. 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}."
  16591. msgstr ""
  16592. #. type: table
  16593. #: guix-git/doc/guix.texi:11327
  16594. 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."
  16595. msgstr ""
  16596. #. type: table
  16597. #: guix-git/doc/guix.texi:11330
  16598. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  16599. msgstr ""
  16600. #. type: example
  16601. #: guix-git/doc/guix.texi:11333
  16602. #, no-wrap
  16603. msgid "guix import texlive fontspec\n"
  16604. msgstr ""
  16605. #. type: table
  16606. #: guix-git/doc/guix.texi:11339
  16607. 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."
  16608. msgstr ""
  16609. #. type: table
  16610. #: guix-git/doc/guix.texi:11343
  16611. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  16612. msgstr ""
  16613. #. type: example
  16614. #: guix-git/doc/guix.texi:11346
  16615. #, no-wrap
  16616. msgid "guix import texlive --archive=generic ifxetex\n"
  16617. msgstr ""
  16618. #. type: cindex
  16619. #: guix-git/doc/guix.texi:11349
  16620. #, no-wrap
  16621. msgid "JSON, import"
  16622. msgstr ""
  16623. #. type: table
  16624. #: guix-git/doc/guix.texi:11352
  16625. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  16626. msgstr ""
  16627. #. type: example
  16628. #: guix-git/doc/guix.texi:11365
  16629. #, no-wrap
  16630. msgid ""
  16631. "@{\n"
  16632. " \"name\": \"hello\",\n"
  16633. " \"version\": \"2.10\",\n"
  16634. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  16635. " \"build-system\": \"gnu\",\n"
  16636. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  16637. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  16638. " \"description\": \"GNU Hello prints a greeting.\",\n"
  16639. " \"license\": \"GPL-3.0+\",\n"
  16640. " \"native-inputs\": [\"gettext\"]\n"
  16641. "@}\n"
  16642. msgstr ""
  16643. #. type: table
  16644. #: guix-git/doc/guix.texi:11371
  16645. 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}."
  16646. msgstr ""
  16647. #. type: table
  16648. #: guix-git/doc/guix.texi:11374
  16649. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  16650. msgstr ""
  16651. #. type: example
  16652. #: guix-git/doc/guix.texi:11387
  16653. #, no-wrap
  16654. msgid ""
  16655. "@{\n"
  16656. " @dots{}\n"
  16657. " \"source\": @{\n"
  16658. " \"method\": \"url-fetch\",\n"
  16659. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  16660. " \"sha256\": @{\n"
  16661. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  16662. " @}\n"
  16663. " @}\n"
  16664. " @dots{}\n"
  16665. "@}\n"
  16666. msgstr ""
  16667. #. type: table
  16668. #: guix-git/doc/guix.texi:11391
  16669. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  16670. msgstr ""
  16671. #. type: example
  16672. #: guix-git/doc/guix.texi:11394
  16673. #, no-wrap
  16674. msgid "guix import json hello.json\n"
  16675. msgstr ""
  16676. #. type: item
  16677. #: guix-git/doc/guix.texi:11396 guix-git/doc/guix.texi:11397
  16678. #: guix-git/doc/guix.texi:11764
  16679. #, no-wrap
  16680. msgid "hackage"
  16681. msgstr ""
  16682. #. type: table
  16683. #: guix-git/doc/guix.texi:11402
  16684. 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."
  16685. msgstr ""
  16686. #. type: item
  16687. #: guix-git/doc/guix.texi:11406
  16688. #, no-wrap
  16689. msgid "--stdin"
  16690. msgstr ""
  16691. #. type: itemx
  16692. #: guix-git/doc/guix.texi:11407
  16693. #, no-wrap
  16694. msgid "-s"
  16695. msgstr ""
  16696. #. type: table
  16697. #: guix-git/doc/guix.texi:11409
  16698. msgid "Read a Cabal file from standard input."
  16699. msgstr ""
  16700. #. type: item
  16701. #: guix-git/doc/guix.texi:11409 guix-git/doc/guix.texi:11456
  16702. #, no-wrap
  16703. msgid "--no-test-dependencies"
  16704. msgstr ""
  16705. #. type: table
  16706. #: guix-git/doc/guix.texi:11412 guix-git/doc/guix.texi:11459
  16707. msgid "Do not include dependencies required only by the test suites."
  16708. msgstr ""
  16709. #. type: item
  16710. #: guix-git/doc/guix.texi:11412
  16711. #, no-wrap
  16712. msgid "--cabal-environment=@var{alist}"
  16713. msgstr ""
  16714. #. type: itemx
  16715. #: guix-git/doc/guix.texi:11413
  16716. #, no-wrap
  16717. msgid "-e @var{alist}"
  16718. msgstr ""
  16719. #. type: table
  16720. #: guix-git/doc/guix.texi:11422
  16721. 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."
  16722. msgstr ""
  16723. #. type: table
  16724. #: guix-git/doc/guix.texi:11432
  16725. 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}:"
  16726. msgstr ""
  16727. #. type: example
  16728. #: guix-git/doc/guix.texi:11435
  16729. #, no-wrap
  16730. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  16731. msgstr ""
  16732. #. type: table
  16733. #: guix-git/doc/guix.texi:11439
  16734. 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:"
  16735. msgstr ""
  16736. #. type: example
  16737. #: guix-git/doc/guix.texi:11442
  16738. #, no-wrap
  16739. msgid "guix import hackage mtl@@2.1.3.1\n"
  16740. msgstr ""
  16741. #. type: item
  16742. #: guix-git/doc/guix.texi:11444 guix-git/doc/guix.texi:11445
  16743. #: guix-git/doc/guix.texi:11766
  16744. #, no-wrap
  16745. msgid "stackage"
  16746. msgstr ""
  16747. #. type: table
  16748. #: guix-git/doc/guix.texi:11452
  16749. 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."
  16750. msgstr ""
  16751. #. type: item
  16752. #: guix-git/doc/guix.texi:11459
  16753. #, no-wrap
  16754. msgid "--lts-version=@var{version}"
  16755. msgstr ""
  16756. #. type: itemx
  16757. #: guix-git/doc/guix.texi:11460
  16758. #, no-wrap
  16759. msgid "-l @var{version}"
  16760. msgstr ""
  16761. #. type: table
  16762. #: guix-git/doc/guix.texi:11463
  16763. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  16764. msgstr ""
  16765. #. type: table
  16766. #: guix-git/doc/guix.texi:11472
  16767. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  16768. msgstr ""
  16769. #. type: example
  16770. #: guix-git/doc/guix.texi:11475
  16771. #, no-wrap
  16772. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  16773. msgstr ""
  16774. #. type: item
  16775. #: guix-git/doc/guix.texi:11477 guix-git/doc/guix.texi:11478
  16776. #: guix-git/doc/guix.texi:11750
  16777. #, no-wrap
  16778. msgid "elpa"
  16779. msgstr ""
  16780. #. type: table
  16781. #: guix-git/doc/guix.texi:11481
  16782. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  16783. msgstr ""
  16784. #. type: item
  16785. #: guix-git/doc/guix.texi:11485
  16786. #, no-wrap
  16787. msgid "--archive=@var{repo}"
  16788. msgstr ""
  16789. #. type: itemx
  16790. #: guix-git/doc/guix.texi:11486
  16791. #, no-wrap
  16792. msgid "-a @var{repo}"
  16793. msgstr ""
  16794. #. type: table
  16795. #: guix-git/doc/guix.texi:11490
  16796. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  16797. msgstr ""
  16798. #. type: itemize
  16799. #: guix-git/doc/guix.texi:11494
  16800. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  16801. msgstr ""
  16802. #. type: itemize
  16803. #: guix-git/doc/guix.texi:11500
  16804. 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})."
  16805. msgstr ""
  16806. #. type: itemize
  16807. #: guix-git/doc/guix.texi:11504
  16808. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  16809. msgstr ""
  16810. #. type: itemize
  16811. #: guix-git/doc/guix.texi:11508
  16812. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  16813. msgstr ""
  16814. #. type: item
  16815. #: guix-git/doc/guix.texi:11517 guix-git/doc/guix.texi:11518
  16816. #: guix-git/doc/guix.texi:11768
  16817. #, no-wrap
  16818. msgid "crate"
  16819. msgstr ""
  16820. #. type: table
  16821. #: guix-git/doc/guix.texi:11521
  16822. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  16823. msgstr ""
  16824. #. type: example
  16825. #: guix-git/doc/guix.texi:11524
  16826. #, no-wrap
  16827. msgid "guix import crate blake2-rfc\n"
  16828. msgstr ""
  16829. #. type: table
  16830. #: guix-git/doc/guix.texi:11527
  16831. msgid "The crate importer also allows you to specify a version string:"
  16832. msgstr ""
  16833. #. type: example
  16834. #: guix-git/doc/guix.texi:11530
  16835. #, no-wrap
  16836. msgid "guix import crate constant-time-eq@@0.1.0\n"
  16837. msgstr ""
  16838. #. type: table
  16839. #: guix-git/doc/guix.texi:11533 guix-git/doc/guix.texi:11549
  16840. #: guix-git/doc/guix.texi:11580
  16841. msgid "Additional options include:"
  16842. msgstr ""
  16843. #. type: item
  16844. #: guix-git/doc/guix.texi:11542
  16845. #, no-wrap
  16846. msgid "opam"
  16847. msgstr ""
  16848. #. type: cindex
  16849. #: guix-git/doc/guix.texi:11543
  16850. #, no-wrap
  16851. msgid "OPAM"
  16852. msgstr ""
  16853. #. type: cindex
  16854. #: guix-git/doc/guix.texi:11544
  16855. #, no-wrap
  16856. msgid "OCaml"
  16857. msgstr "OCaml"
  16858. #. type: table
  16859. #: guix-git/doc/guix.texi:11547
  16860. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  16861. msgstr ""
  16862. #. type: item
  16863. #: guix-git/doc/guix.texi:11556
  16864. #, no-wrap
  16865. msgid "--repo"
  16866. msgstr ""
  16867. #. type: table
  16868. #: guix-git/doc/guix.texi:11558
  16869. msgid "Select the given repository (a repository name). Possible values include:"
  16870. msgstr ""
  16871. #. type: item
  16872. #: guix-git/doc/guix.texi:11559
  16873. #, no-wrap
  16874. msgid "@code{opam}, the default opam repository,"
  16875. msgstr ""
  16876. #. type: item
  16877. #: guix-git/doc/guix.texi:11560
  16878. #, no-wrap
  16879. msgid "@code{coq} or @code{coq-released}, the stable repository for coq packages,"
  16880. msgstr ""
  16881. #. type: item
  16882. #: guix-git/doc/guix.texi:11561
  16883. #, no-wrap
  16884. msgid "@code{coq-core-dev}, the repository that contains development versions of coq,"
  16885. msgstr ""
  16886. #. type: item
  16887. #: guix-git/doc/guix.texi:11562
  16888. #, no-wrap
  16889. msgid "@code{coq-extra-dev}, the repository that contains development versions"
  16890. msgstr ""
  16891. #. type: itemize
  16892. #: guix-git/doc/guix.texi:11564
  16893. msgid "of coq packages."
  16894. msgstr ""
  16895. #. type: cindex
  16896. #: guix-git/doc/guix.texi:11567 guix-git/doc/guix.texi:11568
  16897. #, no-wrap
  16898. msgid "go"
  16899. msgstr ""
  16900. #. type: table
  16901. #: guix-git/doc/guix.texi:11571
  16902. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  16903. msgstr ""
  16904. #. type: example
  16905. #: guix-git/doc/guix.texi:11574
  16906. #, no-wrap
  16907. msgid "guix import go gopkg.in/yaml.v2\n"
  16908. msgstr ""
  16909. #. type: table
  16910. #: guix-git/doc/guix.texi:11578
  16911. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  16912. msgstr ""
  16913. #. type: item
  16914. #: guix-git/doc/guix.texi:11587
  16915. #, fuzzy, no-wrap
  16916. #| msgid "version"
  16917. msgid "--pin-versions"
  16918. msgstr "버전"
  16919. #. type: table
  16920. #: guix-git/doc/guix.texi:11595
  16921. 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."
  16922. msgstr ""
  16923. #. type: Plain text
  16924. #: guix-git/doc/guix.texi:11601
  16925. 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})."
  16926. msgstr ""
  16927. #. type: section
  16928. #: guix-git/doc/guix.texi:11603
  16929. #, no-wrap
  16930. msgid "Invoking @command{guix refresh}"
  16931. msgstr ""
  16932. #. type: command{#1}
  16933. #: guix-git/doc/guix.texi:11605
  16934. #, no-wrap
  16935. msgid "guix refresh"
  16936. msgstr ""
  16937. #. type: Plain text
  16938. #: guix-git/doc/guix.texi:11613
  16939. 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:"
  16940. msgstr ""
  16941. #. type: example
  16942. #: guix-git/doc/guix.texi:11618
  16943. #, no-wrap
  16944. msgid ""
  16945. "$ guix refresh\n"
  16946. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  16947. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  16948. msgstr ""
  16949. #. type: Plain text
  16950. #: guix-git/doc/guix.texi:11622
  16951. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  16952. msgstr ""
  16953. #. type: example
  16954. #: guix-git/doc/guix.texi:11627
  16955. #, no-wrap
  16956. msgid ""
  16957. "$ guix refresh coreutils guile guile-ssh\n"
  16958. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  16959. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  16960. msgstr ""
  16961. #. type: Plain text
  16962. #: guix-git/doc/guix.texi:11636
  16963. 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!"
  16964. msgstr ""
  16965. #. type: table
  16966. #: guix-git/doc/guix.texi:11641
  16967. msgid "Consider the packages specified, and all the packages upon which they depend."
  16968. msgstr ""
  16969. #. type: example
  16970. #: guix-git/doc/guix.texi:11649
  16971. #, no-wrap
  16972. msgid ""
  16973. "$ guix refresh --recursive coreutils\n"
  16974. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  16975. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  16976. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  16977. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  16978. "@dots{}\n"
  16979. msgstr ""
  16980. #. type: Plain text
  16981. #: guix-git/doc/guix.texi:11657
  16982. 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:"
  16983. msgstr ""
  16984. #. type: lisp
  16985. #: guix-git/doc/guix.texi:11664
  16986. #, no-wrap
  16987. msgid ""
  16988. "(define-public network-manager\n"
  16989. " (package\n"
  16990. " (name \"network-manager\")\n"
  16991. " ;; @dots{}\n"
  16992. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  16993. msgstr ""
  16994. #. type: Plain text
  16995. #: guix-git/doc/guix.texi:11673
  16996. 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."
  16997. msgstr ""
  16998. #. type: Plain text
  16999. #: guix-git/doc/guix.texi:11679
  17000. 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."
  17001. msgstr ""
  17002. #. type: Plain text
  17003. #: guix-git/doc/guix.texi:11681
  17004. msgid "The following options are supported:"
  17005. msgstr ""
  17006. #. type: table
  17007. #: guix-git/doc/guix.texi:11689 guix-git/doc/guix.texi:12484
  17008. msgid "This is useful to precisely refer to a package, as in this example:"
  17009. msgstr ""
  17010. #. type: example
  17011. #: guix-git/doc/guix.texi:11692
  17012. #, no-wrap
  17013. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  17014. msgstr ""
  17015. #. type: table
  17016. #: guix-git/doc/guix.texi:11696
  17017. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  17018. msgstr ""
  17019. #. type: item
  17020. #: guix-git/doc/guix.texi:11697
  17021. #, no-wrap
  17022. msgid "--update"
  17023. msgstr ""
  17024. #. type: itemx
  17025. #: guix-git/doc/guix.texi:11698
  17026. #, no-wrap
  17027. msgid "-u"
  17028. msgstr ""
  17029. #. type: table
  17030. #: guix-git/doc/guix.texi:11702
  17031. 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}):"
  17032. msgstr ""
  17033. #. type: example
  17034. #: guix-git/doc/guix.texi:11705
  17035. #, no-wrap
  17036. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  17037. msgstr ""
  17038. #. type: table
  17039. #: guix-git/doc/guix.texi:11708
  17040. msgid "@xref{Defining Packages}, for more information on package definitions."
  17041. msgstr ""
  17042. #. type: item
  17043. #: guix-git/doc/guix.texi:11709
  17044. #, no-wrap
  17045. msgid "--select=[@var{subset}]"
  17046. msgstr ""
  17047. #. type: itemx
  17048. #: guix-git/doc/guix.texi:11710
  17049. #, no-wrap
  17050. msgid "-s @var{subset}"
  17051. msgstr ""
  17052. #. type: table
  17053. #: guix-git/doc/guix.texi:11713
  17054. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  17055. msgstr ""
  17056. #. type: table
  17057. #: guix-git/doc/guix.texi:11720
  17058. 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."
  17059. msgstr ""
  17060. #. type: table
  17061. #: guix-git/doc/guix.texi:11724
  17062. 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."
  17063. msgstr ""
  17064. #. type: table
  17065. #: guix-git/doc/guix.texi:11729
  17066. 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."
  17067. msgstr ""
  17068. #. type: item
  17069. #: guix-git/doc/guix.texi:11730
  17070. #, no-wrap
  17071. msgid "--type=@var{updater}"
  17072. msgstr ""
  17073. #. type: itemx
  17074. #: guix-git/doc/guix.texi:11731
  17075. #, no-wrap
  17076. msgid "-t @var{updater}"
  17077. msgstr ""
  17078. #. type: table
  17079. #: guix-git/doc/guix.texi:11734
  17080. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  17081. msgstr ""
  17082. #. type: table
  17083. #: guix-git/doc/guix.texi:11738
  17084. msgid "the updater for GNU packages;"
  17085. msgstr ""
  17086. #. type: item
  17087. #: guix-git/doc/guix.texi:11738
  17088. #, no-wrap
  17089. msgid "savannah"
  17090. msgstr ""
  17091. #. type: table
  17092. #: guix-git/doc/guix.texi:11740
  17093. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17094. msgstr ""
  17095. #. type: item
  17096. #: guix-git/doc/guix.texi:11740
  17097. #, fuzzy, no-wrap
  17098. #| msgid "source"
  17099. msgid "sourceforge"
  17100. msgstr "소스"
  17101. #. type: table
  17102. #: guix-git/doc/guix.texi:11742
  17103. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17104. msgstr ""
  17105. #. type: item
  17106. #: guix-git/doc/guix.texi:11742
  17107. #, no-wrap
  17108. msgid "gnome"
  17109. msgstr ""
  17110. #. type: table
  17111. #: guix-git/doc/guix.texi:11744
  17112. msgid "the updater for GNOME packages;"
  17113. msgstr ""
  17114. #. type: item
  17115. #: guix-git/doc/guix.texi:11744
  17116. #, no-wrap
  17117. msgid "kde"
  17118. msgstr ""
  17119. #. type: table
  17120. #: guix-git/doc/guix.texi:11746
  17121. msgid "the updater for KDE packages;"
  17122. msgstr ""
  17123. #. type: item
  17124. #: guix-git/doc/guix.texi:11746
  17125. #, no-wrap
  17126. msgid "xorg"
  17127. msgstr ""
  17128. #. type: table
  17129. #: guix-git/doc/guix.texi:11748
  17130. msgid "the updater for X.org packages;"
  17131. msgstr ""
  17132. #. type: item
  17133. #: guix-git/doc/guix.texi:11748
  17134. #, no-wrap
  17135. msgid "kernel.org"
  17136. msgstr ""
  17137. #. type: table
  17138. #: guix-git/doc/guix.texi:11750
  17139. msgid "the updater for packages hosted on kernel.org;"
  17140. msgstr ""
  17141. #. type: table
  17142. #: guix-git/doc/guix.texi:11752
  17143. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17144. msgstr ""
  17145. #. type: table
  17146. #: guix-git/doc/guix.texi:11754
  17147. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17148. msgstr ""
  17149. #. type: item
  17150. #: guix-git/doc/guix.texi:11754
  17151. #, no-wrap
  17152. msgid "bioconductor"
  17153. msgstr ""
  17154. #. type: table
  17155. #: guix-git/doc/guix.texi:11756
  17156. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17157. msgstr ""
  17158. #. type: table
  17159. #: guix-git/doc/guix.texi:11758
  17160. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17161. msgstr ""
  17162. #. type: table
  17163. #: guix-git/doc/guix.texi:11760
  17164. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17165. msgstr ""
  17166. #. type: table
  17167. #: guix-git/doc/guix.texi:11762
  17168. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17169. msgstr ""
  17170. #. type: item
  17171. #: guix-git/doc/guix.texi:11762
  17172. #, no-wrap
  17173. msgid "github"
  17174. msgstr ""
  17175. #. type: table
  17176. #: guix-git/doc/guix.texi:11764
  17177. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17178. msgstr ""
  17179. #. type: table
  17180. #: guix-git/doc/guix.texi:11766
  17181. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17182. msgstr ""
  17183. #. type: table
  17184. #: guix-git/doc/guix.texi:11768
  17185. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17186. msgstr ""
  17187. #. type: table
  17188. #: guix-git/doc/guix.texi:11770
  17189. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17190. msgstr ""
  17191. #. type: item
  17192. #: guix-git/doc/guix.texi:11770
  17193. #, no-wrap
  17194. msgid "launchpad"
  17195. msgstr ""
  17196. #. type: table
  17197. #: guix-git/doc/guix.texi:11772
  17198. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17199. msgstr ""
  17200. #. type: item
  17201. #: guix-git/doc/guix.texi:11772
  17202. #, no-wrap
  17203. msgid "generic-html"
  17204. msgstr ""
  17205. #. type: table
  17206. #: guix-git/doc/guix.texi:11775
  17207. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17208. msgstr ""
  17209. #. type: table
  17210. #: guix-git/doc/guix.texi:11779
  17211. 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:"
  17212. msgstr ""
  17213. #. type: example
  17214. #: guix-git/doc/guix.texi:11784
  17215. #, no-wrap
  17216. msgid ""
  17217. "$ guix refresh --type=elpa,cran\n"
  17218. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17219. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17220. msgstr ""
  17221. #. type: item
  17222. #: guix-git/doc/guix.texi:11786
  17223. #, no-wrap
  17224. msgid "--list-updaters"
  17225. msgstr ""
  17226. #. type: itemx
  17227. #: guix-git/doc/guix.texi:11787
  17228. #, no-wrap
  17229. msgid "-L"
  17230. msgstr ""
  17231. #. type: table
  17232. #: guix-git/doc/guix.texi:11789
  17233. msgid "List available updaters and exit (see @option{--type} above)."
  17234. msgstr ""
  17235. #. type: table
  17236. #: guix-git/doc/guix.texi:11792
  17237. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17238. msgstr ""
  17239. #. type: Plain text
  17240. #: guix-git/doc/guix.texi:11796
  17241. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17242. msgstr ""
  17243. #. type: example
  17244. #: guix-git/doc/guix.texi:11799
  17245. #, no-wrap
  17246. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17247. msgstr ""
  17248. #. type: Plain text
  17249. #: guix-git/doc/guix.texi:11806
  17250. 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:"
  17251. msgstr ""
  17252. #. type: example
  17253. #: guix-git/doc/guix.texi:11810
  17254. #, no-wrap
  17255. msgid ""
  17256. "$ ./pre-inst-env guix refresh -u \\\n"
  17257. " $(guix package --list-installed | cut -f1)\n"
  17258. msgstr ""
  17259. #. type: Plain text
  17260. #: guix-git/doc/guix.texi:11816
  17261. 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:"
  17262. msgstr ""
  17263. #. type: item
  17264. #: guix-git/doc/guix.texi:11819
  17265. #, no-wrap
  17266. msgid "--list-dependent"
  17267. msgstr ""
  17268. #. type: itemx
  17269. #: guix-git/doc/guix.texi:11820 guix-git/doc/guix.texi:12079
  17270. #, no-wrap
  17271. msgid "-l"
  17272. msgstr ""
  17273. #. type: table
  17274. #: guix-git/doc/guix.texi:11823
  17275. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17276. msgstr ""
  17277. #. type: table
  17278. #: guix-git/doc/guix.texi:11827
  17279. 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."
  17280. msgstr ""
  17281. #. type: Plain text
  17282. #: guix-git/doc/guix.texi:11833
  17283. 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."
  17284. msgstr ""
  17285. #. type: example
  17286. #: guix-git/doc/guix.texi:11838
  17287. #, no-wrap
  17288. msgid ""
  17289. "$ guix refresh --list-dependent flex\n"
  17290. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  17291. "hop@@2.4.0 geiser@@0.4 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  17292. msgstr ""
  17293. #. type: Plain text
  17294. #: guix-git/doc/guix.texi:11842
  17295. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  17296. msgstr ""
  17297. #. type: item
  17298. #: guix-git/doc/guix.texi:11845
  17299. #, no-wrap
  17300. msgid "--list-transitive"
  17301. msgstr ""
  17302. #. type: table
  17303. #: guix-git/doc/guix.texi:11847
  17304. msgid "List all the packages which one or more packages depend upon."
  17305. msgstr ""
  17306. #. type: example
  17307. #: guix-git/doc/guix.texi:11852
  17308. #, no-wrap
  17309. msgid ""
  17310. "$ guix refresh --list-transitive flex\n"
  17311. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  17312. "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"
  17313. msgstr ""
  17314. #. type: Plain text
  17315. #: guix-git/doc/guix.texi:11858
  17316. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  17317. msgstr ""
  17318. #. type: Plain text
  17319. #: guix-git/doc/guix.texi:11860
  17320. msgid "The following options can be used to customize GnuPG operation:"
  17321. msgstr ""
  17322. #. type: item
  17323. #: guix-git/doc/guix.texi:11863
  17324. #, no-wrap
  17325. msgid "--gpg=@var{command}"
  17326. msgstr ""
  17327. #. type: table
  17328. #: guix-git/doc/guix.texi:11866
  17329. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  17330. msgstr ""
  17331. #. type: item
  17332. #: guix-git/doc/guix.texi:11867
  17333. #, no-wrap
  17334. msgid "--keyring=@var{file}"
  17335. msgstr ""
  17336. #. type: table
  17337. #: guix-git/doc/guix.texi:11873
  17338. 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)."
  17339. msgstr ""
  17340. #. type: table
  17341. #: guix-git/doc/guix.texi:11879
  17342. 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)."
  17343. msgstr ""
  17344. #. type: table
  17345. #: guix-git/doc/guix.texi:11882
  17346. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  17347. msgstr ""
  17348. #. type: example
  17349. #: guix-git/doc/guix.texi:11885
  17350. #, no-wrap
  17351. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  17352. msgstr ""
  17353. #. type: table
  17354. #: guix-git/doc/guix.texi:11888
  17355. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  17356. msgstr ""
  17357. #. type: example
  17358. #: guix-git/doc/guix.texi:11892
  17359. #, no-wrap
  17360. msgid ""
  17361. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  17362. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  17363. msgstr ""
  17364. #. type: table
  17365. #: guix-git/doc/guix.texi:11896
  17366. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  17367. msgstr ""
  17368. #. type: table
  17369. #: guix-git/doc/guix.texi:11900
  17370. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  17371. msgstr ""
  17372. #. type: item
  17373. #: guix-git/doc/guix.texi:11902 guix-git/doc/guix.texi:20769
  17374. #, no-wrap
  17375. msgid "always"
  17376. msgstr "항상"
  17377. #. type: table
  17378. #: guix-git/doc/guix.texi:11905
  17379. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  17380. msgstr ""
  17381. #. type: item
  17382. #: guix-git/doc/guix.texi:11906 guix-git/doc/guix.texi:20771
  17383. #, no-wrap
  17384. msgid "never"
  17385. msgstr "하지 않기"
  17386. #. type: table
  17387. #: guix-git/doc/guix.texi:11908
  17388. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  17389. msgstr ""
  17390. #. type: item
  17391. #: guix-git/doc/guix.texi:11909
  17392. #, no-wrap
  17393. msgid "interactive"
  17394. msgstr ""
  17395. #. type: table
  17396. #: guix-git/doc/guix.texi:11912
  17397. 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."
  17398. msgstr ""
  17399. #. type: item
  17400. #: guix-git/doc/guix.texi:11914
  17401. #, no-wrap
  17402. msgid "--key-server=@var{host}"
  17403. msgstr ""
  17404. #. type: table
  17405. #: guix-git/doc/guix.texi:11916
  17406. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  17407. msgstr ""
  17408. #. type: Plain text
  17409. #: guix-git/doc/guix.texi:11936
  17410. 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."
  17411. msgstr ""
  17412. #. type: section
  17413. #: guix-git/doc/guix.texi:11939
  17414. #, no-wrap
  17415. msgid "Invoking @command{guix lint}"
  17416. msgstr ""
  17417. #. type: command{#1}
  17418. #: guix-git/doc/guix.texi:11941
  17419. #, no-wrap
  17420. msgid "guix lint"
  17421. msgstr ""
  17422. #. type: cindex
  17423. #: guix-git/doc/guix.texi:11942
  17424. #, no-wrap
  17425. msgid "package, checking for errors"
  17426. msgstr ""
  17427. #. type: Plain text
  17428. #: guix-git/doc/guix.texi:11948
  17429. 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):"
  17430. msgstr ""
  17431. #. type: table
  17432. #: guix-git/doc/guix.texi:11954
  17433. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  17434. msgstr ""
  17435. #. type: item
  17436. #: guix-git/doc/guix.texi:11955
  17437. #, no-wrap
  17438. msgid "inputs-should-be-native"
  17439. msgstr ""
  17440. #. type: table
  17441. #: guix-git/doc/guix.texi:11957
  17442. msgid "Identify inputs that should most likely be native inputs."
  17443. msgstr ""
  17444. #. type: itemx
  17445. #: guix-git/doc/guix.texi:11960
  17446. #, no-wrap
  17447. msgid "mirror-url"
  17448. msgstr ""
  17449. #. type: itemx
  17450. #: guix-git/doc/guix.texi:11961
  17451. #, no-wrap
  17452. msgid "github-url"
  17453. msgstr ""
  17454. #. type: itemx
  17455. #: guix-git/doc/guix.texi:11962
  17456. #, no-wrap
  17457. msgid "source-file-name"
  17458. msgstr ""
  17459. #. type: table
  17460. #: guix-git/doc/guix.texi:11969
  17461. 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})."
  17462. msgstr ""
  17463. #. type: item
  17464. #: guix-git/doc/guix.texi:11970
  17465. #, no-wrap
  17466. msgid "source-unstable-tarball"
  17467. msgstr ""
  17468. #. type: table
  17469. #: guix-git/doc/guix.texi:11974
  17470. 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."
  17471. msgstr ""
  17472. #. type: table
  17473. #: guix-git/doc/guix.texi:11978
  17474. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  17475. msgstr ""
  17476. #. type: item
  17477. #: guix-git/doc/guix.texi:11979
  17478. #, no-wrap
  17479. msgid "profile-collisions"
  17480. msgstr ""
  17481. #. type: table
  17482. #: guix-git/doc/guix.texi:11985
  17483. 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."
  17484. msgstr ""
  17485. #. type: item
  17486. #: guix-git/doc/guix.texi:11986
  17487. #, no-wrap
  17488. msgid "archival"
  17489. msgstr ""
  17490. #. type: cindex
  17491. #: guix-git/doc/guix.texi:11987
  17492. #, no-wrap
  17493. msgid "Software Heritage, source code archive"
  17494. msgstr ""
  17495. #. type: cindex
  17496. #: guix-git/doc/guix.texi:11988
  17497. #, no-wrap
  17498. msgid "archival of source code, Software Heritage"
  17499. msgstr ""
  17500. #. type: table
  17501. #: guix-git/doc/guix.texi:11991
  17502. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  17503. msgstr ""
  17504. #. type: table
  17505. #: guix-git/doc/guix.texi:11999
  17506. 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}."
  17507. msgstr ""
  17508. #. type: table
  17509. #: guix-git/doc/guix.texi:12004
  17510. 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."
  17511. msgstr ""
  17512. #. type: table
  17513. #: guix-git/doc/guix.texi:12010
  17514. 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."
  17515. msgstr ""
  17516. #. type: item
  17517. #: guix-git/doc/guix.texi:12011
  17518. #, no-wrap
  17519. msgid "cve"
  17520. msgstr ""
  17521. #. type: cindex
  17522. #: guix-git/doc/guix.texi:12012 guix-git/doc/guix.texi:34545
  17523. #, no-wrap
  17524. msgid "security vulnerabilities"
  17525. msgstr ""
  17526. #. type: cindex
  17527. #: guix-git/doc/guix.texi:12013
  17528. #, no-wrap
  17529. msgid "CVE, Common Vulnerabilities and Exposures"
  17530. msgstr ""
  17531. #. type: table
  17532. #: guix-git/doc/guix.texi:12018
  17533. 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}."
  17534. msgstr ""
  17535. #. type: table
  17536. #: guix-git/doc/guix.texi:12020
  17537. msgid "To view information about a particular vulnerability, visit pages such as:"
  17538. msgstr ""
  17539. #. type: indicateurl{#1}
  17540. #: guix-git/doc/guix.texi:12024
  17541. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  17542. msgstr ""
  17543. #. type: indicateurl{#1}
  17544. #: guix-git/doc/guix.texi:12026
  17545. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  17546. msgstr ""
  17547. #. type: table
  17548. #: guix-git/doc/guix.texi:12031
  17549. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  17550. msgstr ""
  17551. #. type: table
  17552. #: guix-git/doc/guix.texi:12036
  17553. 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:"
  17554. msgstr ""
  17555. #. type: lisp
  17556. #: guix-git/doc/guix.texi:12044
  17557. #, no-wrap
  17558. msgid ""
  17559. "(package\n"
  17560. " (name \"grub\")\n"
  17561. " ;; @dots{}\n"
  17562. " ;; CPE calls this package \"grub2\".\n"
  17563. " (properties '((cpe-name . \"grub2\")\n"
  17564. " (cpe-version . \"2.3\"))))\n"
  17565. msgstr ""
  17566. #. type: table
  17567. #: guix-git/doc/guix.texi:12051
  17568. 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:"
  17569. msgstr ""
  17570. #. type: lisp
  17571. #: guix-git/doc/guix.texi:12061
  17572. #, no-wrap
  17573. msgid ""
  17574. "(package\n"
  17575. " (name \"t1lib\")\n"
  17576. " ;; @dots{}\n"
  17577. " ;; These CVEs no longer apply and can be safely ignored.\n"
  17578. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  17579. " \"CVE-2011-1553\"\n"
  17580. " \"CVE-2011-1554\"\n"
  17581. " \"CVE-2011-5244\")))))\n"
  17582. msgstr ""
  17583. #. type: item
  17584. #: guix-git/doc/guix.texi:12063
  17585. #, no-wrap
  17586. msgid "formatting"
  17587. msgstr ""
  17588. #. type: table
  17589. #: guix-git/doc/guix.texi:12066
  17590. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  17591. msgstr ""
  17592. #. type: example
  17593. #: guix-git/doc/guix.texi:12072
  17594. #, no-wrap
  17595. msgid "guix lint @var{options} @var{package}@dots{}\n"
  17596. msgstr ""
  17597. #. type: Plain text
  17598. #: guix-git/doc/guix.texi:12076
  17599. 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:"
  17600. msgstr ""
  17601. #. type: item
  17602. #: guix-git/doc/guix.texi:12078
  17603. #, no-wrap
  17604. msgid "--list-checkers"
  17605. msgstr ""
  17606. #. type: table
  17607. #: guix-git/doc/guix.texi:12082
  17608. msgid "List and describe all the available checkers that will be run on packages and exit."
  17609. msgstr ""
  17610. #. type: item
  17611. #: guix-git/doc/guix.texi:12083
  17612. #, no-wrap
  17613. msgid "--checkers"
  17614. msgstr ""
  17615. #. type: itemx
  17616. #: guix-git/doc/guix.texi:12084
  17617. #, no-wrap
  17618. msgid "-c"
  17619. msgstr ""
  17620. #. type: table
  17621. #: guix-git/doc/guix.texi:12087
  17622. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  17623. msgstr ""
  17624. #. type: item
  17625. #: guix-git/doc/guix.texi:12088
  17626. #, no-wrap
  17627. msgid "--exclude"
  17628. msgstr ""
  17629. #. type: table
  17630. #: guix-git/doc/guix.texi:12092
  17631. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  17632. msgstr ""
  17633. #. type: item
  17634. #: guix-git/doc/guix.texi:12093
  17635. #, no-wrap
  17636. msgid "--no-network"
  17637. msgstr ""
  17638. #. type: table
  17639. #: guix-git/doc/guix.texi:12096
  17640. msgid "Only enable the checkers that do not depend on Internet access."
  17641. msgstr ""
  17642. #. type: section
  17643. #: guix-git/doc/guix.texi:12108
  17644. #, no-wrap
  17645. msgid "Invoking @command{guix size}"
  17646. msgstr ""
  17647. #. type: code{#1}
  17648. #: guix-git/doc/guix.texi:12110 guix-git/doc/guix.texi:33481
  17649. #, no-wrap
  17650. msgid "size"
  17651. msgstr ""
  17652. #. type: cindex
  17653. #: guix-git/doc/guix.texi:12111
  17654. #, no-wrap
  17655. msgid "package size"
  17656. msgstr ""
  17657. #. type: command{#1}
  17658. #: guix-git/doc/guix.texi:12113
  17659. #, no-wrap
  17660. msgid "guix size"
  17661. msgstr ""
  17662. #. type: Plain text
  17663. #: guix-git/doc/guix.texi:12120
  17664. 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."
  17665. msgstr ""
  17666. #. type: Plain text
  17667. #: guix-git/doc/guix.texi:12125
  17668. 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:"
  17669. msgstr ""
  17670. #. type: example
  17671. #: guix-git/doc/guix.texi:12138
  17672. #, no-wrap
  17673. msgid ""
  17674. "$ guix size coreutils\n"
  17675. "store item total self\n"
  17676. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  17677. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  17678. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  17679. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  17680. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  17681. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  17682. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  17683. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  17684. "total: 78.9 MiB\n"
  17685. msgstr ""
  17686. #. type: Plain text
  17687. #: guix-git/doc/guix.texi:12144
  17688. 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:"
  17689. msgstr ""
  17690. #. type: example
  17691. #: guix-git/doc/guix.texi:12147
  17692. #, no-wrap
  17693. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  17694. msgstr ""
  17695. #. type: Plain text
  17696. #: guix-git/doc/guix.texi:12155
  17697. 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."
  17698. msgstr ""
  17699. #. type: Plain text
  17700. #: guix-git/doc/guix.texi:12161
  17701. 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.)"
  17702. msgstr ""
  17703. #. type: Plain text
  17704. #: guix-git/doc/guix.texi:12164
  17705. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  17706. msgstr ""
  17707. #. type: example
  17708. #: guix-git/doc/guix.texi:12167
  17709. #, no-wrap
  17710. msgid "guix size $(guix system build config.scm)\n"
  17711. msgstr ""
  17712. #. type: Plain text
  17713. #: guix-git/doc/guix.texi:12177
  17714. 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})."
  17715. msgstr ""
  17716. #. type: Plain text
  17717. #: guix-git/doc/guix.texi:12182
  17718. 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."
  17719. msgstr ""
  17720. #. type: Plain text
  17721. #: guix-git/doc/guix.texi:12184
  17722. msgid "You can also specify several package names:"
  17723. msgstr ""
  17724. #. type: example
  17725. #: guix-git/doc/guix.texi:12194
  17726. #, no-wrap
  17727. msgid ""
  17728. "$ guix size coreutils grep sed bash\n"
  17729. "store item total self\n"
  17730. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  17731. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  17732. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  17733. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  17734. "@dots{}\n"
  17735. "total: 102.3 MiB\n"
  17736. msgstr ""
  17737. #. type: Plain text
  17738. #: guix-git/doc/guix.texi:12200
  17739. 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."
  17740. msgstr ""
  17741. #. type: Plain text
  17742. #: guix-git/doc/guix.texi:12206
  17743. 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})."
  17744. msgstr ""
  17745. #. type: Plain text
  17746. #: guix-git/doc/guix.texi:12208
  17747. msgid "The available options are:"
  17748. msgstr ""
  17749. #. type: table
  17750. #: guix-git/doc/guix.texi:12214
  17751. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  17752. msgstr ""
  17753. #. type: item
  17754. #: guix-git/doc/guix.texi:12215
  17755. #, no-wrap
  17756. msgid "--sort=@var{key}"
  17757. msgstr ""
  17758. #. type: table
  17759. #: guix-git/doc/guix.texi:12217
  17760. msgid "Sort lines according to @var{key}, one of the following options:"
  17761. msgstr ""
  17762. #. type: item
  17763. #: guix-git/doc/guix.texi:12219
  17764. #, no-wrap
  17765. msgid "self"
  17766. msgstr ""
  17767. #. type: table
  17768. #: guix-git/doc/guix.texi:12221
  17769. msgid "the size of each item (the default);"
  17770. msgstr ""
  17771. #. type: table
  17772. #: guix-git/doc/guix.texi:12223
  17773. msgid "the total size of the item's closure."
  17774. msgstr ""
  17775. #. type: item
  17776. #: guix-git/doc/guix.texi:12225
  17777. #, no-wrap
  17778. msgid "--map-file=@var{file}"
  17779. msgstr ""
  17780. #. type: table
  17781. #: guix-git/doc/guix.texi:12227
  17782. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  17783. msgstr ""
  17784. #. type: table
  17785. #: guix-git/doc/guix.texi:12229
  17786. msgid "For the example above, the map looks like this:"
  17787. msgstr ""
  17788. #. type: table
  17789. #: guix-git/doc/guix.texi:12232
  17790. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  17791. msgstr ""
  17792. #. type: table
  17793. #: guix-git/doc/guix.texi:12237
  17794. 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."
  17795. msgstr ""
  17796. #. type: table
  17797. #: guix-git/doc/guix.texi:12241
  17798. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  17799. msgstr ""
  17800. #. type: section
  17801. #: guix-git/doc/guix.texi:12252
  17802. #, no-wrap
  17803. msgid "Invoking @command{guix graph}"
  17804. msgstr ""
  17805. #. type: cindex
  17806. #: guix-git/doc/guix.texi:12254
  17807. #, no-wrap
  17808. msgid "DAG"
  17809. msgstr ""
  17810. #. type: command{#1}
  17811. #: guix-git/doc/guix.texi:12255
  17812. #, no-wrap
  17813. msgid "guix graph"
  17814. msgstr ""
  17815. #. type: Plain text
  17816. #: guix-git/doc/guix.texi:12270
  17817. 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:"
  17818. msgstr ""
  17819. #. type: example
  17820. #: guix-git/doc/guix.texi:12273
  17821. #, no-wrap
  17822. msgid "guix graph @var{options} @var{package}@dots{}\n"
  17823. msgstr ""
  17824. #. type: Plain text
  17825. #: guix-git/doc/guix.texi:12278
  17826. 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:"
  17827. msgstr ""
  17828. #. type: example
  17829. #: guix-git/doc/guix.texi:12281
  17830. #, no-wrap
  17831. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  17832. msgstr ""
  17833. #. type: Plain text
  17834. #: guix-git/doc/guix.texi:12284
  17835. msgid "The output looks like this:"
  17836. msgstr ""
  17837. #. type: Plain text
  17838. #: guix-git/doc/guix.texi:12286
  17839. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  17840. msgstr ""
  17841. #. type: Plain text
  17842. #: guix-git/doc/guix.texi:12288
  17843. msgid "Nice little graph, no?"
  17844. msgstr ""
  17845. #. type: Plain text
  17846. #: guix-git/doc/guix.texi:12291
  17847. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  17848. msgstr ""
  17849. #. type: example
  17850. #: guix-git/doc/guix.texi:12294
  17851. #, no-wrap
  17852. msgid "guix graph coreutils | xdot -\n"
  17853. msgstr ""
  17854. #. type: Plain text
  17855. #: guix-git/doc/guix.texi:12301
  17856. 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:"
  17857. msgstr ""
  17858. #. type: table
  17859. #: guix-git/doc/guix.texi:12307
  17860. 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."
  17861. msgstr ""
  17862. #. type: item
  17863. #: guix-git/doc/guix.texi:12308
  17864. #, no-wrap
  17865. msgid "reverse-package"
  17866. msgstr ""
  17867. #. type: table
  17868. #: guix-git/doc/guix.texi:12310
  17869. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  17870. msgstr ""
  17871. #. type: example
  17872. #: guix-git/doc/guix.texi:12313
  17873. #, no-wrap
  17874. msgid "guix graph --type=reverse-package ocaml\n"
  17875. msgstr ""
  17876. #. type: table
  17877. #: guix-git/doc/guix.texi:12318
  17878. 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)."
  17879. msgstr ""
  17880. #. type: table
  17881. #: guix-git/doc/guix.texi:12323
  17882. 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}})."
  17883. msgstr ""
  17884. #. type: item
  17885. #: guix-git/doc/guix.texi:12324
  17886. #, no-wrap
  17887. msgid "bag-emerged"
  17888. msgstr ""
  17889. #. type: table
  17890. #: guix-git/doc/guix.texi:12326
  17891. msgid "This is the package DAG, @emph{including} implicit inputs."
  17892. msgstr ""
  17893. #. type: table
  17894. #: guix-git/doc/guix.texi:12328
  17895. msgid "For instance, the following command:"
  17896. msgstr ""
  17897. #. type: example
  17898. #: guix-git/doc/guix.texi:12331
  17899. #, no-wrap
  17900. msgid "guix graph --type=bag-emerged coreutils\n"
  17901. msgstr ""
  17902. #. type: table
  17903. #: guix-git/doc/guix.texi:12334
  17904. msgid "...@: yields this bigger graph:"
  17905. msgstr ""
  17906. #. type: table
  17907. #: guix-git/doc/guix.texi:12336
  17908. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  17909. msgstr ""
  17910. #. type: table
  17911. #: guix-git/doc/guix.texi:12339
  17912. 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}})."
  17913. msgstr ""
  17914. #. type: table
  17915. #: guix-git/doc/guix.texi:12343
  17916. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  17917. msgstr ""
  17918. #. type: item
  17919. #: guix-git/doc/guix.texi:12344
  17920. #, no-wrap
  17921. msgid "bag"
  17922. msgstr ""
  17923. #. type: table
  17924. #: guix-git/doc/guix.texi:12347
  17925. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  17926. msgstr ""
  17927. #. type: item
  17928. #: guix-git/doc/guix.texi:12348
  17929. #, no-wrap
  17930. msgid "bag-with-origins"
  17931. msgstr ""
  17932. #. type: table
  17933. #: guix-git/doc/guix.texi:12350
  17934. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  17935. msgstr ""
  17936. #. type: item
  17937. #: guix-git/doc/guix.texi:12351
  17938. #, no-wrap
  17939. msgid "reverse-bag"
  17940. msgstr ""
  17941. #. type: table
  17942. #: guix-git/doc/guix.texi:12354
  17943. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  17944. msgstr ""
  17945. #. type: example
  17946. #: guix-git/doc/guix.texi:12357
  17947. #, no-wrap
  17948. msgid "guix graph -t reverse-bag dune\n"
  17949. msgstr ""
  17950. #. type: table
  17951. #: guix-git/doc/guix.texi:12364
  17952. 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."
  17953. msgstr ""
  17954. #. type: table
  17955. #: guix-git/doc/guix.texi:12370
  17956. 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."
  17957. msgstr ""
  17958. #. type: table
  17959. #: guix-git/doc/guix.texi:12373
  17960. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  17961. msgstr ""
  17962. #. type: example
  17963. #: guix-git/doc/guix.texi:12376
  17964. #, no-wrap
  17965. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  17966. msgstr ""
  17967. #. type: item
  17968. #: guix-git/doc/guix.texi:12378
  17969. #, no-wrap
  17970. msgid "module"
  17971. msgstr "모듈"
  17972. #. type: table
  17973. #: guix-git/doc/guix.texi:12382
  17974. 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:"
  17975. msgstr ""
  17976. #. type: example
  17977. #: guix-git/doc/guix.texi:12385
  17978. #, no-wrap
  17979. msgid "guix graph -t module guile | xdot -\n"
  17980. msgstr ""
  17981. #. type: Plain text
  17982. #: guix-git/doc/guix.texi:12390
  17983. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  17984. msgstr ""
  17985. #. type: table
  17986. #: guix-git/doc/guix.texi:12395
  17987. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  17988. msgstr ""
  17989. #. type: table
  17990. #: guix-git/doc/guix.texi:12398
  17991. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  17992. msgstr ""
  17993. #. type: table
  17994. #: guix-git/doc/guix.texi:12402
  17995. 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!):"
  17996. msgstr ""
  17997. #. type: example
  17998. #: guix-git/doc/guix.texi:12405
  17999. #, no-wrap
  18000. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  18001. msgstr ""
  18002. #. type: item
  18003. #: guix-git/doc/guix.texi:12407
  18004. #, no-wrap
  18005. msgid "referrers"
  18006. msgstr ""
  18007. #. type: table
  18008. #: guix-git/doc/guix.texi:12410
  18009. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  18010. msgstr ""
  18011. #. type: table
  18012. #: guix-git/doc/guix.texi:12416
  18013. 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."
  18014. msgstr ""
  18015. #. type: table
  18016. #: guix-git/doc/guix.texi:12419
  18017. msgid "It can help determine what is preventing a store item from being garbage collected."
  18018. msgstr ""
  18019. #. type: cindex
  18020. #: guix-git/doc/guix.texi:12422
  18021. #, no-wrap
  18022. msgid "shortest path, between packages"
  18023. msgstr ""
  18024. #. type: Plain text
  18025. #: guix-git/doc/guix.texi:12429
  18026. 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.):"
  18027. msgstr ""
  18028. #. type: example
  18029. #: guix-git/doc/guix.texi:12443
  18030. #, no-wrap
  18031. msgid ""
  18032. "$ guix graph --path emacs libunistring\n"
  18033. "emacs@@26.3\n"
  18034. "mailutils@@3.9\n"
  18035. "libunistring@@0.9.10\n"
  18036. "$ guix graph --path -t derivation emacs libunistring\n"
  18037. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  18038. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  18039. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  18040. "$ guix graph --path -t references emacs libunistring\n"
  18041. "/gnu/store/@dots{}-emacs-26.3\n"
  18042. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  18043. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  18044. msgstr ""
  18045. #. type: Plain text
  18046. #: guix-git/doc/guix.texi:12446
  18047. msgid "The available options are the following:"
  18048. msgstr ""
  18049. #. type: table
  18050. #: guix-git/doc/guix.texi:12452
  18051. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  18052. msgstr ""
  18053. #. type: item
  18054. #: guix-git/doc/guix.texi:12453
  18055. #, no-wrap
  18056. msgid "--list-types"
  18057. msgstr ""
  18058. #. type: table
  18059. #: guix-git/doc/guix.texi:12455
  18060. msgid "List the supported graph types."
  18061. msgstr ""
  18062. #. type: item
  18063. #: guix-git/doc/guix.texi:12456
  18064. #, no-wrap
  18065. msgid "--backend=@var{backend}"
  18066. msgstr ""
  18067. #. type: itemx
  18068. #: guix-git/doc/guix.texi:12457
  18069. #, no-wrap
  18070. msgid "-b @var{backend}"
  18071. msgstr ""
  18072. #. type: table
  18073. #: guix-git/doc/guix.texi:12459
  18074. msgid "Produce a graph using the selected @var{backend}."
  18075. msgstr ""
  18076. #. type: item
  18077. #: guix-git/doc/guix.texi:12460
  18078. #, no-wrap
  18079. msgid "--list-backends"
  18080. msgstr ""
  18081. #. type: table
  18082. #: guix-git/doc/guix.texi:12462
  18083. msgid "List the supported graph backends."
  18084. msgstr ""
  18085. #. type: table
  18086. #: guix-git/doc/guix.texi:12464
  18087. msgid "Currently, the available backends are Graphviz and d3.js."
  18088. msgstr ""
  18089. #. type: item
  18090. #: guix-git/doc/guix.texi:12465
  18091. #, no-wrap
  18092. msgid "--path"
  18093. msgstr ""
  18094. #. type: table
  18095. #: guix-git/doc/guix.texi:12470
  18096. 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}:"
  18097. msgstr ""
  18098. #. type: example
  18099. #: guix-git/doc/guix.texi:12477
  18100. #, no-wrap
  18101. msgid ""
  18102. "$ guix graph --path -t references libreoffice llvm\n"
  18103. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18104. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18105. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18106. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18107. msgstr ""
  18108. #. type: example
  18109. #: guix-git/doc/guix.texi:12487
  18110. #, no-wrap
  18111. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18112. msgstr ""
  18113. #. type: table
  18114. #: guix-git/doc/guix.texi:12492
  18115. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18116. msgstr ""
  18117. #. type: table
  18118. #: guix-git/doc/guix.texi:12495
  18119. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18120. msgstr ""
  18121. #. type: Plain text
  18122. #: guix-git/doc/guix.texi:12511
  18123. 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:"
  18124. msgstr ""
  18125. #. type: example
  18126. #: guix-git/doc/guix.texi:12514
  18127. #, no-wrap
  18128. msgid "guix graph git --with-input=openssl=libressl\n"
  18129. msgstr ""
  18130. #. type: Plain text
  18131. #: guix-git/doc/guix.texi:12517
  18132. msgid "So many possibilities, so much fun!"
  18133. msgstr ""
  18134. #. type: section
  18135. #: guix-git/doc/guix.texi:12519
  18136. #, no-wrap
  18137. msgid "Invoking @command{guix publish}"
  18138. msgstr ""
  18139. #. type: command{#1}
  18140. #: guix-git/doc/guix.texi:12521
  18141. #, no-wrap
  18142. msgid "guix publish"
  18143. msgstr ""
  18144. #. type: Plain text
  18145. #: guix-git/doc/guix.texi:12525
  18146. 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})."
  18147. msgstr ""
  18148. #. type: Plain text
  18149. #: guix-git/doc/guix.texi:12531
  18150. 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."
  18151. msgstr ""
  18152. #. type: Plain text
  18153. #: guix-git/doc/guix.texi:12537
  18154. 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."
  18155. msgstr ""
  18156. #. type: Plain text
  18157. #: guix-git/doc/guix.texi:12541
  18158. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18159. msgstr ""
  18160. #. type: Plain text
  18161. #: guix-git/doc/guix.texi:12546
  18162. 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})."
  18163. msgstr ""
  18164. #. type: example
  18165. #: guix-git/doc/guix.texi:12551
  18166. #, no-wrap
  18167. msgid "guix publish @var{options}@dots{}\n"
  18168. msgstr ""
  18169. #. type: Plain text
  18170. #: guix-git/doc/guix.texi:12555
  18171. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18172. msgstr ""
  18173. #. type: example
  18174. #: guix-git/doc/guix.texi:12558
  18175. #, no-wrap
  18176. msgid "guix publish\n"
  18177. msgstr ""
  18178. #. type: Plain text
  18179. #: guix-git/doc/guix.texi:12562
  18180. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18181. msgstr ""
  18182. #. type: Plain text
  18183. #: guix-git/doc/guix.texi:12570
  18184. 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})."
  18185. msgstr ""
  18186. #. type: Plain text
  18187. #: guix-git/doc/guix.texi:12577
  18188. 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}):"
  18189. msgstr ""
  18190. #. type: example
  18191. #: guix-git/doc/guix.texi:12580
  18192. #, no-wrap
  18193. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18194. msgstr ""
  18195. #. type: Plain text
  18196. #: guix-git/doc/guix.texi:12584
  18197. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18198. msgstr ""
  18199. #. type: cindex
  18200. #: guix-git/doc/guix.texi:12585
  18201. #, no-wrap
  18202. msgid "build logs, publication"
  18203. msgstr ""
  18204. #. type: Plain text
  18205. #: guix-git/doc/guix.texi:12587
  18206. msgid "Build logs are available from @code{/log} URLs like:"
  18207. msgstr ""
  18208. #. type: example
  18209. #: guix-git/doc/guix.texi:12590
  18210. #, no-wrap
  18211. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18212. msgstr ""
  18213. #. type: Plain text
  18214. #: guix-git/doc/guix.texi:12600
  18215. 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."
  18216. msgstr ""
  18217. #. type: item
  18218. #: guix-git/doc/guix.texi:12604
  18219. #, no-wrap
  18220. msgid "--port=@var{port}"
  18221. msgstr ""
  18222. #. type: itemx
  18223. #: guix-git/doc/guix.texi:12605
  18224. #, no-wrap
  18225. msgid "-p @var{port}"
  18226. msgstr ""
  18227. #. type: table
  18228. #: guix-git/doc/guix.texi:12607
  18229. msgid "Listen for HTTP requests on @var{port}."
  18230. msgstr ""
  18231. #. type: item
  18232. #: guix-git/doc/guix.texi:12608
  18233. #, no-wrap
  18234. msgid "--listen=@var{host}"
  18235. msgstr ""
  18236. #. type: table
  18237. #: guix-git/doc/guix.texi:12611
  18238. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18239. msgstr ""
  18240. #. type: table
  18241. #: guix-git/doc/guix.texi:12616
  18242. 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."
  18243. msgstr ""
  18244. #. type: item
  18245. #: guix-git/doc/guix.texi:12617
  18246. #, no-wrap
  18247. msgid "--compression[=@var{method}[:@var{level}]]"
  18248. msgstr ""
  18249. #. type: itemx
  18250. #: guix-git/doc/guix.texi:12618
  18251. #, no-wrap
  18252. msgid "-C [@var{method}[:@var{level}]]"
  18253. msgstr ""
  18254. #. type: table
  18255. #: guix-git/doc/guix.texi:12622
  18256. 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."
  18257. msgstr ""
  18258. #. type: table
  18259. #: guix-git/doc/guix.texi:12626
  18260. 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."
  18261. msgstr ""
  18262. #. type: table
  18263. #: guix-git/doc/guix.texi:12633
  18264. 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."
  18265. msgstr ""
  18266. #. type: table
  18267. #: guix-git/doc/guix.texi:12637
  18268. 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}."
  18269. msgstr ""
  18270. #. type: table
  18271. #: guix-git/doc/guix.texi:12646
  18272. 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."
  18273. msgstr ""
  18274. #. type: table
  18275. #: guix-git/doc/guix.texi:12651
  18276. 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."
  18277. msgstr ""
  18278. #. type: item
  18279. #: guix-git/doc/guix.texi:12652
  18280. #, no-wrap
  18281. msgid "--cache=@var{directory}"
  18282. msgstr ""
  18283. #. type: itemx
  18284. #: guix-git/doc/guix.texi:12653
  18285. #, no-wrap
  18286. msgid "-c @var{directory}"
  18287. msgstr ""
  18288. #. type: table
  18289. #: guix-git/doc/guix.texi:12656
  18290. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  18291. msgstr ""
  18292. #. type: table
  18293. #: guix-git/doc/guix.texi:12664
  18294. 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."
  18295. msgstr ""
  18296. #. type: table
  18297. #: guix-git/doc/guix.texi:12672
  18298. 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."
  18299. msgstr ""
  18300. #. type: table
  18301. #: guix-git/doc/guix.texi:12679
  18302. 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."
  18303. msgstr ""
  18304. #. type: table
  18305. #: guix-git/doc/guix.texi:12683
  18306. 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."
  18307. msgstr ""
  18308. #. type: table
  18309. #: guix-git/doc/guix.texi:12686
  18310. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  18311. msgstr ""
  18312. #. type: item
  18313. #: guix-git/doc/guix.texi:12687
  18314. #, no-wrap
  18315. msgid "--workers=@var{N}"
  18316. msgstr ""
  18317. #. type: table
  18318. #: guix-git/doc/guix.texi:12690
  18319. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  18320. msgstr ""
  18321. #. type: item
  18322. #: guix-git/doc/guix.texi:12691
  18323. #, no-wrap
  18324. msgid "--ttl=@var{ttl}"
  18325. msgstr ""
  18326. #. type: table
  18327. #: guix-git/doc/guix.texi:12695
  18328. 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."
  18329. msgstr ""
  18330. #. type: table
  18331. #: guix-git/doc/guix.texi:12700
  18332. 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}."
  18333. msgstr ""
  18334. #. type: table
  18335. #: guix-git/doc/guix.texi:12704
  18336. 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."
  18337. msgstr ""
  18338. #. type: item
  18339. #: guix-git/doc/guix.texi:12705
  18340. #, no-wrap
  18341. msgid "--cache-bypass-threshold=@var{size}"
  18342. msgstr ""
  18343. #. type: table
  18344. #: guix-git/doc/guix.texi:12710
  18345. 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}."
  18346. msgstr ""
  18347. #. type: table
  18348. #: guix-git/doc/guix.texi:12715
  18349. 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."
  18350. msgstr ""
  18351. #. type: table
  18352. #: guix-git/doc/guix.texi:12719
  18353. 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."
  18354. msgstr ""
  18355. #. type: item
  18356. #: guix-git/doc/guix.texi:12720
  18357. #, no-wrap
  18358. msgid "--nar-path=@var{path}"
  18359. msgstr ""
  18360. #. type: table
  18361. #: guix-git/doc/guix.texi:12723
  18362. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  18363. msgstr ""
  18364. #. type: table
  18365. #: guix-git/doc/guix.texi:12727
  18366. 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}."
  18367. msgstr ""
  18368. #. type: item
  18369. #: guix-git/doc/guix.texi:12728
  18370. #, no-wrap
  18371. msgid "--public-key=@var{file}"
  18372. msgstr ""
  18373. #. type: itemx
  18374. #: guix-git/doc/guix.texi:12729
  18375. #, no-wrap
  18376. msgid "--private-key=@var{file}"
  18377. msgstr ""
  18378. #. type: table
  18379. #: guix-git/doc/guix.texi:12732 guix-git/doc/guix.texi:27359
  18380. #: guix-git/doc/guix.texi:27393
  18381. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  18382. msgstr ""
  18383. #. type: table
  18384. #: guix-git/doc/guix.texi:12739
  18385. 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."
  18386. msgstr ""
  18387. #. type: item
  18388. #: guix-git/doc/guix.texi:12740
  18389. #, no-wrap
  18390. msgid "--repl[=@var{port}]"
  18391. msgstr ""
  18392. #. type: itemx
  18393. #: guix-git/doc/guix.texi:12741
  18394. #, no-wrap
  18395. msgid "-r [@var{port}]"
  18396. msgstr ""
  18397. #. type: table
  18398. #: guix-git/doc/guix.texi:12745
  18399. 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."
  18400. msgstr ""
  18401. #. type: Plain text
  18402. #: guix-git/doc/guix.texi:12751
  18403. 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}})."
  18404. msgstr ""
  18405. #. type: Plain text
  18406. #: guix-git/doc/guix.texi:12754
  18407. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  18408. msgstr ""
  18409. #. type: itemize
  18410. #: guix-git/doc/guix.texi:12758
  18411. msgid "If your host distro uses the systemd init system:"
  18412. msgstr ""
  18413. #. type: example
  18414. #: guix-git/doc/guix.texi:12763
  18415. #, no-wrap
  18416. msgid ""
  18417. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  18418. " /etc/systemd/system/\n"
  18419. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  18420. msgstr ""
  18421. #. type: example
  18422. #: guix-git/doc/guix.texi:12771
  18423. #, no-wrap
  18424. msgid ""
  18425. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  18426. "# start guix-publish\n"
  18427. msgstr ""
  18428. #. type: itemize
  18429. #: guix-git/doc/guix.texi:12775
  18430. msgid "Otherwise, proceed similarly with your distro's init system."
  18431. msgstr ""
  18432. #. type: section
  18433. #: guix-git/doc/guix.texi:12778
  18434. #, no-wrap
  18435. msgid "Invoking @command{guix challenge}"
  18436. msgstr ""
  18437. #. type: cindex
  18438. #: guix-git/doc/guix.texi:12781
  18439. #, no-wrap
  18440. msgid "verifiable builds"
  18441. msgstr ""
  18442. #. type: command{#1}
  18443. #: guix-git/doc/guix.texi:12782
  18444. #, no-wrap
  18445. msgid "guix challenge"
  18446. msgstr ""
  18447. #. type: cindex
  18448. #: guix-git/doc/guix.texi:12783
  18449. #, no-wrap
  18450. msgid "challenge"
  18451. msgstr ""
  18452. #. type: Plain text
  18453. #: guix-git/doc/guix.texi:12788
  18454. 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."
  18455. msgstr ""
  18456. #. type: Plain text
  18457. #: guix-git/doc/guix.texi:12796
  18458. 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."
  18459. msgstr ""
  18460. #. type: Plain text
  18461. #: guix-git/doc/guix.texi:12805
  18462. 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."
  18463. msgstr ""
  18464. #. type: Plain text
  18465. #: guix-git/doc/guix.texi:12807
  18466. msgid "The command output looks like this:"
  18467. msgstr ""
  18468. #. type: smallexample
  18469. #: guix-git/doc/guix.texi:12819
  18470. #, no-wrap
  18471. msgid ""
  18472. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER} https://guix.example.org\"\n"
  18473. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER}'... 100.0%\n"
  18474. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  18475. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  18476. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  18477. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  18478. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  18479. " differing files:\n"
  18480. " /lib/libcrypto.so.1.1\n"
  18481. " /lib/libssl.so.1.1\n"
  18482. "\n"
  18483. msgstr ""
  18484. #. type: smallexample
  18485. #: guix-git/doc/guix.texi:12826
  18486. #, no-wrap
  18487. msgid ""
  18488. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  18489. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  18490. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  18491. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  18492. " differing file:\n"
  18493. " /libexec/git-core/git-fsck\n"
  18494. "\n"
  18495. msgstr ""
  18496. #. type: smallexample
  18497. #: guix-git/doc/guix.texi:12833
  18498. #, no-wrap
  18499. msgid ""
  18500. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  18501. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  18502. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  18503. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  18504. " differing file:\n"
  18505. " /share/man/man1/pius.1.gz\n"
  18506. "\n"
  18507. msgstr ""
  18508. #. type: smallexample
  18509. #: guix-git/doc/guix.texi:12835
  18510. #, no-wrap
  18511. msgid ""
  18512. "@dots{}\n"
  18513. "\n"
  18514. msgstr ""
  18515. #. type: smallexample
  18516. #: guix-git/doc/guix.texi:12840
  18517. #, no-wrap
  18518. msgid ""
  18519. "6,406 store items were analyzed:\n"
  18520. " - 4,749 (74.1%) were identical\n"
  18521. " - 525 (8.2%) differed\n"
  18522. " - 1,132 (17.7%) were inconclusive\n"
  18523. msgstr ""
  18524. #. type: Plain text
  18525. #: guix-git/doc/guix.texi:12848
  18526. 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."
  18527. msgstr ""
  18528. #. type: cindex
  18529. #: guix-git/doc/guix.texi:12849
  18530. #, no-wrap
  18531. msgid "non-determinism, in package builds"
  18532. msgstr ""
  18533. #. type: Plain text
  18534. #: guix-git/doc/guix.texi:12860
  18535. 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."
  18536. msgstr ""
  18537. #. type: Plain text
  18538. #: guix-git/doc/guix.texi:12863
  18539. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  18540. msgstr ""
  18541. #. type: example
  18542. #: guix-git/doc/guix.texi:12868
  18543. #, no-wrap
  18544. msgid ""
  18545. "guix challenge git \\\n"
  18546. " --diff=diffoscope \\\n"
  18547. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER} https://guix.example.org\"\n"
  18548. msgstr ""
  18549. #. type: Plain text
  18550. #: guix-git/doc/guix.texi:12872
  18551. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  18552. msgstr ""
  18553. #. type: Plain text
  18554. #: guix-git/doc/guix.texi:12875
  18555. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  18556. msgstr ""
  18557. #. type: example
  18558. #: guix-git/doc/guix.texi:12880
  18559. #, no-wrap
  18560. msgid ""
  18561. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  18562. " | lzip -d | guix archive -x /tmp/git\n"
  18563. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  18564. msgstr ""
  18565. #. type: Plain text
  18566. #: guix-git/doc/guix.texi:12889
  18567. 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."
  18568. msgstr ""
  18569. #. type: Plain text
  18570. #: guix-git/doc/guix.texi:12897
  18571. 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."
  18572. msgstr ""
  18573. #. type: Plain text
  18574. #: guix-git/doc/guix.texi:12901
  18575. 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:"
  18576. msgstr ""
  18577. #. type: example
  18578. #: guix-git/doc/guix.texi:12904
  18579. #, no-wrap
  18580. msgid "$ guix challenge @var{package}\n"
  18581. msgstr ""
  18582. #. type: Plain text
  18583. #: guix-git/doc/guix.texi:12909
  18584. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  18585. msgstr ""
  18586. #. type: example
  18587. #: guix-git/doc/guix.texi:12914
  18588. #, no-wrap
  18589. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  18590. msgstr ""
  18591. #. type: Plain text
  18592. #: guix-git/doc/guix.texi:12921
  18593. 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)."
  18594. msgstr ""
  18595. #. type: Plain text
  18596. #: guix-git/doc/guix.texi:12923
  18597. msgid "The one option that matters is:"
  18598. msgstr ""
  18599. #. type: table
  18600. #: guix-git/doc/guix.texi:12929
  18601. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  18602. msgstr ""
  18603. #. type: item
  18604. #: guix-git/doc/guix.texi:12930
  18605. #, no-wrap
  18606. msgid "--diff=@var{mode}"
  18607. msgstr ""
  18608. #. type: table
  18609. #: guix-git/doc/guix.texi:12932
  18610. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  18611. msgstr ""
  18612. #. type: item
  18613. #: guix-git/doc/guix.texi:12934
  18614. #, no-wrap
  18615. msgid "@code{simple} (the default)"
  18616. msgstr ""
  18617. #. type: table
  18618. #: guix-git/doc/guix.texi:12936
  18619. msgid "Show the list of files that differ."
  18620. msgstr ""
  18621. #. type: code{#1}
  18622. #: guix-git/doc/guix.texi:12937
  18623. #, no-wrap
  18624. msgid "diffoscope"
  18625. msgstr ""
  18626. #. type: var{#1}
  18627. #: guix-git/doc/guix.texi:12938
  18628. #, no-wrap
  18629. msgid "command"
  18630. msgstr "명령"
  18631. #. type: table
  18632. #: guix-git/doc/guix.texi:12941
  18633. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  18634. msgstr ""
  18635. #. type: table
  18636. #: guix-git/doc/guix.texi:12944
  18637. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  18638. msgstr ""
  18639. #. type: item
  18640. #: guix-git/doc/guix.texi:12945 guix-git/doc/guix.texi:16257
  18641. #: guix-git/doc/guix.texi:18246
  18642. #, no-wrap
  18643. msgid "none"
  18644. msgstr "없음"
  18645. #. type: table
  18646. #: guix-git/doc/guix.texi:12947
  18647. msgid "Do not show further details about the differences."
  18648. msgstr ""
  18649. #. type: table
  18650. #: guix-git/doc/guix.texi:12952
  18651. 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."
  18652. msgstr ""
  18653. #. type: item
  18654. #: guix-git/doc/guix.texi:12953
  18655. #, no-wrap
  18656. msgid "--verbose"
  18657. msgstr ""
  18658. #. type: itemx
  18659. #: guix-git/doc/guix.texi:12954
  18660. #, no-wrap
  18661. msgid "-v"
  18662. msgstr ""
  18663. #. type: table
  18664. #: guix-git/doc/guix.texi:12957
  18665. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  18666. msgstr ""
  18667. #. type: section
  18668. #: guix-git/doc/guix.texi:12961
  18669. #, no-wrap
  18670. msgid "Invoking @command{guix copy}"
  18671. msgstr ""
  18672. #. type: cindex
  18673. #: guix-git/doc/guix.texi:12963
  18674. #, no-wrap
  18675. msgid "copy, of store items, over SSH"
  18676. msgstr ""
  18677. #. type: cindex
  18678. #: guix-git/doc/guix.texi:12964
  18679. #, no-wrap
  18680. msgid "SSH, copy of store items"
  18681. msgstr ""
  18682. #. type: cindex
  18683. #: guix-git/doc/guix.texi:12965
  18684. #, no-wrap
  18685. msgid "sharing store items across machines"
  18686. msgstr ""
  18687. #. type: cindex
  18688. #: guix-git/doc/guix.texi:12966
  18689. #, no-wrap
  18690. msgid "transferring store items across machines"
  18691. msgstr ""
  18692. #. type: Plain text
  18693. #: guix-git/doc/guix.texi:12973
  18694. 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}:"
  18695. msgstr ""
  18696. #. type: example
  18697. #: guix-git/doc/guix.texi:12977
  18698. #, no-wrap
  18699. msgid ""
  18700. "guix copy --to=@var{user}@@@var{host} \\\n"
  18701. " coreutils $(readlink -f ~/.guix-profile)\n"
  18702. msgstr ""
  18703. #. type: Plain text
  18704. #: guix-git/doc/guix.texi:12981
  18705. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  18706. msgstr ""
  18707. #. type: Plain text
  18708. #: guix-git/doc/guix.texi:12984
  18709. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  18710. msgstr ""
  18711. #. type: example
  18712. #: guix-git/doc/guix.texi:12987
  18713. #, no-wrap
  18714. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  18715. msgstr ""
  18716. #. type: Plain text
  18717. #: guix-git/doc/guix.texi:12992
  18718. 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."
  18719. msgstr ""
  18720. #. type: Plain text
  18721. #: guix-git/doc/guix.texi:12998
  18722. 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."
  18723. msgstr ""
  18724. #. type: example
  18725. #: guix-git/doc/guix.texi:13003
  18726. #, no-wrap
  18727. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  18728. msgstr ""
  18729. #. type: Plain text
  18730. #: guix-git/doc/guix.texi:13006
  18731. msgid "You must always specify one of the following options:"
  18732. msgstr ""
  18733. #. type: item
  18734. #: guix-git/doc/guix.texi:13008
  18735. #, no-wrap
  18736. msgid "--to=@var{spec}"
  18737. msgstr ""
  18738. #. type: itemx
  18739. #: guix-git/doc/guix.texi:13009
  18740. #, no-wrap
  18741. msgid "--from=@var{spec}"
  18742. msgstr ""
  18743. #. type: table
  18744. #: guix-git/doc/guix.texi:13013
  18745. 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}."
  18746. msgstr ""
  18747. #. type: Plain text
  18748. #: guix-git/doc/guix.texi:13017
  18749. 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}."
  18750. msgstr ""
  18751. #. type: Plain text
  18752. #: guix-git/doc/guix.texi:13021
  18753. 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})."
  18754. msgstr ""
  18755. #. type: section
  18756. #: guix-git/doc/guix.texi:13024
  18757. #, no-wrap
  18758. msgid "Invoking @command{guix container}"
  18759. msgstr ""
  18760. #. type: command{#1}
  18761. #: guix-git/doc/guix.texi:13026
  18762. #, no-wrap
  18763. msgid "guix container"
  18764. msgstr ""
  18765. #. type: quotation
  18766. #: guix-git/doc/guix.texi:13030
  18767. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  18768. msgstr ""
  18769. #. type: Plain text
  18770. #: guix-git/doc/guix.texi:13037
  18771. 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."
  18772. msgstr ""
  18773. #. type: example
  18774. #: guix-git/doc/guix.texi:13042
  18775. #, no-wrap
  18776. msgid "guix container @var{action} @var{options}@dots{}\n"
  18777. msgstr ""
  18778. #. type: Plain text
  18779. #: guix-git/doc/guix.texi:13046
  18780. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  18781. msgstr ""
  18782. #. type: Plain text
  18783. #: guix-git/doc/guix.texi:13048
  18784. msgid "The following actions are available:"
  18785. msgstr ""
  18786. #. type: item
  18787. #: guix-git/doc/guix.texi:13050
  18788. #, no-wrap
  18789. msgid "exec"
  18790. msgstr ""
  18791. #. type: table
  18792. #: guix-git/doc/guix.texi:13052
  18793. msgid "Execute a command within the context of a running container."
  18794. msgstr ""
  18795. #. type: table
  18796. #: guix-git/doc/guix.texi:13054
  18797. msgid "The syntax is:"
  18798. msgstr ""
  18799. #. type: example
  18800. #: guix-git/doc/guix.texi:13057
  18801. #, no-wrap
  18802. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  18803. msgstr ""
  18804. #. type: table
  18805. #: guix-git/doc/guix.texi:13063
  18806. 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}."
  18807. msgstr ""
  18808. #. type: table
  18809. #: guix-git/doc/guix.texi:13067
  18810. 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:"
  18811. msgstr ""
  18812. #. type: example
  18813. #: guix-git/doc/guix.texi:13070
  18814. #, no-wrap
  18815. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  18816. msgstr ""
  18817. #. type: table
  18818. #: guix-git/doc/guix.texi:13074
  18819. 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."
  18820. msgstr ""
  18821. #. type: section
  18822. #: guix-git/doc/guix.texi:13078
  18823. #, no-wrap
  18824. msgid "Invoking @command{guix weather}"
  18825. msgstr ""
  18826. #. type: Plain text
  18827. #: guix-git/doc/guix.texi:13087
  18828. 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})."
  18829. msgstr ""
  18830. #. type: cindex
  18831. #: guix-git/doc/guix.texi:13088
  18832. #, no-wrap
  18833. msgid "statistics, for substitutes"
  18834. msgstr ""
  18835. #. type: cindex
  18836. #: guix-git/doc/guix.texi:13089
  18837. #, no-wrap
  18838. msgid "availability of substitutes"
  18839. msgstr ""
  18840. #. type: cindex
  18841. #: guix-git/doc/guix.texi:13090
  18842. #, no-wrap
  18843. msgid "substitute availability"
  18844. msgstr ""
  18845. #. type: cindex
  18846. #: guix-git/doc/guix.texi:13091
  18847. #, no-wrap
  18848. msgid "weather, substitute availability"
  18849. msgstr ""
  18850. #. type: Plain text
  18851. #: guix-git/doc/guix.texi:13093
  18852. msgid "Here's a sample run:"
  18853. msgstr ""
  18854. #. type: example
  18855. #: guix-git/doc/guix.texi:13105
  18856. #, no-wrap
  18857. msgid ""
  18858. "$ guix weather --substitute-urls=https://guix.example.org\n"
  18859. "computing 5,872 package derivations for x86_64-linux...\n"
  18860. "looking for 6,128 store items on https://guix.example.org..\n"
  18861. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  18862. "https://guix.example.org\n"
  18863. " 43.4% substitutes available (2,658 out of 6,128)\n"
  18864. " 7,032.5 MiB of nars (compressed)\n"
  18865. " 19,824.2 MiB on disk (uncompressed)\n"
  18866. " 0.030 seconds per request (182.9 seconds in total)\n"
  18867. " 33.5 requests per second\n"
  18868. "\n"
  18869. msgstr ""
  18870. #. type: example
  18871. #: guix-git/doc/guix.texi:13115
  18872. #, no-wrap
  18873. msgid ""
  18874. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  18875. " 867 queued builds\n"
  18876. " x86_64-linux: 518 (59.7%)\n"
  18877. " i686-linux: 221 (25.5%)\n"
  18878. " aarch64-linux: 128 (14.8%)\n"
  18879. " build rate: 23.41 builds per hour\n"
  18880. " x86_64-linux: 11.16 builds per hour\n"
  18881. " i686-linux: 6.03 builds per hour\n"
  18882. " aarch64-linux: 6.41 builds per hour\n"
  18883. msgstr ""
  18884. #. type: cindex
  18885. #: guix-git/doc/guix.texi:13117
  18886. #, no-wrap
  18887. msgid "continuous integration, statistics"
  18888. msgstr ""
  18889. #. type: Plain text
  18890. #: guix-git/doc/guix.texi:13128
  18891. 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)."
  18892. msgstr ""
  18893. #. type: Plain text
  18894. #: guix-git/doc/guix.texi:13134
  18895. 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."
  18896. msgstr ""
  18897. #. type: example
  18898. #: guix-git/doc/guix.texi:13139
  18899. #, no-wrap
  18900. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  18901. msgstr ""
  18902. #. type: Plain text
  18903. #: guix-git/doc/guix.texi:13147
  18904. 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%."
  18905. msgstr ""
  18906. #. type: Plain text
  18907. #: guix-git/doc/guix.texi:13149
  18908. msgid "The available options are listed below."
  18909. msgstr ""
  18910. #. type: table
  18911. #: guix-git/doc/guix.texi:13155
  18912. 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."
  18913. msgstr ""
  18914. #. type: table
  18915. #: guix-git/doc/guix.texi:13161
  18916. 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."
  18917. msgstr ""
  18918. #. type: table
  18919. #: guix-git/doc/guix.texi:13167
  18920. 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})."
  18921. msgstr ""
  18922. #. type: table
  18923. #: guix-git/doc/guix.texi:13170
  18924. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  18925. msgstr ""
  18926. #. type: item
  18927. #: guix-git/doc/guix.texi:13171
  18928. #, no-wrap
  18929. msgid "--coverage[=@var{count}]"
  18930. msgstr ""
  18931. #. type: itemx
  18932. #: guix-git/doc/guix.texi:13172
  18933. #, no-wrap
  18934. msgid "-c [@var{count}]"
  18935. msgstr ""
  18936. #. type: table
  18937. #: guix-git/doc/guix.texi:13178
  18938. 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:"
  18939. msgstr ""
  18940. #. type: example
  18941. #: guix-git/doc/guix.texi:13192
  18942. #, no-wrap
  18943. msgid ""
  18944. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URL} -c 10\n"
  18945. "computing 8,983 package derivations for x86_64-linux...\n"
  18946. "looking for 9,343 store items on @value{SUBSTITUTE-URL}...\n"
  18947. "updating substitutes from '@value{SUBSTITUTE-URL}'... 100.0%\n"
  18948. "@value{SUBSTITUTE-URL}\n"
  18949. " 64.7% substitutes available (6,047 out of 9,343)\n"
  18950. "@dots{}\n"
  18951. "2502 packages are missing from '@value{SUBSTITUTE-URL}' for 'x86_64-linux', among which:\n"
  18952. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  18953. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  18954. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  18955. " @dots{}\n"
  18956. msgstr ""
  18957. #. type: table
  18958. #: guix-git/doc/guix.texi:13198
  18959. 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."
  18960. msgstr ""
  18961. #. type: table
  18962. #: guix-git/doc/guix.texi:13202
  18963. 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."
  18964. msgstr ""
  18965. #. type: item
  18966. #: guix-git/doc/guix.texi:13203
  18967. #, no-wrap
  18968. msgid "--display-missing"
  18969. msgstr ""
  18970. #. type: table
  18971. #: guix-git/doc/guix.texi:13205
  18972. msgid "Display the list of store items for which substitutes are missing."
  18973. msgstr ""
  18974. #. type: section
  18975. #: guix-git/doc/guix.texi:13208
  18976. #, no-wrap
  18977. msgid "Invoking @command{guix processes}"
  18978. msgstr ""
  18979. #. type: Plain text
  18980. #: guix-git/doc/guix.texi:13216
  18981. 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:"
  18982. msgstr ""
  18983. #. type: example
  18984. #: guix-git/doc/guix.texi:13222
  18985. #, no-wrap
  18986. msgid ""
  18987. "$ sudo guix processes\n"
  18988. "SessionPID: 19002\n"
  18989. "ClientPID: 19090\n"
  18990. "ClientCommand: guix environment --ad-hoc python\n"
  18991. "\n"
  18992. msgstr ""
  18993. #. type: example
  18994. #: guix-git/doc/guix.texi:13226
  18995. #, no-wrap
  18996. msgid ""
  18997. "SessionPID: 19402\n"
  18998. "ClientPID: 19367\n"
  18999. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  19000. "\n"
  19001. msgstr ""
  19002. #. type: example
  19003. #: guix-git/doc/guix.texi:13239
  19004. #, no-wrap
  19005. msgid ""
  19006. "SessionPID: 19444\n"
  19007. "ClientPID: 19419\n"
  19008. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19009. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  19010. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  19011. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  19012. "ChildPID: 20495\n"
  19013. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19014. "ChildPID: 27733\n"
  19015. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19016. "ChildPID: 27793\n"
  19017. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19018. msgstr ""
  19019. #. type: Plain text
  19020. #: guix-git/doc/guix.texi:13246
  19021. 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."
  19022. msgstr ""
  19023. #. type: Plain text
  19024. #: guix-git/doc/guix.texi:13253
  19025. 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})."
  19026. msgstr ""
  19027. #. type: Plain text
  19028. #: guix-git/doc/guix.texi:13258
  19029. 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:"
  19030. msgstr ""
  19031. #. type: example
  19032. #: guix-git/doc/guix.texi:13264
  19033. #, no-wrap
  19034. msgid ""
  19035. "$ sudo guix processes | \\\n"
  19036. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  19037. "ClientPID: 19419\n"
  19038. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19039. msgstr ""
  19040. #. type: Plain text
  19041. #: guix-git/doc/guix.texi:13267
  19042. msgid "Additional options are listed below."
  19043. msgstr ""
  19044. #. type: table
  19045. #: guix-git/doc/guix.texi:13277
  19046. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  19047. msgstr ""
  19048. #. type: item
  19049. #: guix-git/doc/guix.texi:13278
  19050. #, no-wrap
  19051. msgid "normalized"
  19052. msgstr ""
  19053. #. type: table
  19054. #: guix-git/doc/guix.texi:13285
  19055. 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}."
  19056. msgstr ""
  19057. #. type: example
  19058. #: guix-git/doc/guix.texi:13295
  19059. #, no-wrap
  19060. msgid ""
  19061. "$ guix processes --format=normalized | \\\n"
  19062. " recsel \\\n"
  19063. " -j Session \\\n"
  19064. " -t ChildProcess \\\n"
  19065. " -p Session.PID,PID \\\n"
  19066. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  19067. "PID: 4435\n"
  19068. "Session_PID: 4278\n"
  19069. "\n"
  19070. msgstr ""
  19071. #. type: example
  19072. #: guix-git/doc/guix.texi:13298
  19073. #, no-wrap
  19074. msgid ""
  19075. "PID: 4554\n"
  19076. "Session_PID: 4278\n"
  19077. "\n"
  19078. msgstr ""
  19079. #. type: example
  19080. #: guix-git/doc/guix.texi:13301
  19081. #, no-wrap
  19082. msgid ""
  19083. "PID: 4646\n"
  19084. "Session_PID: 4278\n"
  19085. msgstr ""
  19086. #. type: cindex
  19087. #: guix-git/doc/guix.texi:13308
  19088. #, no-wrap
  19089. msgid "system configuration"
  19090. msgstr ""
  19091. #. type: Plain text
  19092. #: guix-git/doc/guix.texi:13314
  19093. 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."
  19094. msgstr ""
  19095. #. type: Plain text
  19096. #: guix-git/doc/guix.texi:13324
  19097. 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."
  19098. msgstr ""
  19099. #. type: Plain text
  19100. #: guix-git/doc/guix.texi:13329
  19101. 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."
  19102. msgstr ""
  19103. #. type: Plain text
  19104. #: guix-git/doc/guix.texi:13358
  19105. 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:"
  19106. msgstr ""
  19107. #. type: code{#1}
  19108. #: guix-git/doc/guix.texi:13359 guix-git/doc/guix.texi:33410
  19109. #, no-wrap
  19110. msgid "operating-system"
  19111. msgstr "운영 체제"
  19112. #. type: include
  19113. #: guix-git/doc/guix.texi:13361
  19114. #, no-wrap
  19115. msgid "os-config-bare-bones.texi"
  19116. msgstr ""
  19117. #. type: Plain text
  19118. #: guix-git/doc/guix.texi:13368
  19119. 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."
  19120. msgstr ""
  19121. #. type: Plain text
  19122. #: guix-git/doc/guix.texi:13373
  19123. 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}."
  19124. msgstr ""
  19125. #. type: unnumberedsubsec
  19126. #: guix-git/doc/guix.texi:13374
  19127. #, no-wrap
  19128. msgid "Bootloader"
  19129. msgstr ""
  19130. #. type: cindex
  19131. #: guix-git/doc/guix.texi:13376
  19132. #, no-wrap
  19133. msgid "legacy boot, on Intel machines"
  19134. msgstr ""
  19135. #. type: cindex
  19136. #: guix-git/doc/guix.texi:13377
  19137. #, no-wrap
  19138. msgid "BIOS boot, on Intel machines"
  19139. msgstr ""
  19140. #. type: cindex
  19141. #: guix-git/doc/guix.texi:13378
  19142. #, no-wrap
  19143. msgid "UEFI boot"
  19144. msgstr ""
  19145. #. type: cindex
  19146. #: guix-git/doc/guix.texi:13379
  19147. #, no-wrap
  19148. msgid "EFI boot"
  19149. msgstr ""
  19150. #. type: Plain text
  19151. #: guix-git/doc/guix.texi:13385
  19152. 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:"
  19153. msgstr ""
  19154. #. type: lisp
  19155. #: guix-git/doc/guix.texi:13390
  19156. #, no-wrap
  19157. msgid ""
  19158. "(bootloader-configuration\n"
  19159. " (bootloader grub-efi-bootloader)\n"
  19160. " (target \"/boot/efi\"))\n"
  19161. msgstr ""
  19162. #. type: Plain text
  19163. #: guix-git/doc/guix.texi:13394
  19164. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19165. msgstr ""
  19166. #. type: unnumberedsubsec
  19167. #: guix-git/doc/guix.texi:13395
  19168. #, no-wrap
  19169. msgid "Globally-Visible Packages"
  19170. msgstr ""
  19171. #. type: vindex
  19172. #: guix-git/doc/guix.texi:13397
  19173. #, no-wrap
  19174. msgid "%base-packages"
  19175. msgstr ""
  19176. #. type: Plain text
  19177. #: guix-git/doc/guix.texi:13410
  19178. 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:"
  19179. msgstr ""
  19180. #. type: lisp
  19181. #: guix-git/doc/guix.texi:13414
  19182. #, no-wrap
  19183. msgid ""
  19184. "(use-modules (gnu packages))\n"
  19185. "(use-modules (gnu packages dns))\n"
  19186. "\n"
  19187. msgstr ""
  19188. #. type: lisp
  19189. #: guix-git/doc/guix.texi:13419
  19190. #, no-wrap
  19191. msgid ""
  19192. "(operating-system\n"
  19193. " ;; ...\n"
  19194. " (packages (cons (list bind \"utils\")\n"
  19195. " %base-packages)))\n"
  19196. msgstr ""
  19197. #. type: findex
  19198. #: guix-git/doc/guix.texi:13421
  19199. #, no-wrap
  19200. msgid "specification->package"
  19201. msgstr ""
  19202. #. type: Plain text
  19203. #: guix-git/doc/guix.texi:13430
  19204. 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:"
  19205. msgstr ""
  19206. #. type: lisp
  19207. #: guix-git/doc/guix.texi:13433
  19208. #, no-wrap
  19209. msgid ""
  19210. "(use-modules (gnu packages))\n"
  19211. "\n"
  19212. msgstr ""
  19213. #. type: lisp
  19214. #: guix-git/doc/guix.texi:13439
  19215. #, no-wrap
  19216. msgid ""
  19217. "(operating-system\n"
  19218. " ;; ...\n"
  19219. " (packages (append (map specification->package\n"
  19220. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19221. " %base-packages)))\n"
  19222. msgstr ""
  19223. #. type: unnumberedsubsec
  19224. #: guix-git/doc/guix.texi:13441
  19225. #, no-wrap
  19226. msgid "System Services"
  19227. msgstr "시스템 서비스"
  19228. #. type: cindex
  19229. #: guix-git/doc/guix.texi:13443 guix-git/doc/guix.texi:32193
  19230. #: guix-git/doc/guix.texi:33635
  19231. #, no-wrap
  19232. msgid "services"
  19233. msgstr "서비스"
  19234. #. type: vindex
  19235. #: guix-git/doc/guix.texi:13444
  19236. #, no-wrap
  19237. msgid "%base-services"
  19238. msgstr ""
  19239. #. type: Plain text
  19240. #: guix-git/doc/guix.texi:13454
  19241. 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})."
  19242. msgstr ""
  19243. #. type: cindex
  19244. #: guix-git/doc/guix.texi:13455
  19245. #, no-wrap
  19246. msgid "customization, of services"
  19247. msgstr ""
  19248. #. type: findex
  19249. #: guix-git/doc/guix.texi:13456
  19250. #, no-wrap
  19251. msgid "modify-services"
  19252. msgstr ""
  19253. #. type: Plain text
  19254. #: guix-git/doc/guix.texi:13460
  19255. 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."
  19256. msgstr ""
  19257. #. type: Plain text
  19258. #: guix-git/doc/guix.texi:13465
  19259. 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:"
  19260. msgstr ""
  19261. #. type: lisp
  19262. #: guix-git/doc/guix.texi:13482
  19263. #, no-wrap
  19264. msgid ""
  19265. "(define %my-services\n"
  19266. " ;; My very own list of services.\n"
  19267. " (modify-services %base-services\n"
  19268. " (guix-service-type config =>\n"
  19269. " (guix-configuration\n"
  19270. " (inherit config)\n"
  19271. " ;; Fetch substitutes from example.org.\n"
  19272. " (substitute-urls\n"
  19273. " (list \"https://example.org/guix\"\n"
  19274. " \"https://ci.guix.gnu.org\"))))\n"
  19275. " (mingetty-service-type config =>\n"
  19276. " (mingetty-configuration\n"
  19277. " (inherit config)\n"
  19278. " ;; Automatially log in as \"guest\".\n"
  19279. " (auto-login \"guest\")))))\n"
  19280. "\n"
  19281. msgstr ""
  19282. #. type: lisp
  19283. #: guix-git/doc/guix.texi:13486
  19284. #, no-wrap
  19285. msgid ""
  19286. "(operating-system\n"
  19287. " ;; @dots{}\n"
  19288. " (services %my-services))\n"
  19289. msgstr ""
  19290. #. type: Plain text
  19291. #: guix-git/doc/guix.texi:13497
  19292. 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."
  19293. msgstr ""
  19294. #. type: Plain text
  19295. #: guix-git/doc/guix.texi:13504
  19296. 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:"
  19297. msgstr ""
  19298. #. type: include
  19299. #: guix-git/doc/guix.texi:13506
  19300. #, no-wrap
  19301. msgid "os-config-desktop.texi"
  19302. msgstr ""
  19303. #. type: Plain text
  19304. #: guix-git/doc/guix.texi:13511
  19305. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  19306. msgstr ""
  19307. #. type: include
  19308. #: guix-git/doc/guix.texi:13513
  19309. #, no-wrap
  19310. msgid "os-config-lightweight-desktop.texi"
  19311. msgstr ""
  19312. #. type: Plain text
  19313. #: guix-git/doc/guix.texi:13519
  19314. 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."
  19315. msgstr ""
  19316. #. type: Plain text
  19317. #: guix-git/doc/guix.texi:13523
  19318. 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."
  19319. msgstr ""
  19320. #. type: Plain text
  19321. #: guix-git/doc/guix.texi:13530
  19322. 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:"
  19323. msgstr ""
  19324. #. type: lisp
  19325. #: guix-git/doc/guix.texi:13535
  19326. #, no-wrap
  19327. msgid ""
  19328. "(remove (lambda (service)\n"
  19329. " (eq? (service-kind service) avahi-service-type))\n"
  19330. " %desktop-services)\n"
  19331. msgstr ""
  19332. #. type: Plain text
  19333. #: guix-git/doc/guix.texi:13538
  19334. msgid "Alternatively, the @code{modify-services} macro can be used:"
  19335. msgstr ""
  19336. #. type: lisp
  19337. #: guix-git/doc/guix.texi:13542
  19338. #, no-wrap
  19339. msgid ""
  19340. "(modify-services %desktop-services\n"
  19341. " (delete avahi-service-type))\n"
  19342. msgstr ""
  19343. #. type: unnumberedsubsec
  19344. #: guix-git/doc/guix.texi:13545
  19345. #, no-wrap
  19346. msgid "Instantiating the System"
  19347. msgstr ""
  19348. #. type: Plain text
  19349. #: guix-git/doc/guix.texi:13552
  19350. 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})."
  19351. msgstr ""
  19352. #. type: Plain text
  19353. #: guix-git/doc/guix.texi:13560
  19354. 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."
  19355. msgstr ""
  19356. #. type: cindex
  19357. #: guix-git/doc/guix.texi:13561
  19358. #, no-wrap
  19359. msgid "roll-back, of the operating system"
  19360. msgstr ""
  19361. #. type: Plain text
  19362. #: guix-git/doc/guix.texi:13571
  19363. 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}."
  19364. msgstr ""
  19365. #. type: Plain text
  19366. #: guix-git/doc/guix.texi:13577
  19367. 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})."
  19368. msgstr ""
  19369. #. type: unnumberedsubsec
  19370. #: guix-git/doc/guix.texi:13578
  19371. #, no-wrap
  19372. msgid "The Programming Interface"
  19373. msgstr ""
  19374. #. type: Plain text
  19375. #: guix-git/doc/guix.texi:13583
  19376. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  19377. msgstr ""
  19378. #. type: deffn
  19379. #: guix-git/doc/guix.texi:13584
  19380. #, no-wrap
  19381. msgid "{Monadic Procedure} operating-system-derivation os"
  19382. msgstr ""
  19383. #. type: deffn
  19384. #: guix-git/doc/guix.texi:13587
  19385. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  19386. msgstr ""
  19387. #. type: deffn
  19388. #: guix-git/doc/guix.texi:13591
  19389. 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}."
  19390. msgstr ""
  19391. #. type: Plain text
  19392. #: guix-git/doc/guix.texi:13596
  19393. 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!"
  19394. msgstr ""
  19395. #. type: section
  19396. #: guix-git/doc/guix.texi:13599
  19397. #, no-wrap
  19398. msgid "@code{operating-system} Reference"
  19399. msgstr ""
  19400. #. type: Plain text
  19401. #: guix-git/doc/guix.texi:13604
  19402. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  19403. msgstr ""
  19404. #. type: deftp
  19405. #: guix-git/doc/guix.texi:13605
  19406. #, no-wrap
  19407. msgid "{Data Type} operating-system"
  19408. msgstr ""
  19409. #. type: deftp
  19410. #: guix-git/doc/guix.texi:13609
  19411. 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})."
  19412. msgstr ""
  19413. #. type: item
  19414. #: guix-git/doc/guix.texi:13611
  19415. #, no-wrap
  19416. msgid "@code{kernel} (default: @code{linux-libre})"
  19417. msgstr ""
  19418. #. type: table
  19419. #: guix-git/doc/guix.texi:13616
  19420. 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.}."
  19421. msgstr ""
  19422. #. type: code{#1}
  19423. #: guix-git/doc/guix.texi:13617 guix-git/doc/guix.texi:28901
  19424. #, no-wrap
  19425. msgid "hurd"
  19426. msgstr ""
  19427. #. type: item
  19428. #: guix-git/doc/guix.texi:13618
  19429. #, no-wrap
  19430. msgid "@code{hurd} (default: @code{#f})"
  19431. msgstr ""
  19432. #. type: table
  19433. #: guix-git/doc/guix.texi:13623
  19434. 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."
  19435. msgstr ""
  19436. #. type: quotation
  19437. #: guix-git/doc/guix.texi:13626
  19438. msgid "This feature is experimental and only supported for disk images."
  19439. msgstr ""
  19440. #. type: item
  19441. #: guix-git/doc/guix.texi:13628
  19442. #, no-wrap
  19443. msgid "@code{kernel-loadable-modules} (default: '())"
  19444. msgstr ""
  19445. #. type: table
  19446. #: guix-git/doc/guix.texi:13631
  19447. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  19448. msgstr ""
  19449. #. type: item
  19450. #: guix-git/doc/guix.texi:13632
  19451. #, no-wrap
  19452. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  19453. msgstr ""
  19454. #. type: table
  19455. #: guix-git/doc/guix.texi:13635
  19456. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  19457. msgstr ""
  19458. #. type: code{#1}
  19459. #: guix-git/doc/guix.texi:13636 guix-git/doc/guix.texi:32406
  19460. #: guix-git/doc/guix.texi:32425
  19461. #, no-wrap
  19462. msgid "bootloader"
  19463. msgstr ""
  19464. #. type: table
  19465. #: guix-git/doc/guix.texi:13638
  19466. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  19467. msgstr ""
  19468. #. type: code{#1}
  19469. #: guix-git/doc/guix.texi:13639 guix-git/doc/guix.texi:32595
  19470. #, no-wrap
  19471. msgid "label"
  19472. msgstr "이름표"
  19473. #. type: table
  19474. #: guix-git/doc/guix.texi:13642
  19475. 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."
  19476. msgstr ""
  19477. #. type: item
  19478. #: guix-git/doc/guix.texi:13643 guix-git/doc/guix.texi:18070
  19479. #: guix-git/doc/guix.texi:32525
  19480. #, no-wrap
  19481. msgid "@code{keyboard-layout} (default: @code{#f})"
  19482. msgstr ""
  19483. #. type: table
  19484. #: guix-git/doc/guix.texi:13648
  19485. 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."
  19486. msgstr ""
  19487. #. type: table
  19488. #: guix-git/doc/guix.texi:13653
  19489. 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})."
  19490. msgstr ""
  19491. #. type: quotation
  19492. #: guix-git/doc/guix.texi:13660
  19493. 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."
  19494. msgstr ""
  19495. #. type: item
  19496. #: guix-git/doc/guix.texi:13662
  19497. #, no-wrap
  19498. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  19499. msgstr ""
  19500. #. type: cindex
  19501. #: guix-git/doc/guix.texi:13663 guix-git/doc/guix.texi:32230
  19502. #: guix-git/doc/guix.texi:32334
  19503. #, no-wrap
  19504. msgid "initrd"
  19505. msgstr "initrd"
  19506. #. type: cindex
  19507. #: guix-git/doc/guix.texi:13664 guix-git/doc/guix.texi:32231
  19508. #: guix-git/doc/guix.texi:32335
  19509. #, no-wrap
  19510. msgid "initial RAM disk"
  19511. msgstr ""
  19512. #. type: table
  19513. #: guix-git/doc/guix.texi:13667
  19514. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  19515. msgstr ""
  19516. #. type: item
  19517. #: guix-git/doc/guix.texi:13668
  19518. #, no-wrap
  19519. msgid "@code{initrd} (default: @code{base-initrd})"
  19520. msgstr ""
  19521. #. type: table
  19522. #: guix-git/doc/guix.texi:13672
  19523. 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}."
  19524. msgstr ""
  19525. #. type: item
  19526. #: guix-git/doc/guix.texi:13673
  19527. #, no-wrap
  19528. msgid "@code{firmware} (default: @code{%base-firmware})"
  19529. msgstr ""
  19530. #. type: cindex
  19531. #: guix-git/doc/guix.texi:13674
  19532. #, no-wrap
  19533. msgid "firmware"
  19534. msgstr "펌웨어"
  19535. #. type: table
  19536. #: guix-git/doc/guix.texi:13676
  19537. msgid "List of firmware packages loadable by the operating system kernel."
  19538. msgstr ""
  19539. #. type: table
  19540. #: guix-git/doc/guix.texi:13681
  19541. 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."
  19542. msgstr ""
  19543. #. type: code{#1}
  19544. #: guix-git/doc/guix.texi:13682 guix-git/doc/guix.texi:33429
  19545. #, no-wrap
  19546. msgid "host-name"
  19547. msgstr ""
  19548. #. type: table
  19549. #: guix-git/doc/guix.texi:13684
  19550. msgid "The host name."
  19551. msgstr ""
  19552. #. type: code{#1}
  19553. #: guix-git/doc/guix.texi:13685
  19554. #, no-wrap
  19555. msgid "hosts-file"
  19556. msgstr ""
  19557. #. type: cindex
  19558. #: guix-git/doc/guix.texi:13686
  19559. #, no-wrap
  19560. msgid "hosts file"
  19561. msgstr ""
  19562. #. type: table
  19563. #: guix-git/doc/guix.texi:13691
  19564. 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}."
  19565. msgstr ""
  19566. #. type: item
  19567. #: guix-git/doc/guix.texi:13692
  19568. #, no-wrap
  19569. msgid "@code{mapped-devices} (default: @code{'()})"
  19570. msgstr ""
  19571. #. type: table
  19572. #: guix-git/doc/guix.texi:13694
  19573. msgid "A list of mapped devices. @xref{Mapped Devices}."
  19574. msgstr ""
  19575. #. type: code{#1}
  19576. #: guix-git/doc/guix.texi:13695
  19577. #, no-wrap
  19578. msgid "file-systems"
  19579. msgstr "파일 시스템"
  19580. #. type: table
  19581. #: guix-git/doc/guix.texi:13697
  19582. msgid "A list of file systems. @xref{File Systems}."
  19583. msgstr ""
  19584. #. type: cindex
  19585. #: guix-git/doc/guix.texi:13698
  19586. #, no-wrap
  19587. msgid "swap devices"
  19588. msgstr ""
  19589. #. type: cindex
  19590. #: guix-git/doc/guix.texi:13699
  19591. #, no-wrap
  19592. msgid "swap space"
  19593. msgstr "스왑 공간"
  19594. #. type: item
  19595. #: guix-git/doc/guix.texi:13700
  19596. #, no-wrap
  19597. msgid "@code{swap-devices} (default: @code{'()})"
  19598. msgstr ""
  19599. #. type: table
  19600. #: guix-git/doc/guix.texi:13705
  19601. 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:"
  19602. msgstr ""
  19603. #. type: item
  19604. #: guix-git/doc/guix.texi:13707
  19605. #, no-wrap
  19606. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  19607. msgstr ""
  19608. #. type: table
  19609. #: guix-git/doc/guix.texi:13711
  19610. 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."
  19611. msgstr ""
  19612. #. type: item
  19613. #: guix-git/doc/guix.texi:13712
  19614. #, no-wrap
  19615. msgid "(list (file-system-label \"swap\"))"
  19616. msgstr ""
  19617. #. type: table
  19618. #: guix-git/doc/guix.texi:13716
  19619. 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."
  19620. msgstr ""
  19621. #. type: item
  19622. #: guix-git/doc/guix.texi:13717
  19623. #, no-wrap
  19624. msgid "(list \"/swapfile\")"
  19625. msgstr ""
  19626. #. type: table
  19627. #: guix-git/doc/guix.texi:13719
  19628. msgid "Use the file @file{/swapfile} as swap space."
  19629. msgstr ""
  19630. #. type: item
  19631. #: guix-git/doc/guix.texi:13720
  19632. #, no-wrap
  19633. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  19634. msgstr ""
  19635. #. type: table
  19636. #: guix-git/doc/guix.texi:13724
  19637. 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."
  19638. msgstr ""
  19639. #. type: table
  19640. #: guix-git/doc/guix.texi:13730
  19641. 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}."
  19642. msgstr ""
  19643. #. type: item
  19644. #: guix-git/doc/guix.texi:13731
  19645. #, no-wrap
  19646. msgid "@code{users} (default: @code{%base-user-accounts})"
  19647. msgstr ""
  19648. #. type: itemx
  19649. #: guix-git/doc/guix.texi:13732
  19650. #, no-wrap
  19651. msgid "@code{groups} (default: @code{%base-groups})"
  19652. msgstr ""
  19653. #. type: table
  19654. #: guix-git/doc/guix.texi:13734
  19655. msgid "List of user accounts and groups. @xref{User Accounts}."
  19656. msgstr ""
  19657. #. type: table
  19658. #: guix-git/doc/guix.texi:13737
  19659. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  19660. msgstr ""
  19661. #. type: item
  19662. #: guix-git/doc/guix.texi:13738
  19663. #, no-wrap
  19664. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  19665. msgstr ""
  19666. #. type: table
  19667. #: guix-git/doc/guix.texi:13742
  19668. 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."
  19669. msgstr ""
  19670. #. type: table
  19671. #: guix-git/doc/guix.texi:13744
  19672. msgid "For instance, a valid value may look like this:"
  19673. msgstr ""
  19674. #. type: lisp
  19675. #: guix-git/doc/guix.texi:13750
  19676. #, no-wrap
  19677. msgid ""
  19678. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  19679. " (\".guile\" ,(plain-file \"guile\"\n"
  19680. " \"(use-modules (ice-9 readline))\n"
  19681. " (activate-readline)\")))\n"
  19682. msgstr ""
  19683. #. type: item
  19684. #: guix-git/doc/guix.texi:13752
  19685. #, no-wrap
  19686. msgid "@code{issue} (default: @code{%default-issue})"
  19687. msgstr ""
  19688. #. type: table
  19689. #: guix-git/doc/guix.texi:13755
  19690. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  19691. msgstr ""
  19692. #. type: item
  19693. #: guix-git/doc/guix.texi:13756
  19694. #, no-wrap
  19695. msgid "@code{packages} (default: @code{%base-packages})"
  19696. msgstr ""
  19697. #. type: table
  19698. #: guix-git/doc/guix.texi:13760
  19699. 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:"
  19700. msgstr ""
  19701. #. type: lisp
  19702. #: guix-git/doc/guix.texi:13765
  19703. #, no-wrap
  19704. msgid ""
  19705. "(cons* git ; the default \"out\" output\n"
  19706. " (list git \"send-email\") ; another output of git\n"
  19707. " %base-packages) ; the default set\n"
  19708. msgstr ""
  19709. #. type: table
  19710. #: guix-git/doc/guix.texi:13770
  19711. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  19712. msgstr ""
  19713. #. type: code{#1}
  19714. #: guix-git/doc/guix.texi:13771
  19715. #, no-wrap
  19716. msgid "timezone"
  19717. msgstr ""
  19718. #. type: table
  19719. #: guix-git/doc/guix.texi:13773
  19720. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  19721. msgstr ""
  19722. #. type: table
  19723. #: guix-git/doc/guix.texi:13777
  19724. 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."
  19725. msgstr ""
  19726. #. type: item
  19727. #: guix-git/doc/guix.texi:13778 guix-git/doc/guix.texi:19681
  19728. #, no-wrap
  19729. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  19730. msgstr ""
  19731. #. type: table
  19732. #: guix-git/doc/guix.texi:13781
  19733. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  19734. msgstr ""
  19735. #. type: item
  19736. #: guix-git/doc/guix.texi:13782
  19737. #, no-wrap
  19738. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  19739. msgstr ""
  19740. #. type: table
  19741. #: guix-git/doc/guix.texi:13785
  19742. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  19743. msgstr ""
  19744. #. type: item
  19745. #: guix-git/doc/guix.texi:13786
  19746. #, no-wrap
  19747. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  19748. msgstr ""
  19749. #. type: table
  19750. #: guix-git/doc/guix.texi:13790
  19751. 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."
  19752. msgstr ""
  19753. #. type: item
  19754. #: guix-git/doc/guix.texi:13791
  19755. #, no-wrap
  19756. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  19757. msgstr ""
  19758. #. type: table
  19759. #: guix-git/doc/guix.texi:13795
  19760. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  19761. msgstr ""
  19762. #. type: item
  19763. #: guix-git/doc/guix.texi:13796
  19764. #, no-wrap
  19765. msgid "@code{services} (default: @code{%base-services})"
  19766. msgstr ""
  19767. #. type: table
  19768. #: guix-git/doc/guix.texi:13798
  19769. msgid "A list of service objects denoting system services. @xref{Services}."
  19770. msgstr ""
  19771. #. type: cindex
  19772. #: guix-git/doc/guix.texi:13799
  19773. #, no-wrap
  19774. msgid "essential services"
  19775. msgstr ""
  19776. #. type: item
  19777. #: guix-git/doc/guix.texi:13800
  19778. #, no-wrap
  19779. msgid "@code{essential-services} (default: ...)"
  19780. msgstr ""
  19781. #. type: table
  19782. #: guix-git/doc/guix.texi:13805
  19783. 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."
  19784. msgstr ""
  19785. #. type: item
  19786. #: guix-git/doc/guix.texi:13806
  19787. #, no-wrap
  19788. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  19789. msgstr ""
  19790. #. type: cindex
  19791. #: guix-git/doc/guix.texi:13807
  19792. #, no-wrap
  19793. msgid "PAM"
  19794. msgstr ""
  19795. #. type: cindex
  19796. #: guix-git/doc/guix.texi:13808
  19797. #, no-wrap
  19798. msgid "pluggable authentication modules"
  19799. msgstr ""
  19800. #. type: table
  19801. #: guix-git/doc/guix.texi:13811
  19802. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  19803. msgstr ""
  19804. #. type: item
  19805. #: guix-git/doc/guix.texi:13812
  19806. #, no-wrap
  19807. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  19808. msgstr ""
  19809. #. type: table
  19810. #: guix-git/doc/guix.texi:13815
  19811. msgid "List of string-valued G-expressions denoting setuid programs. @xref{Setuid Programs}."
  19812. msgstr ""
  19813. #. type: item
  19814. #: guix-git/doc/guix.texi:13816
  19815. #, no-wrap
  19816. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  19817. msgstr ""
  19818. #. type: cindex
  19819. #: guix-git/doc/guix.texi:13817
  19820. #, no-wrap
  19821. msgid "sudoers file"
  19822. msgstr ""
  19823. #. type: table
  19824. #: guix-git/doc/guix.texi:13820
  19825. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  19826. msgstr ""
  19827. #. type: table
  19828. #: guix-git/doc/guix.texi:13825
  19829. 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}."
  19830. msgstr ""
  19831. #. type: deffn
  19832. #: guix-git/doc/guix.texi:13828
  19833. #, no-wrap
  19834. msgid "{Scheme Syntax} this-operating-system"
  19835. msgstr ""
  19836. #. type: deffn
  19837. #: guix-git/doc/guix.texi:13831
  19838. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  19839. msgstr ""
  19840. #. type: deffn
  19841. #: guix-git/doc/guix.texi:13834
  19842. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  19843. msgstr ""
  19844. #. type: lisp
  19845. #: guix-git/doc/guix.texi:13837 guix-git/doc/guix.texi:17299
  19846. #, no-wrap
  19847. msgid ""
  19848. "(use-modules (gnu) (guix))\n"
  19849. "\n"
  19850. msgstr ""
  19851. #. type: lisp
  19852. #: guix-git/doc/guix.texi:13842
  19853. #, no-wrap
  19854. msgid ""
  19855. "(operating-system\n"
  19856. " ;; ...\n"
  19857. " (label (package-full-name\n"
  19858. " (operating-system-kernel this-operating-system))))\n"
  19859. msgstr ""
  19860. #. type: deffn
  19861. #: guix-git/doc/guix.texi:13846
  19862. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  19863. msgstr ""
  19864. #. type: Plain text
  19865. #: guix-git/doc/guix.texi:13857
  19866. 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:"
  19867. msgstr ""
  19868. #. type: lisp
  19869. #: guix-git/doc/guix.texi:13863
  19870. #, no-wrap
  19871. msgid ""
  19872. "(file-system\n"
  19873. " (mount-point \"/home\")\n"
  19874. " (device \"/dev/sda3\")\n"
  19875. " (type \"ext4\"))\n"
  19876. msgstr ""
  19877. #. type: Plain text
  19878. #: guix-git/doc/guix.texi:13867
  19879. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  19880. msgstr ""
  19881. #. type: deftp
  19882. #: guix-git/doc/guix.texi:13868
  19883. #, no-wrap
  19884. msgid "{Data Type} file-system"
  19885. msgstr ""
  19886. #. type: deftp
  19887. #: guix-git/doc/guix.texi:13871
  19888. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  19889. msgstr ""
  19890. #. type: item
  19891. #: guix-git/doc/guix.texi:13873 guix-git/doc/guix.texi:14223
  19892. #, no-wrap
  19893. msgid "type"
  19894. msgstr "유형"
  19895. #. type: table
  19896. #: guix-git/doc/guix.texi:13876
  19897. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  19898. msgstr ""
  19899. #. type: code{#1}
  19900. #: guix-git/doc/guix.texi:13877
  19901. #, no-wrap
  19902. msgid "mount-point"
  19903. msgstr "적재점"
  19904. #. type: table
  19905. #: guix-git/doc/guix.texi:13879
  19906. msgid "This designates the place where the file system is to be mounted."
  19907. msgstr ""
  19908. #. type: code{#1}
  19909. #: guix-git/doc/guix.texi:13880
  19910. #, no-wrap
  19911. msgid "device"
  19912. msgstr "장치"
  19913. #. type: table
  19914. #: guix-git/doc/guix.texi:13890
  19915. 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.}."
  19916. msgstr ""
  19917. #. type: findex
  19918. #: guix-git/doc/guix.texi:13891
  19919. #, no-wrap
  19920. msgid "file-system-label"
  19921. msgstr ""
  19922. #. type: table
  19923. #: guix-git/doc/guix.texi:13896
  19924. 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:"
  19925. msgstr ""
  19926. #. type: lisp
  19927. #: guix-git/doc/guix.texi:13902
  19928. #, no-wrap
  19929. msgid ""
  19930. "(file-system\n"
  19931. " (mount-point \"/home\")\n"
  19932. " (type \"ext4\")\n"
  19933. " (device (file-system-label \"my-home\")))\n"
  19934. msgstr ""
  19935. #. type: code{#1}
  19936. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:31144
  19937. #: guix-git/doc/guix.texi:31160
  19938. #, no-wrap
  19939. msgid "uuid"
  19940. msgstr ""
  19941. #. type: table
  19942. #: guix-git/doc/guix.texi:13912
  19943. 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:"
  19944. msgstr ""
  19945. #. type: lisp
  19946. #: guix-git/doc/guix.texi:13918
  19947. #, no-wrap
  19948. msgid ""
  19949. "(file-system\n"
  19950. " (mount-point \"/home\")\n"
  19951. " (type \"ext4\")\n"
  19952. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  19953. msgstr ""
  19954. #. type: table
  19955. #: guix-git/doc/guix.texi:13926
  19956. 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."
  19957. msgstr ""
  19958. #. type: item
  19959. #: guix-git/doc/guix.texi:13927
  19960. #, no-wrap
  19961. msgid "@code{flags} (default: @code{'()})"
  19962. msgstr ""
  19963. #. type: table
  19964. #: guix-git/doc/guix.texi:13937
  19965. 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."
  19966. msgstr ""
  19967. #. type: item
  19968. #: guix-git/doc/guix.texi:13938
  19969. #, no-wrap
  19970. msgid "@code{options} (default: @code{#f})"
  19971. msgstr ""
  19972. #. type: table
  19973. #: guix-git/doc/guix.texi:13947
  19974. 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."
  19975. msgstr ""
  19976. #. type: item
  19977. #: guix-git/doc/guix.texi:13948
  19978. #, no-wrap
  19979. msgid "@code{mount?} (default: @code{#t})"
  19980. msgstr ""
  19981. #. type: table
  19982. #: guix-git/doc/guix.texi:13953
  19983. 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."
  19984. msgstr ""
  19985. #. type: item
  19986. #: guix-git/doc/guix.texi:13954
  19987. #, no-wrap
  19988. msgid "@code{needed-for-boot?} (default: @code{#f})"
  19989. msgstr ""
  19990. #. type: table
  19991. #: guix-git/doc/guix.texi:13959
  19992. 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."
  19993. msgstr ""
  19994. #. type: item
  19995. #: guix-git/doc/guix.texi:13960
  19996. #, no-wrap
  19997. msgid "@code{check?} (default: @code{#t})"
  19998. msgstr ""
  19999. #. type: table
  20000. #: guix-git/doc/guix.texi:13963
  20001. msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted."
  20002. msgstr ""
  20003. #. type: item
  20004. #: guix-git/doc/guix.texi:13964
  20005. #, no-wrap
  20006. msgid "@code{create-mount-point?} (default: @code{#f})"
  20007. msgstr ""
  20008. #. type: table
  20009. #: guix-git/doc/guix.texi:13966
  20010. msgid "When true, the mount point is created if it does not exist yet."
  20011. msgstr ""
  20012. #. type: item
  20013. #: guix-git/doc/guix.texi:13967
  20014. #, no-wrap
  20015. msgid "@code{mount-may-fail?} (default: @code{#f})"
  20016. msgstr ""
  20017. #. type: table
  20018. #: guix-git/doc/guix.texi:13972
  20019. 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."
  20020. msgstr ""
  20021. #. type: item
  20022. #: guix-git/doc/guix.texi:13973
  20023. #, no-wrap
  20024. msgid "@code{dependencies} (default: @code{'()})"
  20025. msgstr ""
  20026. #. type: table
  20027. #: guix-git/doc/guix.texi:13977
  20028. 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."
  20029. msgstr ""
  20030. #. type: table
  20031. #: guix-git/doc/guix.texi:13981
  20032. 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}."
  20033. msgstr ""
  20034. #. type: table
  20035. #: guix-git/doc/guix.texi:13984
  20036. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  20037. msgstr ""
  20038. #. type: deffn
  20039. #: guix-git/doc/guix.texi:13987
  20040. #, no-wrap
  20041. msgid "{Scheme Procedure} file-system-label @var{str}"
  20042. msgstr ""
  20043. #. type: deffn
  20044. #: guix-git/doc/guix.texi:13990
  20045. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  20046. msgstr ""
  20047. #. type: lisp
  20048. #: guix-git/doc/guix.texi:13994
  20049. #, no-wrap
  20050. msgid ""
  20051. "(file-system-label \"home\")\n"
  20052. "@result{} #<file-system-label \"home\">\n"
  20053. msgstr ""
  20054. #. type: deffn
  20055. #: guix-git/doc/guix.texi:13998
  20056. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  20057. msgstr ""
  20058. #. type: Plain text
  20059. #: guix-git/doc/guix.texi:14002
  20060. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  20061. msgstr ""
  20062. #. type: defvr
  20063. #: guix-git/doc/guix.texi:14003
  20064. #, no-wrap
  20065. msgid "{Scheme Variable} %base-file-systems"
  20066. msgstr ""
  20067. #. type: defvr
  20068. #: guix-git/doc/guix.texi:14008
  20069. 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."
  20070. msgstr ""
  20071. #. type: defvr
  20072. #: guix-git/doc/guix.texi:14010
  20073. #, no-wrap
  20074. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  20075. msgstr ""
  20076. #. type: defvr
  20077. #: guix-git/doc/guix.texi:14016
  20078. 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}."
  20079. msgstr ""
  20080. #. type: defvr
  20081. #: guix-git/doc/guix.texi:14018
  20082. #, no-wrap
  20083. msgid "{Scheme Variable} %shared-memory-file-system"
  20084. msgstr ""
  20085. #. type: defvr
  20086. #: guix-git/doc/guix.texi:14022
  20087. 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})."
  20088. msgstr ""
  20089. #. type: defvr
  20090. #: guix-git/doc/guix.texi:14024
  20091. #, no-wrap
  20092. msgid "{Scheme Variable} %immutable-store"
  20093. msgstr ""
  20094. #. type: defvr
  20095. #: guix-git/doc/guix.texi:14029
  20096. 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."
  20097. msgstr ""
  20098. #. type: defvr
  20099. #: guix-git/doc/guix.texi:14032
  20100. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20101. msgstr ""
  20102. #. type: defvr
  20103. #: guix-git/doc/guix.texi:14034
  20104. #, no-wrap
  20105. msgid "{Scheme Variable} %binary-format-file-system"
  20106. msgstr ""
  20107. #. type: defvr
  20108. #: guix-git/doc/guix.texi:14038
  20109. 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."
  20110. msgstr ""
  20111. #. type: defvr
  20112. #: guix-git/doc/guix.texi:14040
  20113. #, no-wrap
  20114. msgid "{Scheme Variable} %fuse-control-file-system"
  20115. msgstr ""
  20116. #. type: defvr
  20117. #: guix-git/doc/guix.texi:14044
  20118. 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."
  20119. msgstr ""
  20120. #. type: Plain text
  20121. #: guix-git/doc/guix.texi:14048
  20122. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20123. msgstr ""
  20124. #. type: deffn
  20125. #: guix-git/doc/guix.texi:14049
  20126. #, no-wrap
  20127. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20128. msgstr ""
  20129. #. type: deffn
  20130. #: guix-git/doc/guix.texi:14052
  20131. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20132. msgstr ""
  20133. #. type: lisp
  20134. #: guix-git/doc/guix.texi:14056
  20135. #, no-wrap
  20136. msgid ""
  20137. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20138. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20139. "\n"
  20140. msgstr ""
  20141. #. type: lisp
  20142. #: guix-git/doc/guix.texi:14059
  20143. #, no-wrap
  20144. msgid ""
  20145. "(uuid \"1234-ABCD\" 'fat)\n"
  20146. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20147. msgstr ""
  20148. #. type: deffn
  20149. #: guix-git/doc/guix.texi:14063
  20150. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20151. msgstr ""
  20152. #. type: deffn
  20153. #: guix-git/doc/guix.texi:14066
  20154. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20155. msgstr ""
  20156. #. type: subsection
  20157. #: guix-git/doc/guix.texi:14069 guix-git/doc/guix.texi:14070
  20158. #, no-wrap
  20159. msgid "Btrfs file system"
  20160. msgstr ""
  20161. #. type: Plain text
  20162. #: guix-git/doc/guix.texi:14076
  20163. 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."
  20164. msgstr ""
  20165. #. type: Plain text
  20166. #: guix-git/doc/guix.texi:14079
  20167. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20168. msgstr ""
  20169. #. type: lisp
  20170. #: guix-git/doc/guix.texi:14085
  20171. #, no-wrap
  20172. msgid ""
  20173. "(file-system\n"
  20174. " (mount-point \"/home\")\n"
  20175. " (type \"btrfs\")\n"
  20176. " (device (file-system-label \"my-home\")))\n"
  20177. msgstr ""
  20178. #. type: Plain text
  20179. #: guix-git/doc/guix.texi:14091
  20180. 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}):"
  20181. msgstr ""
  20182. #. type: lisp
  20183. #: guix-git/doc/guix.texi:14099
  20184. #, no-wrap
  20185. msgid ""
  20186. "(file-system\n"
  20187. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20188. " (mount-point \"/\")\n"
  20189. " (type \"btrfs\")\n"
  20190. " (options \"subvol=rootfs\")\n"
  20191. " (dependencies mapped-devices))\n"
  20192. msgstr ""
  20193. #. type: Plain text
  20194. #: guix-git/doc/guix.texi:14110
  20195. 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."
  20196. msgstr ""
  20197. #. type: Plain text
  20198. #: guix-git/doc/guix.texi:14118
  20199. 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.:"
  20200. msgstr ""
  20201. #. type: example
  20202. #: guix-git/doc/guix.texi:14125
  20203. #, no-wrap
  20204. msgid ""
  20205. "/ (top level)\n"
  20206. "├── rootfs (subvolume directory)\n"
  20207. " ├── gnu (normal directory)\n"
  20208. " ├── store (normal directory)\n"
  20209. "[...]\n"
  20210. msgstr ""
  20211. #. type: Plain text
  20212. #: guix-git/doc/guix.texi:14130
  20213. 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."
  20214. msgstr ""
  20215. #. type: Plain text
  20216. #: guix-git/doc/guix.texi:14133
  20217. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  20218. msgstr ""
  20219. #. type: example
  20220. #: guix-git/doc/guix.texi:14140
  20221. #, no-wrap
  20222. msgid ""
  20223. "/ (top level)\n"
  20224. "├── rootfs (subvolume)\n"
  20225. " ├── gnu (normal directory)\n"
  20226. " ├── store (subvolume)\n"
  20227. "[...]\n"
  20228. msgstr ""
  20229. #. type: Plain text
  20230. #: guix-git/doc/guix.texi:14147
  20231. 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}."
  20232. msgstr ""
  20233. #. type: Plain text
  20234. #: guix-git/doc/guix.texi:14149
  20235. msgid "Finally, a more contrived example of nested subvolumes:"
  20236. msgstr ""
  20237. #. type: example
  20238. #: guix-git/doc/guix.texi:14156
  20239. #, no-wrap
  20240. msgid ""
  20241. "/ (top level)\n"
  20242. "├── root-snapshots (subvolume)\n"
  20243. " ├── root-current (subvolume)\n"
  20244. " ├── guix-store (subvolume)\n"
  20245. "[...]\n"
  20246. msgstr ""
  20247. #. type: Plain text
  20248. #: guix-git/doc/guix.texi:14163
  20249. 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:"
  20250. msgstr ""
  20251. #. type: lisp
  20252. #: guix-git/doc/guix.texi:14171
  20253. #, no-wrap
  20254. msgid ""
  20255. "(file-system\n"
  20256. " (device (file-system-label \"btrfs-pool-1\"))\n"
  20257. " (mount-point \"/gnu/store\")\n"
  20258. " (type \"btrfs\")\n"
  20259. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  20260. "compress-force=zstd,space_cache=v2\"))\n"
  20261. msgstr ""
  20262. #. type: cindex
  20263. #: guix-git/doc/guix.texi:14176
  20264. #, no-wrap
  20265. msgid "device mapping"
  20266. msgstr ""
  20267. #. type: cindex
  20268. #: guix-git/doc/guix.texi:14177
  20269. #, no-wrap
  20270. msgid "mapped devices"
  20271. msgstr ""
  20272. #. type: Plain text
  20273. #: guix-git/doc/guix.texi:14194
  20274. 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."
  20275. msgstr ""
  20276. #. type: Plain text
  20277. #: guix-git/doc/guix.texi:14197
  20278. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  20279. msgstr ""
  20280. #. type: deftp
  20281. #: guix-git/doc/guix.texi:14198
  20282. #, no-wrap
  20283. msgid "{Data Type} mapped-device"
  20284. msgstr ""
  20285. #. type: deftp
  20286. #: guix-git/doc/guix.texi:14201
  20287. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  20288. msgstr ""
  20289. #. type: table
  20290. #: guix-git/doc/guix.texi:14208
  20291. 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."
  20292. msgstr ""
  20293. #. type: code{#1}
  20294. #: guix-git/doc/guix.texi:14209 guix-git/doc/guix.texi:32498
  20295. #, no-wrap
  20296. msgid "target"
  20297. msgstr "대상"
  20298. #. type: table
  20299. #: guix-git/doc/guix.texi:14218
  20300. 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\"}."
  20301. msgstr ""
  20302. #. type: item
  20303. #: guix-git/doc/guix.texi:14219
  20304. #, no-wrap
  20305. msgid "targets"
  20306. msgstr "대상"
  20307. #. type: table
  20308. #: guix-git/doc/guix.texi:14222
  20309. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  20310. msgstr ""
  20311. #. type: table
  20312. #: guix-git/doc/guix.texi:14226
  20313. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  20314. msgstr ""
  20315. #. type: defvr
  20316. #: guix-git/doc/guix.texi:14229
  20317. #, no-wrap
  20318. msgid "{Scheme Variable} luks-device-mapping"
  20319. msgstr ""
  20320. #. type: defvr
  20321. #: guix-git/doc/guix.texi:14233
  20322. 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."
  20323. msgstr ""
  20324. #. type: defvr
  20325. #: guix-git/doc/guix.texi:14235
  20326. #, no-wrap
  20327. msgid "{Scheme Variable} raid-device-mapping"
  20328. msgstr ""
  20329. #. type: defvr
  20330. #: guix-git/doc/guix.texi:14240
  20331. 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."
  20332. msgstr ""
  20333. #. type: cindex
  20334. #: guix-git/doc/guix.texi:14242
  20335. #, no-wrap
  20336. msgid "LVM, logical volume manager"
  20337. msgstr ""
  20338. #. type: defvr
  20339. #: guix-git/doc/guix.texi:14243
  20340. #, no-wrap
  20341. msgid "{Scheme Variable} lvm-device-mapping"
  20342. msgstr ""
  20343. #. type: defvr
  20344. #: guix-git/doc/guix.texi:14248
  20345. 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."
  20346. msgstr ""
  20347. #. type: cindex
  20348. #: guix-git/doc/guix.texi:14250
  20349. #, no-wrap
  20350. msgid "disk encryption"
  20351. msgstr ""
  20352. #. type: cindex
  20353. #: guix-git/doc/guix.texi:14251
  20354. #, no-wrap
  20355. msgid "LUKS"
  20356. msgstr "LUKS"
  20357. #. type: Plain text
  20358. #: guix-git/doc/guix.texi:14259
  20359. 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})."
  20360. msgstr ""
  20361. #. type: lisp
  20362. #: guix-git/doc/guix.texi:14265
  20363. #, no-wrap
  20364. msgid ""
  20365. "(mapped-device\n"
  20366. " (source \"/dev/sda3\")\n"
  20367. " (target \"home\")\n"
  20368. " (type luks-device-mapping))\n"
  20369. msgstr ""
  20370. #. type: Plain text
  20371. #: guix-git/doc/guix.texi:14270
  20372. 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:"
  20373. msgstr ""
  20374. #. type: example
  20375. #: guix-git/doc/guix.texi:14273
  20376. #, no-wrap
  20377. msgid "cryptsetup luksUUID /dev/sda3\n"
  20378. msgstr ""
  20379. #. type: Plain text
  20380. #: guix-git/doc/guix.texi:14276
  20381. msgid "and use it as follows:"
  20382. msgstr ""
  20383. #. type: lisp
  20384. #: guix-git/doc/guix.texi:14282
  20385. #, no-wrap
  20386. msgid ""
  20387. "(mapped-device\n"
  20388. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  20389. " (target \"home\")\n"
  20390. " (type luks-device-mapping))\n"
  20391. msgstr ""
  20392. #. type: cindex
  20393. #: guix-git/doc/guix.texi:14284
  20394. #, no-wrap
  20395. msgid "swap encryption"
  20396. msgstr ""
  20397. #. type: Plain text
  20398. #: guix-git/doc/guix.texi:14290
  20399. 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."
  20400. msgstr ""
  20401. #. type: Plain text
  20402. #: guix-git/doc/guix.texi:14293
  20403. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  20404. msgstr ""
  20405. #. type: lisp
  20406. #: guix-git/doc/guix.texi:14299
  20407. #, no-wrap
  20408. msgid ""
  20409. "(mapped-device\n"
  20410. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  20411. " (target \"/dev/md0\")\n"
  20412. " (type raid-device-mapping))\n"
  20413. msgstr ""
  20414. #. type: Plain text
  20415. #: guix-git/doc/guix.texi:14306
  20416. 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."
  20417. msgstr ""
  20418. #. type: Plain text
  20419. #: guix-git/doc/guix.texi:14309
  20420. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  20421. msgstr ""
  20422. #. type: lisp
  20423. #: guix-git/doc/guix.texi:14315
  20424. #, no-wrap
  20425. msgid ""
  20426. "(mapped-device\n"
  20427. " (source \"vg0\")\n"
  20428. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  20429. " (type lvm-device-mapping))\n"
  20430. msgstr ""
  20431. #. type: Plain text
  20432. #: guix-git/doc/guix.texi:14320
  20433. 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})."
  20434. msgstr ""
  20435. #. type: cindex
  20436. #: guix-git/doc/guix.texi:14324
  20437. #, no-wrap
  20438. msgid "users"
  20439. msgstr "사용자"
  20440. #. type: cindex
  20441. #: guix-git/doc/guix.texi:14325
  20442. #, no-wrap
  20443. msgid "accounts"
  20444. msgstr "계정"
  20445. #. type: cindex
  20446. #: guix-git/doc/guix.texi:14326
  20447. #, no-wrap
  20448. msgid "user accounts"
  20449. msgstr ""
  20450. #. type: Plain text
  20451. #: guix-git/doc/guix.texi:14330
  20452. 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:"
  20453. msgstr ""
  20454. #. type: lisp
  20455. #: guix-git/doc/guix.texi:14340
  20456. #, no-wrap
  20457. msgid ""
  20458. "(user-account\n"
  20459. " (name \"alice\")\n"
  20460. " (group \"users\")\n"
  20461. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  20462. " \"audio\" ;sound card\n"
  20463. " \"video\" ;video devices such as webcams\n"
  20464. " \"cdrom\")) ;the good ol' CD-ROM\n"
  20465. " (comment \"Bob's sister\"))\n"
  20466. msgstr ""
  20467. #. type: Plain text
  20468. #: guix-git/doc/guix.texi:14344
  20469. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  20470. msgstr ""
  20471. #. type: lisp
  20472. #: guix-git/doc/guix.texi:14352
  20473. #, no-wrap
  20474. msgid ""
  20475. "(user-account\n"
  20476. " (name \"bob\")\n"
  20477. " (group \"users\")\n"
  20478. " (comment \"Alice's bro\")\n"
  20479. " (shell (file-append zsh \"/bin/zsh\"))\n"
  20480. " (home-directory \"/home/robert\"))\n"
  20481. msgstr ""
  20482. #. type: Plain text
  20483. #: guix-git/doc/guix.texi:14361
  20484. 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."
  20485. msgstr ""
  20486. #. type: deftp
  20487. #: guix-git/doc/guix.texi:14362
  20488. #, no-wrap
  20489. msgid "{Data Type} user-account"
  20490. msgstr ""
  20491. #. type: deftp
  20492. #: guix-git/doc/guix.texi:14365
  20493. msgid "Objects of this type represent user accounts. The following members may be specified:"
  20494. msgstr ""
  20495. #. type: table
  20496. #: guix-git/doc/guix.texi:14369
  20497. msgid "The name of the user account."
  20498. msgstr ""
  20499. #. type: itemx
  20500. #: guix-git/doc/guix.texi:14370 guix-git/doc/guix.texi:32184
  20501. #, no-wrap
  20502. msgid "group"
  20503. msgstr "그룹"
  20504. #. type: cindex
  20505. #: guix-git/doc/guix.texi:14371 guix-git/doc/guix.texi:14450
  20506. #, no-wrap
  20507. msgid "groups"
  20508. msgstr "그룹"
  20509. #. type: table
  20510. #: guix-git/doc/guix.texi:14374
  20511. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  20512. msgstr ""
  20513. #. type: item
  20514. #: guix-git/doc/guix.texi:14375
  20515. #, no-wrap
  20516. msgid "@code{supplementary-groups} (default: @code{'()})"
  20517. msgstr ""
  20518. #. type: table
  20519. #: guix-git/doc/guix.texi:14378
  20520. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  20521. msgstr ""
  20522. #. type: item
  20523. #: guix-git/doc/guix.texi:14379
  20524. #, no-wrap
  20525. msgid "@code{uid} (default: @code{#f})"
  20526. msgstr ""
  20527. #. type: table
  20528. #: guix-git/doc/guix.texi:14383
  20529. 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."
  20530. msgstr ""
  20531. #. type: item
  20532. #: guix-git/doc/guix.texi:14384
  20533. #, no-wrap
  20534. msgid "@code{comment} (default: @code{\"\"})"
  20535. msgstr ""
  20536. #. type: table
  20537. #: guix-git/doc/guix.texi:14386
  20538. msgid "A comment about the account, such as the account owner's full name."
  20539. msgstr ""
  20540. #. type: code{#1}
  20541. #: guix-git/doc/guix.texi:14387
  20542. #, no-wrap
  20543. msgid "home-directory"
  20544. msgstr "홈 디렉토리"
  20545. #. type: table
  20546. #: guix-git/doc/guix.texi:14389
  20547. msgid "This is the name of the home directory for the account."
  20548. msgstr ""
  20549. #. type: item
  20550. #: guix-git/doc/guix.texi:14390
  20551. #, no-wrap
  20552. msgid "@code{create-home-directory?} (default: @code{#t})"
  20553. msgstr ""
  20554. #. type: table
  20555. #: guix-git/doc/guix.texi:14393
  20556. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  20557. msgstr ""
  20558. #. type: item
  20559. #: guix-git/doc/guix.texi:14394
  20560. #, no-wrap
  20561. msgid "@code{shell} (default: Bash)"
  20562. msgstr ""
  20563. #. type: table
  20564. #: guix-git/doc/guix.texi:14398
  20565. 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:"
  20566. msgstr ""
  20567. #. type: lisp
  20568. #: guix-git/doc/guix.texi:14401
  20569. #, no-wrap
  20570. msgid "(file-append bash \"/bin/bash\")\n"
  20571. msgstr ""
  20572. #. type: table
  20573. #: guix-git/doc/guix.texi:14405
  20574. msgid "... and to the Zsh executable like that:"
  20575. msgstr ""
  20576. #. type: lisp
  20577. #: guix-git/doc/guix.texi:14408
  20578. #, no-wrap
  20579. msgid "(file-append zsh \"/bin/zsh\")\n"
  20580. msgstr ""
  20581. #. type: item
  20582. #: guix-git/doc/guix.texi:14410 guix-git/doc/guix.texi:14468
  20583. #, no-wrap
  20584. msgid "@code{system?} (default: @code{#f})"
  20585. msgstr ""
  20586. #. type: table
  20587. #: guix-git/doc/guix.texi:14414
  20588. 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."
  20589. msgstr ""
  20590. #. type: anchor{#1}
  20591. #: guix-git/doc/guix.texi:14416
  20592. msgid "user-account-password"
  20593. msgstr ""
  20594. #. type: cindex
  20595. #: guix-git/doc/guix.texi:14416
  20596. #, no-wrap
  20597. msgid "password, for user accounts"
  20598. msgstr ""
  20599. #. type: item
  20600. #: guix-git/doc/guix.texi:14417 guix-git/doc/guix.texi:14472
  20601. #, no-wrap
  20602. msgid "@code{password} (default: @code{#f})"
  20603. msgstr ""
  20604. #. type: table
  20605. #: guix-git/doc/guix.texi:14423
  20606. 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."
  20607. msgstr ""
  20608. #. type: table
  20609. #: guix-git/doc/guix.texi:14427
  20610. 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:"
  20611. msgstr ""
  20612. #. type: lisp
  20613. #: guix-git/doc/guix.texi:14432
  20614. #, no-wrap
  20615. msgid ""
  20616. "(user-account\n"
  20617. " (name \"charlie\")\n"
  20618. " (group \"users\")\n"
  20619. "\n"
  20620. msgstr ""
  20621. #. type: lisp
  20622. #: guix-git/doc/guix.texi:14435
  20623. #, no-wrap
  20624. msgid ""
  20625. " ;; Specify a SHA-512-hashed initial password.\n"
  20626. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  20627. msgstr ""
  20628. #. type: quotation
  20629. #: guix-git/doc/guix.texi:14441
  20630. 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."
  20631. msgstr ""
  20632. #. type: table
  20633. #: guix-git/doc/guix.texi:14446
  20634. 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."
  20635. msgstr ""
  20636. #. type: Plain text
  20637. #: guix-git/doc/guix.texi:14452
  20638. msgid "User group declarations are even simpler:"
  20639. msgstr ""
  20640. #. type: lisp
  20641. #: guix-git/doc/guix.texi:14455
  20642. #, no-wrap
  20643. msgid "(user-group (name \"students\"))\n"
  20644. msgstr ""
  20645. #. type: deftp
  20646. #: guix-git/doc/guix.texi:14457
  20647. #, no-wrap
  20648. msgid "{Data Type} user-group"
  20649. msgstr ""
  20650. #. type: deftp
  20651. #: guix-git/doc/guix.texi:14459
  20652. msgid "This type is for, well, user groups. There are just a few fields:"
  20653. msgstr ""
  20654. #. type: table
  20655. #: guix-git/doc/guix.texi:14463
  20656. msgid "The name of the group."
  20657. msgstr ""
  20658. #. type: item
  20659. #: guix-git/doc/guix.texi:14464 guix-git/doc/guix.texi:28988
  20660. #, no-wrap
  20661. msgid "@code{id} (default: @code{#f})"
  20662. msgstr ""
  20663. #. type: table
  20664. #: guix-git/doc/guix.texi:14467
  20665. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  20666. msgstr ""
  20667. #. type: table
  20668. #: guix-git/doc/guix.texi:14471
  20669. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  20670. msgstr ""
  20671. #. type: table
  20672. #: guix-git/doc/guix.texi:14475
  20673. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  20674. msgstr ""
  20675. #. type: Plain text
  20676. #: guix-git/doc/guix.texi:14481
  20677. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  20678. msgstr ""
  20679. #. type: defvr
  20680. #: guix-git/doc/guix.texi:14482
  20681. #, no-wrap
  20682. msgid "{Scheme Variable} %base-groups"
  20683. msgstr ""
  20684. #. type: defvr
  20685. #: guix-git/doc/guix.texi:14487
  20686. 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''."
  20687. msgstr ""
  20688. #. type: defvr
  20689. #: guix-git/doc/guix.texi:14489
  20690. #, no-wrap
  20691. msgid "{Scheme Variable} %base-user-accounts"
  20692. msgstr ""
  20693. #. type: defvr
  20694. #: guix-git/doc/guix.texi:14492
  20695. 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."
  20696. msgstr ""
  20697. #. type: defvr
  20698. #: guix-git/doc/guix.texi:14495
  20699. 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."
  20700. msgstr ""
  20701. #. type: cindex
  20702. #: guix-git/doc/guix.texi:14501
  20703. #, no-wrap
  20704. msgid "keymap"
  20705. msgstr ""
  20706. #. type: Plain text
  20707. #: guix-git/doc/guix.texi:14509
  20708. 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."
  20709. msgstr ""
  20710. #. type: cindex
  20711. #: guix-git/doc/guix.texi:14510
  20712. #, no-wrap
  20713. msgid "keyboard layout, definition"
  20714. msgstr ""
  20715. #. type: Plain text
  20716. #: guix-git/doc/guix.texi:14512
  20717. msgid "There are three components that will want to know about your keyboard layout:"
  20718. msgstr ""
  20719. #. type: itemize
  20720. #: guix-git/doc/guix.texi:14519
  20721. 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."
  20722. msgstr ""
  20723. #. type: itemize
  20724. #: guix-git/doc/guix.texi:14524
  20725. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  20726. msgstr ""
  20727. #. type: itemize
  20728. #: guix-git/doc/guix.texi:14528
  20729. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  20730. msgstr ""
  20731. #. type: Plain text
  20732. #: guix-git/doc/guix.texi:14532
  20733. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  20734. msgstr ""
  20735. #. type: cindex
  20736. #: guix-git/doc/guix.texi:14533
  20737. #, no-wrap
  20738. msgid "XKB, keyboard layouts"
  20739. msgstr ""
  20740. #. type: Plain text
  20741. #: guix-git/doc/guix.texi:14541
  20742. 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."
  20743. msgstr ""
  20744. #. type: deffn
  20745. #: guix-git/doc/guix.texi:14542
  20746. #, no-wrap
  20747. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  20748. msgstr ""
  20749. #. type: deffn
  20750. #: guix-git/doc/guix.texi:14545
  20751. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  20752. msgstr ""
  20753. #. type: deffn
  20754. #: guix-git/doc/guix.texi:14549
  20755. 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."
  20756. msgstr ""
  20757. #. type: Plain text
  20758. #: guix-git/doc/guix.texi:14552
  20759. msgid "Here are a few examples:"
  20760. msgstr ""
  20761. #. type: lisp
  20762. #: guix-git/doc/guix.texi:14557
  20763. #, no-wrap
  20764. msgid ""
  20765. ";; The German QWERTZ layout. Here we assume a standard\n"
  20766. ";; \"pc105\" keyboard model.\n"
  20767. "(keyboard-layout \"de\")\n"
  20768. "\n"
  20769. msgstr ""
  20770. #. type: lisp
  20771. #: guix-git/doc/guix.texi:14560
  20772. #, no-wrap
  20773. msgid ""
  20774. ";; The bépo variant of the French layout.\n"
  20775. "(keyboard-layout \"fr\" \"bepo\")\n"
  20776. "\n"
  20777. msgstr ""
  20778. #. type: lisp
  20779. #: guix-git/doc/guix.texi:14563
  20780. #, no-wrap
  20781. msgid ""
  20782. ";; The Catalan layout.\n"
  20783. "(keyboard-layout \"es\" \"cat\")\n"
  20784. "\n"
  20785. msgstr ""
  20786. #. type: lisp
  20787. #: guix-git/doc/guix.texi:14566
  20788. #, no-wrap
  20789. msgid ""
  20790. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  20791. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  20792. "\n"
  20793. msgstr ""
  20794. #. type: lisp
  20795. #: guix-git/doc/guix.texi:14573
  20796. #, no-wrap
  20797. msgid ""
  20798. ";; The Latin American Spanish layout. In addition, the\n"
  20799. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  20800. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  20801. ";; accented letters.\n"
  20802. "(keyboard-layout \"latam\"\n"
  20803. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  20804. "\n"
  20805. msgstr ""
  20806. #. type: lisp
  20807. #: guix-git/doc/guix.texi:14576
  20808. #, no-wrap
  20809. msgid ""
  20810. ";; The Russian layout for a ThinkPad keyboard.\n"
  20811. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  20812. "\n"
  20813. msgstr ""
  20814. #. type: lisp
  20815. #: guix-git/doc/guix.texi:14581
  20816. #, no-wrap
  20817. msgid ""
  20818. ";; The \"US international\" layout, which is the US layout plus\n"
  20819. ";; dead keys to enter accented characters. This is for an\n"
  20820. ";; Apple MacBook keyboard.\n"
  20821. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  20822. msgstr ""
  20823. #. type: Plain text
  20824. #: guix-git/doc/guix.texi:14585
  20825. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  20826. msgstr ""
  20827. #. type: cindex
  20828. #: guix-git/doc/guix.texi:14586
  20829. #, no-wrap
  20830. msgid "keyboard layout, configuration"
  20831. msgstr ""
  20832. #. type: Plain text
  20833. #: guix-git/doc/guix.texi:14590
  20834. 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:"
  20835. msgstr ""
  20836. #. type: findex
  20837. #: guix-git/doc/guix.texi:14591
  20838. #, no-wrap
  20839. msgid "set-xorg-configuration"
  20840. msgstr ""
  20841. #. type: lisp
  20842. #: guix-git/doc/guix.texi:14595
  20843. #, no-wrap
  20844. msgid ""
  20845. ";; Using the Turkish layout for the bootloader, the console,\n"
  20846. ";; and for Xorg.\n"
  20847. "\n"
  20848. msgstr ""
  20849. #. type: lisp
  20850. #: guix-git/doc/guix.texi:14607
  20851. #, no-wrap
  20852. msgid ""
  20853. "(operating-system\n"
  20854. " ;; ...\n"
  20855. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  20856. " (bootloader (bootloader-configuration\n"
  20857. " (bootloader grub-efi-bootloader)\n"
  20858. " (target \"/boot/efi\")\n"
  20859. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  20860. " (services (cons (set-xorg-configuration\n"
  20861. " (xorg-configuration ;for Xorg\n"
  20862. " (keyboard-layout keyboard-layout)))\n"
  20863. " %desktop-services)))\n"
  20864. msgstr ""
  20865. #. type: Plain text
  20866. #: guix-git/doc/guix.texi:14614
  20867. 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."
  20868. msgstr ""
  20869. #. type: Plain text
  20870. #: guix-git/doc/guix.texi:14617
  20871. 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:"
  20872. msgstr ""
  20873. #. type: itemize
  20874. #: guix-git/doc/guix.texi:14622
  20875. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  20876. msgstr ""
  20877. #. type: itemize
  20878. #: guix-git/doc/guix.texi:14627
  20879. 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:"
  20880. msgstr ""
  20881. #. type: example
  20882. #: guix-git/doc/guix.texi:14630
  20883. #, no-wrap
  20884. msgid "setxkbmap us dvorak\n"
  20885. msgstr ""
  20886. #. type: itemize
  20887. #: guix-git/doc/guix.texi:14637
  20888. 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:"
  20889. msgstr ""
  20890. #. type: example
  20891. #: guix-git/doc/guix.texi:14640
  20892. #, no-wrap
  20893. msgid "loadkeys fr-bepo\n"
  20894. msgstr ""
  20895. #. type: cindex
  20896. #: guix-git/doc/guix.texi:14646
  20897. #, no-wrap
  20898. msgid "locale"
  20899. msgstr "지역"
  20900. #. type: Plain text
  20901. #: guix-git/doc/guix.texi:14653
  20902. 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."
  20903. msgstr ""
  20904. #. type: cindex
  20905. #: guix-git/doc/guix.texi:14654
  20906. #, no-wrap
  20907. msgid "locale definition"
  20908. msgstr ""
  20909. #. type: Plain text
  20910. #: guix-git/doc/guix.texi:14658
  20911. 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}})."
  20912. msgstr ""
  20913. #. type: Plain text
  20914. #: guix-git/doc/guix.texi:14667
  20915. 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."
  20916. msgstr ""
  20917. #. type: Plain text
  20918. #: guix-git/doc/guix.texi:14670
  20919. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  20920. msgstr ""
  20921. #. type: lisp
  20922. #: guix-git/doc/guix.texi:14675
  20923. #, no-wrap
  20924. msgid ""
  20925. "(cons (locale-definition\n"
  20926. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  20927. " %default-locale-definitions)\n"
  20928. msgstr ""
  20929. #. type: Plain text
  20930. #: guix-git/doc/guix.texi:14679
  20931. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  20932. msgstr ""
  20933. #. type: lisp
  20934. #: guix-git/doc/guix.texi:14684
  20935. #, no-wrap
  20936. msgid ""
  20937. "(list (locale-definition\n"
  20938. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  20939. " (charset \"EUC-JP\")))\n"
  20940. msgstr ""
  20941. #. type: Plain text
  20942. #: guix-git/doc/guix.texi:14693
  20943. 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})."
  20944. msgstr ""
  20945. #. type: Plain text
  20946. #: guix-git/doc/guix.texi:14696
  20947. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  20948. msgstr ""
  20949. #. type: deftp
  20950. #: guix-git/doc/guix.texi:14697
  20951. #, no-wrap
  20952. msgid "{Data Type} locale-definition"
  20953. msgstr ""
  20954. #. type: deftp
  20955. #: guix-git/doc/guix.texi:14699
  20956. msgid "This is the data type of a locale definition."
  20957. msgstr ""
  20958. #. type: table
  20959. #: guix-git/doc/guix.texi:14705
  20960. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  20961. msgstr ""
  20962. #. type: table
  20963. #: guix-git/doc/guix.texi:14709
  20964. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  20965. msgstr ""
  20966. #. type: item
  20967. #: guix-git/doc/guix.texi:14710
  20968. #, no-wrap
  20969. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  20970. msgstr ""
  20971. #. type: table
  20972. #: guix-git/doc/guix.texi:14714
  20973. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  20974. msgstr ""
  20975. #. type: defvr
  20976. #: guix-git/doc/guix.texi:14718
  20977. #, no-wrap
  20978. msgid "{Scheme Variable} %default-locale-definitions"
  20979. msgstr ""
  20980. #. type: defvr
  20981. #: guix-git/doc/guix.texi:14722
  20982. 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."
  20983. msgstr ""
  20984. #. type: cindex
  20985. #: guix-git/doc/guix.texi:14723
  20986. #, no-wrap
  20987. msgid "locale name"
  20988. msgstr ""
  20989. #. type: cindex
  20990. #: guix-git/doc/guix.texi:14724
  20991. #, no-wrap
  20992. msgid "normalized codeset in locale names"
  20993. msgstr ""
  20994. #. type: defvr
  20995. #: guix-git/doc/guix.texi:14730
  20996. 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}."
  20997. msgstr ""
  20998. #. type: subsection
  20999. #: guix-git/doc/guix.texi:14732
  21000. #, no-wrap
  21001. msgid "Locale Data Compatibility Considerations"
  21002. msgstr ""
  21003. #. type: cindex
  21004. #: guix-git/doc/guix.texi:14734
  21005. #, no-wrap
  21006. msgid "incompatibility, of locale data"
  21007. msgstr ""
  21008. #. type: Plain text
  21009. #: guix-git/doc/guix.texi:14741
  21010. 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."
  21011. msgstr ""
  21012. #. type: Plain text
  21013. #: guix-git/doc/guix.texi:14753
  21014. 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."
  21015. msgstr ""
  21016. #. type: Plain text
  21017. #: guix-git/doc/guix.texi:14758
  21018. 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."
  21019. msgstr ""
  21020. #. type: Plain text
  21021. #: guix-git/doc/guix.texi:14762
  21022. 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})."
  21023. msgstr ""
  21024. #. type: Plain text
  21025. #: guix-git/doc/guix.texi:14769
  21026. 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}:"
  21027. msgstr ""
  21028. #. type: lisp
  21029. #: guix-git/doc/guix.texi:14772
  21030. #, no-wrap
  21031. msgid ""
  21032. "(use-package-modules base)\n"
  21033. "\n"
  21034. msgstr ""
  21035. #. type: lisp
  21036. #: guix-git/doc/guix.texi:14776
  21037. #, no-wrap
  21038. msgid ""
  21039. "(operating-system\n"
  21040. " ;; @dots{}\n"
  21041. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  21042. msgstr ""
  21043. #. type: Plain text
  21044. #: guix-git/doc/guix.texi:14781
  21045. 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}."
  21046. msgstr ""
  21047. #. type: cindex
  21048. #: guix-git/doc/guix.texi:14786
  21049. #, no-wrap
  21050. msgid "system services"
  21051. msgstr "시스템 서비스"
  21052. #. type: Plain text
  21053. #: guix-git/doc/guix.texi:14792
  21054. 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."
  21055. msgstr ""
  21056. #. type: Plain text
  21057. #: guix-git/doc/guix.texi:14799
  21058. 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:"
  21059. msgstr ""
  21060. #. type: example
  21061. #: guix-git/doc/guix.texi:14802
  21062. #, no-wrap
  21063. msgid "# herd status\n"
  21064. msgstr ""
  21065. #. type: Plain text
  21066. #: guix-git/doc/guix.texi:14807
  21067. 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:"
  21068. msgstr ""
  21069. #. type: example
  21070. #: guix-git/doc/guix.texi:14811
  21071. #, no-wrap
  21072. msgid ""
  21073. "# herd doc nscd\n"
  21074. "Run libc's name service cache daemon (nscd).\n"
  21075. "\n"
  21076. msgstr ""
  21077. #. type: example
  21078. #: guix-git/doc/guix.texi:14814
  21079. #, no-wrap
  21080. msgid ""
  21081. "# herd doc nscd action invalidate\n"
  21082. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21083. msgstr ""
  21084. #. type: Plain text
  21085. #: guix-git/doc/guix.texi:14819
  21086. 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:"
  21087. msgstr ""
  21088. #. type: example
  21089. #: guix-git/doc/guix.texi:14826
  21090. #, no-wrap
  21091. msgid ""
  21092. "# herd stop nscd\n"
  21093. "Service nscd has been stopped.\n"
  21094. "# herd restart xorg-server\n"
  21095. "Service xorg-server has been stopped.\n"
  21096. "Service xorg-server has been started.\n"
  21097. msgstr ""
  21098. #. type: Plain text
  21099. #: guix-git/doc/guix.texi:14831
  21100. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21101. msgstr ""
  21102. #. type: subsection
  21103. #: guix-git/doc/guix.texi:14866 guix-git/doc/guix.texi:22490
  21104. #: guix-git/doc/guix.texi:22491
  21105. #, no-wrap
  21106. msgid "File-Sharing Services"
  21107. msgstr ""
  21108. #. type: menuentry
  21109. #: guix-git/doc/guix.texi:14866
  21110. msgid "File-sharing services."
  21111. msgstr ""
  21112. #. type: Plain text
  21113. #: guix-git/doc/guix.texi:14874
  21114. 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."
  21115. msgstr ""
  21116. #. type: defvr
  21117. #: guix-git/doc/guix.texi:14875
  21118. #, no-wrap
  21119. msgid "{Scheme Variable} %base-services"
  21120. msgstr ""
  21121. #. type: defvr
  21122. #: guix-git/doc/guix.texi:14881
  21123. 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."
  21124. msgstr ""
  21125. #. type: defvr
  21126. #: guix-git/doc/guix.texi:14886
  21127. 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:"
  21128. msgstr ""
  21129. #. type: lisp
  21130. #: guix-git/doc/guix.texi:14891
  21131. #, no-wrap
  21132. msgid ""
  21133. "(append (list (service avahi-service-type)\n"
  21134. " (service openssh-service-type))\n"
  21135. " %base-services)\n"
  21136. msgstr ""
  21137. #. type: defvr
  21138. #: guix-git/doc/guix.texi:14894
  21139. #, no-wrap
  21140. msgid "{Scheme Variable} special-files-service-type"
  21141. msgstr ""
  21142. #. type: defvr
  21143. #: guix-git/doc/guix.texi:14897
  21144. 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}."
  21145. msgstr ""
  21146. #. type: defvr
  21147. #: guix-git/doc/guix.texi:14901
  21148. 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:"
  21149. msgstr ""
  21150. #. type: file{#1}
  21151. #: guix-git/doc/guix.texi:14902
  21152. #, no-wrap
  21153. msgid "/bin/sh"
  21154. msgstr ""
  21155. #. type: cindex
  21156. #: guix-git/doc/guix.texi:14903
  21157. #, no-wrap
  21158. msgid "@file{sh}, in @file{/bin}"
  21159. msgstr ""
  21160. #. type: lisp
  21161. #: guix-git/doc/guix.texi:14906
  21162. #, no-wrap
  21163. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21164. msgstr ""
  21165. #. type: file{#1}
  21166. #: guix-git/doc/guix.texi:14908
  21167. #, no-wrap
  21168. msgid "/usr/bin/env"
  21169. msgstr ""
  21170. #. type: cindex
  21171. #: guix-git/doc/guix.texi:14909
  21172. #, no-wrap
  21173. msgid "@file{env}, in @file{/usr/bin}"
  21174. msgstr ""
  21175. #. type: defvr
  21176. #: guix-git/doc/guix.texi:14912
  21177. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21178. msgstr ""
  21179. #. type: lisp
  21180. #: guix-git/doc/guix.texi:14916
  21181. #, no-wrap
  21182. msgid ""
  21183. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21184. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21185. msgstr ""
  21186. #. type: defvr
  21187. #: guix-git/doc/guix.texi:14923
  21188. 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)."
  21189. msgstr ""
  21190. #. type: deffn
  21191. #: guix-git/doc/guix.texi:14925
  21192. #, no-wrap
  21193. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21194. msgstr ""
  21195. #. type: deffn
  21196. #: guix-git/doc/guix.texi:14927
  21197. msgid "Use @var{target} as the ``special file'' @var{file}."
  21198. msgstr ""
  21199. #. type: deffn
  21200. #: guix-git/doc/guix.texi:14931
  21201. 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:"
  21202. msgstr ""
  21203. #. type: lisp
  21204. #: guix-git/doc/guix.texi:14935
  21205. #, no-wrap
  21206. msgid ""
  21207. "(extra-special-file \"/usr/bin/env\"\n"
  21208. " (file-append coreutils \"/bin/env\"))\n"
  21209. msgstr ""
  21210. #. type: deffn
  21211. #: guix-git/doc/guix.texi:14938
  21212. #, no-wrap
  21213. msgid "{Scheme Procedure} host-name-service @var{name}"
  21214. msgstr ""
  21215. #. type: deffn
  21216. #: guix-git/doc/guix.texi:14940
  21217. msgid "Return a service that sets the host name to @var{name}."
  21218. msgstr ""
  21219. #. type: defvr
  21220. #: guix-git/doc/guix.texi:14942
  21221. #, no-wrap
  21222. msgid "{Scheme Variable} console-font-service-type"
  21223. msgstr ""
  21224. #. type: defvr
  21225. #: guix-git/doc/guix.texi:14947
  21226. 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:"
  21227. msgstr ""
  21228. #. type: lisp
  21229. #: guix-git/doc/guix.texi:14956
  21230. #, no-wrap
  21231. msgid ""
  21232. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  21233. " (\"tty2\" . ,(file-append\n"
  21234. " font-tamzen\n"
  21235. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  21236. " (\"tty3\" . ,(file-append\n"
  21237. " font-terminus\n"
  21238. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  21239. msgstr ""
  21240. #. type: deffn
  21241. #: guix-git/doc/guix.texi:14959
  21242. #, no-wrap
  21243. msgid "{Scheme Procedure} login-service @var{config}"
  21244. msgstr ""
  21245. #. type: deffn
  21246. #: guix-git/doc/guix.texi:14963
  21247. 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."
  21248. msgstr ""
  21249. #. type: deftp
  21250. #: guix-git/doc/guix.texi:14965
  21251. #, no-wrap
  21252. msgid "{Data Type} login-configuration"
  21253. msgstr ""
  21254. #. type: deftp
  21255. #: guix-git/doc/guix.texi:14967
  21256. msgid "This is the data type representing the configuration of login."
  21257. msgstr ""
  21258. #. type: code{#1}
  21259. #: guix-git/doc/guix.texi:14970
  21260. #, no-wrap
  21261. msgid "motd"
  21262. msgstr ""
  21263. #. type: cindex
  21264. #: guix-git/doc/guix.texi:14971
  21265. #, no-wrap
  21266. msgid "message of the day"
  21267. msgstr ""
  21268. #. type: table
  21269. #: guix-git/doc/guix.texi:14973
  21270. msgid "A file-like object containing the ``message of the day''."
  21271. msgstr ""
  21272. #. type: item
  21273. #: guix-git/doc/guix.texi:14974 guix-git/doc/guix.texi:17855
  21274. #, no-wrap
  21275. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  21276. msgstr ""
  21277. #. type: table
  21278. #: guix-git/doc/guix.texi:14977
  21279. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  21280. msgstr ""
  21281. #. type: deffn
  21282. #: guix-git/doc/guix.texi:14981
  21283. #, no-wrap
  21284. msgid "{Scheme Procedure} mingetty-service @var{config}"
  21285. msgstr ""
  21286. #. type: deffn
  21287. #: guix-git/doc/guix.texi:14985
  21288. 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."
  21289. msgstr ""
  21290. #. type: deftp
  21291. #: guix-git/doc/guix.texi:14987
  21292. #, no-wrap
  21293. msgid "{Data Type} mingetty-configuration"
  21294. msgstr ""
  21295. #. type: deftp
  21296. #: guix-git/doc/guix.texi:14990
  21297. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  21298. msgstr ""
  21299. #. type: code{#1}
  21300. #: guix-git/doc/guix.texi:14993 guix-git/doc/guix.texi:15032
  21301. #: guix-git/doc/guix.texi:31484
  21302. #, no-wrap
  21303. msgid "tty"
  21304. msgstr ""
  21305. #. type: table
  21306. #: guix-git/doc/guix.texi:14995
  21307. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  21308. msgstr ""
  21309. #. type: item
  21310. #: guix-git/doc/guix.texi:14996 guix-git/doc/guix.texi:15061
  21311. #: guix-git/doc/guix.texi:15220
  21312. #, no-wrap
  21313. msgid "@code{auto-login} (default: @code{#f})"
  21314. msgstr ""
  21315. #. type: table
  21316. #: guix-git/doc/guix.texi:15000
  21317. 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."
  21318. msgstr ""
  21319. #. type: item
  21320. #: guix-git/doc/guix.texi:15001
  21321. #, no-wrap
  21322. msgid "@code{login-program} (default: @code{#f})"
  21323. msgstr ""
  21324. #. type: table
  21325. #: guix-git/doc/guix.texi:15005
  21326. 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."
  21327. msgstr ""
  21328. #. type: item
  21329. #: guix-git/doc/guix.texi:15006
  21330. #, no-wrap
  21331. msgid "@code{login-pause?} (default: @code{#f})"
  21332. msgstr ""
  21333. #. type: table
  21334. #: guix-git/doc/guix.texi:15009
  21335. 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."
  21336. msgstr ""
  21337. #. type: item
  21338. #: guix-git/doc/guix.texi:15010
  21339. #, no-wrap
  21340. msgid "@code{clear-on-logout?} (default: @code{#t})"
  21341. msgstr ""
  21342. #. type: table
  21343. #: guix-git/doc/guix.texi:15012
  21344. msgid "When set to @code{#t}, the screen will be cleared after logout."
  21345. msgstr ""
  21346. #. type: item
  21347. #: guix-git/doc/guix.texi:15013
  21348. #, no-wrap
  21349. msgid "@code{mingetty} (default: @var{mingetty})"
  21350. msgstr ""
  21351. #. type: table
  21352. #: guix-git/doc/guix.texi:15015
  21353. msgid "The Mingetty package to use."
  21354. msgstr ""
  21355. #. type: deffn
  21356. #: guix-git/doc/guix.texi:15019
  21357. #, no-wrap
  21358. msgid "{Scheme Procedure} agetty-service @var{config}"
  21359. msgstr ""
  21360. #. type: deffn
  21361. #: guix-git/doc/guix.texi:15023
  21362. 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."
  21363. msgstr ""
  21364. #. type: deftp
  21365. #: guix-git/doc/guix.texi:15025
  21366. #, no-wrap
  21367. msgid "{Data Type} agetty-configuration"
  21368. msgstr ""
  21369. #. type: deftp
  21370. #: guix-git/doc/guix.texi:15029
  21371. 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."
  21372. msgstr ""
  21373. #. type: table
  21374. #: guix-git/doc/guix.texi:15036
  21375. 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."
  21376. msgstr ""
  21377. #. type: table
  21378. #: guix-git/doc/guix.texi:15040
  21379. 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."
  21380. msgstr ""
  21381. #. type: table
  21382. #: guix-git/doc/guix.texi:15044
  21383. 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."
  21384. msgstr ""
  21385. #. type: table
  21386. #: guix-git/doc/guix.texi:15048
  21387. 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."
  21388. msgstr ""
  21389. #. type: item
  21390. #: guix-git/doc/guix.texi:15049 guix-git/doc/guix.texi:31645
  21391. #, no-wrap
  21392. msgid "@code{baud-rate} (default: @code{#f})"
  21393. msgstr ""
  21394. #. type: table
  21395. #: guix-git/doc/guix.texi:15052
  21396. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  21397. msgstr ""
  21398. #. type: item
  21399. #: guix-git/doc/guix.texi:15053
  21400. #, no-wrap
  21401. msgid "@code{term} (default: @code{#f})"
  21402. msgstr ""
  21403. #. type: table
  21404. #: guix-git/doc/guix.texi:15056
  21405. msgid "A string containing the value used for the @env{TERM} environment variable."
  21406. msgstr ""
  21407. #. type: item
  21408. #: guix-git/doc/guix.texi:15057
  21409. #, no-wrap
  21410. msgid "@code{eight-bits?} (default: @code{#f})"
  21411. msgstr ""
  21412. #. type: table
  21413. #: guix-git/doc/guix.texi:15060
  21414. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  21415. msgstr ""
  21416. #. type: table
  21417. #: guix-git/doc/guix.texi:15064 guix-git/doc/guix.texi:15223
  21418. 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."
  21419. msgstr ""
  21420. #. type: item
  21421. #: guix-git/doc/guix.texi:15065
  21422. #, no-wrap
  21423. msgid "@code{no-reset?} (default: @code{#f})"
  21424. msgstr ""
  21425. #. type: table
  21426. #: guix-git/doc/guix.texi:15067
  21427. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  21428. msgstr ""
  21429. #. type: item
  21430. #: guix-git/doc/guix.texi:15068
  21431. #, no-wrap
  21432. msgid "@code{host} (default: @code{#f})"
  21433. msgstr ""
  21434. #. type: table
  21435. #: guix-git/doc/guix.texi:15071
  21436. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  21437. msgstr ""
  21438. #. type: item
  21439. #: guix-git/doc/guix.texi:15072
  21440. #, no-wrap
  21441. msgid "@code{remote?} (default: @code{#f})"
  21442. msgstr ""
  21443. #. type: table
  21444. #: guix-git/doc/guix.texi:15076
  21445. 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}."
  21446. msgstr ""
  21447. #. type: item
  21448. #: guix-git/doc/guix.texi:15077
  21449. #, no-wrap
  21450. msgid "@code{flow-control?} (default: @code{#f})"
  21451. msgstr ""
  21452. #. type: table
  21453. #: guix-git/doc/guix.texi:15079
  21454. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  21455. msgstr ""
  21456. #. type: item
  21457. #: guix-git/doc/guix.texi:15080
  21458. #, no-wrap
  21459. msgid "@code{no-issue?} (default: @code{#f})"
  21460. msgstr ""
  21461. #. type: table
  21462. #: guix-git/doc/guix.texi:15083
  21463. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  21464. msgstr ""
  21465. #. type: item
  21466. #: guix-git/doc/guix.texi:15084
  21467. #, no-wrap
  21468. msgid "@code{init-string} (default: @code{#f})"
  21469. msgstr ""
  21470. #. type: table
  21471. #: guix-git/doc/guix.texi:15087
  21472. 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."
  21473. msgstr ""
  21474. #. type: item
  21475. #: guix-git/doc/guix.texi:15088
  21476. #, no-wrap
  21477. msgid "@code{no-clear?} (default: @code{#f})"
  21478. msgstr ""
  21479. #. type: table
  21480. #: guix-git/doc/guix.texi:15091
  21481. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  21482. msgstr ""
  21483. #. type: item
  21484. #: guix-git/doc/guix.texi:15092
  21485. #, no-wrap
  21486. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  21487. msgstr ""
  21488. #. type: table
  21489. #: guix-git/doc/guix.texi:15096
  21490. 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."
  21491. msgstr ""
  21492. #. type: item
  21493. #: guix-git/doc/guix.texi:15097
  21494. #, no-wrap
  21495. msgid "@code{local-line} (default: @code{#f})"
  21496. msgstr ""
  21497. #. type: table
  21498. #: guix-git/doc/guix.texi:15101
  21499. 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}."
  21500. msgstr ""
  21501. #. type: item
  21502. #: guix-git/doc/guix.texi:15102
  21503. #, no-wrap
  21504. msgid "@code{extract-baud?} (default: @code{#f})"
  21505. msgstr ""
  21506. #. type: table
  21507. #: guix-git/doc/guix.texi:15105
  21508. 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."
  21509. msgstr ""
  21510. #. type: item
  21511. #: guix-git/doc/guix.texi:15106
  21512. #, no-wrap
  21513. msgid "@code{skip-login?} (default: @code{#f})"
  21514. msgstr ""
  21515. #. type: table
  21516. #: guix-git/doc/guix.texi:15110
  21517. 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."
  21518. msgstr ""
  21519. #. type: item
  21520. #: guix-git/doc/guix.texi:15111
  21521. #, no-wrap
  21522. msgid "@code{no-newline?} (default: @code{#f})"
  21523. msgstr ""
  21524. #. type: table
  21525. #: guix-git/doc/guix.texi:15114
  21526. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  21527. msgstr ""
  21528. #. type: item
  21529. #: guix-git/doc/guix.texi:15116
  21530. #, no-wrap
  21531. msgid "@code{login-options} (default: @code{#f})"
  21532. msgstr ""
  21533. #. type: table
  21534. #: guix-git/doc/guix.texi:15121
  21535. 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."
  21536. msgstr ""
  21537. #. type: item
  21538. #: guix-git/doc/guix.texi:15122
  21539. #, no-wrap
  21540. msgid "@code{login-pause} (default: @code{#f})"
  21541. msgstr ""
  21542. #. type: table
  21543. #: guix-git/doc/guix.texi:15126
  21544. 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."
  21545. msgstr ""
  21546. #. type: item
  21547. #: guix-git/doc/guix.texi:15127
  21548. #, no-wrap
  21549. msgid "@code{chroot} (default: @code{#f})"
  21550. msgstr ""
  21551. #. type: table
  21552. #: guix-git/doc/guix.texi:15130
  21553. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  21554. msgstr ""
  21555. #. type: item
  21556. #: guix-git/doc/guix.texi:15131
  21557. #, no-wrap
  21558. msgid "@code{hangup?} (default: @code{#f})"
  21559. msgstr ""
  21560. #. type: table
  21561. #: guix-git/doc/guix.texi:15134
  21562. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  21563. msgstr ""
  21564. #. type: item
  21565. #: guix-git/doc/guix.texi:15135
  21566. #, no-wrap
  21567. msgid "@code{keep-baud?} (default: @code{#f})"
  21568. msgstr ""
  21569. #. type: table
  21570. #: guix-git/doc/guix.texi:15139
  21571. 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."
  21572. msgstr ""
  21573. #. type: item
  21574. #: guix-git/doc/guix.texi:15140
  21575. #, no-wrap
  21576. msgid "@code{timeout} (default: @code{#f})"
  21577. msgstr ""
  21578. #. type: table
  21579. #: guix-git/doc/guix.texi:15143
  21580. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  21581. msgstr ""
  21582. #. type: item
  21583. #: guix-git/doc/guix.texi:15144
  21584. #, no-wrap
  21585. msgid "@code{detect-case?} (default: @code{#f})"
  21586. msgstr ""
  21587. #. type: table
  21588. #: guix-git/doc/guix.texi:15150
  21589. 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."
  21590. msgstr ""
  21591. #. type: item
  21592. #: guix-git/doc/guix.texi:15151
  21593. #, no-wrap
  21594. msgid "@code{wait-cr?} (default: @code{#f})"
  21595. msgstr ""
  21596. #. type: table
  21597. #: guix-git/doc/guix.texi:15156
  21598. 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."
  21599. msgstr ""
  21600. #. type: item
  21601. #: guix-git/doc/guix.texi:15157
  21602. #, no-wrap
  21603. msgid "@code{no-hints?} (default: @code{#f})"
  21604. msgstr ""
  21605. #. type: table
  21606. #: guix-git/doc/guix.texi:15160
  21607. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  21608. msgstr ""
  21609. #. type: item
  21610. #: guix-git/doc/guix.texi:15161
  21611. #, no-wrap
  21612. msgid "@code{no-hostname?} (default: @code{#f})"
  21613. msgstr ""
  21614. #. type: table
  21615. #: guix-git/doc/guix.texi:15164
  21616. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  21617. msgstr ""
  21618. #. type: item
  21619. #: guix-git/doc/guix.texi:15165
  21620. #, no-wrap
  21621. msgid "@code{long-hostname?} (default: @code{#f})"
  21622. msgstr ""
  21623. #. type: table
  21624. #: guix-git/doc/guix.texi:15169
  21625. 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."
  21626. msgstr ""
  21627. #. type: item
  21628. #: guix-git/doc/guix.texi:15170
  21629. #, no-wrap
  21630. msgid "@code{erase-characters} (default: @code{#f})"
  21631. msgstr ""
  21632. #. type: table
  21633. #: guix-git/doc/guix.texi:15173
  21634. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  21635. msgstr ""
  21636. #. type: item
  21637. #: guix-git/doc/guix.texi:15174
  21638. #, no-wrap
  21639. msgid "@code{kill-characters} (default: @code{#f})"
  21640. msgstr ""
  21641. #. type: table
  21642. #: guix-git/doc/guix.texi:15178
  21643. 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."
  21644. msgstr ""
  21645. #. type: item
  21646. #: guix-git/doc/guix.texi:15179
  21647. #, no-wrap
  21648. msgid "@code{chdir} (default: @code{#f})"
  21649. msgstr ""
  21650. #. type: table
  21651. #: guix-git/doc/guix.texi:15182
  21652. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  21653. msgstr ""
  21654. #. type: item
  21655. #: guix-git/doc/guix.texi:15183
  21656. #, no-wrap
  21657. msgid "@code{delay} (default: @code{#f})"
  21658. msgstr ""
  21659. #. type: table
  21660. #: guix-git/doc/guix.texi:15186
  21661. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  21662. msgstr ""
  21663. #. type: item
  21664. #: guix-git/doc/guix.texi:15187
  21665. #, no-wrap
  21666. msgid "@code{nice} (default: @code{#f})"
  21667. msgstr ""
  21668. #. type: table
  21669. #: guix-git/doc/guix.texi:15190
  21670. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  21671. msgstr ""
  21672. #. type: item
  21673. #: guix-git/doc/guix.texi:15191 guix-git/doc/guix.texi:15468
  21674. #: guix-git/doc/guix.texi:16330 guix-git/doc/guix.texi:23473
  21675. #: guix-git/doc/guix.texi:24949 guix-git/doc/guix.texi:27297
  21676. #: guix-git/doc/guix.texi:28084 guix-git/doc/guix.texi:29783
  21677. #: guix-git/doc/guix.texi:31975
  21678. #, no-wrap
  21679. msgid "@code{extra-options} (default: @code{'()})"
  21680. msgstr ""
  21681. #. type: table
  21682. #: guix-git/doc/guix.texi:15194
  21683. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  21684. msgstr ""
  21685. #. type: deffn
  21686. #: guix-git/doc/guix.texi:15198
  21687. #, no-wrap
  21688. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  21689. msgstr ""
  21690. #. type: deffn
  21691. #: guix-git/doc/guix.texi:15202
  21692. 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."
  21693. msgstr ""
  21694. #. type: deftp
  21695. #: guix-git/doc/guix.texi:15204
  21696. #, no-wrap
  21697. msgid "{Data Type} kmscon-configuration"
  21698. msgstr ""
  21699. #. type: deftp
  21700. #: guix-git/doc/guix.texi:15207
  21701. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  21702. msgstr ""
  21703. #. type: code{#1}
  21704. #: guix-git/doc/guix.texi:15210
  21705. #, no-wrap
  21706. msgid "virtual-terminal"
  21707. msgstr ""
  21708. #. type: table
  21709. #: guix-git/doc/guix.texi:15212
  21710. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  21711. msgstr ""
  21712. #. type: item
  21713. #: guix-git/doc/guix.texi:15213
  21714. #, no-wrap
  21715. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  21716. msgstr ""
  21717. #. type: table
  21718. #: guix-git/doc/guix.texi:15216
  21719. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  21720. msgstr ""
  21721. #. type: item
  21722. #: guix-git/doc/guix.texi:15217
  21723. #, no-wrap
  21724. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  21725. msgstr ""
  21726. #. type: table
  21727. #: guix-git/doc/guix.texi:15219
  21728. msgid "A list of arguments to pass to @command{login}."
  21729. msgstr ""
  21730. #. type: item
  21731. #: guix-git/doc/guix.texi:15224
  21732. #, no-wrap
  21733. msgid "@code{hardware-acceleration?} (default: #f)"
  21734. msgstr ""
  21735. #. type: table
  21736. #: guix-git/doc/guix.texi:15226
  21737. msgid "Whether to use hardware acceleration."
  21738. msgstr ""
  21739. #. type: item
  21740. #: guix-git/doc/guix.texi:15227
  21741. #, no-wrap
  21742. msgid "@code{font-engine} (default: @code{\"pango\"})"
  21743. msgstr ""
  21744. #. type: table
  21745. #: guix-git/doc/guix.texi:15229
  21746. msgid "Font engine used in Kmscon."
  21747. msgstr ""
  21748. #. type: item
  21749. #: guix-git/doc/guix.texi:15230
  21750. #, no-wrap
  21751. msgid "@code{font-size} (default: @code{12})"
  21752. msgstr ""
  21753. #. type: table
  21754. #: guix-git/doc/guix.texi:15232
  21755. msgid "Font size used in Kmscon."
  21756. msgstr ""
  21757. #. type: item
  21758. #: guix-git/doc/guix.texi:15233
  21759. #, no-wrap
  21760. msgid "@code{kmscon} (default: @var{kmscon})"
  21761. msgstr ""
  21762. #. type: table
  21763. #: guix-git/doc/guix.texi:15235
  21764. msgid "The Kmscon package to use."
  21765. msgstr ""
  21766. #. type: cindex
  21767. #: guix-git/doc/guix.texi:15239
  21768. #, no-wrap
  21769. msgid "name service cache daemon"
  21770. msgstr ""
  21771. #. type: cindex
  21772. #: guix-git/doc/guix.texi:15240
  21773. #, no-wrap
  21774. msgid "nscd"
  21775. msgstr ""
  21776. #. type: deffn
  21777. #: guix-git/doc/guix.texi:15241
  21778. #, no-wrap
  21779. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  21780. msgstr ""
  21781. #. type: deffn
  21782. #: guix-git/doc/guix.texi:15246
  21783. 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."
  21784. msgstr ""
  21785. #. type: deffn
  21786. #: guix-git/doc/guix.texi:15248
  21787. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  21788. msgstr ""
  21789. #. type: item
  21790. #: guix-git/doc/guix.texi:15250
  21791. #, no-wrap
  21792. msgid "invalidate"
  21793. msgstr ""
  21794. #. type: cindex
  21795. #: guix-git/doc/guix.texi:15251
  21796. #, no-wrap
  21797. msgid "cache invalidation, nscd"
  21798. msgstr ""
  21799. #. type: cindex
  21800. #: guix-git/doc/guix.texi:15252
  21801. #, no-wrap
  21802. msgid "nscd, cache invalidation"
  21803. msgstr ""
  21804. #. type: table
  21805. #: guix-git/doc/guix.texi:15254
  21806. msgid "This invalidate the given cache. For instance, running:"
  21807. msgstr ""
  21808. #. type: example
  21809. #: guix-git/doc/guix.texi:15257
  21810. #, no-wrap
  21811. msgid "herd invalidate nscd hosts\n"
  21812. msgstr ""
  21813. #. type: table
  21814. #: guix-git/doc/guix.texi:15261
  21815. msgid "invalidates the host name lookup cache of nscd."
  21816. msgstr ""
  21817. #. type: item
  21818. #: guix-git/doc/guix.texi:15262
  21819. #, no-wrap
  21820. msgid "statistics"
  21821. msgstr ""
  21822. #. type: table
  21823. #: guix-git/doc/guix.texi:15265
  21824. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  21825. msgstr ""
  21826. #. type: defvr
  21827. #: guix-git/doc/guix.texi:15269
  21828. #, no-wrap
  21829. msgid "{Scheme Variable} %nscd-default-configuration"
  21830. msgstr ""
  21831. #. type: defvr
  21832. #: guix-git/doc/guix.texi:15273
  21833. 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."
  21834. msgstr ""
  21835. #. type: deftp
  21836. #: guix-git/doc/guix.texi:15275
  21837. #, no-wrap
  21838. msgid "{Data Type} nscd-configuration"
  21839. msgstr ""
  21840. #. type: deftp
  21841. #: guix-git/doc/guix.texi:15278
  21842. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  21843. msgstr ""
  21844. #. type: item
  21845. #: guix-git/doc/guix.texi:15281
  21846. #, no-wrap
  21847. msgid "@code{name-services} (default: @code{'()})"
  21848. msgstr ""
  21849. #. type: table
  21850. #: guix-git/doc/guix.texi:15284
  21851. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  21852. msgstr ""
  21853. #. type: item
  21854. #: guix-git/doc/guix.texi:15285
  21855. #, no-wrap
  21856. msgid "@code{glibc} (default: @var{glibc})"
  21857. msgstr ""
  21858. #. type: table
  21859. #: guix-git/doc/guix.texi:15288
  21860. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  21861. msgstr ""
  21862. #. type: item
  21863. #: guix-git/doc/guix.texi:15289
  21864. #, no-wrap
  21865. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  21866. msgstr ""
  21867. #. type: table
  21868. #: guix-git/doc/guix.texi:15292
  21869. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  21870. msgstr ""
  21871. #. type: item
  21872. #: guix-git/doc/guix.texi:15293
  21873. #, no-wrap
  21874. msgid "@code{debug-level} (default: @code{0})"
  21875. msgstr ""
  21876. #. type: table
  21877. #: guix-git/doc/guix.texi:15296
  21878. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  21879. msgstr ""
  21880. #. type: item
  21881. #: guix-git/doc/guix.texi:15297
  21882. #, no-wrap
  21883. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  21884. msgstr ""
  21885. #. type: table
  21886. #: guix-git/doc/guix.texi:15300
  21887. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  21888. msgstr ""
  21889. #. type: deftp
  21890. #: guix-git/doc/guix.texi:15304
  21891. #, no-wrap
  21892. msgid "{Data Type} nscd-cache"
  21893. msgstr ""
  21894. #. type: deftp
  21895. #: guix-git/doc/guix.texi:15306
  21896. msgid "Data type representing a cache database of nscd and its parameters."
  21897. msgstr ""
  21898. #. type: cindex
  21899. #: guix-git/doc/guix.texi:15309 guix-git/doc/guix.texi:19637
  21900. #, no-wrap
  21901. msgid "database"
  21902. msgstr ""
  21903. #. type: table
  21904. #: guix-git/doc/guix.texi:15314
  21905. 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})."
  21906. msgstr ""
  21907. #. type: code{#1}
  21908. #: guix-git/doc/guix.texi:15315
  21909. #, no-wrap
  21910. msgid "positive-time-to-live"
  21911. msgstr ""
  21912. #. type: itemx
  21913. #: guix-git/doc/guix.texi:15316
  21914. #, no-wrap
  21915. msgid "@code{negative-time-to-live} (default: @code{20})"
  21916. msgstr ""
  21917. #. type: table
  21918. #: guix-git/doc/guix.texi:15319
  21919. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  21920. msgstr ""
  21921. #. type: item
  21922. #: guix-git/doc/guix.texi:15320
  21923. #, no-wrap
  21924. msgid "@code{check-files?} (default: @code{#t})"
  21925. msgstr ""
  21926. #. type: table
  21927. #: guix-git/doc/guix.texi:15323
  21928. msgid "Whether to check for updates of the files corresponding to @var{database}."
  21929. msgstr ""
  21930. #. type: table
  21931. #: guix-git/doc/guix.texi:15327
  21932. 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."
  21933. msgstr ""
  21934. #. type: item
  21935. #: guix-git/doc/guix.texi:15328
  21936. #, no-wrap
  21937. msgid "@code{persistent?} (default: @code{#t})"
  21938. msgstr ""
  21939. #. type: table
  21940. #: guix-git/doc/guix.texi:15330
  21941. msgid "Whether the cache should be stored persistently on disk."
  21942. msgstr ""
  21943. #. type: item
  21944. #: guix-git/doc/guix.texi:15331
  21945. #, no-wrap
  21946. msgid "@code{shared?} (default: @code{#t})"
  21947. msgstr ""
  21948. #. type: table
  21949. #: guix-git/doc/guix.texi:15333
  21950. msgid "Whether the cache should be shared among users."
  21951. msgstr ""
  21952. #. type: item
  21953. #: guix-git/doc/guix.texi:15334
  21954. #, no-wrap
  21955. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  21956. msgstr ""
  21957. #. type: table
  21958. #: guix-git/doc/guix.texi:15336
  21959. msgid "Maximum size in bytes of the database cache."
  21960. msgstr ""
  21961. #. type: defvr
  21962. #: guix-git/doc/guix.texi:15343
  21963. #, no-wrap
  21964. msgid "{Scheme Variable} %nscd-default-caches"
  21965. msgstr ""
  21966. #. type: defvr
  21967. #: guix-git/doc/guix.texi:15346
  21968. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  21969. msgstr ""
  21970. #. type: defvr
  21971. #: guix-git/doc/guix.texi:15352
  21972. 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."
  21973. msgstr ""
  21974. #. type: anchor{#1}
  21975. #: guix-git/doc/guix.texi:15355
  21976. msgid "syslog-configuration-type"
  21977. msgstr ""
  21978. #. type: cindex
  21979. #: guix-git/doc/guix.texi:15355 guix-git/doc/guix.texi:15371
  21980. #, no-wrap
  21981. msgid "syslog"
  21982. msgstr ""
  21983. #. type: cindex
  21984. #: guix-git/doc/guix.texi:15356 guix-git/doc/guix.texi:15930
  21985. #, no-wrap
  21986. msgid "logging"
  21987. msgstr "로그중"
  21988. #. type: deftp
  21989. #: guix-git/doc/guix.texi:15357
  21990. #, no-wrap
  21991. msgid "{Data Type} syslog-configuration"
  21992. msgstr ""
  21993. #. type: deftp
  21994. #: guix-git/doc/guix.texi:15359
  21995. msgid "This data type represents the configuration of the syslog daemon."
  21996. msgstr ""
  21997. #. type: item
  21998. #: guix-git/doc/guix.texi:15361
  21999. #, no-wrap
  22000. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  22001. msgstr ""
  22002. #. type: table
  22003. #: guix-git/doc/guix.texi:15363
  22004. msgid "The syslog daemon to use."
  22005. msgstr ""
  22006. #. type: item
  22007. #: guix-git/doc/guix.texi:15364
  22008. #, no-wrap
  22009. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  22010. msgstr ""
  22011. #. type: table
  22012. #: guix-git/doc/guix.texi:15366
  22013. msgid "The syslog configuration file to use."
  22014. msgstr ""
  22015. #. type: anchor{#1}
  22016. #: guix-git/doc/guix.texi:15371
  22017. msgid "syslog-service"
  22018. msgstr ""
  22019. #. type: deffn
  22020. #: guix-git/doc/guix.texi:15372
  22021. #, no-wrap
  22022. msgid "{Scheme Procedure} syslog-service @var{config}"
  22023. msgstr ""
  22024. #. type: deffn
  22025. #: guix-git/doc/guix.texi:15374
  22026. msgid "Return a service that runs a syslog daemon according to @var{config}."
  22027. msgstr ""
  22028. #. type: deffn
  22029. #: guix-git/doc/guix.texi:15377
  22030. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  22031. msgstr ""
  22032. #. type: defvr
  22033. #: guix-git/doc/guix.texi:15379
  22034. #, no-wrap
  22035. msgid "{Scheme Variable} guix-service-type"
  22036. msgstr ""
  22037. #. type: defvr
  22038. #: guix-git/doc/guix.texi:15383
  22039. 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."
  22040. msgstr ""
  22041. #. type: anchor{#1}
  22042. #: guix-git/doc/guix.texi:15386
  22043. msgid "guix-configuration-type"
  22044. msgstr ""
  22045. #. type: deftp
  22046. #: guix-git/doc/guix.texi:15386
  22047. #, no-wrap
  22048. msgid "{Data Type} guix-configuration"
  22049. msgstr ""
  22050. #. type: deftp
  22051. #: guix-git/doc/guix.texi:15389
  22052. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  22053. msgstr ""
  22054. #. type: item
  22055. #: guix-git/doc/guix.texi:15391
  22056. #, no-wrap
  22057. msgid "@code{guix} (default: @var{guix})"
  22058. msgstr ""
  22059. #. type: table
  22060. #: guix-git/doc/guix.texi:15393 guix-git/doc/guix.texi:15667
  22061. msgid "The Guix package to use."
  22062. msgstr ""
  22063. #. type: item
  22064. #: guix-git/doc/guix.texi:15394
  22065. #, no-wrap
  22066. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  22067. msgstr ""
  22068. #. type: table
  22069. #: guix-git/doc/guix.texi:15396
  22070. msgid "Name of the group for build user accounts."
  22071. msgstr ""
  22072. #. type: item
  22073. #: guix-git/doc/guix.texi:15397
  22074. #, no-wrap
  22075. msgid "@code{build-accounts} (default: @code{10})"
  22076. msgstr ""
  22077. #. type: table
  22078. #: guix-git/doc/guix.texi:15399
  22079. msgid "Number of build user accounts to create."
  22080. msgstr ""
  22081. #. type: item
  22082. #: guix-git/doc/guix.texi:15400
  22083. #, no-wrap
  22084. msgid "@code{authorize-key?} (default: @code{#t})"
  22085. msgstr ""
  22086. #. type: table
  22087. #: guix-git/doc/guix.texi:15405
  22088. msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER}} (@pxref{Substitutes})."
  22089. msgstr ""
  22090. #. type: table
  22091. #: guix-git/doc/guix.texi:15411
  22092. 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."
  22093. msgstr ""
  22094. #. type: quotation
  22095. #: guix-git/doc/guix.texi:15418
  22096. 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}."
  22097. msgstr ""
  22098. #. type: vindex
  22099. #: guix-git/doc/guix.texi:15420
  22100. #, no-wrap
  22101. msgid "%default-authorized-guix-keys"
  22102. msgstr ""
  22103. #. type: item
  22104. #: guix-git/doc/guix.texi:15421
  22105. #, no-wrap
  22106. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22107. msgstr ""
  22108. #. type: table
  22109. #: guix-git/doc/guix.texi:15426
  22110. 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."
  22111. msgstr ""
  22112. #. type: item
  22113. #: guix-git/doc/guix.texi:15427
  22114. #, no-wrap
  22115. msgid "@code{use-substitutes?} (default: @code{#t})"
  22116. msgstr ""
  22117. #. type: table
  22118. #: guix-git/doc/guix.texi:15429
  22119. msgid "Whether to use substitutes."
  22120. msgstr ""
  22121. #. type: item
  22122. #: guix-git/doc/guix.texi:15430
  22123. #, no-wrap
  22124. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22125. msgstr ""
  22126. #. type: table
  22127. #: guix-git/doc/guix.texi:15432
  22128. msgid "The list of URLs where to look for substitutes by default."
  22129. msgstr ""
  22130. #. type: table
  22131. #: guix-git/doc/guix.texi:15439
  22132. 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:"
  22133. msgstr ""
  22134. #. type: lisp
  22135. #: guix-git/doc/guix.texi:15448
  22136. #, no-wrap
  22137. msgid ""
  22138. "(guix-configuration\n"
  22139. " (substitute-urls\n"
  22140. " (append (list \"https://guix.example.org\")\n"
  22141. " %default-substitute-urls))\n"
  22142. " (authorized-keys\n"
  22143. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22144. " %default-authorized-guix-keys)))\n"
  22145. msgstr ""
  22146. #. type: table
  22147. #: guix-git/doc/guix.texi:15453
  22148. 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."
  22149. msgstr ""
  22150. #. type: item
  22151. #: guix-git/doc/guix.texi:15454
  22152. #, no-wrap
  22153. msgid "@code{max-silent-time} (default: @code{0})"
  22154. msgstr ""
  22155. #. type: itemx
  22156. #: guix-git/doc/guix.texi:15455
  22157. #, no-wrap
  22158. msgid "@code{timeout} (default: @code{0})"
  22159. msgstr ""
  22160. #. type: table
  22161. #: guix-git/doc/guix.texi:15459
  22162. 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."
  22163. msgstr ""
  22164. #. type: item
  22165. #: guix-git/doc/guix.texi:15460
  22166. #, no-wrap
  22167. msgid "@code{log-compression} (default: @code{'bzip2})"
  22168. msgstr ""
  22169. #. type: table
  22170. #: guix-git/doc/guix.texi:15463
  22171. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22172. msgstr ""
  22173. #. type: item
  22174. #: guix-git/doc/guix.texi:15464
  22175. #, no-wrap
  22176. msgid "@code{discover?} (default: @code{#f})"
  22177. msgstr ""
  22178. #. type: table
  22179. #: guix-git/doc/guix.texi:15470
  22180. msgid "List of extra command-line options for @command{guix-daemon}."
  22181. msgstr ""
  22182. #. type: item
  22183. #: guix-git/doc/guix.texi:15471
  22184. #, no-wrap
  22185. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22186. msgstr ""
  22187. #. type: table
  22188. #: guix-git/doc/guix.texi:15474
  22189. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22190. msgstr ""
  22191. #. type: cindex
  22192. #: guix-git/doc/guix.texi:15475
  22193. #, no-wrap
  22194. msgid "HTTP proxy, for @code{guix-daemon}"
  22195. msgstr ""
  22196. #. type: cindex
  22197. #: guix-git/doc/guix.texi:15476
  22198. #, no-wrap
  22199. msgid "proxy, for @code{guix-daemon} HTTP access"
  22200. msgstr ""
  22201. #. type: item
  22202. #: guix-git/doc/guix.texi:15477
  22203. #, no-wrap
  22204. msgid "@code{http-proxy} (default: @code{#f})"
  22205. msgstr ""
  22206. #. type: table
  22207. #: guix-git/doc/guix.texi:15480
  22208. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  22209. msgstr ""
  22210. #. type: table
  22211. #: guix-git/doc/guix.texi:15483
  22212. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  22213. msgstr ""
  22214. #. type: example
  22215. #: guix-git/doc/guix.texi:15486
  22216. #, no-wrap
  22217. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  22218. msgstr ""
  22219. #. type: table
  22220. #: guix-git/doc/guix.texi:15489
  22221. msgid "To clear the proxy settings, run:"
  22222. msgstr ""
  22223. #. type: example
  22224. #: guix-git/doc/guix.texi:15492
  22225. #, no-wrap
  22226. msgid "herd set-http-proxy guix-daemon\n"
  22227. msgstr ""
  22228. #. type: item
  22229. #: guix-git/doc/guix.texi:15494
  22230. #, no-wrap
  22231. msgid "@code{tmpdir} (default: @code{#f})"
  22232. msgstr ""
  22233. #. type: table
  22234. #: guix-git/doc/guix.texi:15496
  22235. msgid "A directory path where the @command{guix-daemon} will perform builds."
  22236. msgstr ""
  22237. #. type: deffn
  22238. #: guix-git/doc/guix.texi:15500
  22239. #, no-wrap
  22240. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  22241. msgstr ""
  22242. #. type: deffn
  22243. #: guix-git/doc/guix.texi:15506
  22244. 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."
  22245. msgstr ""
  22246. #. type: deffn
  22247. #: guix-git/doc/guix.texi:15509
  22248. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  22249. msgstr ""
  22250. #. type: deffn
  22251. #: guix-git/doc/guix.texi:15511
  22252. #, no-wrap
  22253. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  22254. msgstr ""
  22255. #. type: deffn
  22256. #: guix-git/doc/guix.texi:15514
  22257. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  22258. msgstr ""
  22259. #. type: deffn
  22260. #: guix-git/doc/guix.texi:15518
  22261. 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."
  22262. msgstr ""
  22263. #. type: lisp
  22264. #: guix-git/doc/guix.texi:15526
  22265. #, no-wrap
  22266. msgid ""
  22267. "(define %example-udev-rule\n"
  22268. " (udev-rule\n"
  22269. " \"90-usb-thing.rules\"\n"
  22270. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  22271. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  22272. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  22273. msgstr ""
  22274. #. type: deffn
  22275. #: guix-git/doc/guix.texi:15529
  22276. #, no-wrap
  22277. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  22278. msgstr ""
  22279. #. type: deffn
  22280. #: guix-git/doc/guix.texi:15536
  22281. 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."
  22282. msgstr ""
  22283. #. type: deffn
  22284. #: guix-git/doc/guix.texi:15539
  22285. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  22286. msgstr ""
  22287. #. type: lisp
  22288. #: guix-git/doc/guix.texi:15546
  22289. #, no-wrap
  22290. msgid ""
  22291. "(operating-system\n"
  22292. " ;; @dots{}\n"
  22293. " (services\n"
  22294. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  22295. " %desktop-services)))\n"
  22296. msgstr ""
  22297. #. type: deffn
  22298. #: guix-git/doc/guix.texi:15549
  22299. #, no-wrap
  22300. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  22301. msgstr ""
  22302. #. type: deffn
  22303. #: guix-git/doc/guix.texi:15552
  22304. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  22305. msgstr ""
  22306. #. type: deffn
  22307. #: guix-git/doc/guix.texi:15554
  22308. msgid "The following example showcases how we can use an existing rule file."
  22309. msgstr ""
  22310. #. type: lisp
  22311. #: guix-git/doc/guix.texi:15559
  22312. #, no-wrap
  22313. msgid ""
  22314. "(use-modules (guix download) ;for url-fetch\n"
  22315. " (guix packages) ;for origin\n"
  22316. " @dots{})\n"
  22317. "\n"
  22318. msgstr ""
  22319. #. type: lisp
  22320. #: guix-git/doc/guix.texi:15570
  22321. #, no-wrap
  22322. msgid ""
  22323. "(define %android-udev-rules\n"
  22324. " (file->udev-rule\n"
  22325. " \"51-android-udev.rules\"\n"
  22326. " (let ((version \"20170910\"))\n"
  22327. " (origin\n"
  22328. " (method url-fetch)\n"
  22329. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  22330. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  22331. " (sha256\n"
  22332. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  22333. msgstr ""
  22334. #. type: Plain text
  22335. #: guix-git/doc/guix.texi:15579
  22336. 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."
  22337. msgstr ""
  22338. #. type: Plain text
  22339. #: guix-git/doc/guix.texi:15588
  22340. 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."
  22341. msgstr ""
  22342. #. type: lisp
  22343. #: guix-git/doc/guix.texi:15593
  22344. #, no-wrap
  22345. msgid ""
  22346. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  22347. " (gnu system shadow) ;for user-group\n"
  22348. " @dots{})\n"
  22349. "\n"
  22350. msgstr ""
  22351. #. type: lisp
  22352. #: guix-git/doc/guix.texi:15606
  22353. #, no-wrap
  22354. msgid ""
  22355. "(operating-system\n"
  22356. " ;; @dots{}\n"
  22357. " (users (cons (user-account\n"
  22358. " ;; @dots{}\n"
  22359. " (supplementary-groups\n"
  22360. " '(\"adbusers\" ;for adb\n"
  22361. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  22362. " ;; @dots{}\n"
  22363. " (services\n"
  22364. " (cons (udev-rules-service 'android android-udev-rules\n"
  22365. " #:groups '(\"adbusers\"))\n"
  22366. " %desktop-services)))\n"
  22367. msgstr ""
  22368. #. type: defvr
  22369. #: guix-git/doc/guix.texi:15608
  22370. #, no-wrap
  22371. msgid "{Scheme Variable} urandom-seed-service-type"
  22372. msgstr ""
  22373. #. type: defvr
  22374. #: guix-git/doc/guix.texi:15613
  22375. 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."
  22376. msgstr ""
  22377. #. type: defvr
  22378. #: guix-git/doc/guix.texi:15615
  22379. #, no-wrap
  22380. msgid "{Scheme Variable} %random-seed-file"
  22381. msgstr ""
  22382. #. type: defvr
  22383. #: guix-git/doc/guix.texi:15619
  22384. 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}."
  22385. msgstr ""
  22386. #. type: cindex
  22387. #: guix-git/doc/guix.texi:15621
  22388. #, no-wrap
  22389. msgid "mouse"
  22390. msgstr "마우스"
  22391. #. type: cindex
  22392. #: guix-git/doc/guix.texi:15622
  22393. #, no-wrap
  22394. msgid "gpm"
  22395. msgstr ""
  22396. #. type: defvr
  22397. #: guix-git/doc/guix.texi:15623
  22398. #, no-wrap
  22399. msgid "{Scheme Variable} gpm-service-type"
  22400. msgstr ""
  22401. #. type: defvr
  22402. #: guix-git/doc/guix.texi:15628
  22403. 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."
  22404. msgstr ""
  22405. #. type: defvr
  22406. #: guix-git/doc/guix.texi:15631
  22407. 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}."
  22408. msgstr ""
  22409. #. type: deftp
  22410. #: guix-git/doc/guix.texi:15633
  22411. #, no-wrap
  22412. msgid "{Data Type} gpm-configuration"
  22413. msgstr ""
  22414. #. type: deftp
  22415. #: guix-git/doc/guix.texi:15635
  22416. msgid "Data type representing the configuration of GPM."
  22417. msgstr ""
  22418. #. type: item
  22419. #: guix-git/doc/guix.texi:15637
  22420. #, no-wrap
  22421. msgid "@code{options} (default: @code{%default-gpm-options})"
  22422. msgstr ""
  22423. #. type: table
  22424. #: guix-git/doc/guix.texi:15642
  22425. 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."
  22426. msgstr ""
  22427. #. type: item
  22428. #: guix-git/doc/guix.texi:15643
  22429. #, no-wrap
  22430. msgid "@code{gpm} (default: @code{gpm})"
  22431. msgstr ""
  22432. #. type: table
  22433. #: guix-git/doc/guix.texi:15645
  22434. msgid "The GPM package to use."
  22435. msgstr ""
  22436. #. type: anchor{#1}
  22437. #: guix-git/doc/guix.texi:15650
  22438. msgid "guix-publish-service-type"
  22439. msgstr ""
  22440. #. type: deffn
  22441. #: guix-git/doc/guix.texi:15650
  22442. #, no-wrap
  22443. msgid "{Scheme Variable} guix-publish-service-type"
  22444. msgstr ""
  22445. #. type: deffn
  22446. #: guix-git/doc/guix.texi:15654
  22447. 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."
  22448. msgstr ""
  22449. #. type: deffn
  22450. #: guix-git/doc/guix.texi:15658
  22451. 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."
  22452. msgstr ""
  22453. #. type: deftp
  22454. #: guix-git/doc/guix.texi:15660
  22455. #, no-wrap
  22456. msgid "{Data Type} guix-publish-configuration"
  22457. msgstr ""
  22458. #. type: deftp
  22459. #: guix-git/doc/guix.texi:15663
  22460. msgid "Data type representing the configuration of the @code{guix publish} service."
  22461. msgstr ""
  22462. #. type: item
  22463. #: guix-git/doc/guix.texi:15665
  22464. #, no-wrap
  22465. msgid "@code{guix} (default: @code{guix})"
  22466. msgstr ""
  22467. #. type: item
  22468. #: guix-git/doc/guix.texi:15668 guix-git/doc/guix.texi:29638
  22469. #, no-wrap
  22470. msgid "@code{port} (default: @code{80})"
  22471. msgstr ""
  22472. #. type: table
  22473. #: guix-git/doc/guix.texi:15670
  22474. msgid "The TCP port to listen for connections."
  22475. msgstr ""
  22476. #. type: item
  22477. #: guix-git/doc/guix.texi:15671 guix-git/doc/guix.texi:27277
  22478. #, no-wrap
  22479. msgid "@code{host} (default: @code{\"localhost\"})"
  22480. msgstr ""
  22481. #. type: table
  22482. #: guix-git/doc/guix.texi:15674
  22483. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  22484. msgstr ""
  22485. #. type: item
  22486. #: guix-git/doc/guix.texi:15675
  22487. #, no-wrap
  22488. msgid "@code{advertise?} (default: @code{#f})"
  22489. msgstr ""
  22490. #. type: table
  22491. #: guix-git/doc/guix.texi:15678
  22492. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  22493. msgstr ""
  22494. #. type: table
  22495. #: guix-git/doc/guix.texi:15682
  22496. 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."
  22497. msgstr ""
  22498. #. type: item
  22499. #: guix-git/doc/guix.texi:15683
  22500. #, no-wrap
  22501. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  22502. msgstr ""
  22503. #. type: table
  22504. #: guix-git/doc/guix.texi:15687
  22505. 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:"
  22506. msgstr ""
  22507. #. type: lisp
  22508. #: guix-git/doc/guix.texi:15690
  22509. #, no-wrap
  22510. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  22511. msgstr ""
  22512. #. type: table
  22513. #: guix-git/doc/guix.texi:15696
  22514. 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."
  22515. msgstr ""
  22516. #. type: table
  22517. #: guix-git/doc/guix.texi:15698
  22518. msgid "An empty list disables compression altogether."
  22519. msgstr ""
  22520. #. type: item
  22521. #: guix-git/doc/guix.texi:15699
  22522. #, no-wrap
  22523. msgid "@code{nar-path} (default: @code{\"nar\"})"
  22524. msgstr ""
  22525. #. type: table
  22526. #: guix-git/doc/guix.texi:15702
  22527. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  22528. msgstr ""
  22529. #. type: item
  22530. #: guix-git/doc/guix.texi:15703
  22531. #, no-wrap
  22532. msgid "@code{cache} (default: @code{#f})"
  22533. msgstr ""
  22534. #. type: table
  22535. #: guix-git/doc/guix.texi:15709
  22536. 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."
  22537. msgstr ""
  22538. #. type: item
  22539. #: guix-git/doc/guix.texi:15710
  22540. #, no-wrap
  22541. msgid "@code{workers} (default: @code{#f})"
  22542. msgstr ""
  22543. #. type: table
  22544. #: guix-git/doc/guix.texi:15714
  22545. 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."
  22546. msgstr ""
  22547. #. type: item
  22548. #: guix-git/doc/guix.texi:15715
  22549. #, no-wrap
  22550. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  22551. msgstr ""
  22552. #. type: table
  22553. #: guix-git/doc/guix.texi:15720
  22554. 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."
  22555. msgstr ""
  22556. #. type: item
  22557. #: guix-git/doc/guix.texi:15721
  22558. #, no-wrap
  22559. msgid "@code{ttl} (default: @code{#f})"
  22560. msgstr ""
  22561. #. type: table
  22562. #: guix-git/doc/guix.texi:15725
  22563. 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."
  22564. msgstr ""
  22565. #. type: anchor{#1}
  22566. #: guix-git/doc/guix.texi:15729
  22567. msgid "rngd-service"
  22568. msgstr ""
  22569. #. type: deffn
  22570. #: guix-git/doc/guix.texi:15729
  22571. #, no-wrap
  22572. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  22573. msgstr ""
  22574. #. type: deffn
  22575. #: guix-git/doc/guix.texi:15734
  22576. 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."
  22577. msgstr ""
  22578. #. type: anchor{#1}
  22579. #: guix-git/doc/guix.texi:15737
  22580. msgid "pam-limits-service"
  22581. msgstr ""
  22582. #. type: cindex
  22583. #: guix-git/doc/guix.texi:15737
  22584. #, no-wrap
  22585. msgid "session limits"
  22586. msgstr ""
  22587. #. type: cindex
  22588. #: guix-git/doc/guix.texi:15738
  22589. #, no-wrap
  22590. msgid "ulimit"
  22591. msgstr ""
  22592. #. type: cindex
  22593. #: guix-git/doc/guix.texi:15739
  22594. #, no-wrap
  22595. msgid "priority"
  22596. msgstr "우선 순위"
  22597. #. type: cindex
  22598. #: guix-git/doc/guix.texi:15740
  22599. #, no-wrap
  22600. msgid "realtime"
  22601. msgstr ""
  22602. #. type: cindex
  22603. #: guix-git/doc/guix.texi:15741
  22604. #, no-wrap
  22605. msgid "jackd"
  22606. msgstr ""
  22607. #. type: cindex
  22608. #: guix-git/doc/guix.texi:15742
  22609. #, no-wrap
  22610. msgid "nofile"
  22611. msgstr ""
  22612. #. type: cindex
  22613. #: guix-git/doc/guix.texi:15743
  22614. #, no-wrap
  22615. msgid "open file descriptors"
  22616. msgstr ""
  22617. #. type: deffn
  22618. #: guix-git/doc/guix.texi:15744
  22619. #, no-wrap
  22620. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  22621. msgstr ""
  22622. #. type: deffn
  22623. #: guix-git/doc/guix.texi:15751
  22624. 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."
  22625. msgstr ""
  22626. #. type: deffn
  22627. #: guix-git/doc/guix.texi:15754
  22628. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  22629. msgstr ""
  22630. #. type: lisp
  22631. #: guix-git/doc/guix.texi:15760
  22632. #, no-wrap
  22633. msgid ""
  22634. "(pam-limits-service\n"
  22635. " (list\n"
  22636. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  22637. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  22638. msgstr ""
  22639. #. type: deffn
  22640. #: guix-git/doc/guix.texi:15766
  22641. 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."
  22642. msgstr ""
  22643. #. type: deffn
  22644. #: guix-git/doc/guix.texi:15769
  22645. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  22646. msgstr ""
  22647. #. type: lisp
  22648. #: guix-git/doc/guix.texi:15774
  22649. #, no-wrap
  22650. msgid ""
  22651. "(pam-limits-service\n"
  22652. " (list\n"
  22653. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  22654. msgstr ""
  22655. #. type: deffn
  22656. #: guix-git/doc/guix.texi:15782
  22657. 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."
  22658. msgstr ""
  22659. #. type: cindex
  22660. #: guix-git/doc/guix.texi:15787
  22661. #, no-wrap
  22662. msgid "cron"
  22663. msgstr ""
  22664. #. type: cindex
  22665. #: guix-git/doc/guix.texi:15788
  22666. #, no-wrap
  22667. msgid "mcron"
  22668. msgstr ""
  22669. #. type: cindex
  22670. #: guix-git/doc/guix.texi:15789
  22671. #, no-wrap
  22672. msgid "scheduling jobs"
  22673. msgstr ""
  22674. #. type: Plain text
  22675. #: guix-git/doc/guix.texi:15796
  22676. 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."
  22677. msgstr ""
  22678. #. type: Plain text
  22679. #: guix-git/doc/guix.texi:15804
  22680. 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})."
  22681. msgstr ""
  22682. #. type: lisp
  22683. #: guix-git/doc/guix.texi:15808
  22684. #, no-wrap
  22685. msgid ""
  22686. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  22687. "(use-package-modules base idutils)\n"
  22688. "\n"
  22689. msgstr ""
  22690. #. type: lisp
  22691. #: guix-git/doc/guix.texi:15817
  22692. #, no-wrap
  22693. msgid ""
  22694. "(define updatedb-job\n"
  22695. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  22696. " ;; job's action as a Scheme procedure.\n"
  22697. " #~(job '(next-hour '(3))\n"
  22698. " (lambda ()\n"
  22699. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  22700. " \"updatedb\"\n"
  22701. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))))\n"
  22702. "\n"
  22703. msgstr ""
  22704. #. type: lisp
  22705. #: guix-git/doc/guix.texi:15823
  22706. #, no-wrap
  22707. msgid ""
  22708. "(define garbage-collector-job\n"
  22709. " ;; Collect garbage 5 minutes after midnight every day.\n"
  22710. " ;; The job's action is a shell command.\n"
  22711. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  22712. " \"guix gc -F 1G\"))\n"
  22713. "\n"
  22714. msgstr ""
  22715. #. type: lisp
  22716. #: guix-git/doc/guix.texi:15830
  22717. #, no-wrap
  22718. msgid ""
  22719. "(define idutils-job\n"
  22720. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  22721. " ;; and 19:15PM. This runs from the user's home directory.\n"
  22722. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  22723. " (string-append #$idutils \"/bin/mkid src\")\n"
  22724. " #:user \"charlie\"))\n"
  22725. "\n"
  22726. msgstr ""
  22727. #. type: lisp
  22728. #: guix-git/doc/guix.texi:15833
  22729. #, no-wrap
  22730. msgid ""
  22731. "(operating-system\n"
  22732. " ;; @dots{}\n"
  22733. "\n"
  22734. msgstr ""
  22735. #. type: lisp
  22736. #: guix-git/doc/guix.texi:15843
  22737. #, no-wrap
  22738. msgid ""
  22739. " ;; %BASE-SERVICES already includes an instance of\n"
  22740. " ;; 'mcron-service-type', which we extend with additional\n"
  22741. " ;; jobs using 'simple-service'.\n"
  22742. " (services (cons (simple-service 'my-cron-jobs\n"
  22743. " mcron-service-type\n"
  22744. " (list garbage-collector-job\n"
  22745. " updatedb-job\n"
  22746. " idutils-job))\n"
  22747. " %base-services)))\n"
  22748. msgstr ""
  22749. #. type: Plain text
  22750. #: guix-git/doc/guix.texi:15850
  22751. 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."
  22752. msgstr ""
  22753. #. type: lisp
  22754. #: guix-git/doc/guix.texi:15866
  22755. #, no-wrap
  22756. msgid ""
  22757. "(define %battery-alert-job\n"
  22758. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  22759. " #~(job\n"
  22760. " '(next-minute (range 0 60 1))\n"
  22761. " #$(program-file\n"
  22762. " \"battery-alert.scm\"\n"
  22763. " (with-imported-modules (source-module-closure\n"
  22764. " '((guix build utils)))\n"
  22765. " #~(begin\n"
  22766. " (use-modules (guix build utils)\n"
  22767. " (ice-9 popen)\n"
  22768. " (ice-9 regex)\n"
  22769. " (ice-9 textual-ports)\n"
  22770. " (srfi srfi-2))\n"
  22771. "\n"
  22772. msgstr ""
  22773. #. type: lisp
  22774. #: guix-git/doc/guix.texi:15868
  22775. #, no-wrap
  22776. msgid ""
  22777. " (define %min-level 20)\n"
  22778. "\n"
  22779. msgstr ""
  22780. #. type: lisp
  22781. #: guix-git/doc/guix.texi:15879
  22782. #, no-wrap
  22783. msgid ""
  22784. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  22785. " (and-let* ((input-pipe (open-pipe*\n"
  22786. " OPEN_READ\n"
  22787. " #$(file-append acpi \"/bin/acpi\")))\n"
  22788. " (output (get-string-all input-pipe))\n"
  22789. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  22790. " (level (string->number (match:substring m 1)))\n"
  22791. " ((< level %min-level)))\n"
  22792. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  22793. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  22794. msgstr ""
  22795. #. type: Plain text
  22796. #: guix-git/doc/guix.texi:15884
  22797. 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."
  22798. msgstr ""
  22799. #. type: Plain text
  22800. #: guix-git/doc/guix.texi:15887
  22801. 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:"
  22802. msgstr ""
  22803. #. type: example
  22804. #: guix-git/doc/guix.texi:15890
  22805. #, no-wrap
  22806. msgid "# herd schedule mcron\n"
  22807. msgstr ""
  22808. #. type: Plain text
  22809. #: guix-git/doc/guix.texi:15895
  22810. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  22811. msgstr ""
  22812. #. type: example
  22813. #: guix-git/doc/guix.texi:15898
  22814. #, no-wrap
  22815. msgid "# herd schedule mcron 10\n"
  22816. msgstr ""
  22817. #. type: defvr
  22818. #: guix-git/doc/guix.texi:15900
  22819. #, no-wrap
  22820. msgid "{Scheme Variable} mcron-service-type"
  22821. msgstr ""
  22822. #. type: defvr
  22823. #: guix-git/doc/guix.texi:15903
  22824. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  22825. msgstr ""
  22826. #. type: defvr
  22827. #: guix-git/doc/guix.texi:15908
  22828. 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."
  22829. msgstr ""
  22830. #. type: deftp
  22831. #: guix-git/doc/guix.texi:15910
  22832. #, no-wrap
  22833. msgid "{Data Type} mcron-configuration"
  22834. msgstr ""
  22835. #. type: deftp
  22836. #: guix-git/doc/guix.texi:15912
  22837. msgid "Data type representing the configuration of mcron."
  22838. msgstr ""
  22839. #. type: item
  22840. #: guix-git/doc/guix.texi:15914
  22841. #, no-wrap
  22842. msgid "@code{mcron} (default: @var{mcron})"
  22843. msgstr ""
  22844. #. type: table
  22845. #: guix-git/doc/guix.texi:15916
  22846. msgid "The mcron package to use."
  22847. msgstr ""
  22848. #. type: code{#1}
  22849. #: guix-git/doc/guix.texi:15917 guix-git/doc/guix.texi:15986
  22850. #, no-wrap
  22851. msgid "jobs"
  22852. msgstr ""
  22853. #. type: table
  22854. #: guix-git/doc/guix.texi:15921
  22855. 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})."
  22856. msgstr ""
  22857. #. type: cindex
  22858. #: guix-git/doc/guix.texi:15928
  22859. #, no-wrap
  22860. msgid "rottlog"
  22861. msgstr ""
  22862. #. type: cindex
  22863. #: guix-git/doc/guix.texi:15929
  22864. #, no-wrap
  22865. msgid "log rotation"
  22866. msgstr ""
  22867. #. type: Plain text
  22868. #: guix-git/doc/guix.texi:15936
  22869. 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})."
  22870. msgstr ""
  22871. #. type: Plain text
  22872. #: guix-git/doc/guix.texi:15942
  22873. 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):"
  22874. msgstr ""
  22875. #. type: lisp
  22876. #: guix-git/doc/guix.texi:15946
  22877. #, no-wrap
  22878. msgid ""
  22879. "(use-modules (guix) (gnu))\n"
  22880. "(use-service-modules admin)\n"
  22881. "\n"
  22882. msgstr ""
  22883. #. type: lisp
  22884. #: guix-git/doc/guix.texi:15950
  22885. #, no-wrap
  22886. msgid ""
  22887. "(define my-log-files\n"
  22888. " ;; Log files that I want to rotate.\n"
  22889. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  22890. "\n"
  22891. msgstr ""
  22892. #. type: lisp
  22893. #: guix-git/doc/guix.texi:15959
  22894. #, no-wrap
  22895. msgid ""
  22896. "(operating-system\n"
  22897. " ;; @dots{}\n"
  22898. " (services (cons (simple-service 'rotate-my-stuff\n"
  22899. " rottlog-service-type\n"
  22900. " (list (log-rotation\n"
  22901. " (frequency 'daily)\n"
  22902. " (files my-log-files))))\n"
  22903. " %base-services)))\n"
  22904. msgstr ""
  22905. #. type: defvr
  22906. #: guix-git/doc/guix.texi:15961
  22907. #, no-wrap
  22908. msgid "{Scheme Variable} rottlog-service-type"
  22909. msgstr ""
  22910. #. type: defvr
  22911. #: guix-git/doc/guix.texi:15964
  22912. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  22913. msgstr ""
  22914. #. type: defvr
  22915. #: guix-git/doc/guix.texi:15967
  22916. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  22917. msgstr ""
  22918. #. type: defvr
  22919. #: guix-git/doc/guix.texi:15970
  22920. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  22921. msgstr ""
  22922. #. type: deftp
  22923. #: guix-git/doc/guix.texi:15972
  22924. #, no-wrap
  22925. msgid "{Data Type} rottlog-configuration"
  22926. msgstr ""
  22927. #. type: deftp
  22928. #: guix-git/doc/guix.texi:15974
  22929. msgid "Data type representing the configuration of rottlog."
  22930. msgstr ""
  22931. #. type: item
  22932. #: guix-git/doc/guix.texi:15976
  22933. #, no-wrap
  22934. msgid "@code{rottlog} (default: @code{rottlog})"
  22935. msgstr ""
  22936. #. type: table
  22937. #: guix-git/doc/guix.texi:15978
  22938. msgid "The Rottlog package to use."
  22939. msgstr ""
  22940. #. type: item
  22941. #: guix-git/doc/guix.texi:15979
  22942. #, no-wrap
  22943. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  22944. msgstr ""
  22945. #. type: table
  22946. #: guix-git/doc/guix.texi:15982
  22947. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  22948. msgstr ""
  22949. #. type: item
  22950. #: guix-git/doc/guix.texi:15983
  22951. #, no-wrap
  22952. msgid "@code{rotations} (default: @code{%default-rotations})"
  22953. msgstr ""
  22954. #. type: table
  22955. #: guix-git/doc/guix.texi:15985
  22956. msgid "A list of @code{log-rotation} objects as defined below."
  22957. msgstr ""
  22958. #. type: table
  22959. #: guix-git/doc/guix.texi:15989
  22960. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  22961. msgstr ""
  22962. #. type: deftp
  22963. #: guix-git/doc/guix.texi:15992
  22964. #, no-wrap
  22965. msgid "{Data Type} log-rotation"
  22966. msgstr ""
  22967. #. type: deftp
  22968. #: guix-git/doc/guix.texi:15994
  22969. msgid "Data type representing the rotation of a group of log files."
  22970. msgstr ""
  22971. #. type: deftp
  22972. #: guix-git/doc/guix.texi:15998
  22973. 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:"
  22974. msgstr ""
  22975. #. type: lisp
  22976. #: guix-git/doc/guix.texi:16007
  22977. #, no-wrap
  22978. msgid ""
  22979. "(log-rotation\n"
  22980. " (frequency 'daily)\n"
  22981. " (files '(\"/var/log/apache/*\"))\n"
  22982. " (options '(\"storedir apache-archives\"\n"
  22983. " \"rotate 6\"\n"
  22984. " \"notifempty\"\n"
  22985. " \"nocompress\")))\n"
  22986. msgstr ""
  22987. #. type: deftp
  22988. #: guix-git/doc/guix.texi:16010
  22989. msgid "The list of fields is as follows:"
  22990. msgstr ""
  22991. #. type: item
  22992. #: guix-git/doc/guix.texi:16012
  22993. #, no-wrap
  22994. msgid "@code{frequency} (default: @code{'weekly})"
  22995. msgstr ""
  22996. #. type: table
  22997. #: guix-git/doc/guix.texi:16014
  22998. msgid "The log rotation frequency, a symbol."
  22999. msgstr ""
  23000. #. type: code{#1}
  23001. #: guix-git/doc/guix.texi:16015
  23002. #, no-wrap
  23003. msgid "files"
  23004. msgstr "파일"
  23005. #. type: table
  23006. #: guix-git/doc/guix.texi:16017
  23007. msgid "The list of files or file glob patterns to rotate."
  23008. msgstr ""
  23009. #. type: item
  23010. #: guix-git/doc/guix.texi:16018
  23011. #, no-wrap
  23012. msgid "@code{options} (default: @code{'()})"
  23013. msgstr ""
  23014. #. type: table
  23015. #: guix-git/doc/guix.texi:16021
  23016. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  23017. msgstr ""
  23018. #. type: item
  23019. #: guix-git/doc/guix.texi:16022
  23020. #, no-wrap
  23021. msgid "@code{post-rotate} (default: @code{#f})"
  23022. msgstr ""
  23023. #. type: table
  23024. #: guix-git/doc/guix.texi:16024
  23025. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  23026. msgstr ""
  23027. #. type: defvr
  23028. #: guix-git/doc/guix.texi:16027
  23029. #, no-wrap
  23030. msgid "{Scheme Variable} %default-rotations"
  23031. msgstr ""
  23032. #. type: defvr
  23033. #: guix-git/doc/guix.texi:16030
  23034. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  23035. msgstr ""
  23036. #. type: defvr
  23037. #: guix-git/doc/guix.texi:16032
  23038. #, no-wrap
  23039. msgid "{Scheme Variable} %rotated-files"
  23040. msgstr ""
  23041. #. type: defvr
  23042. #: guix-git/doc/guix.texi:16036
  23043. 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\")}."
  23044. msgstr ""
  23045. #. type: Plain text
  23046. #: guix-git/doc/guix.texi:16043
  23047. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  23048. msgstr ""
  23049. #. type: cindex
  23050. #: guix-git/doc/guix.texi:16044
  23051. #, no-wrap
  23052. msgid "DHCP, networking service"
  23053. msgstr ""
  23054. #. type: defvr
  23055. #: guix-git/doc/guix.texi:16045
  23056. #, no-wrap
  23057. msgid "{Scheme Variable} dhcp-client-service-type"
  23058. msgstr ""
  23059. #. type: defvr
  23060. #: guix-git/doc/guix.texi:16049
  23061. 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."
  23062. msgstr ""
  23063. #. type: deffn
  23064. #: guix-git/doc/guix.texi:16051
  23065. #, no-wrap
  23066. msgid "{Scheme Procedure} dhcpd-service-type"
  23067. msgstr ""
  23068. #. type: deffn
  23069. #: guix-git/doc/guix.texi:16055
  23070. 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:"
  23071. msgstr ""
  23072. #. type: lisp
  23073. #: guix-git/doc/guix.texi:16061
  23074. #, no-wrap
  23075. msgid ""
  23076. "(service dhcpd-service-type\n"
  23077. " (dhcpd-configuration\n"
  23078. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  23079. " (interfaces '(\"enp0s25\"))))\n"
  23080. msgstr ""
  23081. #. type: deftp
  23082. #: guix-git/doc/guix.texi:16064
  23083. #, no-wrap
  23084. msgid "{Data Type} dhcpd-configuration"
  23085. msgstr ""
  23086. #. type: item
  23087. #: guix-git/doc/guix.texi:16066
  23088. #, no-wrap
  23089. msgid "@code{package} (default: @code{isc-dhcp})"
  23090. msgstr ""
  23091. #. type: table
  23092. #: guix-git/doc/guix.texi:16071
  23093. 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}."
  23094. msgstr ""
  23095. #. type: item
  23096. #: guix-git/doc/guix.texi:16071 guix-git/doc/guix.texi:16327
  23097. #: guix-git/doc/guix.texi:21399
  23098. #, no-wrap
  23099. msgid "@code{config-file} (default: @code{#f})"
  23100. msgstr ""
  23101. #. type: table
  23102. #: guix-git/doc/guix.texi:16076
  23103. 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."
  23104. msgstr ""
  23105. #. type: item
  23106. #: guix-git/doc/guix.texi:16076
  23107. #, no-wrap
  23108. msgid "@code{version} (default: @code{\"4\"})"
  23109. msgstr ""
  23110. #. type: table
  23111. #: guix-git/doc/guix.texi:16081
  23112. 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."
  23113. msgstr ""
  23114. #. type: item
  23115. #: guix-git/doc/guix.texi:16081
  23116. #, no-wrap
  23117. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23118. msgstr ""
  23119. #. type: table
  23120. #: guix-git/doc/guix.texi:16084
  23121. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23122. msgstr ""
  23123. #. type: item
  23124. #: guix-git/doc/guix.texi:16084
  23125. #, no-wrap
  23126. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23127. msgstr ""
  23128. #. type: table
  23129. #: guix-git/doc/guix.texi:16087
  23130. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23131. msgstr ""
  23132. #. type: item
  23133. #: guix-git/doc/guix.texi:16087
  23134. #, no-wrap
  23135. msgid "@code{interfaces} (default: @code{'()})"
  23136. msgstr ""
  23137. #. type: table
  23138. #: guix-git/doc/guix.texi:16093
  23139. 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."
  23140. msgstr ""
  23141. #. type: defvr
  23142. #: guix-git/doc/guix.texi:16096
  23143. #, no-wrap
  23144. msgid "{Scheme Variable} static-networking-service-type"
  23145. msgstr ""
  23146. #. type: defvr
  23147. #: guix-git/doc/guix.texi:16099
  23148. msgid "This is the type for statically-configured network interfaces."
  23149. msgstr ""
  23150. #. type: deffn
  23151. #: guix-git/doc/guix.texi:16101
  23152. #, no-wrap
  23153. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23154. msgstr ""
  23155. #. type: deffn
  23156. #: guix-git/doc/guix.texi:16109
  23157. 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."
  23158. msgstr ""
  23159. #. type: deffn
  23160. #: guix-git/doc/guix.texi:16114
  23161. 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."
  23162. msgstr ""
  23163. #. type: defvr
  23164. #: guix-git/doc/guix.texi:16116 guix-git/doc/guix.texi:28950
  23165. msgid "For example:"
  23166. msgstr ""
  23167. #. type: lisp
  23168. #: guix-git/doc/guix.texi:16121
  23169. #, no-wrap
  23170. msgid ""
  23171. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23172. " #:gateway \"192.168.1.2\"\n"
  23173. " #:name-servers '(\"192.168.1.2\"))\n"
  23174. msgstr ""
  23175. #. type: cindex
  23176. #: guix-git/doc/guix.texi:16124
  23177. #, no-wrap
  23178. msgid "wicd"
  23179. msgstr ""
  23180. #. type: cindex
  23181. #: guix-git/doc/guix.texi:16127
  23182. #, no-wrap
  23183. msgid "network management"
  23184. msgstr ""
  23185. #. type: deffn
  23186. #: guix-git/doc/guix.texi:16128
  23187. #, no-wrap
  23188. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23189. msgstr ""
  23190. #. type: deffn
  23191. #: guix-git/doc/guix.texi:16131
  23192. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23193. msgstr ""
  23194. #. type: deffn
  23195. #: guix-git/doc/guix.texi:16136
  23196. 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."
  23197. msgstr ""
  23198. #. type: cindex
  23199. #: guix-git/doc/guix.texi:16138
  23200. #, no-wrap
  23201. msgid "ModemManager"
  23202. msgstr ""
  23203. #. type: defvr
  23204. #: guix-git/doc/guix.texi:16140
  23205. #, no-wrap
  23206. msgid "{Scheme Variable} modem-manager-service-type"
  23207. msgstr ""
  23208. #. type: defvr
  23209. #: guix-git/doc/guix.texi:16145
  23210. 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."
  23211. msgstr ""
  23212. #. type: defvr
  23213. #: guix-git/doc/guix.texi:16148 guix-git/doc/guix.texi:16177
  23214. #: guix-git/doc/guix.texi:16209
  23215. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  23216. msgstr ""
  23217. #. type: deftp
  23218. #: guix-git/doc/guix.texi:16150
  23219. #, no-wrap
  23220. msgid "{Data Type} modem-manager-configuration"
  23221. msgstr ""
  23222. #. type: deftp
  23223. #: guix-git/doc/guix.texi:16152
  23224. msgid "Data type representing the configuration of ModemManager."
  23225. msgstr ""
  23226. #. type: item
  23227. #: guix-git/doc/guix.texi:16154
  23228. #, no-wrap
  23229. msgid "@code{modem-manager} (default: @code{modem-manager})"
  23230. msgstr ""
  23231. #. type: table
  23232. #: guix-git/doc/guix.texi:16156
  23233. msgid "The ModemManager package to use."
  23234. msgstr ""
  23235. #. type: cindex
  23236. #: guix-git/doc/guix.texi:16160
  23237. #, no-wrap
  23238. msgid "USB_ModeSwitch"
  23239. msgstr ""
  23240. #. type: cindex
  23241. #: guix-git/doc/guix.texi:16161
  23242. #, no-wrap
  23243. msgid "Modeswitching"
  23244. msgstr ""
  23245. #. type: defvr
  23246. #: guix-git/doc/guix.texi:16163
  23247. #, no-wrap
  23248. msgid "{Scheme Variable} usb-modeswitch-service-type"
  23249. msgstr ""
  23250. #. type: defvr
  23251. #: guix-git/doc/guix.texi:16168
  23252. 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."
  23253. msgstr ""
  23254. #. type: defvr
  23255. #: guix-git/doc/guix.texi:16174
  23256. 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."
  23257. msgstr ""
  23258. #. type: deftp
  23259. #: guix-git/doc/guix.texi:16179
  23260. #, no-wrap
  23261. msgid "{Data Type} usb-modeswitch-configuration"
  23262. msgstr ""
  23263. #. type: deftp
  23264. #: guix-git/doc/guix.texi:16181
  23265. msgid "Data type representing the configuration of USB_ModeSwitch."
  23266. msgstr ""
  23267. #. type: item
  23268. #: guix-git/doc/guix.texi:16183
  23269. #, no-wrap
  23270. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  23271. msgstr ""
  23272. #. type: table
  23273. #: guix-git/doc/guix.texi:16185
  23274. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  23275. msgstr ""
  23276. #. type: item
  23277. #: guix-git/doc/guix.texi:16186
  23278. #, no-wrap
  23279. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  23280. msgstr ""
  23281. #. type: table
  23282. #: guix-git/doc/guix.texi:16189
  23283. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  23284. msgstr ""
  23285. #. type: item
  23286. #: guix-git/doc/guix.texi:16190
  23287. #, no-wrap
  23288. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  23289. msgstr ""
  23290. #. type: table
  23291. #: guix-git/doc/guix.texi:16195
  23292. 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."
  23293. msgstr ""
  23294. #. type: cindex
  23295. #: guix-git/doc/guix.texi:16199
  23296. #, no-wrap
  23297. msgid "NetworkManager"
  23298. msgstr "네트워크매니저"
  23299. #. type: defvr
  23300. #: guix-git/doc/guix.texi:16201
  23301. #, no-wrap
  23302. msgid "{Scheme Variable} network-manager-service-type"
  23303. msgstr ""
  23304. #. type: defvr
  23305. #: guix-git/doc/guix.texi:16206
  23306. 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."
  23307. msgstr ""
  23308. #. type: deftp
  23309. #: guix-git/doc/guix.texi:16211
  23310. #, no-wrap
  23311. msgid "{Data Type} network-manager-configuration"
  23312. msgstr ""
  23313. #. type: deftp
  23314. #: guix-git/doc/guix.texi:16213
  23315. msgid "Data type representing the configuration of NetworkManager."
  23316. msgstr ""
  23317. #. type: item
  23318. #: guix-git/doc/guix.texi:16215
  23319. #, no-wrap
  23320. msgid "@code{network-manager} (default: @code{network-manager})"
  23321. msgstr ""
  23322. #. type: table
  23323. #: guix-git/doc/guix.texi:16217
  23324. msgid "The NetworkManager package to use."
  23325. msgstr ""
  23326. #. type: item
  23327. #: guix-git/doc/guix.texi:16218
  23328. #, no-wrap
  23329. msgid "@code{dns} (default: @code{\"default\"})"
  23330. msgstr ""
  23331. #. type: table
  23332. #: guix-git/doc/guix.texi:16221
  23333. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  23334. msgstr ""
  23335. #. type: table
  23336. #: guix-git/doc/guix.texi:16226
  23337. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  23338. msgstr ""
  23339. #. type: item
  23340. #: guix-git/doc/guix.texi:16227
  23341. #, no-wrap
  23342. msgid "dnsmasq"
  23343. msgstr ""
  23344. #. type: table
  23345. #: guix-git/doc/guix.texi:16231
  23346. 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."
  23347. msgstr ""
  23348. #. type: table
  23349. #: guix-git/doc/guix.texi:16237
  23350. 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)."
  23351. msgstr ""
  23352. #. type: table
  23353. #: guix-git/doc/guix.texi:16244
  23354. 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:"
  23355. msgstr ""
  23356. #. type: example
  23357. #: guix-git/doc/guix.texi:16251
  23358. #, no-wrap
  23359. msgid ""
  23360. "nmcli connection add type tun \\\n"
  23361. " connection.interface-name tap0 \\\n"
  23362. " tun.mode tap tun.owner $(id -u) \\\n"
  23363. " ipv4.method shared \\\n"
  23364. " ipv4.addresses 172.28.112.1/24\n"
  23365. msgstr ""
  23366. #. type: table
  23367. #: guix-git/doc/guix.texi:16256
  23368. 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-...}."
  23369. msgstr ""
  23370. #. type: table
  23371. #: guix-git/doc/guix.texi:16259
  23372. msgid "NetworkManager will not modify @code{resolv.conf}."
  23373. msgstr ""
  23374. #. type: item
  23375. #: guix-git/doc/guix.texi:16261
  23376. #, no-wrap
  23377. msgid "@code{vpn-plugins} (default: @code{'()})"
  23378. msgstr ""
  23379. #. type: table
  23380. #: guix-git/doc/guix.texi:16265
  23381. 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."
  23382. msgstr ""
  23383. #. type: cindex
  23384. #: guix-git/doc/guix.texi:16269
  23385. #, no-wrap
  23386. msgid "Connman"
  23387. msgstr ""
  23388. #. type: deffn
  23389. #: guix-git/doc/guix.texi:16270
  23390. #, no-wrap
  23391. msgid "{Scheme Variable} connman-service-type"
  23392. msgstr ""
  23393. #. type: deffn
  23394. #: guix-git/doc/guix.texi:16273
  23395. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  23396. msgstr ""
  23397. #. type: deffn
  23398. #: guix-git/doc/guix.texi:16276
  23399. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  23400. msgstr ""
  23401. #. type: lisp
  23402. #: guix-git/doc/guix.texi:16281
  23403. #, no-wrap
  23404. msgid ""
  23405. "(service connman-service-type\n"
  23406. " (connman-configuration\n"
  23407. " (disable-vpn? #t)))\n"
  23408. msgstr ""
  23409. #. type: deffn
  23410. #: guix-git/doc/guix.texi:16284
  23411. msgid "See below for details about @code{connman-configuration}."
  23412. msgstr ""
  23413. #. type: deftp
  23414. #: guix-git/doc/guix.texi:16286
  23415. #, no-wrap
  23416. msgid "{Data Type} connman-configuration"
  23417. msgstr ""
  23418. #. type: deftp
  23419. #: guix-git/doc/guix.texi:16288
  23420. msgid "Data Type representing the configuration of connman."
  23421. msgstr ""
  23422. #. type: item
  23423. #: guix-git/doc/guix.texi:16290
  23424. #, no-wrap
  23425. msgid "@code{connman} (default: @var{connman})"
  23426. msgstr ""
  23427. #. type: table
  23428. #: guix-git/doc/guix.texi:16292
  23429. msgid "The connman package to use."
  23430. msgstr ""
  23431. #. type: item
  23432. #: guix-git/doc/guix.texi:16293
  23433. #, no-wrap
  23434. msgid "@code{disable-vpn?} (default: @code{#f})"
  23435. msgstr ""
  23436. #. type: table
  23437. #: guix-git/doc/guix.texi:16295
  23438. msgid "When true, disable connman's vpn plugin."
  23439. msgstr ""
  23440. #. type: cindex
  23441. #: guix-git/doc/guix.texi:16298
  23442. #, no-wrap
  23443. msgid "WPA Supplicant"
  23444. msgstr ""
  23445. #. type: defvr
  23446. #: guix-git/doc/guix.texi:16299
  23447. #, no-wrap
  23448. msgid "{Scheme Variable} wpa-supplicant-service-type"
  23449. msgstr ""
  23450. #. type: defvr
  23451. #: guix-git/doc/guix.texi:16303
  23452. 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."
  23453. msgstr ""
  23454. #. type: deftp
  23455. #: guix-git/doc/guix.texi:16305
  23456. #, no-wrap
  23457. msgid "{Data Type} wpa-supplicant-configuration"
  23458. msgstr ""
  23459. #. type: deftp
  23460. #: guix-git/doc/guix.texi:16307
  23461. msgid "Data type representing the configuration of WPA Supplicant."
  23462. msgstr ""
  23463. #. type: deftp
  23464. #: guix-git/doc/guix.texi:16309 guix-git/doc/guix.texi:30962
  23465. msgid "It takes the following parameters:"
  23466. msgstr ""
  23467. #. type: item
  23468. #: guix-git/doc/guix.texi:16311
  23469. #, no-wrap
  23470. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  23471. msgstr ""
  23472. #. type: table
  23473. #: guix-git/doc/guix.texi:16313
  23474. msgid "The WPA Supplicant package to use."
  23475. msgstr ""
  23476. #. type: item
  23477. #: guix-git/doc/guix.texi:16314
  23478. #, no-wrap
  23479. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  23480. msgstr ""
  23481. #. type: table
  23482. #: guix-git/doc/guix.texi:16316
  23483. msgid "List of services that should be started before WPA Supplicant starts."
  23484. msgstr ""
  23485. #. type: item
  23486. #: guix-git/doc/guix.texi:16317
  23487. #, no-wrap
  23488. msgid "@code{dbus?} (default: @code{#t})"
  23489. msgstr ""
  23490. #. type: table
  23491. #: guix-git/doc/guix.texi:16319
  23492. msgid "Whether to listen for requests on D-Bus."
  23493. msgstr ""
  23494. #. type: item
  23495. #: guix-git/doc/guix.texi:16320
  23496. #, no-wrap
  23497. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  23498. msgstr ""
  23499. #. type: table
  23500. #: guix-git/doc/guix.texi:16322
  23501. msgid "Where to store the PID file."
  23502. msgstr ""
  23503. #. type: item
  23504. #: guix-git/doc/guix.texi:16323 guix-git/doc/guix.texi:29407
  23505. #: guix-git/doc/guix.texi:29549
  23506. #, no-wrap
  23507. msgid "@code{interface} (default: @code{#f})"
  23508. msgstr ""
  23509. #. type: table
  23510. #: guix-git/doc/guix.texi:16326
  23511. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  23512. msgstr ""
  23513. #. type: table
  23514. #: guix-git/doc/guix.texi:16329
  23515. msgid "Optional configuration file to use."
  23516. msgstr ""
  23517. #. type: table
  23518. #: guix-git/doc/guix.texi:16332
  23519. msgid "List of additional command-line arguments to pass to the daemon."
  23520. msgstr ""
  23521. #. type: cindex
  23522. #: guix-git/doc/guix.texi:16335
  23523. #, no-wrap
  23524. msgid "hostapd service, for Wi-Fi access points"
  23525. msgstr ""
  23526. #. type: cindex
  23527. #: guix-git/doc/guix.texi:16336
  23528. #, no-wrap
  23529. msgid "Wi-Fi access points, hostapd service"
  23530. msgstr ""
  23531. #. type: defvr
  23532. #: guix-git/doc/guix.texi:16337
  23533. #, no-wrap
  23534. msgid "{Scheme Variable} hostapd-service-type"
  23535. msgstr ""
  23536. #. type: defvr
  23537. #: guix-git/doc/guix.texi:16342
  23538. 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:"
  23539. msgstr ""
  23540. #. type: lisp
  23541. #: guix-git/doc/guix.texi:16350
  23542. #, no-wrap
  23543. msgid ""
  23544. ";; Use wlan1 to run the access point for \"My Network\".\n"
  23545. "(service hostapd-service-type\n"
  23546. " (hostapd-configuration\n"
  23547. " (interface \"wlan1\")\n"
  23548. " (ssid \"My Network\")\n"
  23549. " (channel 12)))\n"
  23550. msgstr ""
  23551. #. type: deftp
  23552. #: guix-git/doc/guix.texi:16353
  23553. #, no-wrap
  23554. msgid "{Data Type} hostapd-configuration"
  23555. msgstr ""
  23556. #. type: deftp
  23557. #: guix-git/doc/guix.texi:16356
  23558. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  23559. msgstr ""
  23560. #. type: item
  23561. #: guix-git/doc/guix.texi:16358
  23562. #, no-wrap
  23563. msgid "@code{package} (default: @code{hostapd})"
  23564. msgstr ""
  23565. #. type: table
  23566. #: guix-git/doc/guix.texi:16360
  23567. msgid "The hostapd package to use."
  23568. msgstr ""
  23569. #. type: item
  23570. #: guix-git/doc/guix.texi:16361
  23571. #, no-wrap
  23572. msgid "@code{interface} (default: @code{\"wlan0\"})"
  23573. msgstr ""
  23574. #. type: table
  23575. #: guix-git/doc/guix.texi:16363
  23576. msgid "The network interface to run the WiFi access point."
  23577. msgstr ""
  23578. #. type: code{#1}
  23579. #: guix-git/doc/guix.texi:16364
  23580. #, no-wrap
  23581. msgid "ssid"
  23582. msgstr ""
  23583. #. type: table
  23584. #: guix-git/doc/guix.texi:16367
  23585. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  23586. msgstr ""
  23587. #. type: item
  23588. #: guix-git/doc/guix.texi:16368
  23589. #, no-wrap
  23590. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  23591. msgstr ""
  23592. #. type: table
  23593. #: guix-git/doc/guix.texi:16370
  23594. msgid "Whether to broadcast this SSID."
  23595. msgstr ""
  23596. #. type: item
  23597. #: guix-git/doc/guix.texi:16371
  23598. #, no-wrap
  23599. msgid "@code{channel} (default: @code{1})"
  23600. msgstr ""
  23601. #. type: table
  23602. #: guix-git/doc/guix.texi:16373
  23603. msgid "The WiFi channel to use."
  23604. msgstr ""
  23605. #. type: item
  23606. #: guix-git/doc/guix.texi:16374
  23607. #, no-wrap
  23608. msgid "@code{driver} (default: @code{\"nl80211\"})"
  23609. msgstr ""
  23610. #. type: table
  23611. #: guix-git/doc/guix.texi:16378
  23612. 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."
  23613. msgstr ""
  23614. #. type: item
  23615. #: guix-git/doc/guix.texi:16379 guix-git/doc/guix.texi:22248
  23616. #: guix-git/doc/guix.texi:25098
  23617. #, no-wrap
  23618. msgid "@code{extra-settings} (default: @code{\"\"})"
  23619. msgstr ""
  23620. #. type: table
  23621. #: guix-git/doc/guix.texi:16383
  23622. 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."
  23623. msgstr ""
  23624. #. type: defvr
  23625. #: guix-git/doc/guix.texi:16386
  23626. #, no-wrap
  23627. msgid "{Scheme Variable} simulated-wifi-service-type"
  23628. msgstr ""
  23629. #. type: defvr
  23630. #: guix-git/doc/guix.texi:16393
  23631. 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."
  23632. msgstr ""
  23633. #. type: defvr
  23634. #: guix-git/doc/guix.texi:16395
  23635. msgid "The service's value is a @code{hostapd-configuration} record."
  23636. msgstr ""
  23637. #. type: cindex
  23638. #: guix-git/doc/guix.texi:16397
  23639. #, no-wrap
  23640. msgid "iptables"
  23641. msgstr ""
  23642. #. type: defvr
  23643. #: guix-git/doc/guix.texi:16398
  23644. #, no-wrap
  23645. msgid "{Scheme Variable} iptables-service-type"
  23646. msgstr ""
  23647. #. type: defvr
  23648. #: guix-git/doc/guix.texi:16404
  23649. 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."
  23650. msgstr ""
  23651. #. type: lisp
  23652. #: guix-git/doc/guix.texi:16424
  23653. #, no-wrap
  23654. msgid ""
  23655. "(service iptables-service-type\n"
  23656. " (iptables-configuration\n"
  23657. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  23658. ":INPUT ACCEPT\n"
  23659. ":FORWARD ACCEPT\n"
  23660. ":OUTPUT ACCEPT\n"
  23661. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  23662. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  23663. "COMMIT\n"
  23664. "\"))\n"
  23665. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  23666. ":INPUT ACCEPT\n"
  23667. ":FORWARD ACCEPT\n"
  23668. ":OUTPUT ACCEPT\n"
  23669. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  23670. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  23671. "COMMIT\n"
  23672. "\"))))\n"
  23673. msgstr ""
  23674. #. type: deftp
  23675. #: guix-git/doc/guix.texi:16427
  23676. #, no-wrap
  23677. msgid "{Data Type} iptables-configuration"
  23678. msgstr ""
  23679. #. type: deftp
  23680. #: guix-git/doc/guix.texi:16429
  23681. msgid "The data type representing the configuration of iptables."
  23682. msgstr ""
  23683. #. type: item
  23684. #: guix-git/doc/guix.texi:16431
  23685. #, no-wrap
  23686. msgid "@code{iptables} (default: @code{iptables})"
  23687. msgstr ""
  23688. #. type: table
  23689. #: guix-git/doc/guix.texi:16434
  23690. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  23691. msgstr ""
  23692. #. type: item
  23693. #: guix-git/doc/guix.texi:16434
  23694. #, no-wrap
  23695. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  23696. msgstr ""
  23697. #. type: table
  23698. #: guix-git/doc/guix.texi:16438
  23699. 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})."
  23700. msgstr ""
  23701. #. type: item
  23702. #: guix-git/doc/guix.texi:16438
  23703. #, no-wrap
  23704. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  23705. msgstr ""
  23706. #. type: table
  23707. #: guix-git/doc/guix.texi:16442
  23708. 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})."
  23709. msgstr ""
  23710. #. type: cindex
  23711. #: guix-git/doc/guix.texi:16445
  23712. #, no-wrap
  23713. msgid "nftables"
  23714. msgstr ""
  23715. #. type: defvr
  23716. #: guix-git/doc/guix.texi:16446
  23717. #, no-wrap
  23718. msgid "{Scheme Variable} nftables-service-type"
  23719. msgstr ""
  23720. #. type: defvr
  23721. #: guix-git/doc/guix.texi:16454
  23722. 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:"
  23723. msgstr ""
  23724. #. type: lisp
  23725. #: guix-git/doc/guix.texi:16457
  23726. #, no-wrap
  23727. msgid "(service nftables-service-type)\n"
  23728. msgstr ""
  23729. #. type: deftp
  23730. #: guix-git/doc/guix.texi:16460
  23731. #, no-wrap
  23732. msgid "{Data Type} nftables-configuration"
  23733. msgstr ""
  23734. #. type: deftp
  23735. #: guix-git/doc/guix.texi:16462
  23736. msgid "The data type representing the configuration of nftables."
  23737. msgstr ""
  23738. #. type: item
  23739. #: guix-git/doc/guix.texi:16464
  23740. #, no-wrap
  23741. msgid "@code{package} (default: @code{nftables})"
  23742. msgstr ""
  23743. #. type: table
  23744. #: guix-git/doc/guix.texi:16466
  23745. msgid "The nftables package that provides @command{nft}."
  23746. msgstr ""
  23747. #. type: item
  23748. #: guix-git/doc/guix.texi:16466
  23749. #, no-wrap
  23750. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  23751. msgstr ""
  23752. #. type: table
  23753. #: guix-git/doc/guix.texi:16469
  23754. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  23755. msgstr ""
  23756. #. type: cindex
  23757. #: guix-git/doc/guix.texi:16472
  23758. #, no-wrap
  23759. msgid "NTP (Network Time Protocol), service"
  23760. msgstr ""
  23761. #. type: cindex
  23762. #: guix-git/doc/guix.texi:16473
  23763. #, no-wrap
  23764. msgid "ntpd, service for the Network Time Protocol daemon"
  23765. msgstr ""
  23766. #. type: cindex
  23767. #: guix-git/doc/guix.texi:16474
  23768. #, no-wrap
  23769. msgid "real time clock"
  23770. msgstr ""
  23771. #. type: defvr
  23772. #: guix-git/doc/guix.texi:16475
  23773. #, no-wrap
  23774. msgid "{Scheme Variable} ntp-service-type"
  23775. msgstr ""
  23776. #. type: defvr
  23777. #: guix-git/doc/guix.texi:16479
  23778. 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."
  23779. msgstr ""
  23780. #. type: defvr
  23781. #: guix-git/doc/guix.texi:16482
  23782. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  23783. msgstr ""
  23784. #. type: deftp
  23785. #: guix-git/doc/guix.texi:16484
  23786. #, no-wrap
  23787. msgid "{Data Type} ntp-configuration"
  23788. msgstr ""
  23789. #. type: deftp
  23790. #: guix-git/doc/guix.texi:16486
  23791. msgid "This is the data type for the NTP service configuration."
  23792. msgstr ""
  23793. #. type: item
  23794. #: guix-git/doc/guix.texi:16488
  23795. #, no-wrap
  23796. msgid "@code{servers} (default: @code{%ntp-servers})"
  23797. msgstr ""
  23798. #. type: table
  23799. #: guix-git/doc/guix.texi:16492
  23800. 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."
  23801. msgstr ""
  23802. #. type: item
  23803. #: guix-git/doc/guix.texi:16493
  23804. #, no-wrap
  23805. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  23806. msgstr ""
  23807. #. type: table
  23808. #: guix-git/doc/guix.texi:16496
  23809. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  23810. msgstr ""
  23811. #. type: item
  23812. #: guix-git/doc/guix.texi:16497
  23813. #, no-wrap
  23814. msgid "@code{ntp} (default: @code{ntp})"
  23815. msgstr ""
  23816. #. type: table
  23817. #: guix-git/doc/guix.texi:16499
  23818. msgid "The NTP package to use."
  23819. msgstr ""
  23820. #. type: defvr
  23821. #: guix-git/doc/guix.texi:16502
  23822. #, no-wrap
  23823. msgid "{Scheme Variable} %ntp-servers"
  23824. msgstr ""
  23825. #. type: defvr
  23826. #: guix-git/doc/guix.texi:16505
  23827. 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}."
  23828. msgstr ""
  23829. #. type: deftp
  23830. #: guix-git/doc/guix.texi:16507
  23831. #, no-wrap
  23832. msgid "{Data Type} ntp-server"
  23833. msgstr ""
  23834. #. type: deftp
  23835. #: guix-git/doc/guix.texi:16509
  23836. msgid "The data type representing the configuration of a NTP server."
  23837. msgstr ""
  23838. #. type: item
  23839. #: guix-git/doc/guix.texi:16511
  23840. #, no-wrap
  23841. msgid "@code{type} (default: @code{'server})"
  23842. msgstr ""
  23843. #. type: table
  23844. #: guix-git/doc/guix.texi:16514
  23845. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  23846. msgstr ""
  23847. #. type: code{#1}
  23848. #: guix-git/doc/guix.texi:16515
  23849. #, no-wrap
  23850. msgid "address"
  23851. msgstr "주소"
  23852. #. type: table
  23853. #: guix-git/doc/guix.texi:16517
  23854. msgid "The address of the server, as a string."
  23855. msgstr ""
  23856. #. type: code{#1}
  23857. #: guix-git/doc/guix.texi:16518 guix-git/doc/guix.texi:31708
  23858. #: guix-git/doc/guix.texi:31728
  23859. #, no-wrap
  23860. msgid "options"
  23861. msgstr "선택"
  23862. #. type: table
  23863. #: guix-git/doc/guix.texi:16523
  23864. 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."
  23865. msgstr ""
  23866. #. type: example
  23867. #: guix-git/doc/guix.texi:16529
  23868. #, no-wrap
  23869. msgid ""
  23870. "(ntp-server\n"
  23871. " (type 'server)\n"
  23872. " (address \"some.ntp.server.org\")\n"
  23873. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  23874. msgstr ""
  23875. #. type: cindex
  23876. #: guix-git/doc/guix.texi:16533
  23877. #, no-wrap
  23878. msgid "OpenNTPD"
  23879. msgstr ""
  23880. #. type: deffn
  23881. #: guix-git/doc/guix.texi:16534
  23882. #, no-wrap
  23883. msgid "{Scheme Procedure} openntpd-service-type"
  23884. msgstr ""
  23885. #. type: deffn
  23886. #: guix-git/doc/guix.texi:16538
  23887. 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."
  23888. msgstr ""
  23889. #. type: lisp
  23890. #: guix-git/doc/guix.texi:16547
  23891. #, no-wrap
  23892. msgid ""
  23893. "(service\n"
  23894. " openntpd-service-type\n"
  23895. " (openntpd-configuration\n"
  23896. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  23897. " (sensor '(\"udcf0 correction 70000\"))\n"
  23898. " (constraint-from '(\"www.gnu.org\"))\n"
  23899. " (constraints-from '(\"https://www.google.com/\"))))\n"
  23900. "\n"
  23901. msgstr ""
  23902. #. type: defvr
  23903. #: guix-git/doc/guix.texi:16551
  23904. #, no-wrap
  23905. msgid "{Scheme Variable} %openntpd-servers"
  23906. msgstr ""
  23907. #. type: defvr
  23908. #: guix-git/doc/guix.texi:16554
  23909. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  23910. msgstr ""
  23911. #. type: deftp
  23912. #: guix-git/doc/guix.texi:16556
  23913. #, no-wrap
  23914. msgid "{Data Type} openntpd-configuration"
  23915. msgstr ""
  23916. #. type: item
  23917. #: guix-git/doc/guix.texi:16558
  23918. #, no-wrap
  23919. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  23920. msgstr ""
  23921. #. type: table
  23922. #: guix-git/doc/guix.texi:16560
  23923. msgid "The openntpd executable to use."
  23924. msgstr ""
  23925. #. type: item
  23926. #: guix-git/doc/guix.texi:16560
  23927. #, no-wrap
  23928. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  23929. msgstr ""
  23930. #. type: table
  23931. #: guix-git/doc/guix.texi:16562
  23932. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  23933. msgstr ""
  23934. #. type: item
  23935. #: guix-git/doc/guix.texi:16562
  23936. #, no-wrap
  23937. msgid "@code{query-from} (default: @code{'()})"
  23938. msgstr ""
  23939. #. type: table
  23940. #: guix-git/doc/guix.texi:16564
  23941. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  23942. msgstr ""
  23943. #. type: item
  23944. #: guix-git/doc/guix.texi:16564
  23945. #, no-wrap
  23946. msgid "@code{sensor} (default: @code{'()})"
  23947. msgstr ""
  23948. #. type: table
  23949. #: guix-git/doc/guix.texi:16569
  23950. 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."
  23951. msgstr ""
  23952. #. type: item
  23953. #: guix-git/doc/guix.texi:16569
  23954. #, no-wrap
  23955. msgid "@code{server} (default: @code{'()})"
  23956. msgstr ""
  23957. #. type: table
  23958. #: guix-git/doc/guix.texi:16571
  23959. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  23960. msgstr ""
  23961. #. type: item
  23962. #: guix-git/doc/guix.texi:16571
  23963. #, no-wrap
  23964. msgid "@code{servers} (default: @code{%openntp-servers})"
  23965. msgstr ""
  23966. #. type: table
  23967. #: guix-git/doc/guix.texi:16573
  23968. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  23969. msgstr ""
  23970. #. type: item
  23971. #: guix-git/doc/guix.texi:16573
  23972. #, no-wrap
  23973. msgid "@code{constraint-from} (default: @code{'()})"
  23974. msgstr ""
  23975. #. type: table
  23976. #: guix-git/doc/guix.texi:16580
  23977. 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."
  23978. msgstr ""
  23979. #. type: item
  23980. #: guix-git/doc/guix.texi:16580
  23981. #, no-wrap
  23982. msgid "@code{constraints-from} (default: @code{'()})"
  23983. msgstr ""
  23984. #. type: table
  23985. #: guix-git/doc/guix.texi:16584
  23986. 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."
  23987. msgstr ""
  23988. #. type: cindex
  23989. #: guix-git/doc/guix.texi:16587
  23990. #, no-wrap
  23991. msgid "inetd"
  23992. msgstr ""
  23993. #. type: deffn
  23994. #: guix-git/doc/guix.texi:16588
  23995. #, no-wrap
  23996. msgid "{Scheme variable} inetd-service-type"
  23997. msgstr ""
  23998. #. type: deffn
  23999. #: guix-git/doc/guix.texi:16593
  24000. 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."
  24001. msgstr ""
  24002. #. type: deffn
  24003. #: guix-git/doc/guix.texi:16599
  24004. 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}:"
  24005. msgstr ""
  24006. #. type: lisp
  24007. #: guix-git/doc/guix.texi:16622
  24008. #, no-wrap
  24009. msgid ""
  24010. "(service\n"
  24011. " inetd-service-type\n"
  24012. " (inetd-configuration\n"
  24013. " (entries (list\n"
  24014. " (inetd-entry\n"
  24015. " (name \"echo\")\n"
  24016. " (socket-type 'stream)\n"
  24017. " (protocol \"tcp\")\n"
  24018. " (wait? #f)\n"
  24019. " (user \"root\"))\n"
  24020. " (inetd-entry\n"
  24021. " (node \"127.0.0.1\")\n"
  24022. " (name \"smtp\")\n"
  24023. " (socket-type 'stream)\n"
  24024. " (protocol \"tcp\")\n"
  24025. " (wait? #f)\n"
  24026. " (user \"root\")\n"
  24027. " (program (file-append openssh \"/bin/ssh\"))\n"
  24028. " (arguments\n"
  24029. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  24030. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  24031. msgstr ""
  24032. #. type: deffn
  24033. #: guix-git/doc/guix.texi:16625
  24034. msgid "See below for more details about @code{inetd-configuration}."
  24035. msgstr ""
  24036. #. type: deftp
  24037. #: guix-git/doc/guix.texi:16627
  24038. #, no-wrap
  24039. msgid "{Data Type} inetd-configuration"
  24040. msgstr ""
  24041. #. type: deftp
  24042. #: guix-git/doc/guix.texi:16629
  24043. msgid "Data type representing the configuration of @command{inetd}."
  24044. msgstr ""
  24045. #. type: item
  24046. #: guix-git/doc/guix.texi:16631
  24047. #, no-wrap
  24048. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  24049. msgstr ""
  24050. #. type: table
  24051. #: guix-git/doc/guix.texi:16633
  24052. msgid "The @command{inetd} executable to use."
  24053. msgstr ""
  24054. #. type: item
  24055. #: guix-git/doc/guix.texi:16634 guix-git/doc/guix.texi:25932
  24056. #, no-wrap
  24057. msgid "@code{entries} (default: @code{'()})"
  24058. msgstr ""
  24059. #. type: table
  24060. #: guix-git/doc/guix.texi:16637
  24061. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  24062. msgstr ""
  24063. #. type: deftp
  24064. #: guix-git/doc/guix.texi:16640
  24065. #, no-wrap
  24066. msgid "{Data Type} inetd-entry"
  24067. msgstr ""
  24068. #. type: deftp
  24069. #: guix-git/doc/guix.texi:16644
  24070. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  24071. msgstr ""
  24072. #. type: item
  24073. #: guix-git/doc/guix.texi:16646
  24074. #, no-wrap
  24075. msgid "@code{node} (default: @code{#f})"
  24076. msgstr ""
  24077. #. type: table
  24078. #: guix-git/doc/guix.texi:16651
  24079. 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."
  24080. msgstr ""
  24081. #. type: table
  24082. #: guix-git/doc/guix.texi:16653
  24083. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24084. msgstr ""
  24085. #. type: code{#1}
  24086. #: guix-git/doc/guix.texi:16653
  24087. #, no-wrap
  24088. msgid "socket-type"
  24089. msgstr ""
  24090. #. type: table
  24091. #: guix-git/doc/guix.texi:16656
  24092. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24093. msgstr ""
  24094. #. type: code{#1}
  24095. #: guix-git/doc/guix.texi:16656
  24096. #, no-wrap
  24097. msgid "protocol"
  24098. msgstr "통신규약"
  24099. #. type: table
  24100. #: guix-git/doc/guix.texi:16658
  24101. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24102. msgstr ""
  24103. #. type: item
  24104. #: guix-git/doc/guix.texi:16658
  24105. #, no-wrap
  24106. msgid "@code{wait?} (default: @code{#t})"
  24107. msgstr ""
  24108. #. type: table
  24109. #: guix-git/doc/guix.texi:16661
  24110. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24111. msgstr ""
  24112. #. type: table
  24113. #: guix-git/doc/guix.texi:16666
  24114. 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\"}."
  24115. msgstr ""
  24116. #. type: item
  24117. #: guix-git/doc/guix.texi:16666
  24118. #, no-wrap
  24119. msgid "@code{program} (default: @code{\"internal\"})"
  24120. msgstr ""
  24121. #. type: table
  24122. #: guix-git/doc/guix.texi:16669
  24123. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24124. msgstr ""
  24125. #. type: table
  24126. #: guix-git/doc/guix.texi:16674
  24127. 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\")}."
  24128. msgstr ""
  24129. #. type: deftp
  24130. #: guix-git/doc/guix.texi:16678
  24131. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24132. msgstr ""
  24133. #. type: cindex
  24134. #: guix-git/doc/guix.texi:16680
  24135. #, no-wrap
  24136. msgid "Tor"
  24137. msgstr ""
  24138. #. type: defvr
  24139. #: guix-git/doc/guix.texi:16681
  24140. #, no-wrap
  24141. msgid "{Scheme Variable} tor-service-type"
  24142. msgstr ""
  24143. #. type: defvr
  24144. #: guix-git/doc/guix.texi:16686
  24145. 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."
  24146. msgstr ""
  24147. #. type: deftp
  24148. #: guix-git/doc/guix.texi:16689
  24149. #, no-wrap
  24150. msgid "{Data Type} tor-configuration"
  24151. msgstr ""
  24152. #. type: item
  24153. #: guix-git/doc/guix.texi:16691
  24154. #, no-wrap
  24155. msgid "@code{tor} (default: @code{tor})"
  24156. msgstr ""
  24157. #. type: table
  24158. #: guix-git/doc/guix.texi:16696
  24159. 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."
  24160. msgstr ""
  24161. #. type: item
  24162. #: guix-git/doc/guix.texi:16697
  24163. #, no-wrap
  24164. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  24165. msgstr ""
  24166. #. type: table
  24167. #: guix-git/doc/guix.texi:16703
  24168. 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."
  24169. msgstr ""
  24170. #. type: item
  24171. #: guix-git/doc/guix.texi:16704
  24172. #, no-wrap
  24173. msgid "@code{hidden-services} (default: @code{'()})"
  24174. msgstr ""
  24175. #. type: table
  24176. #: guix-git/doc/guix.texi:16710
  24177. 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."
  24178. msgstr ""
  24179. #. type: item
  24180. #: guix-git/doc/guix.texi:16711
  24181. #, no-wrap
  24182. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  24183. msgstr ""
  24184. #. type: table
  24185. #: guix-git/doc/guix.texi:16718
  24186. 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."
  24187. msgstr ""
  24188. #. type: table
  24189. #: guix-git/doc/guix.texi:16723
  24190. 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."
  24191. msgstr ""
  24192. #. type: item
  24193. #: guix-git/doc/guix.texi:16724
  24194. #, no-wrap
  24195. msgid "@code{control-socket?} (default: @code{#f})"
  24196. msgstr ""
  24197. #. type: table
  24198. #: guix-git/doc/guix.texi:16730
  24199. 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."
  24200. msgstr ""
  24201. #. type: cindex
  24202. #: guix-git/doc/guix.texi:16734
  24203. #, no-wrap
  24204. msgid "hidden service"
  24205. msgstr ""
  24206. #. type: deffn
  24207. #: guix-git/doc/guix.texi:16735
  24208. #, no-wrap
  24209. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  24210. msgstr ""
  24211. #. type: deffn
  24212. #: guix-git/doc/guix.texi:16738
  24213. 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:"
  24214. msgstr ""
  24215. #. type: example
  24216. #: guix-git/doc/guix.texi:16742
  24217. #, no-wrap
  24218. msgid ""
  24219. " '((22 \"127.0.0.1:22\")\n"
  24220. " (80 \"127.0.0.1:8080\"))\n"
  24221. msgstr ""
  24222. #. type: deffn
  24223. #: guix-git/doc/guix.texi:16746
  24224. 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."
  24225. msgstr ""
  24226. #. type: deffn
  24227. #: guix-git/doc/guix.texi:16750
  24228. 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."
  24229. msgstr ""
  24230. #. type: deffn
  24231. #: guix-git/doc/guix.texi:16753
  24232. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  24233. msgstr ""
  24234. #. type: Plain text
  24235. #: guix-git/doc/guix.texi:16756
  24236. msgid "The @code{(gnu services rsync)} module provides the following services:"
  24237. msgstr ""
  24238. #. type: Plain text
  24239. #: guix-git/doc/guix.texi:16760
  24240. 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."
  24241. msgstr ""
  24242. #. type: deffn
  24243. #: guix-git/doc/guix.texi:16761
  24244. #, no-wrap
  24245. msgid "{Scheme Variable} rsync-service-type"
  24246. msgstr ""
  24247. #. type: deffn
  24248. #: guix-git/doc/guix.texi:16765
  24249. 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:"
  24250. msgstr ""
  24251. #. type: lisp
  24252. #: guix-git/doc/guix.texi:16768
  24253. #, no-wrap
  24254. msgid "(service rsync-service-type)\n"
  24255. msgstr ""
  24256. #. type: deffn
  24257. #: guix-git/doc/guix.texi:16771
  24258. msgid "See below for details about @code{rsync-configuration}."
  24259. msgstr ""
  24260. #. type: deftp
  24261. #: guix-git/doc/guix.texi:16773
  24262. #, no-wrap
  24263. msgid "{Data Type} rsync-configuration"
  24264. msgstr ""
  24265. #. type: deftp
  24266. #: guix-git/doc/guix.texi:16775
  24267. msgid "Data type representing the configuration for @code{rsync-service}."
  24268. msgstr ""
  24269. #. type: item
  24270. #: guix-git/doc/guix.texi:16777
  24271. #, no-wrap
  24272. msgid "@code{package} (default: @var{rsync})"
  24273. msgstr ""
  24274. #. type: table
  24275. #: guix-git/doc/guix.texi:16779
  24276. msgid "@code{rsync} package to use."
  24277. msgstr ""
  24278. #. type: item
  24279. #: guix-git/doc/guix.texi:16780
  24280. #, no-wrap
  24281. msgid "@code{port-number} (default: @code{873})"
  24282. msgstr ""
  24283. #. type: table
  24284. #: guix-git/doc/guix.texi:16784
  24285. 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."
  24286. msgstr ""
  24287. #. type: item
  24288. #: guix-git/doc/guix.texi:16785
  24289. #, no-wrap
  24290. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  24291. msgstr ""
  24292. #. type: table
  24293. #: guix-git/doc/guix.texi:16787
  24294. msgid "Name of the file where @command{rsync} writes its PID."
  24295. msgstr ""
  24296. #. type: item
  24297. #: guix-git/doc/guix.texi:16788
  24298. #, no-wrap
  24299. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  24300. msgstr ""
  24301. #. type: table
  24302. #: guix-git/doc/guix.texi:16790
  24303. msgid "Name of the file where @command{rsync} writes its lock file."
  24304. msgstr ""
  24305. #. type: item
  24306. #: guix-git/doc/guix.texi:16791
  24307. #, no-wrap
  24308. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  24309. msgstr ""
  24310. #. type: table
  24311. #: guix-git/doc/guix.texi:16793
  24312. msgid "Name of the file where @command{rsync} writes its log file."
  24313. msgstr ""
  24314. #. type: item
  24315. #: guix-git/doc/guix.texi:16794
  24316. #, no-wrap
  24317. msgid "@code{use-chroot?} (default: @var{#t})"
  24318. msgstr ""
  24319. #. type: table
  24320. #: guix-git/doc/guix.texi:16796
  24321. msgid "Whether to use chroot for @command{rsync} shared directory."
  24322. msgstr ""
  24323. #. type: item
  24324. #: guix-git/doc/guix.texi:16797
  24325. #, no-wrap
  24326. msgid "@code{share-path} (default: @file{/srv/rsync})"
  24327. msgstr ""
  24328. #. type: table
  24329. #: guix-git/doc/guix.texi:16799
  24330. msgid "Location of the @command{rsync} shared directory."
  24331. msgstr ""
  24332. #. type: item
  24333. #: guix-git/doc/guix.texi:16800
  24334. #, no-wrap
  24335. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  24336. msgstr ""
  24337. #. type: table
  24338. #: guix-git/doc/guix.texi:16802
  24339. msgid "Comment of the @command{rsync} shared directory."
  24340. msgstr ""
  24341. #. type: item
  24342. #: guix-git/doc/guix.texi:16803
  24343. #, no-wrap
  24344. msgid "@code{read-only?} (default: @var{#f})"
  24345. msgstr ""
  24346. #. type: table
  24347. #: guix-git/doc/guix.texi:16805
  24348. msgid "Read-write permissions to shared directory."
  24349. msgstr ""
  24350. #. type: item
  24351. #: guix-git/doc/guix.texi:16806
  24352. #, no-wrap
  24353. msgid "@code{timeout} (default: @code{300})"
  24354. msgstr ""
  24355. #. type: table
  24356. #: guix-git/doc/guix.texi:16808
  24357. msgid "I/O timeout in seconds."
  24358. msgstr ""
  24359. #. type: item
  24360. #: guix-git/doc/guix.texi:16809
  24361. #, no-wrap
  24362. msgid "@code{user} (default: @var{\"root\"})"
  24363. msgstr ""
  24364. #. type: table
  24365. #: guix-git/doc/guix.texi:16811
  24366. msgid "Owner of the @code{rsync} process."
  24367. msgstr ""
  24368. #. type: item
  24369. #: guix-git/doc/guix.texi:16812
  24370. #, no-wrap
  24371. msgid "@code{group} (default: @var{\"root\"})"
  24372. msgstr ""
  24373. #. type: table
  24374. #: guix-git/doc/guix.texi:16814
  24375. msgid "Group of the @code{rsync} process."
  24376. msgstr ""
  24377. #. type: item
  24378. #: guix-git/doc/guix.texi:16815
  24379. #, no-wrap
  24380. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  24381. msgstr ""
  24382. #. type: table
  24383. #: guix-git/doc/guix.texi:16818
  24384. 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}."
  24385. msgstr ""
  24386. #. type: item
  24387. #: guix-git/doc/guix.texi:16819
  24388. #, no-wrap
  24389. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  24390. msgstr ""
  24391. #. type: table
  24392. #: guix-git/doc/guix.texi:16821 guix-git/doc/guix.texi:17264
  24393. msgid "Group name or group ID that will be used when accessing the module."
  24394. msgstr ""
  24395. #. type: Plain text
  24396. #: guix-git/doc/guix.texi:16826
  24397. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  24398. msgstr ""
  24399. #. type: cindex
  24400. #: guix-git/doc/guix.texi:16826
  24401. #, no-wrap
  24402. msgid "syncthing"
  24403. msgstr ""
  24404. #. type: Plain text
  24405. #: guix-git/doc/guix.texi:16831
  24406. 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."
  24407. msgstr ""
  24408. #. type: deffn
  24409. #: guix-git/doc/guix.texi:16832
  24410. #, no-wrap
  24411. msgid "{Scheme Variable} syncthing-service-type"
  24412. msgstr ""
  24413. #. type: deffn
  24414. #: guix-git/doc/guix.texi:16836
  24415. 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:"
  24416. msgstr ""
  24417. #. type: lisp
  24418. #: guix-git/doc/guix.texi:16840
  24419. #, no-wrap
  24420. msgid ""
  24421. "(service syncthing-service-type\n"
  24422. " (syncthing-configuration (user \"alice\")))\n"
  24423. msgstr ""
  24424. #. type: deffn
  24425. #: guix-git/doc/guix.texi:16843
  24426. msgid "See below for details about @code{syncthing-configuration}."
  24427. msgstr ""
  24428. #. type: deftp
  24429. #: guix-git/doc/guix.texi:16844
  24430. #, no-wrap
  24431. msgid "{Data Type} syncthing-configuration"
  24432. msgstr ""
  24433. #. type: deftp
  24434. #: guix-git/doc/guix.texi:16846
  24435. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  24436. msgstr ""
  24437. #. type: item
  24438. #: guix-git/doc/guix.texi:16848
  24439. #, no-wrap
  24440. msgid "@code{syncthing} (default: @var{syncthing})"
  24441. msgstr ""
  24442. #. type: table
  24443. #: guix-git/doc/guix.texi:16850
  24444. msgid "@code{syncthing} package to use."
  24445. msgstr ""
  24446. #. type: item
  24447. #: guix-git/doc/guix.texi:16851
  24448. #, no-wrap
  24449. msgid "@code{arguments} (default: @var{'()})"
  24450. msgstr ""
  24451. #. type: table
  24452. #: guix-git/doc/guix.texi:16853
  24453. msgid "List of command-line arguments passing to @code{syncthing} binary."
  24454. msgstr ""
  24455. #. type: item
  24456. #: guix-git/doc/guix.texi:16854
  24457. #, no-wrap
  24458. msgid "@code{logflags} (default: @var{0})"
  24459. msgstr ""
  24460. #. type: table
  24461. #: guix-git/doc/guix.texi:16857
  24462. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  24463. msgstr ""
  24464. #. type: item
  24465. #: guix-git/doc/guix.texi:16858
  24466. #, no-wrap
  24467. msgid "@code{user} (default: @var{#f})"
  24468. msgstr ""
  24469. #. type: table
  24470. #: guix-git/doc/guix.texi:16861
  24471. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  24472. msgstr ""
  24473. #. type: item
  24474. #: guix-git/doc/guix.texi:16862
  24475. #, no-wrap
  24476. msgid "@code{group} (default: @var{\"users\"})"
  24477. msgstr ""
  24478. #. type: table
  24479. #: guix-git/doc/guix.texi:16865
  24480. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  24481. msgstr ""
  24482. #. type: item
  24483. #: guix-git/doc/guix.texi:16866
  24484. #, no-wrap
  24485. msgid "@code{home} (default: @var{#f})"
  24486. msgstr ""
  24487. #. type: table
  24488. #: guix-git/doc/guix.texi:16869
  24489. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  24490. msgstr ""
  24491. #. type: Plain text
  24492. #: guix-git/doc/guix.texi:16875
  24493. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  24494. msgstr ""
  24495. #. type: cindex
  24496. #: guix-git/doc/guix.texi:16875 guix-git/doc/guix.texi:16914
  24497. #: guix-git/doc/guix.texi:33575
  24498. #, no-wrap
  24499. msgid "SSH"
  24500. msgstr ""
  24501. #. type: cindex
  24502. #: guix-git/doc/guix.texi:16876 guix-git/doc/guix.texi:16915
  24503. #: guix-git/doc/guix.texi:33576
  24504. #, no-wrap
  24505. msgid "SSH server"
  24506. msgstr ""
  24507. #. type: deffn
  24508. #: guix-git/doc/guix.texi:16878
  24509. #, no-wrap
  24510. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  24511. msgstr ""
  24512. #. type: deffn
  24513. #: guix-git/doc/guix.texi:16887
  24514. 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."
  24515. msgstr ""
  24516. #. type: deffn
  24517. #: guix-git/doc/guix.texi:16893
  24518. 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}."
  24519. msgstr ""
  24520. #. type: deffn
  24521. #: guix-git/doc/guix.texi:16897
  24522. 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."
  24523. msgstr ""
  24524. #. type: deffn
  24525. #: guix-git/doc/guix.texi:16902
  24526. 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})."
  24527. msgstr ""
  24528. #. type: deffn
  24529. #: guix-git/doc/guix.texi:16906
  24530. 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."
  24531. msgstr ""
  24532. #. type: deffn
  24533. #: guix-git/doc/guix.texi:16910
  24534. 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."
  24535. msgstr ""
  24536. #. type: deffn
  24537. #: guix-git/doc/guix.texi:16912
  24538. msgid "The other options should be self-descriptive."
  24539. msgstr ""
  24540. #. type: deffn
  24541. #: guix-git/doc/guix.texi:16916
  24542. #, no-wrap
  24543. msgid "{Scheme Variable} openssh-service-type"
  24544. msgstr ""
  24545. #. type: deffn
  24546. #: guix-git/doc/guix.texi:16920
  24547. 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:"
  24548. msgstr ""
  24549. #. type: lisp
  24550. #: guix-git/doc/guix.texi:16929
  24551. #, no-wrap
  24552. msgid ""
  24553. "(service openssh-service-type\n"
  24554. " (openssh-configuration\n"
  24555. " (x11-forwarding? #t)\n"
  24556. " (permit-root-login 'without-password)\n"
  24557. " (authorized-keys\n"
  24558. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  24559. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  24560. msgstr ""
  24561. #. type: deffn
  24562. #: guix-git/doc/guix.texi:16932
  24563. msgid "See below for details about @code{openssh-configuration}."
  24564. msgstr ""
  24565. #. type: deffn
  24566. #: guix-git/doc/guix.texi:16935
  24567. msgid "This service can be extended with extra authorized keys, as in this example:"
  24568. msgstr ""
  24569. #. type: lisp
  24570. #: guix-git/doc/guix.texi:16940
  24571. #, no-wrap
  24572. msgid ""
  24573. "(service-extension openssh-service-type\n"
  24574. " (const `((\"charlie\"\n"
  24575. " ,(local-file \"charlie.pub\")))))\n"
  24576. msgstr ""
  24577. #. type: deftp
  24578. #: guix-git/doc/guix.texi:16943
  24579. #, no-wrap
  24580. msgid "{Data Type} openssh-configuration"
  24581. msgstr ""
  24582. #. type: deftp
  24583. #: guix-git/doc/guix.texi:16945
  24584. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  24585. msgstr ""
  24586. #. type: item
  24587. #: guix-git/doc/guix.texi:16947
  24588. #, no-wrap
  24589. msgid "@code{openssh} (default @var{openssh})"
  24590. msgstr ""
  24591. #. type: table
  24592. #: guix-git/doc/guix.texi:16949
  24593. msgid "The Openssh package to use."
  24594. msgstr ""
  24595. #. type: item
  24596. #: guix-git/doc/guix.texi:16950
  24597. #, no-wrap
  24598. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  24599. msgstr ""
  24600. #. type: table
  24601. #: guix-git/doc/guix.texi:16952
  24602. msgid "Name of the file where @command{sshd} writes its PID."
  24603. msgstr ""
  24604. #. type: item
  24605. #: guix-git/doc/guix.texi:16953
  24606. #, no-wrap
  24607. msgid "@code{port-number} (default: @code{22})"
  24608. msgstr ""
  24609. #. type: table
  24610. #: guix-git/doc/guix.texi:16955
  24611. msgid "TCP port on which @command{sshd} listens for incoming connections."
  24612. msgstr ""
  24613. #. type: item
  24614. #: guix-git/doc/guix.texi:16956
  24615. #, no-wrap
  24616. msgid "@code{permit-root-login} (default: @code{#f})"
  24617. msgstr ""
  24618. #. type: table
  24619. #: guix-git/doc/guix.texi:16961
  24620. 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."
  24621. msgstr ""
  24622. #. type: item
  24623. #: guix-git/doc/guix.texi:16962 guix-git/doc/guix.texi:17123
  24624. #, no-wrap
  24625. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  24626. msgstr ""
  24627. #. type: table
  24628. #: guix-git/doc/guix.texi:16965
  24629. msgid "When true, users with empty passwords may log in. When false, they may not."
  24630. msgstr ""
  24631. #. type: item
  24632. #: guix-git/doc/guix.texi:16966 guix-git/doc/guix.texi:17126
  24633. #, no-wrap
  24634. msgid "@code{password-authentication?} (default: @code{#t})"
  24635. msgstr ""
  24636. #. type: table
  24637. #: guix-git/doc/guix.texi:16969
  24638. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  24639. msgstr ""
  24640. #. type: item
  24641. #: guix-git/doc/guix.texi:16970
  24642. #, no-wrap
  24643. msgid "@code{public-key-authentication?} (default: @code{#t})"
  24644. msgstr ""
  24645. #. type: table
  24646. #: guix-git/doc/guix.texi:16973
  24647. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  24648. msgstr ""
  24649. #. type: table
  24650. #: guix-git/doc/guix.texi:16976
  24651. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  24652. msgstr ""
  24653. #. type: item
  24654. #: guix-git/doc/guix.texi:16977
  24655. #, no-wrap
  24656. msgid "@code{x11-forwarding?} (default: @code{#f})"
  24657. msgstr ""
  24658. #. type: table
  24659. #: guix-git/doc/guix.texi:16981
  24660. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  24661. msgstr ""
  24662. #. type: item
  24663. #: guix-git/doc/guix.texi:16982
  24664. #, no-wrap
  24665. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  24666. msgstr ""
  24667. #. type: table
  24668. #: guix-git/doc/guix.texi:16984
  24669. msgid "Whether to allow agent forwarding."
  24670. msgstr ""
  24671. #. type: item
  24672. #: guix-git/doc/guix.texi:16985
  24673. #, no-wrap
  24674. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  24675. msgstr ""
  24676. #. type: table
  24677. #: guix-git/doc/guix.texi:16987
  24678. msgid "Whether to allow TCP forwarding."
  24679. msgstr ""
  24680. #. type: item
  24681. #: guix-git/doc/guix.texi:16988
  24682. #, no-wrap
  24683. msgid "@code{gateway-ports?} (default: @code{#f})"
  24684. msgstr ""
  24685. #. type: table
  24686. #: guix-git/doc/guix.texi:16990
  24687. msgid "Whether to allow gateway ports."
  24688. msgstr ""
  24689. #. type: item
  24690. #: guix-git/doc/guix.texi:16991
  24691. #, no-wrap
  24692. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  24693. msgstr ""
  24694. #. type: table
  24695. #: guix-git/doc/guix.texi:16994
  24696. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  24697. msgstr ""
  24698. #. type: item
  24699. #: guix-git/doc/guix.texi:16995
  24700. #, no-wrap
  24701. msgid "@code{use-pam?} (default: @code{#t})"
  24702. msgstr ""
  24703. #. type: table
  24704. #: guix-git/doc/guix.texi:17001
  24705. 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."
  24706. msgstr ""
  24707. #. type: table
  24708. #: guix-git/doc/guix.texi:17006
  24709. 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?}."
  24710. msgstr ""
  24711. #. type: item
  24712. #: guix-git/doc/guix.texi:17007
  24713. #, no-wrap
  24714. msgid "@code{print-last-log?} (default: @code{#t})"
  24715. msgstr ""
  24716. #. type: table
  24717. #: guix-git/doc/guix.texi:17010
  24718. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  24719. msgstr ""
  24720. #. type: item
  24721. #: guix-git/doc/guix.texi:17011
  24722. #, no-wrap
  24723. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  24724. msgstr ""
  24725. #. type: table
  24726. #: guix-git/doc/guix.texi:17013
  24727. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  24728. msgstr ""
  24729. #. type: table
  24730. #: guix-git/doc/guix.texi:17017
  24731. 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."
  24732. msgstr ""
  24733. #. type: table
  24734. #: guix-git/doc/guix.texi:17020
  24735. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  24736. msgstr ""
  24737. #. type: lisp
  24738. #: guix-git/doc/guix.texi:17025
  24739. #, no-wrap
  24740. msgid ""
  24741. "(service openssh-service-type\n"
  24742. " (openssh-configuration\n"
  24743. " (subsystems\n"
  24744. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  24745. msgstr ""
  24746. #. type: item
  24747. #: guix-git/doc/guix.texi:17027
  24748. #, no-wrap
  24749. msgid "@code{accepted-environment} (default: @code{'()})"
  24750. msgstr ""
  24751. #. type: table
  24752. #: guix-git/doc/guix.texi:17029
  24753. msgid "List of strings describing which environment variables may be exported."
  24754. msgstr ""
  24755. #. type: table
  24756. #: guix-git/doc/guix.texi:17032
  24757. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  24758. msgstr ""
  24759. #. type: table
  24760. #: guix-git/doc/guix.texi:17037
  24761. 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."
  24762. msgstr ""
  24763. #. type: lisp
  24764. #: guix-git/doc/guix.texi:17042
  24765. #, no-wrap
  24766. msgid ""
  24767. "(service openssh-service-type\n"
  24768. " (openssh-configuration\n"
  24769. " (accepted-environment '(\"COLORTERM\"))))\n"
  24770. msgstr ""
  24771. #. type: item
  24772. #: guix-git/doc/guix.texi:17044
  24773. #, no-wrap
  24774. msgid "@code{authorized-keys} (default: @code{'()})"
  24775. msgstr ""
  24776. #. type: cindex
  24777. #: guix-git/doc/guix.texi:17045
  24778. #, no-wrap
  24779. msgid "authorized keys, SSH"
  24780. msgstr ""
  24781. #. type: cindex
  24782. #: guix-git/doc/guix.texi:17046
  24783. #, no-wrap
  24784. msgid "SSH authorized keys"
  24785. msgstr ""
  24786. #. type: table
  24787. #: guix-git/doc/guix.texi:17050
  24788. 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:"
  24789. msgstr ""
  24790. #. type: lisp
  24791. #: guix-git/doc/guix.texi:17057
  24792. #, no-wrap
  24793. msgid ""
  24794. "(openssh-configuration\n"
  24795. " (authorized-keys\n"
  24796. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  24797. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  24798. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  24799. msgstr ""
  24800. #. type: table
  24801. #: guix-git/doc/guix.texi:17062
  24802. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  24803. msgstr ""
  24804. #. type: table
  24805. #: guix-git/doc/guix.texi:17065
  24806. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  24807. msgstr ""
  24808. #. type: table
  24809. #: guix-git/doc/guix.texi:17068
  24810. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  24811. msgstr ""
  24812. #. type: item
  24813. #: guix-git/doc/guix.texi:17069 guix-git/doc/guix.texi:17500
  24814. #, no-wrap
  24815. msgid "@code{log-level} (default: @code{'info})"
  24816. msgstr ""
  24817. #. type: table
  24818. #: guix-git/doc/guix.texi:17073
  24819. 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."
  24820. msgstr ""
  24821. #. type: item
  24822. #: guix-git/doc/guix.texi:17074 guix-git/doc/guix.texi:19894
  24823. #: guix-git/doc/guix.texi:24760
  24824. #, no-wrap
  24825. msgid "@code{extra-content} (default: @code{\"\"})"
  24826. msgstr ""
  24827. #. type: table
  24828. #: guix-git/doc/guix.texi:17079
  24829. 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:"
  24830. msgstr ""
  24831. #. type: lisp
  24832. #: guix-git/doc/guix.texi:17085
  24833. #, no-wrap
  24834. msgid ""
  24835. "(openssh-configuration\n"
  24836. " (extra-content \"\\\n"
  24837. "Match Address 192.168.0.1\n"
  24838. " PermitRootLogin yes\"))\n"
  24839. msgstr ""
  24840. #. type: deffn
  24841. #: guix-git/doc/guix.texi:17090
  24842. #, no-wrap
  24843. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  24844. msgstr ""
  24845. #. type: deffn
  24846. #: guix-git/doc/guix.texi:17094
  24847. 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."
  24848. msgstr ""
  24849. #. type: deffn
  24850. #: guix-git/doc/guix.texi:17097
  24851. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  24852. msgstr ""
  24853. #. type: lisp
  24854. #: guix-git/doc/guix.texi:17101
  24855. #, no-wrap
  24856. msgid ""
  24857. "(dropbear-service (dropbear-configuration\n"
  24858. " (port-number 1234)))\n"
  24859. msgstr ""
  24860. #. type: deftp
  24861. #: guix-git/doc/guix.texi:17104
  24862. #, no-wrap
  24863. msgid "{Data Type} dropbear-configuration"
  24864. msgstr ""
  24865. #. type: deftp
  24866. #: guix-git/doc/guix.texi:17106
  24867. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  24868. msgstr ""
  24869. #. type: item
  24870. #: guix-git/doc/guix.texi:17108
  24871. #, no-wrap
  24872. msgid "@code{dropbear} (default: @var{dropbear})"
  24873. msgstr ""
  24874. #. type: table
  24875. #: guix-git/doc/guix.texi:17110
  24876. msgid "The Dropbear package to use."
  24877. msgstr ""
  24878. #. type: item
  24879. #: guix-git/doc/guix.texi:17111
  24880. #, no-wrap
  24881. msgid "@code{port-number} (default: 22)"
  24882. msgstr ""
  24883. #. type: table
  24884. #: guix-git/doc/guix.texi:17113
  24885. msgid "The TCP port where the daemon waits for incoming connections."
  24886. msgstr ""
  24887. #. type: item
  24888. #: guix-git/doc/guix.texi:17114
  24889. #, no-wrap
  24890. msgid "@code{syslog-output?} (default: @code{#t})"
  24891. msgstr ""
  24892. #. type: table
  24893. #: guix-git/doc/guix.texi:17116
  24894. msgid "Whether to enable syslog output."
  24895. msgstr ""
  24896. #. type: item
  24897. #: guix-git/doc/guix.texi:17117
  24898. #, no-wrap
  24899. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  24900. msgstr ""
  24901. #. type: table
  24902. #: guix-git/doc/guix.texi:17119
  24903. msgid "File name of the daemon's PID file."
  24904. msgstr ""
  24905. #. type: item
  24906. #: guix-git/doc/guix.texi:17120
  24907. #, no-wrap
  24908. msgid "@code{root-login?} (default: @code{#f})"
  24909. msgstr ""
  24910. #. type: table
  24911. #: guix-git/doc/guix.texi:17122
  24912. msgid "Whether to allow @code{root} logins."
  24913. msgstr ""
  24914. #. type: table
  24915. #: guix-git/doc/guix.texi:17125
  24916. msgid "Whether to allow empty passwords."
  24917. msgstr ""
  24918. #. type: table
  24919. #: guix-git/doc/guix.texi:17128
  24920. msgid "Whether to enable password-based authentication."
  24921. msgstr ""
  24922. #. type: cindex
  24923. #: guix-git/doc/guix.texi:17131
  24924. #, no-wrap
  24925. msgid "AutoSSH"
  24926. msgstr ""
  24927. #. type: deffn
  24928. #: guix-git/doc/guix.texi:17132
  24929. #, no-wrap
  24930. msgid "{Scheme Variable} autossh-service-type"
  24931. msgstr ""
  24932. #. type: deffn
  24933. #: guix-git/doc/guix.texi:17140
  24934. 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."
  24935. msgstr ""
  24936. #. type: deffn
  24937. #: guix-git/doc/guix.texi:17144
  24938. 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."
  24939. msgstr ""
  24940. #. type: deffn
  24941. #: guix-git/doc/guix.texi:17149
  24942. 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:"
  24943. msgstr ""
  24944. #. type: lisp
  24945. #: guix-git/doc/guix.texi:17155
  24946. #, no-wrap
  24947. msgid ""
  24948. "(service autossh-service-type\n"
  24949. " (autossh-configuration\n"
  24950. " (user \"pino\")\n"
  24951. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  24952. msgstr ""
  24953. #. type: deftp
  24954. #: guix-git/doc/guix.texi:17158
  24955. #, no-wrap
  24956. msgid "{Data Type} autossh-configuration"
  24957. msgstr ""
  24958. #. type: deftp
  24959. #: guix-git/doc/guix.texi:17160
  24960. msgid "This data type represents the configuration of an AutoSSH service."
  24961. msgstr ""
  24962. #. type: item
  24963. #: guix-git/doc/guix.texi:17163
  24964. #, no-wrap
  24965. msgid "@code{user} (default @code{\"autossh\"})"
  24966. msgstr ""
  24967. #. type: table
  24968. #: guix-git/doc/guix.texi:17166
  24969. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  24970. msgstr ""
  24971. #. type: item
  24972. #: guix-git/doc/guix.texi:17167
  24973. #, no-wrap
  24974. msgid "@code{poll} (default @code{600})"
  24975. msgstr ""
  24976. #. type: table
  24977. #: guix-git/doc/guix.texi:17169
  24978. msgid "Specifies the connection poll time in seconds."
  24979. msgstr ""
  24980. #. type: item
  24981. #: guix-git/doc/guix.texi:17170
  24982. #, no-wrap
  24983. msgid "@code{first-poll} (default @code{#f})"
  24984. msgstr ""
  24985. #. type: table
  24986. #: guix-git/doc/guix.texi:17176
  24987. 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}."
  24988. msgstr ""
  24989. #. type: item
  24990. #: guix-git/doc/guix.texi:17177
  24991. #, no-wrap
  24992. msgid "@code{gate-time} (default @code{30})"
  24993. msgstr ""
  24994. #. type: table
  24995. #: guix-git/doc/guix.texi:17180
  24996. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  24997. msgstr ""
  24998. #. type: item
  24999. #: guix-git/doc/guix.texi:17181
  25000. #, no-wrap
  25001. msgid "@code{log-level} (default @code{1})"
  25002. msgstr ""
  25003. #. type: table
  25004. #: guix-git/doc/guix.texi:17184
  25005. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  25006. msgstr ""
  25007. #. type: item
  25008. #: guix-git/doc/guix.texi:17185
  25009. #, no-wrap
  25010. msgid "@code{max-start} (default @code{#f})"
  25011. msgstr ""
  25012. #. type: table
  25013. #: guix-git/doc/guix.texi:17188
  25014. 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."
  25015. msgstr ""
  25016. #. type: item
  25017. #: guix-git/doc/guix.texi:17189
  25018. #, no-wrap
  25019. msgid "@code{message} (default @code{\"\"})"
  25020. msgstr ""
  25021. #. type: table
  25022. #: guix-git/doc/guix.texi:17191
  25023. msgid "The message to append to the echo message sent when testing connections."
  25024. msgstr ""
  25025. #. type: item
  25026. #: guix-git/doc/guix.texi:17192
  25027. #, no-wrap
  25028. msgid "@code{port} (default @code{\"0\"})"
  25029. msgstr ""
  25030. #. type: table
  25031. #: guix-git/doc/guix.texi:17202
  25032. 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."
  25033. msgstr ""
  25034. #. type: item
  25035. #: guix-git/doc/guix.texi:17203
  25036. #, no-wrap
  25037. msgid "@code{ssh-options} (default @code{'()})"
  25038. msgstr ""
  25039. #. type: table
  25040. #: guix-git/doc/guix.texi:17207
  25041. 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."
  25042. msgstr ""
  25043. #. type: cindex
  25044. #: guix-git/doc/guix.texi:17211
  25045. #, no-wrap
  25046. msgid "WebSSH"
  25047. msgstr ""
  25048. #. type: deffn
  25049. #: guix-git/doc/guix.texi:17212
  25050. #, no-wrap
  25051. msgid "{Scheme Variable} webssh-service-type"
  25052. msgstr ""
  25053. #. type: deffn
  25054. #: guix-git/doc/guix.texi:17218
  25055. 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."
  25056. msgstr ""
  25057. #. type: deffn
  25058. #: guix-git/doc/guix.texi:17224
  25059. 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:"
  25060. msgstr ""
  25061. #. type: lisp
  25062. #: guix-git/doc/guix.texi:17232
  25063. #, no-wrap
  25064. msgid ""
  25065. "(service webssh-service-type\n"
  25066. " (webssh-configuration (address \"127.0.0.1\")\n"
  25067. " (port 8888)\n"
  25068. " (policy 'reject)\n"
  25069. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  25070. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  25071. "\n"
  25072. msgstr ""
  25073. #. type: lisp
  25074. #: guix-git/doc/guix.texi:17248
  25075. #, no-wrap
  25076. msgid ""
  25077. "(service nginx-service-type\n"
  25078. " (nginx-configuration\n"
  25079. " (server-blocks\n"
  25080. " (list\n"
  25081. " (nginx-server-configuration\n"
  25082. " (inherit %webssh-configuration-nginx)\n"
  25083. " (server-name '(\"webssh.example.com\"))\n"
  25084. " (listen '(\"443 ssl\"))\n"
  25085. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  25086. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  25087. " (locations\n"
  25088. " (cons (nginx-location-configuration\n"
  25089. " (uri \"/.well-known\")\n"
  25090. " (body '(\"root /var/www;\")))\n"
  25091. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  25092. msgstr ""
  25093. #. type: deftp
  25094. #: guix-git/doc/guix.texi:17251
  25095. #, no-wrap
  25096. msgid "{Data Type} webssh-configuration"
  25097. msgstr ""
  25098. #. type: deftp
  25099. #: guix-git/doc/guix.texi:17253
  25100. msgid "Data type representing the configuration for @code{webssh-service}."
  25101. msgstr ""
  25102. #. type: item
  25103. #: guix-git/doc/guix.texi:17255
  25104. #, no-wrap
  25105. msgid "@code{package} (default: @var{webssh})"
  25106. msgstr ""
  25107. #. type: table
  25108. #: guix-git/doc/guix.texi:17257
  25109. msgid "@code{webssh} package to use."
  25110. msgstr ""
  25111. #. type: item
  25112. #: guix-git/doc/guix.texi:17258
  25113. #, no-wrap
  25114. msgid "@code{user-name} (default: @var{\"webssh\"})"
  25115. msgstr ""
  25116. #. type: table
  25117. #: guix-git/doc/guix.texi:17261
  25118. msgid "User name or user ID that file transfers to and from that module should take place."
  25119. msgstr ""
  25120. #. type: item
  25121. #: guix-git/doc/guix.texi:17262
  25122. #, no-wrap
  25123. msgid "@code{group-name} (default: @var{\"webssh\"})"
  25124. msgstr ""
  25125. #. type: item
  25126. #: guix-git/doc/guix.texi:17265
  25127. #, no-wrap
  25128. msgid "@code{address} (default: @var{#f})"
  25129. msgstr ""
  25130. #. type: table
  25131. #: guix-git/doc/guix.texi:17267
  25132. msgid "IP address on which @command{webssh} listens for incoming connections."
  25133. msgstr ""
  25134. #. type: item
  25135. #: guix-git/doc/guix.texi:17268
  25136. #, no-wrap
  25137. msgid "@code{port} (default: @var{8888})"
  25138. msgstr ""
  25139. #. type: table
  25140. #: guix-git/doc/guix.texi:17270
  25141. msgid "TCP port on which @command{webssh} listens for incoming connections."
  25142. msgstr ""
  25143. #. type: item
  25144. #: guix-git/doc/guix.texi:17271
  25145. #, no-wrap
  25146. msgid "@code{policy} (default: @var{#f})"
  25147. msgstr ""
  25148. #. type: table
  25149. #: guix-git/doc/guix.texi:17273
  25150. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  25151. msgstr ""
  25152. #. type: item
  25153. #: guix-git/doc/guix.texi:17274
  25154. #, no-wrap
  25155. msgid "@code{known-hosts} (default: @var{'()})"
  25156. msgstr ""
  25157. #. type: table
  25158. #: guix-git/doc/guix.texi:17276
  25159. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  25160. msgstr ""
  25161. #. type: item
  25162. #: guix-git/doc/guix.texi:17277
  25163. #, no-wrap
  25164. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  25165. msgstr ""
  25166. #. type: table
  25167. #: guix-git/doc/guix.texi:17279
  25168. msgid "Name of the file where @command{webssh} writes its log file."
  25169. msgstr ""
  25170. #. type: item
  25171. #: guix-git/doc/guix.texi:17280
  25172. #, no-wrap
  25173. msgid "@code{log-level} (default: @var{#f})"
  25174. msgstr ""
  25175. #. type: table
  25176. #: guix-git/doc/guix.texi:17282
  25177. msgid "Logging level."
  25178. msgstr ""
  25179. #. type: defvr
  25180. #: guix-git/doc/guix.texi:17286
  25181. #, no-wrap
  25182. msgid "{Scheme Variable} %facebook-host-aliases"
  25183. msgstr ""
  25184. #. type: defvr
  25185. #: guix-git/doc/guix.texi:17292
  25186. 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}."
  25187. msgstr ""
  25188. #. type: defvr
  25189. #: guix-git/doc/guix.texi:17296
  25190. 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}}):"
  25191. msgstr ""
  25192. #. type: lisp
  25193. #: guix-git/doc/guix.texi:17309
  25194. #, no-wrap
  25195. msgid ""
  25196. "(operating-system\n"
  25197. " (host-name \"mymachine\")\n"
  25198. " ;; ...\n"
  25199. " (hosts-file\n"
  25200. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  25201. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  25202. " (plain-file \"hosts\"\n"
  25203. " (string-append (local-host-aliases host-name)\n"
  25204. " %facebook-host-aliases))))\n"
  25205. msgstr ""
  25206. #. type: defvr
  25207. #: guix-git/doc/guix.texi:17313
  25208. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  25209. msgstr ""
  25210. #. type: Plain text
  25211. #: guix-git/doc/guix.texi:17316
  25212. msgid "The @code{(gnu services avahi)} provides the following definition."
  25213. msgstr ""
  25214. #. type: defvr
  25215. #: guix-git/doc/guix.texi:17317
  25216. #, no-wrap
  25217. msgid "{Scheme Variable} avahi-service-type"
  25218. msgstr ""
  25219. #. type: defvr
  25220. #: guix-git/doc/guix.texi:17322
  25221. 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."
  25222. msgstr ""
  25223. #. type: defvr
  25224. #: guix-git/doc/guix.texi:17327
  25225. 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."
  25226. msgstr ""
  25227. #. type: defvr
  25228. #: guix-git/doc/guix.texi:17330
  25229. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  25230. msgstr ""
  25231. #. type: deftp
  25232. #: guix-git/doc/guix.texi:17332
  25233. #, no-wrap
  25234. msgid "{Data Type} avahi-configuration"
  25235. msgstr ""
  25236. #. type: deftp
  25237. #: guix-git/doc/guix.texi:17334
  25238. msgid "Data type representation the configuration for Avahi."
  25239. msgstr ""
  25240. #. type: item
  25241. #: guix-git/doc/guix.texi:17337
  25242. #, no-wrap
  25243. msgid "@code{host-name} (default: @code{#f})"
  25244. msgstr ""
  25245. #. type: table
  25246. #: guix-git/doc/guix.texi:17340
  25247. 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."
  25248. msgstr ""
  25249. #. type: item
  25250. #: guix-git/doc/guix.texi:17341
  25251. #, no-wrap
  25252. msgid "@code{publish?} (default: @code{#t})"
  25253. msgstr ""
  25254. #. type: table
  25255. #: guix-git/doc/guix.texi:17344
  25256. msgid "When true, allow host names and services to be published (broadcast) over the network."
  25257. msgstr ""
  25258. #. type: item
  25259. #: guix-git/doc/guix.texi:17345
  25260. #, no-wrap
  25261. msgid "@code{publish-workstation?} (default: @code{#t})"
  25262. msgstr ""
  25263. #. type: table
  25264. #: guix-git/doc/guix.texi:17349
  25265. 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:"
  25266. msgstr ""
  25267. #. type: example
  25268. #: guix-git/doc/guix.texi:17352
  25269. #, no-wrap
  25270. msgid "avahi-browse _workstation._tcp\n"
  25271. msgstr ""
  25272. #. type: item
  25273. #: guix-git/doc/guix.texi:17354
  25274. #, no-wrap
  25275. msgid "@code{wide-area?} (default: @code{#f})"
  25276. msgstr ""
  25277. #. type: table
  25278. #: guix-git/doc/guix.texi:17356
  25279. msgid "When true, DNS-SD over unicast DNS is enabled."
  25280. msgstr ""
  25281. #. type: item
  25282. #: guix-git/doc/guix.texi:17357
  25283. #, no-wrap
  25284. msgid "@code{ipv4?} (default: @code{#t})"
  25285. msgstr ""
  25286. #. type: itemx
  25287. #: guix-git/doc/guix.texi:17358
  25288. #, no-wrap
  25289. msgid "@code{ipv6?} (default: @code{#t})"
  25290. msgstr ""
  25291. #. type: table
  25292. #: guix-git/doc/guix.texi:17360
  25293. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  25294. msgstr ""
  25295. #. type: item
  25296. #: guix-git/doc/guix.texi:17361
  25297. #, no-wrap
  25298. msgid "@code{domains-to-browse} (default: @code{'()})"
  25299. msgstr ""
  25300. #. type: table
  25301. #: guix-git/doc/guix.texi:17363
  25302. msgid "This is a list of domains to browse."
  25303. msgstr ""
  25304. #. type: deffn
  25305. #: guix-git/doc/guix.texi:17366
  25306. #, no-wrap
  25307. msgid "{Scheme Variable} openvswitch-service-type"
  25308. msgstr ""
  25309. #. type: deffn
  25310. #: guix-git/doc/guix.texi:17370
  25311. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  25312. msgstr ""
  25313. #. type: deftp
  25314. #: guix-git/doc/guix.texi:17372
  25315. #, no-wrap
  25316. msgid "{Data Type} openvswitch-configuration"
  25317. msgstr ""
  25318. #. type: deftp
  25319. #: guix-git/doc/guix.texi:17376
  25320. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  25321. msgstr ""
  25322. #. type: item
  25323. #: guix-git/doc/guix.texi:17378
  25324. #, no-wrap
  25325. msgid "@code{package} (default: @var{openvswitch})"
  25326. msgstr ""
  25327. #. type: table
  25328. #: guix-git/doc/guix.texi:17380
  25329. msgid "Package object of the Open vSwitch."
  25330. msgstr ""
  25331. #. type: defvr
  25332. #: guix-git/doc/guix.texi:17384
  25333. #, no-wrap
  25334. msgid "{Scheme Variable} pagekite-service-type"
  25335. msgstr ""
  25336. #. type: defvr
  25337. #: guix-git/doc/guix.texi:17389
  25338. 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."
  25339. msgstr ""
  25340. #. type: defvr
  25341. #: guix-git/doc/guix.texi:17391
  25342. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  25343. msgstr ""
  25344. #. type: lisp
  25345. #: guix-git/doc/guix.texi:17398
  25346. #, no-wrap
  25347. msgid ""
  25348. "(service pagekite-service-type\n"
  25349. " (pagekite-configuration\n"
  25350. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  25351. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  25352. " (extra-file \"/etc/pagekite.rc\")))\n"
  25353. msgstr ""
  25354. #. type: deftp
  25355. #: guix-git/doc/guix.texi:17401
  25356. #, no-wrap
  25357. msgid "{Data Type} pagekite-configuration"
  25358. msgstr ""
  25359. #. type: deftp
  25360. #: guix-git/doc/guix.texi:17403
  25361. msgid "Data type representing the configuration of PageKite."
  25362. msgstr ""
  25363. #. type: item
  25364. #: guix-git/doc/guix.texi:17405
  25365. #, no-wrap
  25366. msgid "@code{package} (default: @var{pagekite})"
  25367. msgstr ""
  25368. #. type: table
  25369. #: guix-git/doc/guix.texi:17407
  25370. msgid "Package object of PageKite."
  25371. msgstr ""
  25372. #. type: item
  25373. #: guix-git/doc/guix.texi:17408
  25374. #, no-wrap
  25375. msgid "@code{kitename} (default: @code{#f})"
  25376. msgstr ""
  25377. #. type: table
  25378. #: guix-git/doc/guix.texi:17410
  25379. msgid "PageKite name for authenticating to the frontend server."
  25380. msgstr ""
  25381. #. type: item
  25382. #: guix-git/doc/guix.texi:17411
  25383. #, no-wrap
  25384. msgid "@code{kitesecret} (default: @code{#f})"
  25385. msgstr ""
  25386. #. type: table
  25387. #: guix-git/doc/guix.texi:17414
  25388. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  25389. msgstr ""
  25390. #. type: item
  25391. #: guix-git/doc/guix.texi:17415
  25392. #, no-wrap
  25393. msgid "@code{frontend} (default: @code{#f})"
  25394. msgstr ""
  25395. #. type: table
  25396. #: guix-git/doc/guix.texi:17418
  25397. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  25398. msgstr ""
  25399. #. type: item
  25400. #: guix-git/doc/guix.texi:17419
  25401. #, no-wrap
  25402. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  25403. msgstr ""
  25404. #. type: table
  25405. #: guix-git/doc/guix.texi:17422
  25406. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  25407. msgstr ""
  25408. #. type: item
  25409. #: guix-git/doc/guix.texi:17423
  25410. #, no-wrap
  25411. msgid "@code{extra-file} (default: @code{#f})"
  25412. msgstr ""
  25413. #. type: table
  25414. #: guix-git/doc/guix.texi:17426
  25415. 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."
  25416. msgstr ""
  25417. #. type: defvr
  25418. #: guix-git/doc/guix.texi:17430
  25419. #, no-wrap
  25420. msgid "{Scheme Variable} yggdrasil-service-type"
  25421. msgstr ""
  25422. #. type: defvr
  25423. #: guix-git/doc/guix.texi:17434
  25424. 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."
  25425. msgstr ""
  25426. #. type: quotation
  25427. #: guix-git/doc/guix.texi:17441
  25428. 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}"
  25429. msgstr ""
  25430. #. type: defvr
  25431. #: guix-git/doc/guix.texi:17445
  25432. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  25433. msgstr ""
  25434. #. type: defvr
  25435. #: guix-git/doc/guix.texi:17449
  25436. 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})."
  25437. msgstr ""
  25438. #. type: lisp
  25439. #: guix-git/doc/guix.texi:17461
  25440. #, no-wrap
  25441. msgid ""
  25442. ";; part of the operating-system declaration\n"
  25443. "(service yggdrasil-service-type\n"
  25444. " (yggdrasil-configuration\n"
  25445. " (autoconf? #f) ;; use only the public peers\n"
  25446. " (json-config\n"
  25447. " ;; choose one from\n"
  25448. " ;; https://github.com/yggdrasil-network/public-peers\n"
  25449. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  25450. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  25451. " ))\n"
  25452. msgstr ""
  25453. #. type: example
  25454. #: guix-git/doc/guix.texi:17468
  25455. #, no-wrap
  25456. msgid ""
  25457. "# sample content for /etc/yggdrasil-private.conf\n"
  25458. "@{\n"
  25459. " # Your public encryption key. Your peers may ask you for this to put\n"
  25460. " # into their AllowedEncryptionPublicKeys configuration.\n"
  25461. " EncryptionPublicKey: 378dc5...\n"
  25462. "\n"
  25463. msgstr ""
  25464. #. type: example
  25465. #: guix-git/doc/guix.texi:17471
  25466. #, no-wrap
  25467. msgid ""
  25468. " # Your private encryption key. DO NOT share this with anyone!\n"
  25469. " EncryptionPrivateKey: 0777...\n"
  25470. "\n"
  25471. msgstr ""
  25472. #. type: example
  25473. #: guix-git/doc/guix.texi:17475
  25474. #, no-wrap
  25475. msgid ""
  25476. " # Your public signing key. You should not ordinarily need to share\n"
  25477. " # this with anyone.\n"
  25478. " SigningPublicKey: e1664...\n"
  25479. "\n"
  25480. msgstr ""
  25481. #. type: example
  25482. #: guix-git/doc/guix.texi:17479
  25483. #, no-wrap
  25484. msgid ""
  25485. " # Your private signing key. DO NOT share this with anyone!\n"
  25486. " SigningPrivateKey: 0589d...\n"
  25487. "@}\n"
  25488. msgstr ""
  25489. #. type: deftp
  25490. #: guix-git/doc/guix.texi:17482
  25491. #, no-wrap
  25492. msgid "{Data Type} yggdrasil-configuration"
  25493. msgstr ""
  25494. #. type: deftp
  25495. #: guix-git/doc/guix.texi:17484
  25496. msgid "Data type representing the configuration of Yggdrasil."
  25497. msgstr ""
  25498. #. type: item
  25499. #: guix-git/doc/guix.texi:17486
  25500. #, no-wrap
  25501. msgid "@code{package} (default: @code{yggdrasil})"
  25502. msgstr ""
  25503. #. type: table
  25504. #: guix-git/doc/guix.texi:17488
  25505. msgid "Package object of Yggdrasil."
  25506. msgstr ""
  25507. #. type: item
  25508. #: guix-git/doc/guix.texi:17489
  25509. #, no-wrap
  25510. msgid "@code{json-config} (default: @code{'()})"
  25511. msgstr ""
  25512. #. type: table
  25513. #: guix-git/doc/guix.texi:17495
  25514. 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."
  25515. msgstr ""
  25516. #. type: item
  25517. #: guix-git/doc/guix.texi:17496
  25518. #, no-wrap
  25519. msgid "@code{autoconf?} (default: @code{#f})"
  25520. msgstr ""
  25521. #. type: table
  25522. #: guix-git/doc/guix.texi:17499
  25523. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  25524. msgstr ""
  25525. #. type: table
  25526. #: guix-git/doc/guix.texi:17502
  25527. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  25528. msgstr ""
  25529. #. type: item
  25530. #: guix-git/doc/guix.texi:17503
  25531. #, no-wrap
  25532. msgid "@code{log-to} (default: @code{'stdout})"
  25533. msgstr ""
  25534. #. type: table
  25535. #: guix-git/doc/guix.texi:17507
  25536. 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."
  25537. msgstr ""
  25538. #. type: item
  25539. #: guix-git/doc/guix.texi:17508
  25540. #, no-wrap
  25541. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  25542. msgstr ""
  25543. #. type: table
  25544. #: guix-git/doc/guix.texi:17515
  25545. 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:"
  25546. msgstr ""
  25547. #. type: code{#1}
  25548. #: guix-git/doc/guix.texi:17517
  25549. #, no-wrap
  25550. msgid "EncryptionPublicKey"
  25551. msgstr ""
  25552. #. type: code{#1}
  25553. #: guix-git/doc/guix.texi:17518
  25554. #, no-wrap
  25555. msgid "EncryptionPrivateKey"
  25556. msgstr ""
  25557. #. type: code{#1}
  25558. #: guix-git/doc/guix.texi:17519
  25559. #, no-wrap
  25560. msgid "SigningPublicKey"
  25561. msgstr ""
  25562. #. type: code{#1}
  25563. #: guix-git/doc/guix.texi:17520
  25564. #, no-wrap
  25565. msgid "SigningPrivateKey"
  25566. msgstr ""
  25567. #. type: cindex
  25568. #: guix-git/doc/guix.texi:17525
  25569. #, no-wrap
  25570. msgid "IPFS"
  25571. msgstr ""
  25572. #. type: defvr
  25573. #: guix-git/doc/guix.texi:17526
  25574. #, no-wrap
  25575. msgid "{Scheme Variable} ipfs-service-type"
  25576. msgstr ""
  25577. #. type: defvr
  25578. #: guix-git/doc/guix.texi:17530
  25579. 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."
  25580. msgstr ""
  25581. #. type: defvr
  25582. #: guix-git/doc/guix.texi:17532
  25583. msgid "Here's an example configuration, using some non-standard ports:"
  25584. msgstr ""
  25585. #. type: lisp
  25586. #: guix-git/doc/guix.texi:17538
  25587. #, no-wrap
  25588. msgid ""
  25589. "(service ipfs-service-type\n"
  25590. " (ipfs-configuration\n"
  25591. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  25592. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  25593. msgstr ""
  25594. #. type: deftp
  25595. #: guix-git/doc/guix.texi:17541
  25596. #, fuzzy, no-wrap
  25597. #| msgid "configuration"
  25598. msgid "{Data Type} ipfs-configuration"
  25599. msgstr "설정"
  25600. #. type: deftp
  25601. #: guix-git/doc/guix.texi:17543
  25602. #, fuzzy
  25603. #| msgid "Manage the operating system configuration."
  25604. msgid "Data type representing the configuration of IPFS."
  25605. msgstr "운영체제 설정 관리."
  25606. #. type: item
  25607. #: guix-git/doc/guix.texi:17545
  25608. #, no-wrap
  25609. msgid "@code{package} (default: @code{go-ipfs})"
  25610. msgstr ""
  25611. #. type: table
  25612. #: guix-git/doc/guix.texi:17547
  25613. msgid "Package object of IPFS."
  25614. msgstr ""
  25615. #. type: item
  25616. #: guix-git/doc/guix.texi:17548
  25617. #, no-wrap
  25618. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  25619. msgstr ""
  25620. #. type: table
  25621. #: guix-git/doc/guix.texi:17550
  25622. msgid "Address of the gateway, in ‘multiaddress’ format."
  25623. msgstr ""
  25624. #. type: item
  25625. #: guix-git/doc/guix.texi:17551
  25626. #, no-wrap
  25627. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  25628. msgstr ""
  25629. #. type: table
  25630. #: guix-git/doc/guix.texi:17553
  25631. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  25632. msgstr ""
  25633. #. type: cindex
  25634. #: guix-git/doc/guix.texi:17556
  25635. #, no-wrap
  25636. msgid "keepalived"
  25637. msgstr ""
  25638. #. type: deffn
  25639. #: guix-git/doc/guix.texi:17557
  25640. #, no-wrap
  25641. msgid "{Scheme Variable} keepalived-service-type"
  25642. msgstr ""
  25643. #. type: deffn
  25644. #: guix-git/doc/guix.texi:17562
  25645. 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:"
  25646. msgstr ""
  25647. #. type: lisp
  25648. #: guix-git/doc/guix.texi:17567
  25649. #, no-wrap
  25650. msgid ""
  25651. "(service keepalived-service-type\n"
  25652. " (keepalived-configuration\n"
  25653. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  25654. msgstr ""
  25655. #. type: deffn
  25656. #: guix-git/doc/guix.texi:17570
  25657. msgid "where @file{keepalived-master.conf}:"
  25658. msgstr ""
  25659. #. type: example
  25660. #: guix-git/doc/guix.texi:17582
  25661. #, no-wrap
  25662. msgid ""
  25663. "vrrp_instance my-group @{\n"
  25664. " state MASTER\n"
  25665. " interface enp9s0\n"
  25666. " virtual_router_id 100\n"
  25667. " priority 100\n"
  25668. " unicast_peer @{ 10.0.0.2 @}\n"
  25669. " virtual_ipaddress @{\n"
  25670. " 10.0.0.4/24\n"
  25671. " @}\n"
  25672. "@}\n"
  25673. msgstr ""
  25674. #. type: deffn
  25675. #: guix-git/doc/guix.texi:17585
  25676. msgid "and for backup machine:"
  25677. msgstr ""
  25678. #. type: lisp
  25679. #: guix-git/doc/guix.texi:17590
  25680. #, no-wrap
  25681. msgid ""
  25682. "(service keepalived-service-type\n"
  25683. " (keepalived-configuration\n"
  25684. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  25685. msgstr ""
  25686. #. type: deffn
  25687. #: guix-git/doc/guix.texi:17593
  25688. msgid "where @file{keepalived-backup.conf}:"
  25689. msgstr ""
  25690. #. type: example
  25691. #: guix-git/doc/guix.texi:17605
  25692. #, no-wrap
  25693. msgid ""
  25694. "vrrp_instance my-group @{\n"
  25695. " state BACKUP\n"
  25696. " interface enp9s0\n"
  25697. " virtual_router_id 100\n"
  25698. " priority 99\n"
  25699. " unicast_peer @{ 10.0.0.3 @}\n"
  25700. " virtual_ipaddress @{\n"
  25701. " 10.0.0.4/24\n"
  25702. " @}\n"
  25703. "@}\n"
  25704. msgstr ""
  25705. #. type: cindex
  25706. #: guix-git/doc/guix.texi:17611
  25707. #, no-wrap
  25708. msgid "unattended upgrades"
  25709. msgstr ""
  25710. #. type: cindex
  25711. #: guix-git/doc/guix.texi:17612
  25712. #, no-wrap
  25713. msgid "upgrades, unattended"
  25714. msgstr ""
  25715. #. type: Plain text
  25716. #: guix-git/doc/guix.texi:17617
  25717. 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:"
  25718. msgstr ""
  25719. #. type: itemize
  25720. #: guix-git/doc/guix.texi:17622
  25721. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  25722. msgstr ""
  25723. #. type: itemize
  25724. #: guix-git/doc/guix.texi:17626
  25725. 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;"
  25726. msgstr ""
  25727. #. type: itemize
  25728. #: guix-git/doc/guix.texi:17629
  25729. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  25730. msgstr ""
  25731. #. type: itemize
  25732. #: guix-git/doc/guix.texi:17632
  25733. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  25734. msgstr ""
  25735. #. type: Plain text
  25736. #: guix-git/doc/guix.texi:17637
  25737. 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:"
  25738. msgstr ""
  25739. #. type: lisp
  25740. #: guix-git/doc/guix.texi:17640
  25741. #, no-wrap
  25742. msgid "(service unattended-upgrade-service-type)\n"
  25743. msgstr ""
  25744. #. type: Plain text
  25745. #: guix-git/doc/guix.texi:17647
  25746. 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."
  25747. msgstr ""
  25748. #. type: Plain text
  25749. #: guix-git/doc/guix.texi:17653
  25750. 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."
  25751. msgstr ""
  25752. #. type: Plain text
  25753. #: guix-git/doc/guix.texi:17657
  25754. 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)."
  25755. msgstr ""
  25756. #. type: defvr
  25757. #: guix-git/doc/guix.texi:17658
  25758. #, no-wrap
  25759. msgid "{Scheme Variable} unattended-upgrade-service-type"
  25760. msgstr ""
  25761. #. type: defvr
  25762. #: guix-git/doc/guix.texi:17662
  25763. 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."
  25764. msgstr ""
  25765. #. type: defvr
  25766. #: guix-git/doc/guix.texi:17665
  25767. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  25768. msgstr ""
  25769. #. type: deftp
  25770. #: guix-git/doc/guix.texi:17667
  25771. #, no-wrap
  25772. msgid "{Data Type} unattended-upgrade-configuration"
  25773. msgstr ""
  25774. #. type: deftp
  25775. #: guix-git/doc/guix.texi:17670
  25776. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  25777. msgstr ""
  25778. #. type: item
  25779. #: guix-git/doc/guix.texi:17672
  25780. #, no-wrap
  25781. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  25782. msgstr ""
  25783. #. type: table
  25784. #: guix-git/doc/guix.texi:17676
  25785. 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})."
  25786. msgstr ""
  25787. #. type: item
  25788. #: guix-git/doc/guix.texi:17677
  25789. #, no-wrap
  25790. msgid "@code{channels} (default: @code{#~%default-channels})"
  25791. msgstr ""
  25792. #. type: table
  25793. #: guix-git/doc/guix.texi:17681
  25794. 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."
  25795. msgstr ""
  25796. #. type: item
  25797. #: guix-git/doc/guix.texi:17682
  25798. #, no-wrap
  25799. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  25800. msgstr ""
  25801. #. type: table
  25802. #: guix-git/doc/guix.texi:17685
  25803. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  25804. msgstr ""
  25805. #. type: table
  25806. #: guix-git/doc/guix.texi:17691
  25807. 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:"
  25808. msgstr ""
  25809. #. type: lisp
  25810. #: guix-git/doc/guix.texi:17697
  25811. #, no-wrap
  25812. msgid ""
  25813. "(unattended-upgrade-configuration\n"
  25814. " (operating-system-file\n"
  25815. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  25816. " \"/config.scm\")))\n"
  25817. msgstr ""
  25818. #. type: table
  25819. #: guix-git/doc/guix.texi:17704
  25820. 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}."
  25821. msgstr ""
  25822. #. type: item
  25823. #: guix-git/doc/guix.texi:17705
  25824. #, no-wrap
  25825. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  25826. msgstr ""
  25827. #. type: table
  25828. #: guix-git/doc/guix.texi:17708
  25829. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  25830. msgstr ""
  25831. #. type: table
  25832. #: guix-git/doc/guix.texi:17715
  25833. 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."
  25834. msgstr ""
  25835. #. type: table
  25836. #: guix-git/doc/guix.texi:17719
  25837. 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}."
  25838. msgstr ""
  25839. #. type: table
  25840. #: guix-git/doc/guix.texi:17722
  25841. 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."
  25842. msgstr ""
  25843. #. type: item
  25844. #: guix-git/doc/guix.texi:17723
  25845. #, no-wrap
  25846. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  25847. msgstr ""
  25848. #. type: table
  25849. #: guix-git/doc/guix.texi:17727
  25850. 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."
  25851. msgstr ""
  25852. #. type: quotation
  25853. #: guix-git/doc/guix.texi:17732
  25854. 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."
  25855. msgstr ""
  25856. #. type: item
  25857. #: guix-git/doc/guix.texi:17734
  25858. #, no-wrap
  25859. msgid "@code{maximum-duration} (default: @code{3600})"
  25860. msgstr ""
  25861. #. type: table
  25862. #: guix-git/doc/guix.texi:17737
  25863. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  25864. msgstr ""
  25865. #. type: table
  25866. #: guix-git/doc/guix.texi:17740
  25867. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  25868. msgstr ""
  25869. #. type: item
  25870. #: guix-git/doc/guix.texi:17741
  25871. #, no-wrap
  25872. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  25873. msgstr ""
  25874. #. type: table
  25875. #: guix-git/doc/guix.texi:17743
  25876. msgid "File where unattended upgrades are logged."
  25877. msgstr ""
  25878. #. type: cindex
  25879. #: guix-git/doc/guix.texi:17749
  25880. #, no-wrap
  25881. msgid "X11"
  25882. msgstr ""
  25883. #. type: cindex
  25884. #: guix-git/doc/guix.texi:17750
  25885. #, no-wrap
  25886. msgid "X Window System"
  25887. msgstr "X 윈도우 시스템"
  25888. #. type: cindex
  25889. #: guix-git/doc/guix.texi:17751 guix-git/doc/guix.texi:18003
  25890. #, no-wrap
  25891. msgid "login manager"
  25892. msgstr ""
  25893. #. type: Plain text
  25894. #: guix-git/doc/guix.texi:17756
  25895. 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)."
  25896. msgstr ""
  25897. #. type: cindex
  25898. #: guix-git/doc/guix.texi:17757
  25899. #, no-wrap
  25900. msgid "GDM"
  25901. msgstr ""
  25902. #. type: cindex
  25903. #: guix-git/doc/guix.texi:17758
  25904. #, no-wrap
  25905. msgid "GNOME, login manager"
  25906. msgstr ""
  25907. #. type: Plain text
  25908. #: guix-git/doc/guix.texi:17762
  25909. 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."
  25910. msgstr ""
  25911. #. type: cindex
  25912. #: guix-git/doc/guix.texi:17763
  25913. #, no-wrap
  25914. msgid "window manager"
  25915. msgstr "윈도우 관리자"
  25916. #. type: Plain text
  25917. #: guix-git/doc/guix.texi:17768
  25918. 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})."
  25919. msgstr ""
  25920. #. type: defvr
  25921. #: guix-git/doc/guix.texi:17769
  25922. #, no-wrap
  25923. msgid "{Scheme Variable} gdm-service-type"
  25924. msgstr ""
  25925. #. type: defvr
  25926. #: guix-git/doc/guix.texi:17774
  25927. 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)."
  25928. msgstr ""
  25929. #. type: cindex
  25930. #: guix-git/doc/guix.texi:17775
  25931. #, no-wrap
  25932. msgid "session types (X11)"
  25933. msgstr ""
  25934. #. type: cindex
  25935. #: guix-git/doc/guix.texi:17776
  25936. #, no-wrap
  25937. msgid "X11 session types"
  25938. msgstr ""
  25939. #. type: defvr
  25940. #: guix-git/doc/guix.texi:17782
  25941. 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."
  25942. msgstr ""
  25943. #. type: defvr
  25944. #: guix-git/doc/guix.texi:17786
  25945. 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."
  25946. msgstr ""
  25947. #. type: deftp
  25948. #: guix-git/doc/guix.texi:17788
  25949. #, no-wrap
  25950. msgid "{Data Type} gdm-configuration"
  25951. msgstr ""
  25952. #. type: item
  25953. #: guix-git/doc/guix.texi:17790 guix-git/doc/guix.texi:17858
  25954. #, no-wrap
  25955. msgid "@code{auto-login?} (default: @code{#f})"
  25956. msgstr ""
  25957. #. type: itemx
  25958. #: guix-git/doc/guix.texi:17791
  25959. #, no-wrap
  25960. msgid "@code{default-user} (default: @code{#f})"
  25961. msgstr ""
  25962. #. type: table
  25963. #: guix-git/doc/guix.texi:17793
  25964. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  25965. msgstr ""
  25966. #. type: table
  25967. #: guix-git/doc/guix.texi:17796
  25968. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  25969. msgstr ""
  25970. #. type: item
  25971. #: guix-git/doc/guix.texi:17797 guix-git/doc/guix.texi:23369
  25972. #: guix-git/doc/guix.texi:25077 guix-git/doc/guix.texi:29427
  25973. #: guix-git/doc/guix.texi:29456 guix-git/doc/guix.texi:29485
  25974. #: guix-git/doc/guix.texi:29512 guix-git/doc/guix.texi:29567
  25975. #: guix-git/doc/guix.texi:29592 guix-git/doc/guix.texi:29619
  25976. #: guix-git/doc/guix.texi:29645 guix-git/doc/guix.texi:29687
  25977. #, no-wrap
  25978. msgid "@code{debug?} (default: @code{#f})"
  25979. msgstr ""
  25980. #. type: table
  25981. #: guix-git/doc/guix.texi:17799
  25982. msgid "When true, GDM writes debug messages to its log."
  25983. msgstr ""
  25984. #. type: item
  25985. #: guix-git/doc/guix.texi:17800
  25986. #, no-wrap
  25987. msgid "@code{gnome-shell-assets} (default: ...)"
  25988. msgstr ""
  25989. #. type: table
  25990. #: guix-git/doc/guix.texi:17802
  25991. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  25992. msgstr ""
  25993. #. type: item
  25994. #: guix-git/doc/guix.texi:17803
  25995. #, no-wrap
  25996. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  25997. msgstr ""
  25998. #. type: table
  25999. #: guix-git/doc/guix.texi:17805 guix-git/doc/guix.texi:17885
  26000. #: guix-git/doc/guix.texi:17969
  26001. msgid "Configuration of the Xorg graphical server."
  26002. msgstr ""
  26003. #. type: item
  26004. #: guix-git/doc/guix.texi:17806
  26005. #, no-wrap
  26006. msgid "@code{xsession} (default: @code{(xinitrc)})"
  26007. msgstr ""
  26008. #. type: table
  26009. #: guix-git/doc/guix.texi:17808 guix-git/doc/guix.texi:17984
  26010. msgid "Script to run before starting a X session."
  26011. msgstr ""
  26012. #. type: item
  26013. #: guix-git/doc/guix.texi:17809
  26014. #, no-wrap
  26015. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  26016. msgstr ""
  26017. #. type: table
  26018. #: guix-git/doc/guix.texi:17811
  26019. msgid "File name of the @code{dbus-daemon} executable."
  26020. msgstr ""
  26021. #. type: item
  26022. #: guix-git/doc/guix.texi:17812
  26023. #, no-wrap
  26024. msgid "@code{gdm} (default: @code{gdm})"
  26025. msgstr ""
  26026. #. type: table
  26027. #: guix-git/doc/guix.texi:17814
  26028. msgid "The GDM package to use."
  26029. msgstr ""
  26030. #. type: defvr
  26031. #: guix-git/doc/guix.texi:17817
  26032. #, no-wrap
  26033. msgid "{Scheme Variable} slim-service-type"
  26034. msgstr ""
  26035. #. type: defvr
  26036. #: guix-git/doc/guix.texi:17819
  26037. msgid "This is the type for the SLiM graphical login manager for X11."
  26038. msgstr ""
  26039. #. type: defvr
  26040. #: guix-git/doc/guix.texi:17823
  26041. 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."
  26042. msgstr ""
  26043. #. type: defvr
  26044. #: guix-git/doc/guix.texi:17830
  26045. 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."
  26046. msgstr ""
  26047. #. type: lisp
  26048. #: guix-git/doc/guix.texi:17836
  26049. #, no-wrap
  26050. msgid ""
  26051. "(use-modules (gnu services)\n"
  26052. " (gnu services desktop)\n"
  26053. " (gnu services xorg)\n"
  26054. " (srfi srfi-1)) ;for 'remove'\n"
  26055. "\n"
  26056. msgstr ""
  26057. #. type: lisp
  26058. #: guix-git/doc/guix.texi:17847
  26059. #, no-wrap
  26060. msgid ""
  26061. "(operating-system\n"
  26062. " ;; ...\n"
  26063. " (services (cons* (service slim-service-type (slim-configuration\n"
  26064. " (display \":0\")\n"
  26065. " (vt \"vt7\")))\n"
  26066. " (service slim-service-type (slim-configuration\n"
  26067. " (display \":1\")\n"
  26068. " (vt \"vt8\")))\n"
  26069. " (modify-services %desktop-services\n"
  26070. " (delete gdm-service-type)))))\n"
  26071. msgstr ""
  26072. #. type: deftp
  26073. #: guix-git/doc/guix.texi:17851
  26074. #, no-wrap
  26075. msgid "{Data Type} slim-configuration"
  26076. msgstr ""
  26077. #. type: deftp
  26078. #: guix-git/doc/guix.texi:17853
  26079. msgid "Data type representing the configuration of @code{slim-service-type}."
  26080. msgstr ""
  26081. #. type: table
  26082. #: guix-git/doc/guix.texi:17857
  26083. msgid "Whether to allow logins with empty passwords."
  26084. msgstr ""
  26085. #. type: itemx
  26086. #: guix-git/doc/guix.texi:17859
  26087. #, no-wrap
  26088. msgid "@code{default-user} (default: @code{\"\"})"
  26089. msgstr ""
  26090. #. type: table
  26091. #: guix-git/doc/guix.texi:17861
  26092. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  26093. msgstr ""
  26094. #. type: table
  26095. #: guix-git/doc/guix.texi:17864
  26096. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  26097. msgstr ""
  26098. #. type: item
  26099. #: guix-git/doc/guix.texi:17865
  26100. #, no-wrap
  26101. msgid "@code{theme} (default: @code{%default-slim-theme})"
  26102. msgstr ""
  26103. #. type: itemx
  26104. #: guix-git/doc/guix.texi:17866
  26105. #, no-wrap
  26106. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  26107. msgstr ""
  26108. #. type: table
  26109. #: guix-git/doc/guix.texi:17868
  26110. msgid "The graphical theme to use and its name."
  26111. msgstr ""
  26112. #. type: item
  26113. #: guix-git/doc/guix.texi:17869
  26114. #, no-wrap
  26115. msgid "@code{auto-login-session} (default: @code{#f})"
  26116. msgstr ""
  26117. #. type: table
  26118. #: guix-git/doc/guix.texi:17872
  26119. 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\")}."
  26120. msgstr ""
  26121. #. type: table
  26122. #: guix-git/doc/guix.texi:17876
  26123. 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."
  26124. msgstr ""
  26125. #. type: quotation
  26126. #: guix-git/doc/guix.texi:17881
  26127. 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."
  26128. msgstr ""
  26129. #. type: item
  26130. #: guix-git/doc/guix.texi:17883 guix-git/doc/guix.texi:17967
  26131. #, no-wrap
  26132. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  26133. msgstr ""
  26134. #. type: item
  26135. #: guix-git/doc/guix.texi:17886
  26136. #, no-wrap
  26137. msgid "@code{display} (default @code{\":0\"})"
  26138. msgstr ""
  26139. #. type: table
  26140. #: guix-git/doc/guix.texi:17888
  26141. msgid "The display on which to start the Xorg graphical server."
  26142. msgstr ""
  26143. #. type: item
  26144. #: guix-git/doc/guix.texi:17889
  26145. #, no-wrap
  26146. msgid "@code{vt} (default @code{\"vt7\"})"
  26147. msgstr ""
  26148. #. type: table
  26149. #: guix-git/doc/guix.texi:17891
  26150. msgid "The VT on which to start the Xorg graphical server."
  26151. msgstr ""
  26152. #. type: item
  26153. #: guix-git/doc/guix.texi:17892
  26154. #, no-wrap
  26155. msgid "@code{xauth} (default: @code{xauth})"
  26156. msgstr ""
  26157. #. type: table
  26158. #: guix-git/doc/guix.texi:17894
  26159. msgid "The XAuth package to use."
  26160. msgstr ""
  26161. #. type: item
  26162. #: guix-git/doc/guix.texi:17895
  26163. #, no-wrap
  26164. msgid "@code{shepherd} (default: @code{shepherd})"
  26165. msgstr ""
  26166. #. type: table
  26167. #: guix-git/doc/guix.texi:17898
  26168. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  26169. msgstr ""
  26170. #. type: item
  26171. #: guix-git/doc/guix.texi:17899
  26172. #, no-wrap
  26173. msgid "@code{sessreg} (default: @code{sessreg})"
  26174. msgstr ""
  26175. #. type: table
  26176. #: guix-git/doc/guix.texi:17901
  26177. msgid "The sessreg package used in order to register the session."
  26178. msgstr ""
  26179. #. type: item
  26180. #: guix-git/doc/guix.texi:17902
  26181. #, no-wrap
  26182. msgid "@code{slim} (default: @code{slim})"
  26183. msgstr ""
  26184. #. type: table
  26185. #: guix-git/doc/guix.texi:17904
  26186. msgid "The SLiM package to use."
  26187. msgstr ""
  26188. #. type: defvr
  26189. #: guix-git/doc/guix.texi:17907
  26190. #, no-wrap
  26191. msgid "{Scheme Variable} %default-theme"
  26192. msgstr ""
  26193. #. type: defvrx
  26194. #: guix-git/doc/guix.texi:17908
  26195. #, no-wrap
  26196. msgid "{Scheme Variable} %default-theme-name"
  26197. msgstr ""
  26198. #. type: defvr
  26199. #: guix-git/doc/guix.texi:17910
  26200. msgid "The default SLiM theme and its name."
  26201. msgstr ""
  26202. #. type: deftp
  26203. #: guix-git/doc/guix.texi:17913 guix-git/doc/guix.texi:18020
  26204. #, no-wrap
  26205. msgid "{Data Type} sddm-configuration"
  26206. msgstr ""
  26207. #. type: deftp
  26208. #: guix-git/doc/guix.texi:17915
  26209. msgid "This is the data type representing the SDDM service configuration."
  26210. msgstr ""
  26211. #. type: item
  26212. #: guix-git/doc/guix.texi:17917
  26213. #, no-wrap
  26214. msgid "@code{display-server} (default: \"x11\")"
  26215. msgstr ""
  26216. #. type: table
  26217. #: guix-git/doc/guix.texi:17920
  26218. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  26219. msgstr ""
  26220. #. type: item
  26221. #: guix-git/doc/guix.texi:17921
  26222. #, no-wrap
  26223. msgid "@code{numlock} (default: \"on\")"
  26224. msgstr ""
  26225. #. type: table
  26226. #: guix-git/doc/guix.texi:17923
  26227. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  26228. msgstr ""
  26229. #. type: item
  26230. #: guix-git/doc/guix.texi:17924
  26231. #, no-wrap
  26232. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  26233. msgstr ""
  26234. #. type: table
  26235. #: guix-git/doc/guix.texi:17926
  26236. msgid "Command to run when halting."
  26237. msgstr ""
  26238. #. type: item
  26239. #: guix-git/doc/guix.texi:17927
  26240. #, no-wrap
  26241. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  26242. msgstr ""
  26243. #. type: table
  26244. #: guix-git/doc/guix.texi:17929
  26245. msgid "Command to run when rebooting."
  26246. msgstr ""
  26247. #. type: item
  26248. #: guix-git/doc/guix.texi:17930
  26249. #, no-wrap
  26250. msgid "@code{theme} (default \"maldives\")"
  26251. msgstr ""
  26252. #. type: table
  26253. #: guix-git/doc/guix.texi:17933
  26254. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  26255. msgstr ""
  26256. #. type: item
  26257. #: guix-git/doc/guix.texi:17934
  26258. #, no-wrap
  26259. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  26260. msgstr ""
  26261. #. type: table
  26262. #: guix-git/doc/guix.texi:17936
  26263. msgid "Directory to look for themes."
  26264. msgstr ""
  26265. #. type: item
  26266. #: guix-git/doc/guix.texi:17937
  26267. #, no-wrap
  26268. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  26269. msgstr ""
  26270. #. type: table
  26271. #: guix-git/doc/guix.texi:17939
  26272. msgid "Directory to look for faces."
  26273. msgstr ""
  26274. #. type: item
  26275. #: guix-git/doc/guix.texi:17940
  26276. #, no-wrap
  26277. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  26278. msgstr ""
  26279. #. type: table
  26280. #: guix-git/doc/guix.texi:17942
  26281. msgid "Default PATH to use."
  26282. msgstr ""
  26283. #. type: item
  26284. #: guix-git/doc/guix.texi:17943
  26285. #, no-wrap
  26286. msgid "@code{minimum-uid} (default: 1000)"
  26287. msgstr ""
  26288. #. type: table
  26289. #: guix-git/doc/guix.texi:17945
  26290. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  26291. msgstr ""
  26292. #. type: item
  26293. #: guix-git/doc/guix.texi:17946
  26294. #, no-wrap
  26295. msgid "@code{maximum-uid} (default: 2000)"
  26296. msgstr ""
  26297. #. type: table
  26298. #: guix-git/doc/guix.texi:17948
  26299. msgid "Maximum UID to display in SDDM."
  26300. msgstr ""
  26301. #. type: item
  26302. #: guix-git/doc/guix.texi:17949
  26303. #, no-wrap
  26304. msgid "@code{remember-last-user?} (default #t)"
  26305. msgstr ""
  26306. #. type: table
  26307. #: guix-git/doc/guix.texi:17951
  26308. msgid "Remember last user."
  26309. msgstr ""
  26310. #. type: item
  26311. #: guix-git/doc/guix.texi:17952
  26312. #, no-wrap
  26313. msgid "@code{remember-last-session?} (default #t)"
  26314. msgstr ""
  26315. #. type: table
  26316. #: guix-git/doc/guix.texi:17954
  26317. msgid "Remember last session."
  26318. msgstr ""
  26319. #. type: item
  26320. #: guix-git/doc/guix.texi:17955
  26321. #, no-wrap
  26322. msgid "@code{hide-users} (default \"\")"
  26323. msgstr ""
  26324. #. type: table
  26325. #: guix-git/doc/guix.texi:17957
  26326. msgid "Usernames to hide from SDDM greeter."
  26327. msgstr ""
  26328. #. type: item
  26329. #: guix-git/doc/guix.texi:17958
  26330. #, no-wrap
  26331. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  26332. msgstr ""
  26333. #. type: table
  26334. #: guix-git/doc/guix.texi:17960
  26335. msgid "Users with shells listed will be hidden from the SDDM greeter."
  26336. msgstr ""
  26337. #. type: item
  26338. #: guix-git/doc/guix.texi:17961
  26339. #, no-wrap
  26340. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  26341. msgstr ""
  26342. #. type: table
  26343. #: guix-git/doc/guix.texi:17963
  26344. msgid "Script to run before starting a wayland session."
  26345. msgstr ""
  26346. #. type: item
  26347. #: guix-git/doc/guix.texi:17964
  26348. #, no-wrap
  26349. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  26350. msgstr ""
  26351. #. type: table
  26352. #: guix-git/doc/guix.texi:17966
  26353. msgid "Directory to look for desktop files starting wayland sessions."
  26354. msgstr ""
  26355. #. type: item
  26356. #: guix-git/doc/guix.texi:17970
  26357. #, no-wrap
  26358. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  26359. msgstr ""
  26360. #. type: table
  26361. #: guix-git/doc/guix.texi:17972
  26362. msgid "Path to xauth."
  26363. msgstr ""
  26364. #. type: item
  26365. #: guix-git/doc/guix.texi:17973
  26366. #, no-wrap
  26367. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  26368. msgstr ""
  26369. #. type: table
  26370. #: guix-git/doc/guix.texi:17975
  26371. msgid "Path to Xephyr."
  26372. msgstr ""
  26373. #. type: item
  26374. #: guix-git/doc/guix.texi:17976
  26375. #, no-wrap
  26376. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  26377. msgstr ""
  26378. #. type: table
  26379. #: guix-git/doc/guix.texi:17978
  26380. msgid "Script to run after starting xorg-server."
  26381. msgstr ""
  26382. #. type: item
  26383. #: guix-git/doc/guix.texi:17979
  26384. #, no-wrap
  26385. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  26386. msgstr ""
  26387. #. type: table
  26388. #: guix-git/doc/guix.texi:17981
  26389. msgid "Script to run before stopping xorg-server."
  26390. msgstr ""
  26391. #. type: item
  26392. #: guix-git/doc/guix.texi:17982
  26393. #, no-wrap
  26394. msgid "@code{xsession-command} (default: @code{xinitrc})"
  26395. msgstr ""
  26396. #. type: item
  26397. #: guix-git/doc/guix.texi:17985
  26398. #, no-wrap
  26399. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  26400. msgstr ""
  26401. #. type: table
  26402. #: guix-git/doc/guix.texi:17987
  26403. msgid "Directory to look for desktop files starting X sessions."
  26404. msgstr ""
  26405. #. type: item
  26406. #: guix-git/doc/guix.texi:17988
  26407. #, no-wrap
  26408. msgid "@code{minimum-vt} (default: 7)"
  26409. msgstr ""
  26410. #. type: table
  26411. #: guix-git/doc/guix.texi:17990
  26412. msgid "Minimum VT to use."
  26413. msgstr ""
  26414. #. type: item
  26415. #: guix-git/doc/guix.texi:17991
  26416. #, no-wrap
  26417. msgid "@code{auto-login-user} (default \"\")"
  26418. msgstr ""
  26419. #. type: table
  26420. #: guix-git/doc/guix.texi:17993
  26421. msgid "User to use for auto-login."
  26422. msgstr ""
  26423. #. type: item
  26424. #: guix-git/doc/guix.texi:17994
  26425. #, no-wrap
  26426. msgid "@code{auto-login-session} (default \"\")"
  26427. msgstr ""
  26428. #. type: table
  26429. #: guix-git/doc/guix.texi:17996
  26430. msgid "Desktop file to use for auto-login."
  26431. msgstr ""
  26432. #. type: item
  26433. #: guix-git/doc/guix.texi:17997
  26434. #, no-wrap
  26435. msgid "@code{relogin?} (default #f)"
  26436. msgstr ""
  26437. #. type: table
  26438. #: guix-git/doc/guix.texi:17999
  26439. msgid "Relogin after logout."
  26440. msgstr ""
  26441. #. type: cindex
  26442. #: guix-git/doc/guix.texi:18004
  26443. #, no-wrap
  26444. msgid "X11 login"
  26445. msgstr ""
  26446. #. type: defvr
  26447. #: guix-git/doc/guix.texi:18005
  26448. #, no-wrap
  26449. msgid "{Scheme Variable} sddm-service-type"
  26450. msgstr ""
  26451. #. type: defvr
  26452. #: guix-git/doc/guix.texi:18009
  26453. 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)."
  26454. msgstr ""
  26455. #. type: defvr
  26456. #: guix-git/doc/guix.texi:18011
  26457. msgid "Here's an example use:"
  26458. msgstr ""
  26459. #. type: lisp
  26460. #: guix-git/doc/guix.texi:18017
  26461. #, no-wrap
  26462. msgid ""
  26463. "(service sddm-service-type\n"
  26464. " (sddm-configuration\n"
  26465. " (auto-login-user \"alice\")\n"
  26466. " (auto-login-session \"xfce.desktop\")))\n"
  26467. msgstr ""
  26468. #. type: deftp
  26469. #: guix-git/doc/guix.texi:18023
  26470. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  26471. msgstr ""
  26472. #. type: item
  26473. #: guix-git/doc/guix.texi:18025
  26474. #, no-wrap
  26475. msgid "@code{sddm} (default: @code{sddm})"
  26476. msgstr ""
  26477. #. type: table
  26478. #: guix-git/doc/guix.texi:18027
  26479. msgid "The SDDM package to use."
  26480. msgstr ""
  26481. #. type: item
  26482. #: guix-git/doc/guix.texi:18028
  26483. #, no-wrap
  26484. msgid "@code{display-server} (default: @code{\"x11\"})"
  26485. msgstr ""
  26486. #. type: table
  26487. #: guix-git/doc/guix.texi:18030
  26488. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  26489. msgstr ""
  26490. #. type: item
  26491. #: guix-git/doc/guix.texi:18033
  26492. #, no-wrap
  26493. msgid "@code{auto-login-user} (default: @code{\"\"})"
  26494. msgstr ""
  26495. #. type: table
  26496. #: guix-git/doc/guix.texi:18036
  26497. msgid "If non-empty, this is the user account under which to log in automatically."
  26498. msgstr ""
  26499. #. type: item
  26500. #: guix-git/doc/guix.texi:18037
  26501. #, no-wrap
  26502. msgid "@code{auto-login-session} (default: @code{\"\"})"
  26503. msgstr ""
  26504. #. type: table
  26505. #: guix-git/doc/guix.texi:18040
  26506. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  26507. msgstr ""
  26508. #. type: cindex
  26509. #: guix-git/doc/guix.texi:18043
  26510. #, no-wrap
  26511. msgid "Xorg, configuration"
  26512. msgstr ""
  26513. #. type: deftp
  26514. #: guix-git/doc/guix.texi:18044
  26515. #, no-wrap
  26516. msgid "{Data Type} xorg-configuration"
  26517. msgstr ""
  26518. #. type: deftp
  26519. #: guix-git/doc/guix.texi:18049
  26520. 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."
  26521. msgstr ""
  26522. #. type: item
  26523. #: guix-git/doc/guix.texi:18051
  26524. #, no-wrap
  26525. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  26526. msgstr ""
  26527. #. type: table
  26528. #: guix-git/doc/guix.texi:18054
  26529. 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."
  26530. msgstr ""
  26531. #. type: item
  26532. #: guix-git/doc/guix.texi:18055
  26533. #, no-wrap
  26534. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  26535. msgstr ""
  26536. #. type: table
  26537. #: guix-git/doc/guix.texi:18057
  26538. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  26539. msgstr ""
  26540. #. type: item
  26541. #: guix-git/doc/guix.texi:18058
  26542. #, no-wrap
  26543. msgid "@code{drivers} (default: @code{'()})"
  26544. msgstr ""
  26545. #. type: table
  26546. #: guix-git/doc/guix.texi:18062
  26547. 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\")}."
  26548. msgstr ""
  26549. #. type: item
  26550. #: guix-git/doc/guix.texi:18063
  26551. #, no-wrap
  26552. msgid "@code{resolutions} (default: @code{'()})"
  26553. msgstr ""
  26554. #. type: table
  26555. #: guix-git/doc/guix.texi:18067
  26556. 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))}."
  26557. msgstr ""
  26558. #. type: cindex
  26559. #: guix-git/doc/guix.texi:18068
  26560. #, no-wrap
  26561. msgid "keyboard layout, for Xorg"
  26562. msgstr ""
  26563. #. type: cindex
  26564. #: guix-git/doc/guix.texi:18069
  26565. #, no-wrap
  26566. msgid "keymap, for Xorg"
  26567. msgstr ""
  26568. #. type: table
  26569. #: guix-git/doc/guix.texi:18073
  26570. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  26571. msgstr ""
  26572. #. type: table
  26573. #: guix-git/doc/guix.texi:18077
  26574. 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."
  26575. msgstr ""
  26576. #. type: item
  26577. #: guix-git/doc/guix.texi:18078 guix-git/doc/guix.texi:19789
  26578. #: guix-git/doc/guix.texi:31970
  26579. #, no-wrap
  26580. msgid "@code{extra-config} (default: @code{'()})"
  26581. msgstr ""
  26582. #. type: table
  26583. #: guix-git/doc/guix.texi:18081 guix-git/doc/guix.texi:31974
  26584. 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."
  26585. msgstr ""
  26586. #. type: item
  26587. #: guix-git/doc/guix.texi:18082
  26588. #, no-wrap
  26589. msgid "@code{server} (default: @code{xorg-server})"
  26590. msgstr ""
  26591. #. type: table
  26592. #: guix-git/doc/guix.texi:18084
  26593. msgid "This is the package providing the Xorg server."
  26594. msgstr ""
  26595. #. type: item
  26596. #: guix-git/doc/guix.texi:18085
  26597. #, no-wrap
  26598. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  26599. msgstr ""
  26600. #. type: table
  26601. #: guix-git/doc/guix.texi:18088
  26602. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  26603. msgstr ""
  26604. #. type: deffn
  26605. #: guix-git/doc/guix.texi:18091
  26606. #, no-wrap
  26607. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  26608. msgstr ""
  26609. #. type: deffn
  26610. #: guix-git/doc/guix.texi:18095
  26611. 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."
  26612. msgstr ""
  26613. #. type: deffn
  26614. #: guix-git/doc/guix.texi:18099
  26615. 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."
  26616. msgstr ""
  26617. #. type: deffn
  26618. #: guix-git/doc/guix.texi:18101
  26619. #, no-wrap
  26620. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  26621. msgstr ""
  26622. #. type: deffn
  26623. #: guix-git/doc/guix.texi:18105
  26624. 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}."
  26625. msgstr ""
  26626. #. type: deffn
  26627. #: guix-git/doc/guix.texi:18107
  26628. msgid "Usually the X server is started by a login manager."
  26629. msgstr ""
  26630. #. type: deffn
  26631. #: guix-git/doc/guix.texi:18110
  26632. #, no-wrap
  26633. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  26634. msgstr ""
  26635. #. type: deffn
  26636. #: guix-git/doc/guix.texi:18114
  26637. 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:"
  26638. msgstr ""
  26639. #. type: lisp
  26640. #: guix-git/doc/guix.texi:18117
  26641. #, no-wrap
  26642. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  26643. msgstr ""
  26644. #. type: deffn
  26645. #: guix-git/doc/guix.texi:18120
  26646. msgid "makes the good ol' XlockMore usable."
  26647. msgstr ""
  26648. #. type: cindex
  26649. #: guix-git/doc/guix.texi:18126
  26650. #, no-wrap
  26651. msgid "printer support with CUPS"
  26652. msgstr ""
  26653. #. type: Plain text
  26654. #: guix-git/doc/guix.texi:18130
  26655. 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:"
  26656. msgstr ""
  26657. #. type: deffn
  26658. #: guix-git/doc/guix.texi:18131
  26659. #, no-wrap
  26660. msgid "{Scheme Variable} cups-service-type"
  26661. msgstr ""
  26662. #. type: deffn
  26663. #: guix-git/doc/guix.texi:18135
  26664. 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:"
  26665. msgstr ""
  26666. #. type: lisp
  26667. #: guix-git/doc/guix.texi:18137
  26668. #, no-wrap
  26669. msgid "(service cups-service-type)\n"
  26670. msgstr ""
  26671. #. type: Plain text
  26672. #: guix-git/doc/guix.texi:18147
  26673. 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."
  26674. msgstr ""
  26675. #. type: Plain text
  26676. #: guix-git/doc/guix.texi:18153
  26677. 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):"
  26678. msgstr ""
  26679. #. type: lisp
  26680. #: guix-git/doc/guix.texi:18160
  26681. #, no-wrap
  26682. msgid ""
  26683. "(service cups-service-type\n"
  26684. " (cups-configuration\n"
  26685. " (web-interface? #t)\n"
  26686. " (extensions\n"
  26687. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  26688. msgstr ""
  26689. #. type: Plain text
  26690. #: guix-git/doc/guix.texi:18165
  26691. 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."
  26692. msgstr ""
  26693. #. type: Plain text
  26694. #: guix-git/doc/guix.texi:18172
  26695. 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."
  26696. msgstr ""
  26697. #. type: Plain text
  26698. #: guix-git/doc/guix.texi:18183
  26699. msgid "Available @code{cups-configuration} fields are:"
  26700. msgstr ""
  26701. #. type: deftypevr
  26702. #: guix-git/doc/guix.texi:18184
  26703. #, no-wrap
  26704. msgid "{@code{cups-configuration} parameter} package cups"
  26705. msgstr ""
  26706. #. type: deftypevr
  26707. #: guix-git/doc/guix.texi:18186 guix-git/doc/guix.texi:18954
  26708. msgid "The CUPS package."
  26709. msgstr ""
  26710. #. type: deftypevr
  26711. #: guix-git/doc/guix.texi:18188
  26712. #, no-wrap
  26713. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  26714. msgstr ""
  26715. #. type: deftypevr
  26716. #: guix-git/doc/guix.texi:18190
  26717. msgid "Drivers and other extensions to the CUPS package."
  26718. msgstr ""
  26719. #. type: deftypevr
  26720. #: guix-git/doc/guix.texi:18192
  26721. #, no-wrap
  26722. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  26723. msgstr ""
  26724. #. type: deftypevr
  26725. #: guix-git/doc/guix.texi:18195
  26726. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  26727. msgstr ""
  26728. #. type: deftypevr
  26729. #: guix-git/doc/guix.texi:18197
  26730. msgid "Available @code{files-configuration} fields are:"
  26731. msgstr ""
  26732. #. type: deftypevr
  26733. #: guix-git/doc/guix.texi:18198
  26734. #, no-wrap
  26735. msgid "{@code{files-configuration} parameter} log-location access-log"
  26736. msgstr ""
  26737. #. type: deftypevr
  26738. #: guix-git/doc/guix.texi:18206
  26739. 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}."
  26740. msgstr ""
  26741. #. type: deftypevr
  26742. #: guix-git/doc/guix.texi:18208
  26743. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  26744. msgstr ""
  26745. #. type: deftypevr
  26746. #: guix-git/doc/guix.texi:18210
  26747. #, no-wrap
  26748. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  26749. msgstr ""
  26750. #. type: deftypevr
  26751. #: guix-git/doc/guix.texi:18212
  26752. msgid "Where CUPS should cache data."
  26753. msgstr ""
  26754. #. type: deftypevr
  26755. #: guix-git/doc/guix.texi:18214
  26756. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  26757. msgstr ""
  26758. #. type: deftypevr
  26759. #: guix-git/doc/guix.texi:18216
  26760. #, no-wrap
  26761. msgid "{@code{files-configuration} parameter} string config-file-perm"
  26762. msgstr ""
  26763. #. type: deftypevr
  26764. #: guix-git/doc/guix.texi:18219
  26765. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  26766. msgstr ""
  26767. #. type: deftypevr
  26768. #: guix-git/doc/guix.texi:18225
  26769. 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."
  26770. msgstr ""
  26771. #. type: deftypevr
  26772. #: guix-git/doc/guix.texi:18227
  26773. msgid "Defaults to @samp{\"0640\"}."
  26774. msgstr ""
  26775. #. type: deftypevr
  26776. #: guix-git/doc/guix.texi:18229
  26777. #, no-wrap
  26778. msgid "{@code{files-configuration} parameter} log-location error-log"
  26779. msgstr ""
  26780. #. type: deftypevr
  26781. #: guix-git/doc/guix.texi:18237
  26782. 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}."
  26783. msgstr ""
  26784. #. type: deftypevr
  26785. #: guix-git/doc/guix.texi:18239
  26786. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  26787. msgstr ""
  26788. #. type: deftypevr
  26789. #: guix-git/doc/guix.texi:18241
  26790. #, no-wrap
  26791. msgid "{@code{files-configuration} parameter} string fatal-errors"
  26792. msgstr ""
  26793. #. type: deftypevr
  26794. #: guix-git/doc/guix.texi:18244
  26795. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  26796. msgstr ""
  26797. #. type: table
  26798. #: guix-git/doc/guix.texi:18248
  26799. msgid "No errors are fatal."
  26800. msgstr ""
  26801. #. type: table
  26802. #: guix-git/doc/guix.texi:18251
  26803. msgid "All of the errors below are fatal."
  26804. msgstr ""
  26805. #. type: item
  26806. #: guix-git/doc/guix.texi:18252
  26807. #, no-wrap
  26808. msgid "browse"
  26809. msgstr "검색"
  26810. #. type: table
  26811. #: guix-git/doc/guix.texi:18255
  26812. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  26813. msgstr ""
  26814. #. type: item
  26815. #: guix-git/doc/guix.texi:18256
  26816. #, no-wrap
  26817. msgid "config"
  26818. msgstr "설정파일"
  26819. #. type: table
  26820. #: guix-git/doc/guix.texi:18258
  26821. msgid "Configuration file syntax errors are fatal."
  26822. msgstr ""
  26823. #. type: item
  26824. #: guix-git/doc/guix.texi:18259
  26825. #, no-wrap
  26826. msgid "listen"
  26827. msgstr ""
  26828. #. type: table
  26829. #: guix-git/doc/guix.texi:18262
  26830. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  26831. msgstr ""
  26832. #. type: item
  26833. #: guix-git/doc/guix.texi:18263
  26834. #, no-wrap
  26835. msgid "log"
  26836. msgstr "로그"
  26837. #. type: table
  26838. #: guix-git/doc/guix.texi:18265
  26839. msgid "Log file creation or write errors are fatal."
  26840. msgstr ""
  26841. #. type: item
  26842. #: guix-git/doc/guix.texi:18266
  26843. #, no-wrap
  26844. msgid "permissions"
  26845. msgstr ""
  26846. #. type: table
  26847. #: guix-git/doc/guix.texi:18269
  26848. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  26849. msgstr ""
  26850. #. type: deftypevr
  26851. #: guix-git/doc/guix.texi:18272
  26852. msgid "Defaults to @samp{\"all -browse\"}."
  26853. msgstr ""
  26854. #. type: deftypevr
  26855. #: guix-git/doc/guix.texi:18274
  26856. #, no-wrap
  26857. msgid "{@code{files-configuration} parameter} boolean file-device?"
  26858. msgstr ""
  26859. #. type: deftypevr
  26860. #: guix-git/doc/guix.texi:18277
  26861. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  26862. msgstr ""
  26863. #. type: deftypevr
  26864. #: guix-git/doc/guix.texi:18279 guix-git/doc/guix.texi:18349
  26865. #: guix-git/doc/guix.texi:18391 guix-git/doc/guix.texi:18411
  26866. #: guix-git/doc/guix.texi:18417 guix-git/doc/guix.texi:18433
  26867. #: guix-git/doc/guix.texi:18521 guix-git/doc/guix.texi:18615
  26868. #: guix-git/doc/guix.texi:18928 guix-git/doc/guix.texi:18941
  26869. #: guix-git/doc/guix.texi:21490 guix-git/doc/guix.texi:21596
  26870. #: guix-git/doc/guix.texi:21661 guix-git/doc/guix.texi:21670
  26871. #: guix-git/doc/guix.texi:22675 guix-git/doc/guix.texi:22719
  26872. #: guix-git/doc/guix.texi:22736 guix-git/doc/guix.texi:22744
  26873. #: guix-git/doc/guix.texi:22759 guix-git/doc/guix.texi:22777
  26874. #: guix-git/doc/guix.texi:22801 guix-git/doc/guix.texi:22854
  26875. #: guix-git/doc/guix.texi:22987 guix-git/doc/guix.texi:23021
  26876. #: guix-git/doc/guix.texi:23057 guix-git/doc/guix.texi:23073
  26877. #: guix-git/doc/guix.texi:23101 guix-git/doc/guix.texi:23162
  26878. #: guix-git/doc/guix.texi:23245 guix-git/doc/guix.texi:26638
  26879. #: guix-git/doc/guix.texi:26652 guix-git/doc/guix.texi:26674
  26880. #: guix-git/doc/guix.texi:26793 guix-git/doc/guix.texi:26807
  26881. #: guix-git/doc/guix.texi:26828 guix-git/doc/guix.texi:26849
  26882. #: guix-git/doc/guix.texi:26856 guix-git/doc/guix.texi:26901
  26883. #: guix-git/doc/guix.texi:26908 guix-git/doc/guix.texi:27641
  26884. #: guix-git/doc/guix.texi:27655 guix-git/doc/guix.texi:27827
  26885. #: guix-git/doc/guix.texi:27872 guix-git/doc/guix.texi:27959
  26886. #: guix-git/doc/guix.texi:28161 guix-git/doc/guix.texi:28194
  26887. #: guix-git/doc/guix.texi:28334 guix-git/doc/guix.texi:28345
  26888. #: guix-git/doc/guix.texi:28596 guix-git/doc/guix.texi:30061
  26889. #: guix-git/doc/guix.texi:30070 guix-git/doc/guix.texi:30078
  26890. #: guix-git/doc/guix.texi:30086 guix-git/doc/guix.texi:30102
  26891. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30126
  26892. #: guix-git/doc/guix.texi:30134 guix-git/doc/guix.texi:30143
  26893. #: guix-git/doc/guix.texi:30152 guix-git/doc/guix.texi:30168
  26894. #: guix-git/doc/guix.texi:30232 guix-git/doc/guix.texi:30338
  26895. #: guix-git/doc/guix.texi:30346 guix-git/doc/guix.texi:30354
  26896. #: guix-git/doc/guix.texi:30379 guix-git/doc/guix.texi:30433
  26897. #: guix-git/doc/guix.texi:30481 guix-git/doc/guix.texi:30682
  26898. #: guix-git/doc/guix.texi:30689
  26899. msgid "Defaults to @samp{#f}."
  26900. msgstr ""
  26901. #. type: deftypevr
  26902. #: guix-git/doc/guix.texi:18281
  26903. #, no-wrap
  26904. msgid "{@code{files-configuration} parameter} string group"
  26905. msgstr ""
  26906. #. type: deftypevr
  26907. #: guix-git/doc/guix.texi:18284
  26908. msgid "Specifies the group name or ID that will be used when executing external programs."
  26909. msgstr ""
  26910. #. type: deftypevr
  26911. #: guix-git/doc/guix.texi:18286 guix-git/doc/guix.texi:18366
  26912. msgid "Defaults to @samp{\"lp\"}."
  26913. msgstr ""
  26914. #. type: deftypevr
  26915. #: guix-git/doc/guix.texi:18288
  26916. #, no-wrap
  26917. msgid "{@code{files-configuration} parameter} string log-file-perm"
  26918. msgstr ""
  26919. #. type: deftypevr
  26920. #: guix-git/doc/guix.texi:18290
  26921. msgid "Specifies the permissions for all log files that the scheduler writes."
  26922. msgstr ""
  26923. #. type: deftypevr
  26924. #: guix-git/doc/guix.texi:18292
  26925. msgid "Defaults to @samp{\"0644\"}."
  26926. msgstr ""
  26927. #. type: deftypevr
  26928. #: guix-git/doc/guix.texi:18294
  26929. #, no-wrap
  26930. msgid "{@code{files-configuration} parameter} log-location page-log"
  26931. msgstr ""
  26932. #. type: deftypevr
  26933. #: guix-git/doc/guix.texi:18302
  26934. 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}."
  26935. msgstr ""
  26936. #. type: deftypevr
  26937. #: guix-git/doc/guix.texi:18304
  26938. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  26939. msgstr ""
  26940. #. type: deftypevr
  26941. #: guix-git/doc/guix.texi:18306
  26942. #, no-wrap
  26943. msgid "{@code{files-configuration} parameter} string remote-root"
  26944. msgstr ""
  26945. #. type: deftypevr
  26946. #: guix-git/doc/guix.texi:18309
  26947. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  26948. msgstr ""
  26949. #. type: deftypevr
  26950. #: guix-git/doc/guix.texi:18311
  26951. msgid "Defaults to @samp{\"remroot\"}."
  26952. msgstr ""
  26953. #. type: deftypevr
  26954. #: guix-git/doc/guix.texi:18313
  26955. #, no-wrap
  26956. msgid "{@code{files-configuration} parameter} file-name request-root"
  26957. msgstr ""
  26958. #. type: deftypevr
  26959. #: guix-git/doc/guix.texi:18316
  26960. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  26961. msgstr ""
  26962. #. type: deftypevr
  26963. #: guix-git/doc/guix.texi:18318
  26964. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  26965. msgstr ""
  26966. #. type: deftypevr
  26967. #: guix-git/doc/guix.texi:18320
  26968. #, no-wrap
  26969. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  26970. msgstr ""
  26971. #. type: deftypevr
  26972. #: guix-git/doc/guix.texi:18325
  26973. 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."
  26974. msgstr ""
  26975. #. type: deftypevr
  26976. #: guix-git/doc/guix.texi:18327
  26977. msgid "Defaults to @samp{strict}."
  26978. msgstr ""
  26979. #. type: deftypevr
  26980. #: guix-git/doc/guix.texi:18329
  26981. #, no-wrap
  26982. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  26983. msgstr ""
  26984. #. type: deftypevr
  26985. #: guix-git/doc/guix.texi:18334
  26986. 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."
  26987. msgstr ""
  26988. #. type: deftypevr
  26989. #: guix-git/doc/guix.texi:18336
  26990. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  26991. msgstr ""
  26992. #. type: deftypevr
  26993. #: guix-git/doc/guix.texi:18338
  26994. #, no-wrap
  26995. msgid "{@code{files-configuration} parameter} file-name server-root"
  26996. msgstr ""
  26997. #. type: deftypevr
  26998. #: guix-git/doc/guix.texi:18340
  26999. msgid "Specifies the directory containing the server configuration files."
  27000. msgstr ""
  27001. #. type: deftypevr
  27002. #: guix-git/doc/guix.texi:18342
  27003. msgid "Defaults to @samp{\"/etc/cups\"}."
  27004. msgstr ""
  27005. #. type: deftypevr
  27006. #: guix-git/doc/guix.texi:18344
  27007. #, no-wrap
  27008. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  27009. msgstr ""
  27010. #. type: deftypevr
  27011. #: guix-git/doc/guix.texi:18347
  27012. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  27013. msgstr ""
  27014. #. type: deftypevr
  27015. #: guix-git/doc/guix.texi:18351
  27016. #, no-wrap
  27017. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  27018. msgstr ""
  27019. #. type: deftypevr
  27020. #: guix-git/doc/guix.texi:18353
  27021. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  27022. msgstr ""
  27023. #. type: deftypevr
  27024. #: guix-git/doc/guix.texi:18355
  27025. #, no-wrap
  27026. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  27027. msgstr ""
  27028. #. type: deftypevr
  27029. #: guix-git/doc/guix.texi:18357
  27030. msgid "Specifies the directory where temporary files are stored."
  27031. msgstr ""
  27032. #. type: deftypevr
  27033. #: guix-git/doc/guix.texi:18359
  27034. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  27035. msgstr ""
  27036. #. type: deftypevr
  27037. #: guix-git/doc/guix.texi:18361
  27038. #, no-wrap
  27039. msgid "{@code{files-configuration} parameter} string user"
  27040. msgstr ""
  27041. #. type: deftypevr
  27042. #: guix-git/doc/guix.texi:18364
  27043. msgid "Specifies the user name or ID that is used when running external programs."
  27044. msgstr ""
  27045. #. type: deftypevr
  27046. #: guix-git/doc/guix.texi:18368
  27047. #, no-wrap
  27048. msgid "{@code{files-configuration} parameter} string set-env"
  27049. msgstr ""
  27050. #. type: deftypevr
  27051. #: guix-git/doc/guix.texi:18370
  27052. msgid "Set the specified environment variable to be passed to child processes."
  27053. msgstr ""
  27054. #. type: deftypevr
  27055. #: guix-git/doc/guix.texi:18372
  27056. msgid "Defaults to @samp{\"variable value\"}."
  27057. msgstr ""
  27058. #. type: deftypevr
  27059. #: guix-git/doc/guix.texi:18375
  27060. #, no-wrap
  27061. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  27062. msgstr ""
  27063. #. type: deftypevr
  27064. #: guix-git/doc/guix.texi:18382
  27065. 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."
  27066. msgstr ""
  27067. #. type: deftypevr
  27068. #: guix-git/doc/guix.texi:18384
  27069. msgid "Defaults to @samp{actions}."
  27070. msgstr ""
  27071. #. type: deftypevr
  27072. #: guix-git/doc/guix.texi:18386
  27073. #, no-wrap
  27074. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  27075. msgstr ""
  27076. #. type: deftypevr
  27077. #: guix-git/doc/guix.texi:18389
  27078. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  27079. msgstr ""
  27080. #. type: deftypevr
  27081. #: guix-git/doc/guix.texi:18393
  27082. #, no-wrap
  27083. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  27084. msgstr ""
  27085. #. type: deftypevr
  27086. #: guix-git/doc/guix.texi:18397
  27087. 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."
  27088. msgstr ""
  27089. #. type: deftypevr
  27090. #: guix-git/doc/guix.texi:18399
  27091. msgid "Defaults to @samp{\"_cups\"}."
  27092. msgstr ""
  27093. #. type: deftypevr
  27094. #: guix-git/doc/guix.texi:18401
  27095. #, no-wrap
  27096. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  27097. msgstr ""
  27098. #. type: deftypevr
  27099. #: guix-git/doc/guix.texi:18403
  27100. msgid "Specifies which protocols to use for local printer sharing."
  27101. msgstr ""
  27102. #. type: deftypevr
  27103. #: guix-git/doc/guix.texi:18405
  27104. msgid "Defaults to @samp{dnssd}."
  27105. msgstr ""
  27106. #. type: deftypevr
  27107. #: guix-git/doc/guix.texi:18407
  27108. #, no-wrap
  27109. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  27110. msgstr ""
  27111. #. type: deftypevr
  27112. #: guix-git/doc/guix.texi:18409
  27113. msgid "Specifies whether the CUPS web interface is advertised."
  27114. msgstr ""
  27115. #. type: deftypevr
  27116. #: guix-git/doc/guix.texi:18413
  27117. #, no-wrap
  27118. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  27119. msgstr ""
  27120. #. type: deftypevr
  27121. #: guix-git/doc/guix.texi:18415
  27122. msgid "Specifies whether shared printers are advertised."
  27123. msgstr ""
  27124. #. type: deftypevr
  27125. #: guix-git/doc/guix.texi:18419
  27126. #, no-wrap
  27127. msgid "{@code{cups-configuration} parameter} string classification"
  27128. msgstr ""
  27129. #. type: deftypevr
  27130. #: guix-git/doc/guix.texi:18424
  27131. 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."
  27132. msgstr ""
  27133. #. type: deftypevr
  27134. #: guix-git/doc/guix.texi:18426 guix-git/doc/guix.texi:18763
  27135. #: guix-git/doc/guix.texi:20711 guix-git/doc/guix.texi:20723
  27136. #: guix-git/doc/guix.texi:21497 guix-git/doc/guix.texi:21511
  27137. #: guix-git/doc/guix.texi:21518 guix-git/doc/guix.texi:21525
  27138. #: guix-git/doc/guix.texi:21555 guix-git/doc/guix.texi:21653
  27139. #: guix-git/doc/guix.texi:23544 guix-git/doc/guix.texi:23570
  27140. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23652
  27141. #: guix-git/doc/guix.texi:23671 guix-git/doc/guix.texi:23710
  27142. #: guix-git/doc/guix.texi:23769 guix-git/doc/guix.texi:23779
  27143. #: guix-git/doc/guix.texi:28300 guix-git/doc/guix.texi:28308
  27144. #: guix-git/doc/guix.texi:28316 guix-git/doc/guix.texi:28324
  27145. #: guix-git/doc/guix.texi:28603 guix-git/doc/guix.texi:29904
  27146. #: guix-git/doc/guix.texi:29912 guix-git/doc/guix.texi:29920
  27147. #: guix-git/doc/guix.texi:30028 guix-git/doc/guix.texi:30053
  27148. #: guix-git/doc/guix.texi:30184 guix-git/doc/guix.texi:30192
  27149. #: guix-git/doc/guix.texi:30200 guix-git/doc/guix.texi:30208
  27150. #: guix-git/doc/guix.texi:30216 guix-git/doc/guix.texi:30224
  27151. #: guix-git/doc/guix.texi:30247 guix-git/doc/guix.texi:30255
  27152. #: guix-git/doc/guix.texi:30307 guix-git/doc/guix.texi:30323
  27153. #: guix-git/doc/guix.texi:30331 guix-git/doc/guix.texi:30370
  27154. #: guix-git/doc/guix.texi:30393 guix-git/doc/guix.texi:30415
  27155. #: guix-git/doc/guix.texi:30422 guix-git/doc/guix.texi:30457
  27156. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30489
  27157. #: guix-git/doc/guix.texi:30521 guix-git/doc/guix.texi:30550
  27158. #: guix-git/doc/guix.texi:30557 guix-git/doc/guix.texi:30564
  27159. #: guix-git/doc/guix.texi:30572 guix-git/doc/guix.texi:30586
  27160. #: guix-git/doc/guix.texi:30595 guix-git/doc/guix.texi:30605
  27161. #: guix-git/doc/guix.texi:30612 guix-git/doc/guix.texi:30619
  27162. #: guix-git/doc/guix.texi:30626 guix-git/doc/guix.texi:30697
  27163. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  27164. #: guix-git/doc/guix.texi:30720 guix-git/doc/guix.texi:30736
  27165. #: guix-git/doc/guix.texi:30743 guix-git/doc/guix.texi:30750
  27166. #: guix-git/doc/guix.texi:30757 guix-git/doc/guix.texi:30765
  27167. #: guix-git/doc/guix.texi:30773
  27168. msgid "Defaults to @samp{\"\"}."
  27169. msgstr ""
  27170. #. type: deftypevr
  27171. #: guix-git/doc/guix.texi:18428
  27172. #, no-wrap
  27173. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  27174. msgstr ""
  27175. #. type: deftypevr
  27176. #: guix-git/doc/guix.texi:18431
  27177. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  27178. msgstr ""
  27179. #. type: deftypevr
  27180. #: guix-git/doc/guix.texi:18435
  27181. #, no-wrap
  27182. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  27183. msgstr ""
  27184. #. type: deftypevr
  27185. #: guix-git/doc/guix.texi:18437
  27186. msgid "Specifies the default type of authentication to use."
  27187. msgstr ""
  27188. #. type: deftypevr
  27189. #: guix-git/doc/guix.texi:18439
  27190. msgid "Defaults to @samp{Basic}."
  27191. msgstr ""
  27192. #. type: deftypevr
  27193. #: guix-git/doc/guix.texi:18441
  27194. #, no-wrap
  27195. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  27196. msgstr ""
  27197. #. type: deftypevr
  27198. #: guix-git/doc/guix.texi:18443
  27199. msgid "Specifies whether encryption will be used for authenticated requests."
  27200. msgstr ""
  27201. #. type: deftypevr
  27202. #: guix-git/doc/guix.texi:18445
  27203. msgid "Defaults to @samp{Required}."
  27204. msgstr ""
  27205. #. type: deftypevr
  27206. #: guix-git/doc/guix.texi:18447
  27207. #, no-wrap
  27208. msgid "{@code{cups-configuration} parameter} string default-language"
  27209. msgstr ""
  27210. #. type: deftypevr
  27211. #: guix-git/doc/guix.texi:18449
  27212. msgid "Specifies the default language to use for text and web content."
  27213. msgstr ""
  27214. #. type: deftypevr
  27215. #: guix-git/doc/guix.texi:18451
  27216. msgid "Defaults to @samp{\"en\"}."
  27217. msgstr ""
  27218. #. type: deftypevr
  27219. #: guix-git/doc/guix.texi:18453
  27220. #, no-wrap
  27221. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  27222. msgstr ""
  27223. #. type: deftypevr
  27224. #: guix-git/doc/guix.texi:18458
  27225. 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\"}."
  27226. msgstr ""
  27227. #. type: deftypevr
  27228. #: guix-git/doc/guix.texi:18460
  27229. msgid "Defaults to @samp{\"Auto\"}."
  27230. msgstr ""
  27231. #. type: deftypevr
  27232. #: guix-git/doc/guix.texi:18462
  27233. #, no-wrap
  27234. msgid "{@code{cups-configuration} parameter} string default-policy"
  27235. msgstr ""
  27236. #. type: deftypevr
  27237. #: guix-git/doc/guix.texi:18464
  27238. msgid "Specifies the default access policy to use."
  27239. msgstr ""
  27240. #. type: deftypevr
  27241. #: guix-git/doc/guix.texi:18466
  27242. msgid "Defaults to @samp{\"default\"}."
  27243. msgstr ""
  27244. #. type: deftypevr
  27245. #: guix-git/doc/guix.texi:18468
  27246. #, no-wrap
  27247. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  27248. msgstr ""
  27249. #. type: deftypevr
  27250. #: guix-git/doc/guix.texi:18470
  27251. msgid "Specifies whether local printers are shared by default."
  27252. msgstr ""
  27253. #. type: deftypevr
  27254. #: guix-git/doc/guix.texi:18472 guix-git/doc/guix.texi:18552
  27255. #: guix-git/doc/guix.texi:18848 guix-git/doc/guix.texi:21587
  27256. #: guix-git/doc/guix.texi:21638 guix-git/doc/guix.texi:21645
  27257. #: guix-git/doc/guix.texi:22699 guix-git/doc/guix.texi:22887
  27258. #: guix-git/doc/guix.texi:23004 guix-git/doc/guix.texi:23040
  27259. #: guix-git/doc/guix.texi:23091 guix-git/doc/guix.texi:23110
  27260. #: guix-git/doc/guix.texi:23120 guix-git/doc/guix.texi:23130
  27261. #: guix-git/doc/guix.texi:23189 guix-git/doc/guix.texi:23211
  27262. #: guix-git/doc/guix.texi:23236 guix-git/doc/guix.texi:23262
  27263. #: guix-git/doc/guix.texi:23280 guix-git/doc/guix.texi:26460
  27264. #: guix-git/doc/guix.texi:26488 guix-git/doc/guix.texi:26615
  27265. #: guix-git/doc/guix.texi:26622 guix-git/doc/guix.texi:26630
  27266. #: guix-git/doc/guix.texi:26667 guix-git/doc/guix.texi:26681
  27267. #: guix-git/doc/guix.texi:26770 guix-git/doc/guix.texi:26777
  27268. #: guix-git/doc/guix.texi:26785 guix-git/doc/guix.texi:27508
  27269. #: guix-git/doc/guix.texi:27648 guix-git/doc/guix.texi:27834
  27270. #: guix-git/doc/guix.texi:27841 guix-git/doc/guix.texi:27863
  27271. #: guix-git/doc/guix.texi:27902 guix-git/doc/guix.texi:27922
  27272. #: guix-git/doc/guix.texi:27936 guix-git/doc/guix.texi:28149
  27273. #: guix-git/doc/guix.texi:30006 guix-git/doc/guix.texi:30094
  27274. #: guix-git/doc/guix.texi:30110 guix-git/doc/guix.texi:30160
  27275. msgid "Defaults to @samp{#t}."
  27276. msgstr ""
  27277. #. type: deftypevr
  27278. #: guix-git/doc/guix.texi:18474
  27279. #, no-wrap
  27280. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  27281. msgstr ""
  27282. #. type: deftypevr
  27283. #: guix-git/doc/guix.texi:18478
  27284. 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."
  27285. msgstr ""
  27286. #. type: deftypevr
  27287. #: guix-git/doc/guix.texi:18480 guix-git/doc/guix.texi:18528
  27288. #: guix-git/doc/guix.texi:18537 guix-git/doc/guix.texi:18558
  27289. #: guix-git/doc/guix.texi:18855 guix-git/doc/guix.texi:23049
  27290. #: guix-git/doc/guix.texi:23082
  27291. msgid "Defaults to @samp{30}."
  27292. msgstr ""
  27293. #. type: deftypevr
  27294. #: guix-git/doc/guix.texi:18482
  27295. #, no-wrap
  27296. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  27297. msgstr ""
  27298. #. type: deftypevr
  27299. #: guix-git/doc/guix.texi:18488
  27300. 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."
  27301. msgstr ""
  27302. #. type: deftypevr
  27303. #: guix-git/doc/guix.texi:18490
  27304. msgid "Defaults to @samp{stop-printer}."
  27305. msgstr ""
  27306. #. type: deftypevr
  27307. #: guix-git/doc/guix.texi:18492
  27308. #, no-wrap
  27309. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  27310. msgstr ""
  27311. #. type: deftypevr
  27312. #: guix-git/doc/guix.texi:18500
  27313. 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."
  27314. msgstr ""
  27315. #. type: deftypevr
  27316. #: guix-git/doc/guix.texi:18502 guix-git/doc/guix.texi:18510
  27317. #: guix-git/doc/guix.texi:18565 guix-git/doc/guix.texi:18681
  27318. #: guix-git/doc/guix.texi:18695 guix-git/doc/guix.texi:18702
  27319. #: guix-git/doc/guix.texi:20153 guix-git/doc/guix.texi:20169
  27320. #: guix-git/doc/guix.texi:20815 guix-git/doc/guix.texi:20827
  27321. #: guix-git/doc/guix.texi:21606 guix-git/doc/guix.texi:21615
  27322. #: guix-git/doc/guix.texi:21623 guix-git/doc/guix.texi:21631
  27323. #: guix-git/doc/guix.texi:27524 guix-git/doc/guix.texi:27849
  27324. #: guix-git/doc/guix.texi:29999 guix-git/doc/guix.texi:30299
  27325. #: guix-git/doc/guix.texi:30473
  27326. msgid "Defaults to @samp{0}."
  27327. msgstr ""
  27328. #. type: deftypevr
  27329. #: guix-git/doc/guix.texi:18504
  27330. #, no-wrap
  27331. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  27332. msgstr ""
  27333. #. type: deftypevr
  27334. #: guix-git/doc/guix.texi:18508
  27335. 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."
  27336. msgstr ""
  27337. #. type: deftypevr
  27338. #: guix-git/doc/guix.texi:18512
  27339. #, no-wrap
  27340. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  27341. msgstr ""
  27342. #. type: deftypevr
  27343. #: guix-git/doc/guix.texi:18519
  27344. 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."
  27345. msgstr ""
  27346. #. type: deftypevr
  27347. #: guix-git/doc/guix.texi:18523
  27348. #, no-wrap
  27349. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  27350. msgstr ""
  27351. #. type: deftypevr
  27352. #: guix-git/doc/guix.texi:18526
  27353. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  27354. msgstr ""
  27355. #. type: deftypevr
  27356. #: guix-git/doc/guix.texi:18530
  27357. #, no-wrap
  27358. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  27359. msgstr ""
  27360. #. type: deftypevr
  27361. #: guix-git/doc/guix.texi:18535
  27362. 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}."
  27363. msgstr ""
  27364. #. type: deftypevr
  27365. #: guix-git/doc/guix.texi:18539
  27366. #, no-wrap
  27367. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  27368. msgstr ""
  27369. #. type: deftypevr
  27370. #: guix-git/doc/guix.texi:18544
  27371. 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}."
  27372. msgstr ""
  27373. #. type: deftypevr
  27374. #: guix-git/doc/guix.texi:18546 guix-git/doc/guix.texi:23013
  27375. #: guix-git/doc/guix.texi:28401 guix-git/doc/guix.texi:28421
  27376. #: guix-git/doc/guix.texi:28437 guix-git/doc/guix.texi:28451
  27377. #: guix-git/doc/guix.texi:28458 guix-git/doc/guix.texi:28465
  27378. #: guix-git/doc/guix.texi:28472 guix-git/doc/guix.texi:28632
  27379. #: guix-git/doc/guix.texi:28648 guix-git/doc/guix.texi:28655
  27380. #: guix-git/doc/guix.texi:28662 guix-git/doc/guix.texi:28673
  27381. #: guix-git/doc/guix.texi:29951 guix-git/doc/guix.texi:29959
  27382. #: guix-git/doc/guix.texi:29967 guix-git/doc/guix.texi:29991
  27383. msgid "Defaults to @samp{5}."
  27384. msgstr ""
  27385. #. type: deftypevr
  27386. #: guix-git/doc/guix.texi:18548
  27387. #, no-wrap
  27388. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  27389. msgstr ""
  27390. #. type: deftypevr
  27391. #: guix-git/doc/guix.texi:18550
  27392. msgid "Specifies whether to support HTTP keep-alive connections."
  27393. msgstr ""
  27394. #. type: deftypevr
  27395. #: guix-git/doc/guix.texi:18554
  27396. #, no-wrap
  27397. msgid "{@code{cups-configuration} parameter} non-negative-integer keep-alive-timeout"
  27398. msgstr ""
  27399. #. type: deftypevr
  27400. #: guix-git/doc/guix.texi:18556
  27401. msgid "Specifies how long an idle client connection remains open, in seconds."
  27402. msgstr ""
  27403. #. type: deftypevr
  27404. #: guix-git/doc/guix.texi:18560
  27405. #, no-wrap
  27406. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  27407. msgstr ""
  27408. #. type: deftypevr
  27409. #: guix-git/doc/guix.texi:18563
  27410. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  27411. msgstr ""
  27412. #. type: deftypevr
  27413. #: guix-git/doc/guix.texi:18567
  27414. #, no-wrap
  27415. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  27416. msgstr ""
  27417. #. type: deftypevr
  27418. #: guix-git/doc/guix.texi:18574
  27419. 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."
  27420. msgstr ""
  27421. #. type: deftypevr
  27422. #: guix-git/doc/guix.texi:18576
  27423. #, no-wrap
  27424. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  27425. msgstr ""
  27426. #. type: deftypevr
  27427. #: guix-git/doc/guix.texi:18583
  27428. 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."
  27429. msgstr ""
  27430. #. type: deftypevr
  27431. #: guix-git/doc/guix.texi:18585
  27432. msgid "Defaults to @samp{128}."
  27433. msgstr ""
  27434. #. type: deftypevr
  27435. #: guix-git/doc/guix.texi:18587
  27436. #, no-wrap
  27437. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  27438. msgstr ""
  27439. #. type: deftypevr
  27440. #: guix-git/doc/guix.texi:18589
  27441. msgid "Specifies a set of additional access controls."
  27442. msgstr ""
  27443. #. type: deftypevr
  27444. #: guix-git/doc/guix.texi:18591
  27445. msgid "Available @code{location-access-controls} fields are:"
  27446. msgstr ""
  27447. #. type: deftypevr
  27448. #: guix-git/doc/guix.texi:18592
  27449. #, no-wrap
  27450. msgid "{@code{location-access-controls} parameter} file-name path"
  27451. msgstr ""
  27452. #. type: deftypevr
  27453. #: guix-git/doc/guix.texi:18594
  27454. msgid "Specifies the URI path to which the access control applies."
  27455. msgstr ""
  27456. #. type: deftypevr
  27457. #: guix-git/doc/guix.texi:18596
  27458. #, no-wrap
  27459. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  27460. msgstr ""
  27461. #. type: deftypevr
  27462. #: guix-git/doc/guix.texi:18599
  27463. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  27464. msgstr ""
  27465. #. type: deftypevr
  27466. #: guix-git/doc/guix.texi:18601 guix-git/doc/guix.texi:18607
  27467. #: guix-git/doc/guix.texi:18621 guix-git/doc/guix.texi:18628
  27468. #: guix-git/doc/guix.texi:18770 guix-git/doc/guix.texi:18829
  27469. #: guix-git/doc/guix.texi:18907 guix-git/doc/guix.texi:18921
  27470. #: guix-git/doc/guix.texi:21301 guix-git/doc/guix.texi:21504
  27471. #: guix-git/doc/guix.texi:21532 guix-git/doc/guix.texi:21562
  27472. #: guix-git/doc/guix.texi:21677 guix-git/doc/guix.texi:21690
  27473. #: guix-git/doc/guix.texi:21697 guix-git/doc/guix.texi:23219
  27474. #: guix-git/doc/guix.texi:23614 guix-git/doc/guix.texi:23718
  27475. #: guix-git/doc/guix.texi:24145 guix-git/doc/guix.texi:24153
  27476. #: guix-git/doc/guix.texi:24398 guix-git/doc/guix.texi:26519
  27477. #: guix-git/doc/guix.texi:26688 guix-git/doc/guix.texi:26887
  27478. #: guix-git/doc/guix.texi:28292 guix-git/doc/guix.texi:28352
  27479. #: guix-git/doc/guix.texi:28360 guix-git/doc/guix.texi:30014
  27480. #: guix-git/doc/guix.texi:30021 guix-git/doc/guix.texi:30363
  27481. #: guix-git/doc/guix.texi:30441 guix-git/doc/guix.texi:30535
  27482. #: guix-git/doc/guix.texi:30543 guix-git/doc/guix.texi:30579
  27483. #: guix-git/doc/guix.texi:30729 guix-git/doc/guix.texi:30780
  27484. #: guix-git/doc/guix.texi:30789
  27485. msgid "Defaults to @samp{()}."
  27486. msgstr ""
  27487. #. type: deftypevr
  27488. #: guix-git/doc/guix.texi:18603
  27489. #, no-wrap
  27490. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  27491. msgstr ""
  27492. #. type: deftypevr
  27493. #: guix-git/doc/guix.texi:18605
  27494. msgid "Access controls for method-specific access to this path."
  27495. msgstr ""
  27496. #. type: deftypevr
  27497. #: guix-git/doc/guix.texi:18609
  27498. msgid "Available @code{method-access-controls} fields are:"
  27499. msgstr ""
  27500. #. type: deftypevr
  27501. #: guix-git/doc/guix.texi:18610
  27502. #, no-wrap
  27503. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  27504. msgstr ""
  27505. #. type: deftypevr
  27506. #: guix-git/doc/guix.texi:18613
  27507. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  27508. msgstr ""
  27509. #. type: deftypevr
  27510. #: guix-git/doc/guix.texi:18617
  27511. #, no-wrap
  27512. msgid "{@code{method-access-controls} parameter} method-list methods"
  27513. msgstr ""
  27514. #. type: deftypevr
  27515. #: guix-git/doc/guix.texi:18619
  27516. msgid "Methods to which this access control applies."
  27517. msgstr ""
  27518. #. type: deftypevr
  27519. #: guix-git/doc/guix.texi:18623
  27520. #, no-wrap
  27521. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  27522. msgstr ""
  27523. #. type: deftypevr
  27524. #: guix-git/doc/guix.texi:18626
  27525. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  27526. msgstr ""
  27527. #. type: deftypevr
  27528. #: guix-git/doc/guix.texi:18632
  27529. #, no-wrap
  27530. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  27531. msgstr ""
  27532. #. type: deftypevr
  27533. #: guix-git/doc/guix.texi:18636
  27534. 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."
  27535. msgstr ""
  27536. #. type: deftypevr
  27537. #: guix-git/doc/guix.texi:18638 guix-git/doc/guix.texi:18659
  27538. #: guix-git/doc/guix.texi:18666 guix-git/doc/guix.texi:21061
  27539. #: guix-git/doc/guix.texi:22751 guix-git/doc/guix.texi:22766
  27540. #: guix-git/doc/guix.texi:26872
  27541. msgid "Defaults to @samp{100}."
  27542. msgstr ""
  27543. #. type: deftypevr
  27544. #: guix-git/doc/guix.texi:18640
  27545. #, no-wrap
  27546. msgid "{@code{cups-configuration} parameter} log-level log-level"
  27547. msgstr ""
  27548. #. type: deftypevr
  27549. #: guix-git/doc/guix.texi:18643
  27550. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  27551. msgstr ""
  27552. #. type: deftypevr
  27553. #: guix-git/doc/guix.texi:18645 guix-git/doc/guix.texi:23228
  27554. msgid "Defaults to @samp{info}."
  27555. msgstr ""
  27556. #. type: deftypevr
  27557. #: guix-git/doc/guix.texi:18647
  27558. #, no-wrap
  27559. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  27560. msgstr ""
  27561. #. type: deftypevr
  27562. #: guix-git/doc/guix.texi:18650
  27563. 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."
  27564. msgstr ""
  27565. #. type: deftypevr
  27566. #: guix-git/doc/guix.texi:18652
  27567. msgid "Defaults to @samp{standard}."
  27568. msgstr ""
  27569. #. type: deftypevr
  27570. #: guix-git/doc/guix.texi:18654
  27571. #, no-wrap
  27572. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  27573. msgstr ""
  27574. #. type: deftypevr
  27575. #: guix-git/doc/guix.texi:18657
  27576. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  27577. msgstr ""
  27578. #. type: deftypevr
  27579. #: guix-git/doc/guix.texi:18661
  27580. #, no-wrap
  27581. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  27582. msgstr ""
  27583. #. type: deftypevr
  27584. #: guix-git/doc/guix.texi:18664
  27585. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  27586. msgstr ""
  27587. #. type: deftypevr
  27588. #: guix-git/doc/guix.texi:18668
  27589. #, no-wrap
  27590. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  27591. msgstr ""
  27592. #. type: deftypevr
  27593. #: guix-git/doc/guix.texi:18671
  27594. msgid "Specifies the maximum number of copies that a user can print of each job."
  27595. msgstr ""
  27596. #. type: deftypevr
  27597. #: guix-git/doc/guix.texi:18673
  27598. msgid "Defaults to @samp{9999}."
  27599. msgstr ""
  27600. #. type: deftypevr
  27601. #: guix-git/doc/guix.texi:18675
  27602. #, no-wrap
  27603. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  27604. msgstr ""
  27605. #. type: deftypevr
  27606. #: guix-git/doc/guix.texi:18679
  27607. 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."
  27608. msgstr ""
  27609. #. type: deftypevr
  27610. #: guix-git/doc/guix.texi:18683
  27611. #, no-wrap
  27612. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  27613. msgstr ""
  27614. #. type: deftypevr
  27615. #: guix-git/doc/guix.texi:18686
  27616. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  27617. msgstr ""
  27618. #. type: deftypevr
  27619. #: guix-git/doc/guix.texi:18688
  27620. msgid "Defaults to @samp{500}."
  27621. msgstr ""
  27622. #. type: deftypevr
  27623. #: guix-git/doc/guix.texi:18690
  27624. #, no-wrap
  27625. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  27626. msgstr ""
  27627. #. type: deftypevr
  27628. #: guix-git/doc/guix.texi:18693
  27629. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  27630. msgstr ""
  27631. #. type: deftypevr
  27632. #: guix-git/doc/guix.texi:18697
  27633. #, no-wrap
  27634. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  27635. msgstr ""
  27636. #. type: deftypevr
  27637. #: guix-git/doc/guix.texi:18700
  27638. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  27639. msgstr ""
  27640. #. type: deftypevr
  27641. #: guix-git/doc/guix.texi:18704
  27642. #, no-wrap
  27643. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  27644. msgstr ""
  27645. #. type: deftypevr
  27646. #: guix-git/doc/guix.texi:18707
  27647. 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."
  27648. msgstr ""
  27649. #. type: deftypevr
  27650. #: guix-git/doc/guix.texi:18709
  27651. msgid "Defaults to @samp{10800}."
  27652. msgstr ""
  27653. #. type: deftypevr
  27654. #: guix-git/doc/guix.texi:18711
  27655. #, no-wrap
  27656. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  27657. msgstr ""
  27658. #. type: deftypevr
  27659. #: guix-git/doc/guix.texi:18714
  27660. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  27661. msgstr ""
  27662. #. type: deftypevr
  27663. #: guix-git/doc/guix.texi:18716
  27664. msgid "Defaults to @samp{1048576}."
  27665. msgstr ""
  27666. #. type: deftypevr
  27667. #: guix-git/doc/guix.texi:18718
  27668. #, no-wrap
  27669. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  27670. msgstr ""
  27671. #. type: deftypevr
  27672. #: guix-git/doc/guix.texi:18721
  27673. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  27674. msgstr ""
  27675. #. type: deftypevr
  27676. #: guix-git/doc/guix.texi:18723 guix-git/doc/guix.texi:18934
  27677. #: guix-git/doc/guix.texi:26453
  27678. msgid "Defaults to @samp{300}."
  27679. msgstr ""
  27680. #. type: deftypevr
  27681. #: guix-git/doc/guix.texi:18725
  27682. #, no-wrap
  27683. msgid "{@code{cups-configuration} parameter} string page-log-format"
  27684. msgstr ""
  27685. #. type: deftypevr
  27686. #: guix-git/doc/guix.texi:18730
  27687. 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:"
  27688. msgstr ""
  27689. #. type: item
  27690. #: guix-git/doc/guix.texi:18732
  27691. #, no-wrap
  27692. msgid "%%"
  27693. msgstr ""
  27694. #. type: table
  27695. #: guix-git/doc/guix.texi:18734
  27696. msgid "insert a single percent character"
  27697. msgstr ""
  27698. #. type: item
  27699. #: guix-git/doc/guix.texi:18735
  27700. #, no-wrap
  27701. msgid "%@{name@}"
  27702. msgstr ""
  27703. #. type: table
  27704. #: guix-git/doc/guix.texi:18737
  27705. msgid "insert the value of the specified IPP attribute"
  27706. msgstr ""
  27707. #. type: item
  27708. #: guix-git/doc/guix.texi:18738
  27709. #, no-wrap
  27710. msgid "%C"
  27711. msgstr ""
  27712. #. type: table
  27713. #: guix-git/doc/guix.texi:18740
  27714. msgid "insert the number of copies for the current page"
  27715. msgstr ""
  27716. #. type: item
  27717. #: guix-git/doc/guix.texi:18741
  27718. #, no-wrap
  27719. msgid "%P"
  27720. msgstr ""
  27721. #. type: table
  27722. #: guix-git/doc/guix.texi:18743
  27723. msgid "insert the current page number"
  27724. msgstr ""
  27725. #. type: item
  27726. #: guix-git/doc/guix.texi:18744
  27727. #, no-wrap
  27728. msgid "%T"
  27729. msgstr ""
  27730. #. type: table
  27731. #: guix-git/doc/guix.texi:18746
  27732. msgid "insert the current date and time in common log format"
  27733. msgstr ""
  27734. #. type: item
  27735. #: guix-git/doc/guix.texi:18747
  27736. #, no-wrap
  27737. msgid "%j"
  27738. msgstr ""
  27739. #. type: table
  27740. #: guix-git/doc/guix.texi:18749
  27741. msgid "insert the job ID"
  27742. msgstr ""
  27743. #. type: item
  27744. #: guix-git/doc/guix.texi:18750 guix-git/doc/guix.texi:20671
  27745. #, no-wrap
  27746. msgid "%p"
  27747. msgstr ""
  27748. #. type: table
  27749. #: guix-git/doc/guix.texi:18752
  27750. msgid "insert the printer name"
  27751. msgstr ""
  27752. #. type: item
  27753. #: guix-git/doc/guix.texi:18753 guix-git/doc/guix.texi:20694
  27754. #, no-wrap
  27755. msgid "%u"
  27756. msgstr ""
  27757. #. type: table
  27758. #: guix-git/doc/guix.texi:18755
  27759. msgid "insert the username"
  27760. msgstr ""
  27761. #. type: deftypevr
  27762. #: guix-git/doc/guix.texi:18761
  27763. 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."
  27764. msgstr ""
  27765. #. type: deftypevr
  27766. #: guix-git/doc/guix.texi:18765
  27767. #, no-wrap
  27768. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  27769. msgstr ""
  27770. #. type: deftypevr
  27771. #: guix-git/doc/guix.texi:18768
  27772. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  27773. msgstr ""
  27774. #. type: deftypevr
  27775. #: guix-git/doc/guix.texi:18772
  27776. #, no-wrap
  27777. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  27778. msgstr ""
  27779. #. type: deftypevr
  27780. #: guix-git/doc/guix.texi:18774
  27781. msgid "Specifies named access control policies."
  27782. msgstr ""
  27783. #. type: deftypevr
  27784. #: guix-git/doc/guix.texi:18776
  27785. msgid "Available @code{policy-configuration} fields are:"
  27786. msgstr ""
  27787. #. type: deftypevr
  27788. #: guix-git/doc/guix.texi:18777
  27789. #, no-wrap
  27790. msgid "{@code{policy-configuration} parameter} string name"
  27791. msgstr ""
  27792. #. type: deftypevr
  27793. #: guix-git/doc/guix.texi:18779
  27794. msgid "Name of the policy."
  27795. msgstr ""
  27796. #. type: deftypevr
  27797. #: guix-git/doc/guix.texi:18781
  27798. #, no-wrap
  27799. msgid "{@code{policy-configuration} parameter} string job-private-access"
  27800. msgstr ""
  27801. #. type: deftypevr
  27802. #: guix-git/doc/guix.texi:18791
  27803. 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}."
  27804. msgstr ""
  27805. #. type: deftypevr
  27806. #: guix-git/doc/guix.texi:18793 guix-git/doc/guix.texi:18815
  27807. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  27808. msgstr ""
  27809. #. type: deftypevr
  27810. #: guix-git/doc/guix.texi:18795
  27811. #, no-wrap
  27812. msgid "{@code{policy-configuration} parameter} string job-private-values"
  27813. msgstr ""
  27814. #. type: deftypevr
  27815. #: guix-git/doc/guix.texi:18798 guix-git/doc/guix.texi:18820
  27816. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  27817. msgstr ""
  27818. #. type: deftypevr
  27819. #: guix-git/doc/guix.texi:18801
  27820. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  27821. msgstr ""
  27822. #. type: deftypevr
  27823. #: guix-git/doc/guix.texi:18803
  27824. #, no-wrap
  27825. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  27826. msgstr ""
  27827. #. type: deftypevr
  27828. #: guix-git/doc/guix.texi:18813
  27829. 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}."
  27830. msgstr ""
  27831. #. type: deftypevr
  27832. #: guix-git/doc/guix.texi:18817
  27833. #, no-wrap
  27834. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  27835. msgstr ""
  27836. #. type: deftypevr
  27837. #: guix-git/doc/guix.texi:18823
  27838. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  27839. msgstr ""
  27840. #. type: deftypevr
  27841. #: guix-git/doc/guix.texi:18825
  27842. #, no-wrap
  27843. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  27844. msgstr ""
  27845. #. type: deftypevr
  27846. #: guix-git/doc/guix.texi:18827
  27847. msgid "Access control by IPP operation."
  27848. msgstr ""
  27849. #. type: deftypevr
  27850. #: guix-git/doc/guix.texi:18832
  27851. #, no-wrap
  27852. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  27853. msgstr ""
  27854. #. type: deftypevr
  27855. #: guix-git/doc/guix.texi:18837
  27856. 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."
  27857. msgstr ""
  27858. #. type: deftypevr
  27859. #: guix-git/doc/guix.texi:18839
  27860. msgid "Defaults to @samp{86400}."
  27861. msgstr ""
  27862. #. type: deftypevr
  27863. #: guix-git/doc/guix.texi:18841
  27864. #, no-wrap
  27865. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  27866. msgstr ""
  27867. #. type: deftypevr
  27868. #: guix-git/doc/guix.texi:18846
  27869. 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."
  27870. msgstr ""
  27871. #. type: deftypevr
  27872. #: guix-git/doc/guix.texi:18850
  27873. #, no-wrap
  27874. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  27875. msgstr ""
  27876. #. type: deftypevr
  27877. #: guix-git/doc/guix.texi:18853
  27878. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  27879. msgstr ""
  27880. #. type: deftypevr
  27881. #: guix-git/doc/guix.texi:18857
  27882. #, no-wrap
  27883. msgid "{@code{cups-configuration} parameter} string rip-cache"
  27884. msgstr ""
  27885. #. type: deftypevr
  27886. #: guix-git/doc/guix.texi:18860
  27887. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  27888. msgstr ""
  27889. #. type: deftypevr
  27890. #: guix-git/doc/guix.texi:18862
  27891. msgid "Defaults to @samp{\"128m\"}."
  27892. msgstr ""
  27893. #. type: deftypevr
  27894. #: guix-git/doc/guix.texi:18864
  27895. #, no-wrap
  27896. msgid "{@code{cups-configuration} parameter} string server-admin"
  27897. msgstr ""
  27898. #. type: deftypevr
  27899. #: guix-git/doc/guix.texi:18866
  27900. msgid "Specifies the email address of the server administrator."
  27901. msgstr ""
  27902. #. type: deftypevr
  27903. #: guix-git/doc/guix.texi:18868
  27904. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  27905. msgstr ""
  27906. #. type: deftypevr
  27907. #: guix-git/doc/guix.texi:18870
  27908. #, no-wrap
  27909. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  27910. msgstr ""
  27911. #. type: deftypevr
  27912. #: guix-git/doc/guix.texi:18878
  27913. 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{*}."
  27914. msgstr ""
  27915. #. type: deftypevr
  27916. #: guix-git/doc/guix.texi:18880
  27917. msgid "Defaults to @samp{*}."
  27918. msgstr ""
  27919. #. type: deftypevr
  27920. #: guix-git/doc/guix.texi:18882
  27921. #, no-wrap
  27922. msgid "{@code{cups-configuration} parameter} string server-name"
  27923. msgstr ""
  27924. #. type: deftypevr
  27925. #: guix-git/doc/guix.texi:18884
  27926. msgid "Specifies the fully-qualified host name of the server."
  27927. msgstr ""
  27928. #. type: deftypevr
  27929. #: guix-git/doc/guix.texi:18886 guix-git/doc/guix.texi:23741
  27930. #: guix-git/doc/guix.texi:23786
  27931. msgid "Defaults to @samp{\"localhost\"}."
  27932. msgstr ""
  27933. #. type: deftypevr
  27934. #: guix-git/doc/guix.texi:18888
  27935. #, no-wrap
  27936. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  27937. msgstr ""
  27938. #. type: deftypevr
  27939. #: guix-git/doc/guix.texi:18896
  27940. 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}."
  27941. msgstr ""
  27942. #. type: deftypevr
  27943. #: guix-git/doc/guix.texi:18898
  27944. msgid "Defaults to @samp{Minimal}."
  27945. msgstr ""
  27946. #. type: deftypevr
  27947. #: guix-git/doc/guix.texi:18900
  27948. #, no-wrap
  27949. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  27950. msgstr ""
  27951. #. type: deftypevr
  27952. #: guix-git/doc/guix.texi:18905
  27953. 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."
  27954. msgstr ""
  27955. #. type: deftypevr
  27956. #: guix-git/doc/guix.texi:18909
  27957. #, no-wrap
  27958. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  27959. msgstr ""
  27960. #. type: deftypevr
  27961. #: guix-git/doc/guix.texi:18919
  27962. 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."
  27963. msgstr ""
  27964. #. type: deftypevr
  27965. #: guix-git/doc/guix.texi:18923
  27966. #, no-wrap
  27967. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  27968. msgstr ""
  27969. #. type: deftypevr
  27970. #: guix-git/doc/guix.texi:18926
  27971. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  27972. msgstr ""
  27973. #. type: deftypevr
  27974. #: guix-git/doc/guix.texi:18930
  27975. #, no-wrap
  27976. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  27977. msgstr ""
  27978. #. type: deftypevr
  27979. #: guix-git/doc/guix.texi:18932
  27980. msgid "Specifies the HTTP request timeout, in seconds."
  27981. msgstr ""
  27982. #. type: deftypevr
  27983. #: guix-git/doc/guix.texi:18937
  27984. #, no-wrap
  27985. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  27986. msgstr ""
  27987. #. type: deftypevr
  27988. #: guix-git/doc/guix.texi:18939
  27989. msgid "Specifies whether the web interface is enabled."
  27990. msgstr ""
  27991. #. type: Plain text
  27992. #: guix-git/doc/guix.texi:18949
  27993. 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}."
  27994. msgstr ""
  27995. #. type: Plain text
  27996. #: guix-git/doc/guix.texi:18951
  27997. msgid "Available @code{opaque-cups-configuration} fields are:"
  27998. msgstr ""
  27999. #. type: deftypevr
  28000. #: guix-git/doc/guix.texi:18952
  28001. #, no-wrap
  28002. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  28003. msgstr ""
  28004. #. type: deftypevr
  28005. #: guix-git/doc/guix.texi:18956
  28006. #, no-wrap
  28007. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  28008. msgstr ""
  28009. #. type: deftypevr
  28010. #: guix-git/doc/guix.texi:18958
  28011. msgid "The contents of the @code{cupsd.conf}, as a string."
  28012. msgstr ""
  28013. #. type: deftypevr
  28014. #: guix-git/doc/guix.texi:18960
  28015. #, no-wrap
  28016. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  28017. msgstr ""
  28018. #. type: deftypevr
  28019. #: guix-git/doc/guix.texi:18962
  28020. msgid "The contents of the @code{cups-files.conf} file, as a string."
  28021. msgstr ""
  28022. #. type: Plain text
  28023. #: guix-git/doc/guix.texi:18967
  28024. 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:"
  28025. msgstr ""
  28026. #. type: lisp
  28027. #: guix-git/doc/guix.texi:18973
  28028. #, no-wrap
  28029. msgid ""
  28030. "(service cups-service-type\n"
  28031. " (opaque-cups-configuration\n"
  28032. " (cupsd.conf cupsd.conf)\n"
  28033. " (cups-files.conf cups-files.conf)))\n"
  28034. msgstr ""
  28035. #. type: Plain text
  28036. #: guix-git/doc/guix.texi:18984
  28037. 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."
  28038. msgstr ""
  28039. #. type: Plain text
  28040. #: guix-git/doc/guix.texi:18988
  28041. 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:"
  28042. msgstr ""
  28043. #. type: defvr
  28044. #: guix-git/doc/guix.texi:18989
  28045. #, no-wrap
  28046. msgid "{Scheme Variable} %desktop-services"
  28047. msgstr ""
  28048. #. type: defvr
  28049. #: guix-git/doc/guix.texi:18992
  28050. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  28051. msgstr ""
  28052. #. type: defvr
  28053. #: guix-git/doc/guix.texi:19003
  28054. 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})."
  28055. msgstr ""
  28056. #. type: Plain text
  28057. #: guix-git/doc/guix.texi:19008
  28058. 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}})."
  28059. msgstr ""
  28060. #. type: Plain text
  28061. #: guix-git/doc/guix.texi:19031
  28062. 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."
  28063. msgstr ""
  28064. #. type: Plain text
  28065. #: guix-git/doc/guix.texi:19040
  28066. 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."
  28067. msgstr ""
  28068. #. type: defvr
  28069. #: guix-git/doc/guix.texi:19041
  28070. #, no-wrap
  28071. msgid "{Scheme Variable} gnome-desktop-service-type"
  28072. msgstr ""
  28073. #. type: defvr
  28074. #: guix-git/doc/guix.texi:19045
  28075. 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)."
  28076. msgstr ""
  28077. #. type: defvr
  28078. #: guix-git/doc/guix.texi:19048
  28079. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  28080. msgstr ""
  28081. #. type: deftp
  28082. #: guix-git/doc/guix.texi:19050
  28083. #, no-wrap
  28084. msgid "{Data Type} gnome-desktop-configuration"
  28085. msgstr ""
  28086. #. type: deftp
  28087. #: guix-git/doc/guix.texi:19052
  28088. msgid "Configuration record for the GNOME desktop environment."
  28089. msgstr ""
  28090. #. type: item
  28091. #: guix-git/doc/guix.texi:19054
  28092. #, no-wrap
  28093. msgid "@code{gnome} (default: @code{gnome})"
  28094. msgstr ""
  28095. #. type: table
  28096. #: guix-git/doc/guix.texi:19056
  28097. msgid "The GNOME package to use."
  28098. msgstr ""
  28099. #. type: defvr
  28100. #: guix-git/doc/guix.texi:19059
  28101. #, no-wrap
  28102. msgid "{Scheme Variable} xfce-desktop-service-type"
  28103. msgstr ""
  28104. #. type: defvr
  28105. #: guix-git/doc/guix.texi:19063
  28106. 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)."
  28107. msgstr ""
  28108. #. type: defvr
  28109. #: guix-git/doc/guix.texi:19068
  28110. 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."
  28111. msgstr ""
  28112. #. type: defvr
  28113. #: guix-git/doc/guix.texi:19074
  28114. 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}."
  28115. msgstr ""
  28116. #. type: deftp
  28117. #: guix-git/doc/guix.texi:19076
  28118. #, no-wrap
  28119. msgid "{Data Type} xfce-desktop-configuration"
  28120. msgstr ""
  28121. #. type: deftp
  28122. #: guix-git/doc/guix.texi:19078
  28123. msgid "Configuration record for the Xfce desktop environment."
  28124. msgstr ""
  28125. #. type: item
  28126. #: guix-git/doc/guix.texi:19080
  28127. #, no-wrap
  28128. msgid "@code{xfce} (default: @code{xfce})"
  28129. msgstr ""
  28130. #. type: table
  28131. #: guix-git/doc/guix.texi:19082
  28132. msgid "The Xfce package to use."
  28133. msgstr ""
  28134. #. type: deffn
  28135. #: guix-git/doc/guix.texi:19085
  28136. #, no-wrap
  28137. msgid "{Scheme Variable} mate-desktop-service-type"
  28138. msgstr ""
  28139. #. type: deffn
  28140. #: guix-git/doc/guix.texi:19089
  28141. 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)."
  28142. msgstr ""
  28143. #. type: deffn
  28144. #: guix-git/doc/guix.texi:19093
  28145. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  28146. msgstr ""
  28147. #. type: deftp
  28148. #: guix-git/doc/guix.texi:19095
  28149. #, no-wrap
  28150. msgid "{Data Type} mate-desktop-configuration"
  28151. msgstr ""
  28152. #. type: deftp
  28153. #: guix-git/doc/guix.texi:19097
  28154. msgid "Configuration record for the MATE desktop environment."
  28155. msgstr ""
  28156. #. type: item
  28157. #: guix-git/doc/guix.texi:19099
  28158. #, no-wrap
  28159. msgid "@code{mate} (default: @code{mate})"
  28160. msgstr ""
  28161. #. type: table
  28162. #: guix-git/doc/guix.texi:19101
  28163. msgid "The MATE package to use."
  28164. msgstr ""
  28165. #. type: deffn
  28166. #: guix-git/doc/guix.texi:19104
  28167. #, no-wrap
  28168. msgid "{Scheme Variable} lxqt-desktop-service-type"
  28169. msgstr ""
  28170. #. type: deffn
  28171. #: guix-git/doc/guix.texi:19108
  28172. 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)."
  28173. msgstr ""
  28174. #. type: deffn
  28175. #: guix-git/doc/guix.texi:19111
  28176. msgid "This service adds the @code{lxqt} package to the system profile."
  28177. msgstr ""
  28178. #. type: deftp
  28179. #: guix-git/doc/guix.texi:19113
  28180. #, no-wrap
  28181. msgid "{Data Type} lxqt-desktop-configuration"
  28182. msgstr ""
  28183. #. type: deftp
  28184. #: guix-git/doc/guix.texi:19115
  28185. msgid "Configuration record for the LXQt desktop environment."
  28186. msgstr ""
  28187. #. type: item
  28188. #: guix-git/doc/guix.texi:19117
  28189. #, no-wrap
  28190. msgid "@code{lxqt} (default: @code{lxqt})"
  28191. msgstr ""
  28192. #. type: table
  28193. #: guix-git/doc/guix.texi:19119
  28194. msgid "The LXQT package to use."
  28195. msgstr ""
  28196. #. type: deffn
  28197. #: guix-git/doc/guix.texi:19122
  28198. #, no-wrap
  28199. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  28200. msgstr ""
  28201. #. type: deffn
  28202. #: guix-git/doc/guix.texi:19125
  28203. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  28204. msgstr ""
  28205. #. type: deftp
  28206. #: guix-git/doc/guix.texi:19127
  28207. #, no-wrap
  28208. msgid "{Data Type} enlightenment-desktop-service-configuration"
  28209. msgstr ""
  28210. #. type: item
  28211. #: guix-git/doc/guix.texi:19129
  28212. #, no-wrap
  28213. msgid "@code{enlightenment} (default: @code{enlightenment})"
  28214. msgstr ""
  28215. #. type: table
  28216. #: guix-git/doc/guix.texi:19131
  28217. msgid "The enlightenment package to use."
  28218. msgstr ""
  28219. #. type: Plain text
  28220. #: guix-git/doc/guix.texi:19139
  28221. 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}:"
  28222. msgstr ""
  28223. #. type: lisp
  28224. #: guix-git/doc/guix.texi:19150
  28225. #, no-wrap
  28226. msgid ""
  28227. "(use-modules (gnu))\n"
  28228. "(use-service-modules desktop)\n"
  28229. "(operating-system\n"
  28230. " ...\n"
  28231. " ;; cons* adds items to the list given as its last argument.\n"
  28232. " (services (cons* (service gnome-desktop-service-type)\n"
  28233. " (service xfce-desktop-service)\n"
  28234. " %desktop-services))\n"
  28235. " ...)\n"
  28236. msgstr ""
  28237. #. type: Plain text
  28238. #: guix-git/doc/guix.texi:19154
  28239. msgid "These desktop environments will then be available as options in the graphical login window."
  28240. msgstr ""
  28241. #. type: Plain text
  28242. #: guix-git/doc/guix.texi:19158
  28243. 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."
  28244. msgstr ""
  28245. #. type: deffn
  28246. #: guix-git/doc/guix.texi:19159
  28247. #, no-wrap
  28248. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  28249. msgstr ""
  28250. #. type: deffn
  28251. #: guix-git/doc/guix.texi:19162
  28252. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  28253. msgstr ""
  28254. #. type: deffn
  28255. #: guix-git/doc/guix.texi:19166
  28256. 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."
  28257. msgstr ""
  28258. #. type: deffn
  28259. #: guix-git/doc/guix.texi:19171
  28260. 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)}."
  28261. msgstr ""
  28262. #. type: deffn
  28263. #: guix-git/doc/guix.texi:19173
  28264. #, no-wrap
  28265. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  28266. msgstr ""
  28267. #. type: deffn
  28268. #: guix-git/doc/guix.texi:19179
  28269. 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."
  28270. msgstr ""
  28271. #. type: deffn
  28272. #: guix-git/doc/guix.texi:19183
  28273. 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."
  28274. msgstr ""
  28275. #. type: deffn
  28276. #: guix-git/doc/guix.texi:19188
  28277. 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:"
  28278. msgstr ""
  28279. #. type: item
  28280. #: guix-git/doc/guix.texi:19190
  28281. #, no-wrap
  28282. msgid "kill-user-processes?"
  28283. msgstr ""
  28284. #. type: code{#1}
  28285. #: guix-git/doc/guix.texi:19192 guix-git/doc/guix.texi:19212
  28286. #: guix-git/doc/guix.texi:19214 guix-git/doc/guix.texi:19216
  28287. #: guix-git/doc/guix.texi:19228
  28288. msgid "#f"
  28289. msgstr ""
  28290. #. type: item
  28291. #: guix-git/doc/guix.texi:19192
  28292. #, no-wrap
  28293. msgid "kill-only-users"
  28294. msgstr ""
  28295. #. type: code{#1}
  28296. #: guix-git/doc/guix.texi:19194 guix-git/doc/guix.texi:19234
  28297. msgid "()"
  28298. msgstr ""
  28299. #. type: item
  28300. #: guix-git/doc/guix.texi:19194
  28301. #, no-wrap
  28302. msgid "kill-exclude-users"
  28303. msgstr ""
  28304. #. type: code{#1}
  28305. #: guix-git/doc/guix.texi:19196
  28306. msgid "(\"root\")"
  28307. msgstr ""
  28308. #. type: item
  28309. #: guix-git/doc/guix.texi:19196
  28310. #, no-wrap
  28311. msgid "inhibit-delay-max-seconds"
  28312. msgstr ""
  28313. #. type: code{#1}
  28314. #: guix-git/doc/guix.texi:19198
  28315. msgid "5"
  28316. msgstr ""
  28317. #. type: item
  28318. #: guix-git/doc/guix.texi:19198
  28319. #, no-wrap
  28320. msgid "handle-power-key"
  28321. msgstr ""
  28322. #. type: code{#1}
  28323. #: guix-git/doc/guix.texi:19200
  28324. msgid "poweroff"
  28325. msgstr ""
  28326. #. type: item
  28327. #: guix-git/doc/guix.texi:19200
  28328. #, no-wrap
  28329. msgid "handle-suspend-key"
  28330. msgstr ""
  28331. #. type: code{#1}
  28332. #: guix-git/doc/guix.texi:19202 guix-git/doc/guix.texi:19206
  28333. msgid "suspend"
  28334. msgstr "절전"
  28335. #. type: item
  28336. #: guix-git/doc/guix.texi:19202
  28337. #, no-wrap
  28338. msgid "handle-hibernate-key"
  28339. msgstr ""
  28340. #. type: code{#1}
  28341. #: guix-git/doc/guix.texi:19204
  28342. msgid "hibernate"
  28343. msgstr ""
  28344. #. type: item
  28345. #: guix-git/doc/guix.texi:19204
  28346. #, no-wrap
  28347. msgid "handle-lid-switch"
  28348. msgstr ""
  28349. #. type: item
  28350. #: guix-git/doc/guix.texi:19206
  28351. #, no-wrap
  28352. msgid "handle-lid-switch-docked"
  28353. msgstr ""
  28354. #. type: code{#1}
  28355. #: guix-git/doc/guix.texi:19208 guix-git/doc/guix.texi:19210
  28356. #: guix-git/doc/guix.texi:19222
  28357. msgid "ignore"
  28358. msgstr "무시"
  28359. #. type: item
  28360. #: guix-git/doc/guix.texi:19208
  28361. #, no-wrap
  28362. msgid "handle-lid-switch-external-power"
  28363. msgstr ""
  28364. #. type: item
  28365. #: guix-git/doc/guix.texi:19210
  28366. #, no-wrap
  28367. msgid "power-key-ignore-inhibited?"
  28368. msgstr ""
  28369. #. type: item
  28370. #: guix-git/doc/guix.texi:19212
  28371. #, no-wrap
  28372. msgid "suspend-key-ignore-inhibited?"
  28373. msgstr ""
  28374. #. type: item
  28375. #: guix-git/doc/guix.texi:19214
  28376. #, no-wrap
  28377. msgid "hibernate-key-ignore-inhibited?"
  28378. msgstr ""
  28379. #. type: item
  28380. #: guix-git/doc/guix.texi:19216
  28381. #, no-wrap
  28382. msgid "lid-switch-ignore-inhibited?"
  28383. msgstr ""
  28384. #. type: code{#1}
  28385. #: guix-git/doc/guix.texi:19218 guix-git/doc/guix.texi:19230
  28386. msgid "#t"
  28387. msgstr ""
  28388. #. type: item
  28389. #: guix-git/doc/guix.texi:19218
  28390. #, no-wrap
  28391. msgid "holdoff-timeout-seconds"
  28392. msgstr ""
  28393. #. type: code{#1}
  28394. #: guix-git/doc/guix.texi:19220
  28395. msgid "30"
  28396. msgstr ""
  28397. #. type: item
  28398. #: guix-git/doc/guix.texi:19220
  28399. #, no-wrap
  28400. msgid "idle-action"
  28401. msgstr ""
  28402. #. type: item
  28403. #: guix-git/doc/guix.texi:19222
  28404. #, no-wrap
  28405. msgid "idle-action-seconds"
  28406. msgstr ""
  28407. #. type: code{#1}
  28408. #: guix-git/doc/guix.texi:19224
  28409. msgid "(* 30 60)"
  28410. msgstr ""
  28411. #. type: item
  28412. #: guix-git/doc/guix.texi:19224
  28413. #, no-wrap
  28414. msgid "runtime-directory-size-percent"
  28415. msgstr ""
  28416. #. type: code{#1}
  28417. #: guix-git/doc/guix.texi:19226
  28418. msgid "10"
  28419. msgstr ""
  28420. #. type: item
  28421. #: guix-git/doc/guix.texi:19226
  28422. #, no-wrap
  28423. msgid "runtime-directory-size"
  28424. msgstr ""
  28425. #. type: item
  28426. #: guix-git/doc/guix.texi:19228
  28427. #, no-wrap
  28428. msgid "remove-ipc?"
  28429. msgstr ""
  28430. #. type: item
  28431. #: guix-git/doc/guix.texi:19230
  28432. #, no-wrap
  28433. msgid "suspend-state"
  28434. msgstr ""
  28435. #. type: code{#1}
  28436. #: guix-git/doc/guix.texi:19232
  28437. msgid "(\"mem\" \"standby\" \"freeze\")"
  28438. msgstr ""
  28439. #. type: item
  28440. #: guix-git/doc/guix.texi:19232
  28441. #, no-wrap
  28442. msgid "suspend-mode"
  28443. msgstr ""
  28444. #. type: item
  28445. #: guix-git/doc/guix.texi:19234
  28446. #, no-wrap
  28447. msgid "hibernate-state"
  28448. msgstr ""
  28449. #. type: code{#1}
  28450. #: guix-git/doc/guix.texi:19236 guix-git/doc/guix.texi:19240
  28451. msgid "(\"disk\")"
  28452. msgstr ""
  28453. #. type: item
  28454. #: guix-git/doc/guix.texi:19236
  28455. #, no-wrap
  28456. msgid "hibernate-mode"
  28457. msgstr ""
  28458. #. type: code{#1}
  28459. #: guix-git/doc/guix.texi:19238
  28460. msgid "(\"platform\" \"shutdown\")"
  28461. msgstr ""
  28462. #. type: item
  28463. #: guix-git/doc/guix.texi:19238
  28464. #, no-wrap
  28465. msgid "hybrid-sleep-state"
  28466. msgstr ""
  28467. #. type: item
  28468. #: guix-git/doc/guix.texi:19240
  28469. #, no-wrap
  28470. msgid "hybrid-sleep-mode"
  28471. msgstr ""
  28472. #. type: code{#1}
  28473. #: guix-git/doc/guix.texi:19242
  28474. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  28475. msgstr ""
  28476. #. type: deffn
  28477. #: guix-git/doc/guix.texi:19245
  28478. #, no-wrap
  28479. msgid "{Scheme Procedure} accountsservice-service @"
  28480. msgstr ""
  28481. #. type: deffn
  28482. #: guix-git/doc/guix.texi:19253
  28483. 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."
  28484. msgstr ""
  28485. #. type: deffn
  28486. #: guix-git/doc/guix.texi:19256
  28487. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  28488. msgstr ""
  28489. #. type: deffn
  28490. #: guix-git/doc/guix.texi:19258
  28491. #, no-wrap
  28492. msgid "{Scheme Procedure} polkit-service @"
  28493. msgstr ""
  28494. #. type: deffn
  28495. #: guix-git/doc/guix.texi:19267
  28496. 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."
  28497. msgstr ""
  28498. #. type: defvr
  28499. #: guix-git/doc/guix.texi:19269
  28500. #, no-wrap
  28501. msgid "{Scheme Variable} polkit-wheel-service"
  28502. msgstr ""
  28503. #. type: defvr
  28504. #: guix-git/doc/guix.texi:19274
  28505. 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}."
  28506. msgstr ""
  28507. #. type: defvr
  28508. #: guix-git/doc/guix.texi:19276
  28509. #, no-wrap
  28510. msgid "{Scheme Variable} upower-service-type"
  28511. msgstr ""
  28512. #. type: defvr
  28513. #: guix-git/doc/guix.texi:19280
  28514. 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."
  28515. msgstr ""
  28516. #. type: defvr
  28517. #: guix-git/doc/guix.texi:19283
  28518. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  28519. msgstr ""
  28520. #. type: deftp
  28521. #: guix-git/doc/guix.texi:19285
  28522. #, no-wrap
  28523. msgid "{Data Type} upower-configuration"
  28524. msgstr ""
  28525. #. type: deftp
  28526. #: guix-git/doc/guix.texi:19287
  28527. msgid "Data type representation the configuration for UPower."
  28528. msgstr ""
  28529. #. type: item
  28530. #: guix-git/doc/guix.texi:19290
  28531. #, no-wrap
  28532. msgid "@code{upower} (default: @var{upower})"
  28533. msgstr ""
  28534. #. type: table
  28535. #: guix-git/doc/guix.texi:19292
  28536. msgid "Package to use for @code{upower}."
  28537. msgstr ""
  28538. #. type: item
  28539. #: guix-git/doc/guix.texi:19293
  28540. #, no-wrap
  28541. msgid "@code{watts-up-pro?} (default: @code{#f})"
  28542. msgstr ""
  28543. #. type: table
  28544. #: guix-git/doc/guix.texi:19295
  28545. msgid "Enable the Watts Up Pro device."
  28546. msgstr ""
  28547. #. type: item
  28548. #: guix-git/doc/guix.texi:19296
  28549. #, no-wrap
  28550. msgid "@code{poll-batteries?} (default: @code{#t})"
  28551. msgstr ""
  28552. #. type: table
  28553. #: guix-git/doc/guix.texi:19298
  28554. msgid "Enable polling the kernel for battery level changes."
  28555. msgstr ""
  28556. #. type: item
  28557. #: guix-git/doc/guix.texi:19299
  28558. #, no-wrap
  28559. msgid "@code{ignore-lid?} (default: @code{#f})"
  28560. msgstr ""
  28561. #. type: table
  28562. #: guix-git/doc/guix.texi:19301
  28563. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  28564. msgstr ""
  28565. #. type: item
  28566. #: guix-git/doc/guix.texi:19302
  28567. #, no-wrap
  28568. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  28569. msgstr ""
  28570. #. type: table
  28571. #: guix-git/doc/guix.texi:19305
  28572. 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."
  28573. msgstr ""
  28574. #. type: item
  28575. #: guix-git/doc/guix.texi:19306
  28576. #, no-wrap
  28577. msgid "@code{percentage-low} (default: @code{10})"
  28578. msgstr ""
  28579. #. type: table
  28580. #: guix-git/doc/guix.texi:19309
  28581. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  28582. msgstr ""
  28583. #. type: item
  28584. #: guix-git/doc/guix.texi:19310
  28585. #, no-wrap
  28586. msgid "@code{percentage-critical} (default: @code{3})"
  28587. msgstr ""
  28588. #. type: table
  28589. #: guix-git/doc/guix.texi:19313
  28590. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  28591. msgstr ""
  28592. #. type: item
  28593. #: guix-git/doc/guix.texi:19314
  28594. #, no-wrap
  28595. msgid "@code{percentage-action} (default: @code{2})"
  28596. msgstr ""
  28597. #. type: table
  28598. #: guix-git/doc/guix.texi:19317
  28599. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  28600. msgstr ""
  28601. #. type: item
  28602. #: guix-git/doc/guix.texi:19318
  28603. #, no-wrap
  28604. msgid "@code{time-low} (default: @code{1200})"
  28605. msgstr ""
  28606. #. type: table
  28607. #: guix-git/doc/guix.texi:19321
  28608. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  28609. msgstr ""
  28610. #. type: item
  28611. #: guix-git/doc/guix.texi:19322
  28612. #, no-wrap
  28613. msgid "@code{time-critical} (default: @code{300})"
  28614. msgstr ""
  28615. #. type: table
  28616. #: guix-git/doc/guix.texi:19325
  28617. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  28618. msgstr ""
  28619. #. type: item
  28620. #: guix-git/doc/guix.texi:19326
  28621. #, no-wrap
  28622. msgid "@code{time-action} (default: @code{120})"
  28623. msgstr ""
  28624. #. type: table
  28625. #: guix-git/doc/guix.texi:19329
  28626. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  28627. msgstr ""
  28628. #. type: item
  28629. #: guix-git/doc/guix.texi:19330
  28630. #, no-wrap
  28631. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  28632. msgstr ""
  28633. #. type: table
  28634. #: guix-git/doc/guix.texi:19333
  28635. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  28636. msgstr ""
  28637. #. type: table
  28638. #: guix-git/doc/guix.texi:19335
  28639. msgid "Possible values are:"
  28640. msgstr ""
  28641. #. type: code{#1}
  28642. #: guix-git/doc/guix.texi:19339
  28643. msgid "'power-off"
  28644. msgstr ""
  28645. #. type: code{#1}
  28646. #: guix-git/doc/guix.texi:19342
  28647. msgid "'hibernate"
  28648. msgstr ""
  28649. #. type: itemize
  28650. #: guix-git/doc/guix.texi:19345
  28651. msgid "@code{'hybrid-sleep}."
  28652. msgstr ""
  28653. #. type: deffn
  28654. #: guix-git/doc/guix.texi:19350
  28655. #, no-wrap
  28656. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  28657. msgstr ""
  28658. #. type: deffn
  28659. #: guix-git/doc/guix.texi:19360
  28660. 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."
  28661. msgstr ""
  28662. #. type: deffn
  28663. #: guix-git/doc/guix.texi:19362
  28664. #, no-wrap
  28665. msgid "{Scheme Variable} colord-service-type"
  28666. msgstr ""
  28667. #. type: deffn
  28668. #: guix-git/doc/guix.texi:19369
  28669. 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."
  28670. msgstr ""
  28671. #. type: cindex
  28672. #: guix-git/doc/guix.texi:19371
  28673. #, no-wrap
  28674. msgid "scanner access"
  28675. msgstr ""
  28676. #. type: defvr
  28677. #: guix-git/doc/guix.texi:19372
  28678. #, no-wrap
  28679. msgid "{Scheme Variable} sane-service-type"
  28680. msgstr ""
  28681. #. type: defvr
  28682. #: guix-git/doc/guix.texi:19378
  28683. 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."
  28684. msgstr ""
  28685. #. type: defvr
  28686. #: guix-git/doc/guix.texi:19380
  28687. #, no-wrap
  28688. msgid "{Scheme Variable} sane-backends-minimal"
  28689. msgstr ""
  28690. #. type: defvr
  28691. #: guix-git/doc/guix.texi:19383
  28692. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  28693. msgstr ""
  28694. #. type: defvr
  28695. #: guix-git/doc/guix.texi:19385
  28696. #, no-wrap
  28697. msgid "{Scheme Variable} sane-backends"
  28698. msgstr ""
  28699. #. type: defvr
  28700. #: guix-git/doc/guix.texi:19392
  28701. 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:"
  28702. msgstr ""
  28703. #. type: lisp
  28704. #: guix-git/doc/guix.texi:19401
  28705. #, no-wrap
  28706. msgid ""
  28707. "(use-modules (gnu))\n"
  28708. "(use-service-modules\n"
  28709. " @dots{}\n"
  28710. " desktop)\n"
  28711. "(use-package-modules\n"
  28712. " @dots{}\n"
  28713. " scanner)\n"
  28714. "\n"
  28715. msgstr ""
  28716. #. type: lisp
  28717. #: guix-git/doc/guix.texi:19406
  28718. #, no-wrap
  28719. msgid ""
  28720. "(define %my-desktop-services\n"
  28721. " ;; List of desktop services that supports a broader range of scanners.\n"
  28722. " (modify-services %desktop-services\n"
  28723. " (sane-service-type _ => sane-backends)))\n"
  28724. "\n"
  28725. msgstr ""
  28726. #. type: lisp
  28727. #: guix-git/doc/guix.texi:19410
  28728. #, no-wrap
  28729. msgid ""
  28730. "(operating-system\n"
  28731. " @dots{}\n"
  28732. " (services %my-desktop-services)\n"
  28733. msgstr ""
  28734. #. type: deffn
  28735. #: guix-git/doc/guix.texi:19413
  28736. #, no-wrap
  28737. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  28738. msgstr ""
  28739. #. type: deffn
  28740. #: guix-git/doc/guix.texi:19422
  28741. 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."
  28742. msgstr ""
  28743. #. type: defvr
  28744. #: guix-git/doc/guix.texi:19424
  28745. #, no-wrap
  28746. msgid "{Scheme Variable} %standard-geoclue-applications"
  28747. msgstr ""
  28748. #. type: defvr
  28749. #: guix-git/doc/guix.texi:19431
  28750. 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."
  28751. msgstr ""
  28752. #. type: deffn
  28753. #: guix-git/doc/guix.texi:19433
  28754. #, no-wrap
  28755. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  28756. msgstr ""
  28757. #. type: deffn
  28758. #: guix-git/doc/guix.texi:19446
  28759. 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."
  28760. msgstr ""
  28761. #. type: deffn
  28762. #: guix-git/doc/guix.texi:19448
  28763. #, no-wrap
  28764. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  28765. msgstr ""
  28766. #. type: deffn
  28767. #: guix-git/doc/guix.texi:19455
  28768. 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."
  28769. msgstr ""
  28770. #. type: deffn
  28771. #: guix-git/doc/guix.texi:19457
  28772. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  28773. msgstr ""
  28774. #. type: defvr
  28775. #: guix-git/doc/guix.texi:19459
  28776. #, no-wrap
  28777. msgid "{Scheme Variable} gnome-keyring-service-type"
  28778. msgstr ""
  28779. #. type: defvr
  28780. #: guix-git/doc/guix.texi:19463
  28781. 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)."
  28782. msgstr ""
  28783. #. type: defvr
  28784. #: guix-git/doc/guix.texi:19467
  28785. 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."
  28786. msgstr ""
  28787. #. type: deftp
  28788. #: guix-git/doc/guix.texi:19469
  28789. #, no-wrap
  28790. msgid "{Data Type} gnome-keyring-configuration"
  28791. msgstr ""
  28792. #. type: deftp
  28793. #: guix-git/doc/guix.texi:19471
  28794. msgid "Configuration record for the GNOME Keyring service."
  28795. msgstr ""
  28796. #. type: item
  28797. #: guix-git/doc/guix.texi:19473
  28798. #, no-wrap
  28799. msgid "@code{keyring} (default: @code{gnome-keyring})"
  28800. msgstr ""
  28801. #. type: table
  28802. #: guix-git/doc/guix.texi:19475
  28803. msgid "The GNOME keyring package to use."
  28804. msgstr ""
  28805. #. type: code{#1}
  28806. #: guix-git/doc/guix.texi:19476
  28807. #, no-wrap
  28808. msgid "pam-services"
  28809. msgstr ""
  28810. #. type: table
  28811. #: guix-git/doc/guix.texi:19481
  28812. 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}."
  28813. msgstr ""
  28814. #. type: table
  28815. #: guix-git/doc/guix.texi:19487
  28816. 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."
  28817. msgstr ""
  28818. #. type: table
  28819. #: guix-git/doc/guix.texi:19490
  28820. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  28821. msgstr ""
  28822. #. type: cindex
  28823. #: guix-git/doc/guix.texi:19497
  28824. #, no-wrap
  28825. msgid "sound support"
  28826. msgstr ""
  28827. #. type: cindex
  28828. #: guix-git/doc/guix.texi:19498
  28829. #, no-wrap
  28830. msgid "ALSA"
  28831. msgstr ""
  28832. #. type: cindex
  28833. #: guix-git/doc/guix.texi:19499
  28834. #, no-wrap
  28835. msgid "PulseAudio, sound support"
  28836. msgstr ""
  28837. #. type: Plain text
  28838. #: guix-git/doc/guix.texi:19504
  28839. 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."
  28840. msgstr ""
  28841. #. type: deffn
  28842. #: guix-git/doc/guix.texi:19505
  28843. #, no-wrap
  28844. msgid "{Scheme Variable} alsa-service-type"
  28845. msgstr ""
  28846. #. type: deffn
  28847. #: guix-git/doc/guix.texi:19510
  28848. 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:"
  28849. msgstr ""
  28850. #. type: lisp
  28851. #: guix-git/doc/guix.texi:19513
  28852. #, no-wrap
  28853. msgid "(service alsa-service-type)\n"
  28854. msgstr ""
  28855. #. type: deffn
  28856. #: guix-git/doc/guix.texi:19516
  28857. msgid "See below for details about @code{alsa-configuration}."
  28858. msgstr ""
  28859. #. type: deftp
  28860. #: guix-git/doc/guix.texi:19518
  28861. #, no-wrap
  28862. msgid "{Data Type} alsa-configuration"
  28863. msgstr ""
  28864. #. type: deftp
  28865. #: guix-git/doc/guix.texi:19520
  28866. msgid "Data type representing the configuration for @code{alsa-service}."
  28867. msgstr ""
  28868. #. type: item
  28869. #: guix-git/doc/guix.texi:19522
  28870. #, no-wrap
  28871. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  28872. msgstr ""
  28873. #. type: table
  28874. #: guix-git/doc/guix.texi:19524
  28875. msgid "@code{alsa-plugins} package to use."
  28876. msgstr ""
  28877. #. type: item
  28878. #: guix-git/doc/guix.texi:19525
  28879. #, no-wrap
  28880. msgid "@code{pulseaudio?} (default: @var{#t})"
  28881. msgstr ""
  28882. #. type: table
  28883. #: guix-git/doc/guix.texi:19528
  28884. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  28885. msgstr ""
  28886. #. type: table
  28887. #: guix-git/doc/guix.texi:19532
  28888. 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."
  28889. msgstr ""
  28890. #. type: item
  28891. #: guix-git/doc/guix.texi:19533
  28892. #, no-wrap
  28893. msgid "@code{extra-options} (default: @var{\"\"})"
  28894. msgstr ""
  28895. #. type: table
  28896. #: guix-git/doc/guix.texi:19535
  28897. msgid "String to append to the @file{/etc/asound.conf} file."
  28898. msgstr ""
  28899. #. type: Plain text
  28900. #: guix-git/doc/guix.texi:19541
  28901. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  28902. msgstr ""
  28903. #. type: example
  28904. #: guix-git/doc/guix.texi:19547
  28905. #, no-wrap
  28906. msgid ""
  28907. "# In guix, we have to specify the absolute path for plugins.\n"
  28908. "pcm_type.jack @{\n"
  28909. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  28910. "@}\n"
  28911. "\n"
  28912. msgstr ""
  28913. #. type: example
  28914. #: guix-git/doc/guix.texi:19556
  28915. #, no-wrap
  28916. msgid ""
  28917. "# Routing ALSA to jack:\n"
  28918. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  28919. "pcm.rawjack @{\n"
  28920. " type jack\n"
  28921. " playback_ports @{\n"
  28922. " 0 system:playback_1\n"
  28923. " 1 system:playback_2\n"
  28924. " @}\n"
  28925. "\n"
  28926. msgstr ""
  28927. #. type: example
  28928. #: guix-git/doc/guix.texi:19562
  28929. #, no-wrap
  28930. msgid ""
  28931. " capture_ports @{\n"
  28932. " 0 system:capture_1\n"
  28933. " 1 system:capture_2\n"
  28934. " @}\n"
  28935. "@}\n"
  28936. "\n"
  28937. msgstr ""
  28938. #. type: example
  28939. #: guix-git/doc/guix.texi:19569
  28940. #, no-wrap
  28941. msgid ""
  28942. "pcm.!default @{\n"
  28943. " type plug\n"
  28944. " slave @{\n"
  28945. " pcm \"rawjack\"\n"
  28946. " @}\n"
  28947. "@}\n"
  28948. msgstr ""
  28949. #. type: Plain text
  28950. #: guix-git/doc/guix.texi:19573
  28951. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  28952. msgstr ""
  28953. #. type: deffn
  28954. #: guix-git/doc/guix.texi:19574
  28955. #, no-wrap
  28956. msgid "{Scheme Variable} pulseaudio-service-type"
  28957. msgstr ""
  28958. #. type: deffn
  28959. #: guix-git/doc/guix.texi:19578
  28960. 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."
  28961. msgstr ""
  28962. #. type: quotation
  28963. #: guix-git/doc/guix.texi:19584
  28964. 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}."
  28965. msgstr ""
  28966. #. type: quotation
  28967. #: guix-git/doc/guix.texi:19592
  28968. 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."
  28969. msgstr ""
  28970. #. type: deftp
  28971. #: guix-git/doc/guix.texi:19595
  28972. #, no-wrap
  28973. msgid "{Data Type} pulseaudio-configuration"
  28974. msgstr ""
  28975. #. type: deftp
  28976. #: guix-git/doc/guix.texi:19597
  28977. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  28978. msgstr ""
  28979. #. type: item
  28980. #: guix-git/doc/guix.texi:19599
  28981. #, no-wrap
  28982. msgid "@code{client-conf} (default: @code{'()})"
  28983. msgstr ""
  28984. #. type: table
  28985. #: guix-git/doc/guix.texi:19604
  28986. 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."
  28987. msgstr ""
  28988. #. type: item
  28989. #: guix-git/doc/guix.texi:19605
  28990. #, no-wrap
  28991. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  28992. msgstr ""
  28993. #. type: table
  28994. #: guix-git/doc/guix.texi:19608
  28995. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  28996. msgstr ""
  28997. #. type: item
  28998. #: guix-git/doc/guix.texi:19609
  28999. #, no-wrap
  29000. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  29001. msgstr ""
  29002. #. type: table
  29003. #: guix-git/doc/guix.texi:19611
  29004. msgid "Script file to use as @file{default.pa}."
  29005. msgstr ""
  29006. #. type: item
  29007. #: guix-git/doc/guix.texi:19612
  29008. #, no-wrap
  29009. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  29010. msgstr ""
  29011. #. type: table
  29012. #: guix-git/doc/guix.texi:19614
  29013. msgid "Script file to use as @file{system.pa}."
  29014. msgstr ""
  29015. #. type: deffn
  29016. #: guix-git/doc/guix.texi:19617
  29017. #, no-wrap
  29018. msgid "{Scheme Variable} ladspa-service-type"
  29019. msgstr ""
  29020. #. type: deffn
  29021. #: guix-git/doc/guix.texi:19620
  29022. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  29023. msgstr ""
  29024. #. type: deffn
  29025. #: guix-git/doc/guix.texi:19623
  29026. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  29027. msgstr ""
  29028. #. type: lisp
  29029. #: guix-git/doc/guix.texi:19627
  29030. #, no-wrap
  29031. msgid ""
  29032. "(service ladspa-service-type\n"
  29033. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  29034. msgstr ""
  29035. #. type: deffn
  29036. #: guix-git/doc/guix.texi:19631
  29037. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  29038. msgstr ""
  29039. #. type: cindex
  29040. #: guix-git/doc/guix.texi:19638
  29041. #, no-wrap
  29042. msgid "SQL"
  29043. msgstr ""
  29044. #. type: Plain text
  29045. #: guix-git/doc/guix.texi:19640
  29046. msgid "The @code{(gnu services databases)} module provides the following services."
  29047. msgstr ""
  29048. #. type: subsubheading
  29049. #: guix-git/doc/guix.texi:19641
  29050. #, no-wrap
  29051. msgid "PostgreSQL"
  29052. msgstr ""
  29053. #. type: Plain text
  29054. #: guix-git/doc/guix.texi:19645
  29055. msgid "The following example describes a PostgreSQL service with the default configuration."
  29056. msgstr ""
  29057. #. type: lisp
  29058. #: guix-git/doc/guix.texi:19650
  29059. #, no-wrap
  29060. msgid ""
  29061. "(service postgresql-service-type\n"
  29062. " (postgresql-configuration\n"
  29063. " (postgresql postgresql-10)))\n"
  29064. msgstr ""
  29065. #. type: Plain text
  29066. #: guix-git/doc/guix.texi:19656
  29067. 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."
  29068. msgstr ""
  29069. #. type: Plain text
  29070. #: guix-git/doc/guix.texi:19663
  29071. 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."
  29072. msgstr ""
  29073. #. type: example
  29074. #: guix-git/doc/guix.texi:19668
  29075. #, no-wrap
  29076. msgid ""
  29077. "sudo -u postgres -s /bin/sh\n"
  29078. "createuser --interactive\n"
  29079. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  29080. msgstr ""
  29081. #. type: deftp
  29082. #: guix-git/doc/guix.texi:19670
  29083. #, no-wrap
  29084. msgid "{Data Type} postgresql-configuration"
  29085. msgstr ""
  29086. #. type: deftp
  29087. #: guix-git/doc/guix.texi:19673
  29088. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  29089. msgstr ""
  29090. #. type: code{#1}
  29091. #: guix-git/doc/guix.texi:19675
  29092. #, no-wrap
  29093. msgid "postgresql"
  29094. msgstr ""
  29095. #. type: table
  29096. #: guix-git/doc/guix.texi:19677
  29097. msgid "PostgreSQL package to use for the service."
  29098. msgstr ""
  29099. #. type: item
  29100. #: guix-git/doc/guix.texi:19678
  29101. #, no-wrap
  29102. msgid "@code{port} (default: @code{5432})"
  29103. msgstr ""
  29104. #. type: table
  29105. #: guix-git/doc/guix.texi:19680
  29106. msgid "Port on which PostgreSQL should listen."
  29107. msgstr ""
  29108. #. type: table
  29109. #: guix-git/doc/guix.texi:19683
  29110. msgid "Locale to use as the default when creating the database cluster."
  29111. msgstr ""
  29112. #. type: item
  29113. #: guix-git/doc/guix.texi:19684
  29114. #, no-wrap
  29115. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  29116. msgstr ""
  29117. #. type: table
  29118. #: guix-git/doc/guix.texi:19688
  29119. 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."
  29120. msgstr ""
  29121. #. type: item
  29122. #: guix-git/doc/guix.texi:19689
  29123. #, no-wrap
  29124. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  29125. msgstr ""
  29126. #. type: table
  29127. #: guix-git/doc/guix.texi:19693
  29128. 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."
  29129. msgstr ""
  29130. #. type: item
  29131. #: guix-git/doc/guix.texi:19694
  29132. #, no-wrap
  29133. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  29134. msgstr ""
  29135. #. type: table
  29136. #: guix-git/doc/guix.texi:19696
  29137. msgid "Directory in which to store the data."
  29138. msgstr ""
  29139. #. type: item
  29140. #: guix-git/doc/guix.texi:19697
  29141. #, no-wrap
  29142. msgid "@code{extension-packages} (default: @code{'()})"
  29143. msgstr ""
  29144. #. type: cindex
  29145. #: guix-git/doc/guix.texi:19698
  29146. #, no-wrap
  29147. msgid "postgresql extension-packages"
  29148. msgstr ""
  29149. #. type: table
  29150. #: guix-git/doc/guix.texi:19703
  29151. 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:"
  29152. msgstr ""
  29153. #. type: cindex
  29154. #: guix-git/doc/guix.texi:19704
  29155. #, no-wrap
  29156. msgid "postgis"
  29157. msgstr ""
  29158. #. type: lisp
  29159. #: guix-git/doc/guix.texi:19707
  29160. #, no-wrap
  29161. msgid ""
  29162. "(use-package-modules databases geo)\n"
  29163. "\n"
  29164. msgstr ""
  29165. #. type: lisp
  29166. #: guix-git/doc/guix.texi:19720
  29167. #, no-wrap
  29168. msgid ""
  29169. "(operating-system\n"
  29170. " ...\n"
  29171. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  29172. " ;; proper operation.\n"
  29173. " (packages (cons* postgresql %base-packages))\n"
  29174. " (services\n"
  29175. " (cons*\n"
  29176. " (service postgresql-service-type\n"
  29177. " (postgresql-configuration\n"
  29178. " (postgresql postgresql-10)\n"
  29179. " (extension-packages (list postgis))))\n"
  29180. " %base-services)))\n"
  29181. msgstr ""
  29182. #. type: table
  29183. #: guix-git/doc/guix.texi:19724
  29184. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  29185. msgstr ""
  29186. #. type: example
  29187. #: guix-git/doc/guix.texi:19731
  29188. #, no-wrap
  29189. msgid ""
  29190. "psql -U postgres\n"
  29191. "> create database postgistest;\n"
  29192. "> \\connect postgistest;\n"
  29193. "> create extension postgis;\n"
  29194. "> create extension postgis_topology;\n"
  29195. msgstr ""
  29196. #. type: table
  29197. #: guix-git/doc/guix.texi:19736
  29198. 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."
  29199. msgstr ""
  29200. #. type: deftp
  29201. #: guix-git/doc/guix.texi:19740
  29202. #, no-wrap
  29203. msgid "{Data Type} postgresql-config-file"
  29204. msgstr ""
  29205. #. type: deftp
  29206. #: guix-git/doc/guix.texi:19746
  29207. 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."
  29208. msgstr ""
  29209. #. type: lisp
  29210. #: guix-git/doc/guix.texi:19766
  29211. #, no-wrap
  29212. msgid ""
  29213. "(service postgresql-service-type\n"
  29214. " (postgresql-configuration\n"
  29215. " (config-file\n"
  29216. " (postgresql-config-file\n"
  29217. " (log-destination \"stderr\")\n"
  29218. " (hba-file\n"
  29219. " (plain-file \"pg_hba.conf\"\n"
  29220. " \"\n"
  29221. "local\tall\tall\t\t\ttrust\n"
  29222. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  29223. "host\tall\tall\t::1/128 \tmd5\"))\n"
  29224. " (extra-config\n"
  29225. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  29226. " (\"random_page_cost\" 2)\n"
  29227. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  29228. " (\"work_mem\" \"500 MB\")\n"
  29229. " (\"logging_collector\" #t)\n"
  29230. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  29231. msgstr ""
  29232. #. type: item
  29233. #: guix-git/doc/guix.texi:19769
  29234. #, no-wrap
  29235. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  29236. msgstr ""
  29237. #. type: table
  29238. #: guix-git/doc/guix.texi:19772
  29239. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  29240. msgstr ""
  29241. #. type: item
  29242. #: guix-git/doc/guix.texi:19773
  29243. #, no-wrap
  29244. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  29245. msgstr ""
  29246. #. type: table
  29247. #: guix-git/doc/guix.texi:19776
  29248. msgid "Filename or G-expression for the host-based authentication configuration."
  29249. msgstr ""
  29250. #. type: item
  29251. #: guix-git/doc/guix.texi:19777
  29252. #, no-wrap
  29253. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  29254. msgstr ""
  29255. #. type: table
  29256. #: guix-git/doc/guix.texi:19779
  29257. msgid "Filename or G-expression for the user name mapping configuration."
  29258. msgstr ""
  29259. #. type: item
  29260. #: guix-git/doc/guix.texi:19780
  29261. #, no-wrap
  29262. msgid "@code{socket-directory} (default: @code{#false})"
  29263. msgstr ""
  29264. #. type: table
  29265. #: guix-git/doc/guix.texi:19785
  29266. 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."
  29267. msgstr ""
  29268. #. type: table
  29269. #: guix-git/doc/guix.texi:19788
  29270. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  29271. msgstr ""
  29272. #. type: table
  29273. #: guix-git/doc/guix.texi:19793
  29274. 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."
  29275. msgstr ""
  29276. #. type: table
  29277. #: guix-git/doc/guix.texi:19799
  29278. 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}."
  29279. msgstr ""
  29280. #. type: deffn
  29281. #: guix-git/doc/guix.texi:19803
  29282. #, no-wrap
  29283. msgid "{Scheme Variable} postgresql-role-service-type"
  29284. msgstr ""
  29285. #. type: deffn
  29286. #: guix-git/doc/guix.texi:19806
  29287. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  29288. msgstr ""
  29289. #. type: lisp
  29290. #: guix-git/doc/guix.texi:19814
  29291. #, no-wrap
  29292. msgid ""
  29293. "(service postgresql-role-service-type\n"
  29294. " (postgresql-role-configuration\n"
  29295. " (roles\n"
  29296. " (list (postgresql-role\n"
  29297. " (name \"test\")\n"
  29298. " (create-database? #t))))))\n"
  29299. msgstr ""
  29300. #. type: deffn
  29301. #: guix-git/doc/guix.texi:19818
  29302. msgid "This service can be extended with extra roles, as in this example:"
  29303. msgstr ""
  29304. #. type: lisp
  29305. #: guix-git/doc/guix.texi:19824
  29306. #, no-wrap
  29307. msgid ""
  29308. "(service-extension postgresql-role-service-type\n"
  29309. " (const (postgresql-role\n"
  29310. " (name \"alice\")\n"
  29311. " (create-database? #t))))\n"
  29312. msgstr ""
  29313. #. type: deftp
  29314. #: guix-git/doc/guix.texi:19827
  29315. #, no-wrap
  29316. msgid "{Data Type} postgresql-role"
  29317. msgstr ""
  29318. #. type: deftp
  29319. #: guix-git/doc/guix.texi:19833
  29320. 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."
  29321. msgstr ""
  29322. #. type: table
  29323. #: guix-git/doc/guix.texi:19837
  29324. msgid "The role name."
  29325. msgstr ""
  29326. #. type: item
  29327. #: guix-git/doc/guix.texi:19838
  29328. #, no-wrap
  29329. msgid "@code{permissions} (default: @code{'(createdb login)})"
  29330. msgstr ""
  29331. #. type: table
  29332. #: guix-git/doc/guix.texi:19842
  29333. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  29334. msgstr ""
  29335. #. type: item
  29336. #: guix-git/doc/guix.texi:19843
  29337. #, no-wrap
  29338. msgid "@code{create-database?} (default: @code{#f})"
  29339. msgstr ""
  29340. #. type: table
  29341. #: guix-git/doc/guix.texi:19845
  29342. msgid "Whether to create a database with the same name as the role."
  29343. msgstr ""
  29344. #. type: deftp
  29345. #: guix-git/doc/guix.texi:19849
  29346. #, no-wrap
  29347. msgid "{Data Type} postgresql-role-configuration"
  29348. msgstr ""
  29349. #. type: deftp
  29350. #: guix-git/doc/guix.texi:19852
  29351. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  29352. msgstr ""
  29353. #. type: item
  29354. #: guix-git/doc/guix.texi:19854
  29355. #, no-wrap
  29356. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  29357. msgstr ""
  29358. #. type: table
  29359. #: guix-git/doc/guix.texi:19856
  29360. msgid "The PostgreSQL host to connect to."
  29361. msgstr ""
  29362. #. type: item
  29363. #: guix-git/doc/guix.texi:19857
  29364. #, no-wrap
  29365. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  29366. msgstr ""
  29367. #. type: table
  29368. #: guix-git/doc/guix.texi:19859
  29369. msgid "File name of the log file."
  29370. msgstr ""
  29371. #. type: item
  29372. #: guix-git/doc/guix.texi:19860
  29373. #, no-wrap
  29374. msgid "@code{roles} (default: @code{'()})"
  29375. msgstr ""
  29376. #. type: table
  29377. #: guix-git/doc/guix.texi:19862
  29378. msgid "The initial PostgreSQL roles to create."
  29379. msgstr ""
  29380. #. type: subsubheading
  29381. #: guix-git/doc/guix.texi:19865
  29382. #, no-wrap
  29383. msgid "MariaDB/MySQL"
  29384. msgstr ""
  29385. #. type: defvr
  29386. #: guix-git/doc/guix.texi:19867
  29387. #, no-wrap
  29388. msgid "{Scheme Variable} mysql-service-type"
  29389. msgstr ""
  29390. #. type: defvr
  29391. #: guix-git/doc/guix.texi:19871
  29392. 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."
  29393. msgstr ""
  29394. #. type: deftp
  29395. #: guix-git/doc/guix.texi:19873
  29396. #, no-wrap
  29397. msgid "{Data Type} mysql-configuration"
  29398. msgstr ""
  29399. #. type: deftp
  29400. #: guix-git/doc/guix.texi:19875
  29401. msgid "Data type representing the configuration of @var{mysql-service-type}."
  29402. msgstr ""
  29403. #. type: item
  29404. #: guix-git/doc/guix.texi:19877
  29405. #, no-wrap
  29406. msgid "@code{mysql} (default: @var{mariadb})"
  29407. msgstr ""
  29408. #. type: table
  29409. #: guix-git/doc/guix.texi:19880
  29410. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  29411. msgstr ""
  29412. #. type: table
  29413. #: guix-git/doc/guix.texi:19883
  29414. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  29415. msgstr ""
  29416. #. type: item
  29417. #: guix-git/doc/guix.texi:19884 guix-git/doc/guix.texi:23430
  29418. #, no-wrap
  29419. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  29420. msgstr ""
  29421. #. type: table
  29422. #: guix-git/doc/guix.texi:19887
  29423. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  29424. msgstr ""
  29425. #. type: item
  29426. #: guix-git/doc/guix.texi:19888
  29427. #, no-wrap
  29428. msgid "@code{port} (default: @code{3306})"
  29429. msgstr ""
  29430. #. type: table
  29431. #: guix-git/doc/guix.texi:19890
  29432. msgid "TCP port on which the database server listens for incoming connections."
  29433. msgstr ""
  29434. #. type: item
  29435. #: guix-git/doc/guix.texi:19891
  29436. #, no-wrap
  29437. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  29438. msgstr ""
  29439. #. type: table
  29440. #: guix-git/doc/guix.texi:19893
  29441. msgid "Socket file to use for local (non-network) connections."
  29442. msgstr ""
  29443. #. type: table
  29444. #: guix-git/doc/guix.texi:19896
  29445. msgid "Additional settings for the @file{my.cnf} configuration file."
  29446. msgstr ""
  29447. #. type: item
  29448. #: guix-git/doc/guix.texi:19897
  29449. #, no-wrap
  29450. msgid "@code{auto-upgrade?} (default: @code{#t})"
  29451. msgstr ""
  29452. #. type: table
  29453. #: guix-git/doc/guix.texi:19902
  29454. 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."
  29455. msgstr ""
  29456. #. type: subsubheading
  29457. #: guix-git/doc/guix.texi:19906
  29458. #, no-wrap
  29459. msgid "Memcached"
  29460. msgstr ""
  29461. #. type: defvr
  29462. #: guix-git/doc/guix.texi:19908
  29463. #, no-wrap
  29464. msgid "{Scheme Variable} memcached-service-type"
  29465. msgstr ""
  29466. #. type: defvr
  29467. #: guix-git/doc/guix.texi:19912
  29468. 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."
  29469. msgstr ""
  29470. #. type: lisp
  29471. #: guix-git/doc/guix.texi:19916
  29472. #, no-wrap
  29473. msgid "(service memcached-service-type)\n"
  29474. msgstr ""
  29475. #. type: deftp
  29476. #: guix-git/doc/guix.texi:19918
  29477. #, no-wrap
  29478. msgid "{Data Type} memcached-configuration"
  29479. msgstr ""
  29480. #. type: deftp
  29481. #: guix-git/doc/guix.texi:19920
  29482. msgid "Data type representing the configuration of memcached."
  29483. msgstr ""
  29484. #. type: item
  29485. #: guix-git/doc/guix.texi:19922
  29486. #, no-wrap
  29487. msgid "@code{memcached} (default: @code{memcached})"
  29488. msgstr ""
  29489. #. type: table
  29490. #: guix-git/doc/guix.texi:19924
  29491. msgid "The Memcached package to use."
  29492. msgstr ""
  29493. #. type: item
  29494. #: guix-git/doc/guix.texi:19925
  29495. #, no-wrap
  29496. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  29497. msgstr ""
  29498. #. type: table
  29499. #: guix-git/doc/guix.texi:19927
  29500. msgid "Network interfaces on which to listen."
  29501. msgstr ""
  29502. #. type: item
  29503. #: guix-git/doc/guix.texi:19928
  29504. #, no-wrap
  29505. msgid "@code{tcp-port} (default: @code{11211})"
  29506. msgstr ""
  29507. #. type: table
  29508. #: guix-git/doc/guix.texi:19930
  29509. msgid "Port on which to accept connections."
  29510. msgstr ""
  29511. #. type: item
  29512. #: guix-git/doc/guix.texi:19931
  29513. #, no-wrap
  29514. msgid "@code{udp-port} (default: @code{11211})"
  29515. msgstr ""
  29516. #. type: table
  29517. #: guix-git/doc/guix.texi:19934
  29518. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  29519. msgstr ""
  29520. #. type: item
  29521. #: guix-git/doc/guix.texi:19935
  29522. #, no-wrap
  29523. msgid "@code{additional-options} (default: @code{'()})"
  29524. msgstr ""
  29525. #. type: table
  29526. #: guix-git/doc/guix.texi:19937
  29527. msgid "Additional command line options to pass to @code{memcached}."
  29528. msgstr ""
  29529. #. type: subsubheading
  29530. #: guix-git/doc/guix.texi:19940
  29531. #, no-wrap
  29532. msgid "Redis"
  29533. msgstr ""
  29534. #. type: defvr
  29535. #: guix-git/doc/guix.texi:19942
  29536. #, no-wrap
  29537. msgid "{Scheme Variable} redis-service-type"
  29538. msgstr ""
  29539. #. type: defvr
  29540. #: guix-git/doc/guix.texi:19945
  29541. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  29542. msgstr ""
  29543. #. type: deftp
  29544. #: guix-git/doc/guix.texi:19947
  29545. #, no-wrap
  29546. msgid "{Data Type} redis-configuration"
  29547. msgstr ""
  29548. #. type: deftp
  29549. #: guix-git/doc/guix.texi:19949
  29550. msgid "Data type representing the configuration of redis."
  29551. msgstr ""
  29552. #. type: item
  29553. #: guix-git/doc/guix.texi:19951
  29554. #, no-wrap
  29555. msgid "@code{redis} (default: @code{redis})"
  29556. msgstr ""
  29557. #. type: table
  29558. #: guix-git/doc/guix.texi:19953
  29559. msgid "The Redis package to use."
  29560. msgstr ""
  29561. #. type: item
  29562. #: guix-git/doc/guix.texi:19954
  29563. #, no-wrap
  29564. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  29565. msgstr ""
  29566. #. type: table
  29567. #: guix-git/doc/guix.texi:19956
  29568. msgid "Network interface on which to listen."
  29569. msgstr ""
  29570. #. type: item
  29571. #: guix-git/doc/guix.texi:19957
  29572. #, no-wrap
  29573. msgid "@code{port} (default: @code{6379})"
  29574. msgstr ""
  29575. #. type: table
  29576. #: guix-git/doc/guix.texi:19960
  29577. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  29578. msgstr ""
  29579. #. type: item
  29580. #: guix-git/doc/guix.texi:19961
  29581. #, no-wrap
  29582. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  29583. msgstr ""
  29584. #. type: table
  29585. #: guix-git/doc/guix.texi:19963
  29586. msgid "Directory in which to store the database and related files."
  29587. msgstr ""
  29588. #. type: cindex
  29589. #: guix-git/doc/guix.texi:19969
  29590. #, no-wrap
  29591. msgid "mail"
  29592. msgstr ""
  29593. #. type: cindex
  29594. #: guix-git/doc/guix.texi:19970
  29595. #, no-wrap
  29596. msgid "email"
  29597. msgstr "전자우편"
  29598. #. type: Plain text
  29599. #: guix-git/doc/guix.texi:19975
  29600. 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."
  29601. msgstr ""
  29602. #. type: subsubheading
  29603. #: guix-git/doc/guix.texi:19976
  29604. #, no-wrap
  29605. msgid "Dovecot Service"
  29606. msgstr ""
  29607. #. type: deffn
  29608. #: guix-git/doc/guix.texi:19978
  29609. #, no-wrap
  29610. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  29611. msgstr ""
  29612. #. type: deffn
  29613. #: guix-git/doc/guix.texi:19980
  29614. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  29615. msgstr ""
  29616. #. type: Plain text
  29617. #: guix-git/doc/guix.texi:19990
  29618. 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."
  29619. msgstr ""
  29620. #. type: Plain text
  29621. #: guix-git/doc/guix.texi:19993
  29622. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  29623. msgstr ""
  29624. #. type: lisp
  29625. #: guix-git/doc/guix.texi:19998
  29626. #, no-wrap
  29627. msgid ""
  29628. "(dovecot-service #:config\n"
  29629. " (dovecot-configuration\n"
  29630. " (mail-location \"maildir:~/.mail\")))\n"
  29631. msgstr ""
  29632. #. type: Plain text
  29633. #: guix-git/doc/guix.texi:20006
  29634. 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."
  29635. msgstr ""
  29636. #. type: Plain text
  29637. #: guix-git/doc/guix.texi:20016
  29638. msgid "Available @code{dovecot-configuration} fields are:"
  29639. msgstr ""
  29640. #. type: deftypevr
  29641. #: guix-git/doc/guix.texi:20017
  29642. #, no-wrap
  29643. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  29644. msgstr ""
  29645. #. type: deftypevr
  29646. #: guix-git/doc/guix.texi:20019 guix-git/doc/guix.texi:21325
  29647. msgid "The dovecot package."
  29648. msgstr ""
  29649. #. type: deftypevr
  29650. #: guix-git/doc/guix.texi:20021
  29651. #, no-wrap
  29652. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  29653. msgstr ""
  29654. #. type: deftypevr
  29655. #: guix-git/doc/guix.texi:20027
  29656. 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."
  29657. msgstr ""
  29658. #. type: deftypevr
  29659. #: guix-git/doc/guix.texi:20029
  29660. #, no-wrap
  29661. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  29662. msgstr ""
  29663. #. type: deftypevr
  29664. #: guix-git/doc/guix.texi:20032
  29665. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  29666. msgstr ""
  29667. #. type: deftypevr
  29668. #: guix-git/doc/guix.texi:20034
  29669. msgid "Available @code{protocol-configuration} fields are:"
  29670. msgstr ""
  29671. #. type: deftypevr
  29672. #: guix-git/doc/guix.texi:20035
  29673. #, no-wrap
  29674. msgid "{@code{protocol-configuration} parameter} string name"
  29675. msgstr ""
  29676. #. type: deftypevr
  29677. #: guix-git/doc/guix.texi:20037
  29678. msgid "The name of the protocol."
  29679. msgstr ""
  29680. #. type: deftypevr
  29681. #: guix-git/doc/guix.texi:20039
  29682. #, no-wrap
  29683. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  29684. msgstr ""
  29685. #. type: deftypevr
  29686. #: guix-git/doc/guix.texi:20043
  29687. 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\"}."
  29688. msgstr ""
  29689. #. type: deftypevr
  29690. #: guix-git/doc/guix.texi:20045
  29691. #, no-wrap
  29692. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  29693. msgstr ""
  29694. #. type: deftypevr
  29695. #: guix-git/doc/guix.texi:20047
  29696. msgid "Space separated list of plugins to load."
  29697. msgstr ""
  29698. #. type: deftypevr
  29699. #: guix-git/doc/guix.texi:20049
  29700. #, no-wrap
  29701. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  29702. msgstr ""
  29703. #. type: deftypevr
  29704. #: guix-git/doc/guix.texi:20053
  29705. 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}."
  29706. msgstr ""
  29707. #. type: deftypevr
  29708. #: guix-git/doc/guix.texi:20057
  29709. #, no-wrap
  29710. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  29711. msgstr ""
  29712. #. type: deftypevr
  29713. #: guix-git/doc/guix.texi:20061
  29714. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  29715. msgstr ""
  29716. #. type: deftypevr
  29717. #: guix-git/doc/guix.texi:20063
  29718. msgid "Available @code{service-configuration} fields are:"
  29719. msgstr ""
  29720. #. type: deftypevr
  29721. #: guix-git/doc/guix.texi:20064
  29722. #, no-wrap
  29723. msgid "{@code{service-configuration} parameter} string kind"
  29724. msgstr ""
  29725. #. type: deftypevr
  29726. #: guix-git/doc/guix.texi:20069
  29727. 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."
  29728. msgstr ""
  29729. #. type: deftypevr
  29730. #: guix-git/doc/guix.texi:20071
  29731. #, no-wrap
  29732. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  29733. msgstr ""
  29734. #. type: deftypevr
  29735. #: guix-git/doc/guix.texi:20076
  29736. 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{()}."
  29737. msgstr ""
  29738. #. type: deftypevr
  29739. #: guix-git/doc/guix.texi:20078
  29740. msgid "Available @code{unix-listener-configuration} fields are:"
  29741. msgstr ""
  29742. #. type: deftypevr
  29743. #: guix-git/doc/guix.texi:20079
  29744. #, no-wrap
  29745. msgid "{@code{unix-listener-configuration} parameter} string path"
  29746. msgstr ""
  29747. #. type: deftypevr
  29748. #: guix-git/doc/guix.texi:20082 guix-git/doc/guix.texi:20105
  29749. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  29750. msgstr ""
  29751. #. type: deftypevr
  29752. #: guix-git/doc/guix.texi:20084
  29753. #, no-wrap
  29754. msgid "{@code{unix-listener-configuration} parameter} string mode"
  29755. msgstr ""
  29756. #. type: deftypevr
  29757. #: guix-git/doc/guix.texi:20087 guix-git/doc/guix.texi:20110
  29758. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  29759. msgstr ""
  29760. #. type: deftypevr
  29761. #: guix-git/doc/guix.texi:20089
  29762. #, no-wrap
  29763. msgid "{@code{unix-listener-configuration} parameter} string user"
  29764. msgstr ""
  29765. #. type: deftypevr
  29766. #: guix-git/doc/guix.texi:20092 guix-git/doc/guix.texi:20115
  29767. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  29768. msgstr ""
  29769. #. type: deftypevr
  29770. #: guix-git/doc/guix.texi:20094
  29771. #, no-wrap
  29772. msgid "{@code{unix-listener-configuration} parameter} string group"
  29773. msgstr ""
  29774. #. type: deftypevr
  29775. #: guix-git/doc/guix.texi:20097 guix-git/doc/guix.texi:20120
  29776. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  29777. msgstr ""
  29778. #. type: deftypevr
  29779. #: guix-git/doc/guix.texi:20101
  29780. msgid "Available @code{fifo-listener-configuration} fields are:"
  29781. msgstr ""
  29782. #. type: deftypevr
  29783. #: guix-git/doc/guix.texi:20102
  29784. #, no-wrap
  29785. msgid "{@code{fifo-listener-configuration} parameter} string path"
  29786. msgstr ""
  29787. #. type: deftypevr
  29788. #: guix-git/doc/guix.texi:20107
  29789. #, no-wrap
  29790. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  29791. msgstr ""
  29792. #. type: deftypevr
  29793. #: guix-git/doc/guix.texi:20112
  29794. #, no-wrap
  29795. msgid "{@code{fifo-listener-configuration} parameter} string user"
  29796. msgstr ""
  29797. #. type: deftypevr
  29798. #: guix-git/doc/guix.texi:20117
  29799. #, no-wrap
  29800. msgid "{@code{fifo-listener-configuration} parameter} string group"
  29801. msgstr ""
  29802. #. type: deftypevr
  29803. #: guix-git/doc/guix.texi:20124
  29804. msgid "Available @code{inet-listener-configuration} fields are:"
  29805. msgstr ""
  29806. #. type: deftypevr
  29807. #: guix-git/doc/guix.texi:20125
  29808. #, no-wrap
  29809. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  29810. msgstr ""
  29811. #. type: deftypevr
  29812. #: guix-git/doc/guix.texi:20127
  29813. msgid "The protocol to listen for."
  29814. msgstr ""
  29815. #. type: deftypevr
  29816. #: guix-git/doc/guix.texi:20129
  29817. #, no-wrap
  29818. msgid "{@code{inet-listener-configuration} parameter} string address"
  29819. msgstr ""
  29820. #. type: deftypevr
  29821. #: guix-git/doc/guix.texi:20132
  29822. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  29823. msgstr ""
  29824. #. type: deftypevr
  29825. #: guix-git/doc/guix.texi:20134
  29826. #, no-wrap
  29827. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  29828. msgstr ""
  29829. #. type: deftypevr
  29830. #: guix-git/doc/guix.texi:20136
  29831. msgid "The port on which to listen."
  29832. msgstr ""
  29833. #. type: deftypevr
  29834. #: guix-git/doc/guix.texi:20138
  29835. #, no-wrap
  29836. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  29837. msgstr ""
  29838. #. type: deftypevr
  29839. #: guix-git/doc/guix.texi:20142
  29840. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  29841. msgstr ""
  29842. #. type: deftypevr
  29843. #: guix-git/doc/guix.texi:20146
  29844. #, no-wrap
  29845. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  29846. msgstr ""
  29847. #. type: deftypevr
  29848. #: guix-git/doc/guix.texi:20151
  29849. 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."
  29850. msgstr ""
  29851. #. type: deftypevr
  29852. #: guix-git/doc/guix.texi:20156
  29853. #, no-wrap
  29854. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  29855. msgstr ""
  29856. #. type: deftypevr
  29857. #: guix-git/doc/guix.texi:20161
  29858. 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}."
  29859. msgstr ""
  29860. #. type: deftypevr
  29861. #: guix-git/doc/guix.texi:20164
  29862. #, no-wrap
  29863. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  29864. msgstr ""
  29865. #. type: deftypevr
  29866. #: guix-git/doc/guix.texi:20167
  29867. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  29868. msgstr ""
  29869. #. type: deftypevr
  29870. #: guix-git/doc/guix.texi:20172
  29871. #, no-wrap
  29872. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  29873. msgstr ""
  29874. #. type: deftypevr
  29875. #: guix-git/doc/guix.texi:20175
  29876. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  29877. msgstr ""
  29878. #. type: deftypevr
  29879. #: guix-git/doc/guix.texi:20177
  29880. #, no-wrap
  29881. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  29882. msgstr ""
  29883. #. type: deftypevr
  29884. #: guix-git/doc/guix.texi:20181
  29885. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  29886. msgstr ""
  29887. #. type: deftypevr
  29888. #: guix-git/doc/guix.texi:20185
  29889. #, no-wrap
  29890. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  29891. msgstr ""
  29892. #. type: deftypevr
  29893. #: guix-git/doc/guix.texi:20188
  29894. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  29895. msgstr ""
  29896. #. type: deftypevr
  29897. #: guix-git/doc/guix.texi:20190
  29898. msgid "Available @code{dict-configuration} fields are:"
  29899. msgstr ""
  29900. #. type: deftypevr
  29901. #: guix-git/doc/guix.texi:20191
  29902. #, no-wrap
  29903. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  29904. msgstr ""
  29905. #. type: deftypevr
  29906. #: guix-git/doc/guix.texi:20194
  29907. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  29908. msgstr ""
  29909. #. type: deftypevr
  29910. #: guix-git/doc/guix.texi:20198
  29911. #, no-wrap
  29912. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  29913. msgstr ""
  29914. #. type: deftypevr
  29915. #: guix-git/doc/guix.texi:20201
  29916. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  29917. msgstr ""
  29918. #. type: deftypevr
  29919. #: guix-git/doc/guix.texi:20203
  29920. msgid "Available @code{passdb-configuration} fields are:"
  29921. msgstr ""
  29922. #. type: deftypevr
  29923. #: guix-git/doc/guix.texi:20204
  29924. #, no-wrap
  29925. msgid "{@code{passdb-configuration} parameter} string driver"
  29926. msgstr ""
  29927. #. type: deftypevr
  29928. #: guix-git/doc/guix.texi:20209
  29929. 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\"}."
  29930. msgstr ""
  29931. #. type: deftypevr
  29932. #: guix-git/doc/guix.texi:20211
  29933. #, no-wrap
  29934. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  29935. msgstr ""
  29936. #. type: deftypevr
  29937. #: guix-git/doc/guix.texi:20214
  29938. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  29939. msgstr ""
  29940. #. type: deftypevr
  29941. #: guix-git/doc/guix.texi:20218
  29942. #, no-wrap
  29943. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  29944. msgstr ""
  29945. #. type: deftypevr
  29946. #: guix-git/doc/guix.texi:20221
  29947. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  29948. msgstr ""
  29949. #. type: deftypevr
  29950. #: guix-git/doc/guix.texi:20223
  29951. msgid "Available @code{userdb-configuration} fields are:"
  29952. msgstr ""
  29953. #. type: deftypevr
  29954. #: guix-git/doc/guix.texi:20224
  29955. #, no-wrap
  29956. msgid "{@code{userdb-configuration} parameter} string driver"
  29957. msgstr ""
  29958. #. type: deftypevr
  29959. #: guix-git/doc/guix.texi:20228
  29960. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  29961. msgstr ""
  29962. #. type: deftypevr
  29963. #: guix-git/doc/guix.texi:20230
  29964. #, no-wrap
  29965. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  29966. msgstr ""
  29967. #. type: deftypevr
  29968. #: guix-git/doc/guix.texi:20233
  29969. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  29970. msgstr ""
  29971. #. type: deftypevr
  29972. #: guix-git/doc/guix.texi:20235
  29973. #, no-wrap
  29974. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  29975. msgstr ""
  29976. #. type: deftypevr
  29977. #: guix-git/doc/guix.texi:20238
  29978. msgid "Override fields from passwd. Defaults to @samp{()}."
  29979. msgstr ""
  29980. #. type: deftypevr
  29981. #: guix-git/doc/guix.texi:20242
  29982. #, no-wrap
  29983. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  29984. msgstr ""
  29985. #. type: deftypevr
  29986. #: guix-git/doc/guix.texi:20245
  29987. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  29988. msgstr ""
  29989. #. type: deftypevr
  29990. #: guix-git/doc/guix.texi:20247
  29991. #, no-wrap
  29992. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  29993. msgstr ""
  29994. #. type: deftypevr
  29995. #: guix-git/doc/guix.texi:20250
  29996. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  29997. msgstr ""
  29998. #. type: deftypevr
  29999. #: guix-git/doc/guix.texi:20252
  30000. msgid "Available @code{namespace-configuration} fields are:"
  30001. msgstr ""
  30002. #. type: deftypevr
  30003. #: guix-git/doc/guix.texi:20253
  30004. #, no-wrap
  30005. msgid "{@code{namespace-configuration} parameter} string name"
  30006. msgstr ""
  30007. #. type: deftypevr
  30008. #: guix-git/doc/guix.texi:20255
  30009. msgid "Name for this namespace."
  30010. msgstr ""
  30011. #. type: deftypevr
  30012. #: guix-git/doc/guix.texi:20257
  30013. #, no-wrap
  30014. msgid "{@code{namespace-configuration} parameter} string type"
  30015. msgstr ""
  30016. #. type: deftypevr
  30017. #: guix-git/doc/guix.texi:20260
  30018. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  30019. msgstr ""
  30020. #. type: deftypevr
  30021. #: guix-git/doc/guix.texi:20262
  30022. #, no-wrap
  30023. msgid "{@code{namespace-configuration} parameter} string separator"
  30024. msgstr ""
  30025. #. type: deftypevr
  30026. #: guix-git/doc/guix.texi:20268
  30027. 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{\"\"}."
  30028. msgstr ""
  30029. #. type: deftypevr
  30030. #: guix-git/doc/guix.texi:20270
  30031. #, no-wrap
  30032. msgid "{@code{namespace-configuration} parameter} string prefix"
  30033. msgstr ""
  30034. #. type: deftypevr
  30035. #: guix-git/doc/guix.texi:20274
  30036. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  30037. msgstr ""
  30038. #. type: deftypevr
  30039. #: guix-git/doc/guix.texi:20276
  30040. #, no-wrap
  30041. msgid "{@code{namespace-configuration} parameter} string location"
  30042. msgstr ""
  30043. #. type: deftypevr
  30044. #: guix-git/doc/guix.texi:20280
  30045. 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{\"\"}."
  30046. msgstr ""
  30047. #. type: deftypevr
  30048. #: guix-git/doc/guix.texi:20282
  30049. #, no-wrap
  30050. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  30051. msgstr ""
  30052. #. type: deftypevr
  30053. #: guix-git/doc/guix.texi:20286
  30054. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  30055. msgstr ""
  30056. #. type: deftypevr
  30057. #: guix-git/doc/guix.texi:20288
  30058. #, no-wrap
  30059. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  30060. msgstr ""
  30061. #. type: deftypevr
  30062. #: guix-git/doc/guix.texi:20296
  30063. 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}."
  30064. msgstr ""
  30065. #. type: deftypevr
  30066. #: guix-git/doc/guix.texi:20298
  30067. #, no-wrap
  30068. msgid "{@code{namespace-configuration} parameter} boolean list?"
  30069. msgstr ""
  30070. #. type: deftypevr
  30071. #: guix-git/doc/guix.texi:20304
  30072. 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}."
  30073. msgstr ""
  30074. #. type: deftypevr
  30075. #: guix-git/doc/guix.texi:20306
  30076. #, no-wrap
  30077. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  30078. msgstr ""
  30079. #. type: deftypevr
  30080. #: guix-git/doc/guix.texi:20311
  30081. 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}."
  30082. msgstr ""
  30083. #. type: deftypevr
  30084. #: guix-git/doc/guix.texi:20313
  30085. #, no-wrap
  30086. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  30087. msgstr ""
  30088. #. type: deftypevr
  30089. #: guix-git/doc/guix.texi:20316
  30090. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  30091. msgstr ""
  30092. #. type: deftypevr
  30093. #: guix-git/doc/guix.texi:20318
  30094. msgid "Available @code{mailbox-configuration} fields are:"
  30095. msgstr ""
  30096. #. type: deftypevr
  30097. #: guix-git/doc/guix.texi:20319
  30098. #, no-wrap
  30099. msgid "{@code{mailbox-configuration} parameter} string name"
  30100. msgstr ""
  30101. #. type: deftypevr
  30102. #: guix-git/doc/guix.texi:20321
  30103. msgid "Name for this mailbox."
  30104. msgstr ""
  30105. #. type: deftypevr
  30106. #: guix-git/doc/guix.texi:20323
  30107. #, no-wrap
  30108. msgid "{@code{mailbox-configuration} parameter} string auto"
  30109. msgstr ""
  30110. #. type: deftypevr
  30111. #: guix-git/doc/guix.texi:20327
  30112. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  30113. msgstr ""
  30114. #. type: deftypevr
  30115. #: guix-git/doc/guix.texi:20329
  30116. #, no-wrap
  30117. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  30118. msgstr ""
  30119. #. type: deftypevr
  30120. #: guix-git/doc/guix.texi:20334
  30121. 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{()}."
  30122. msgstr ""
  30123. #. type: deftypevr
  30124. #: guix-git/doc/guix.texi:20340
  30125. #, no-wrap
  30126. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  30127. msgstr ""
  30128. #. type: deftypevr
  30129. #: guix-git/doc/guix.texi:20343
  30130. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  30131. msgstr ""
  30132. #. type: deftypevr
  30133. #: guix-git/doc/guix.texi:20345
  30134. #, no-wrap
  30135. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  30136. msgstr ""
  30137. #. type: deftypevr
  30138. #: guix-git/doc/guix.texi:20348
  30139. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  30140. msgstr ""
  30141. #. type: deftypevr
  30142. #: guix-git/doc/guix.texi:20350
  30143. #, no-wrap
  30144. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  30145. msgstr ""
  30146. #. type: deftypevr
  30147. #: guix-git/doc/guix.texi:20357
  30148. 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{()}."
  30149. msgstr ""
  30150. #. type: deftypevr
  30151. #: guix-git/doc/guix.texi:20359
  30152. #, no-wrap
  30153. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  30154. msgstr ""
  30155. #. type: deftypevr
  30156. #: guix-git/doc/guix.texi:20362
  30157. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  30158. msgstr ""
  30159. #. type: deftypevr
  30160. #: guix-git/doc/guix.texi:20364
  30161. #, no-wrap
  30162. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  30163. msgstr ""
  30164. #. type: deftypevr
  30165. #: guix-git/doc/guix.texi:20370
  30166. 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}."
  30167. msgstr ""
  30168. #. type: deftypevr
  30169. #: guix-git/doc/guix.texi:20372
  30170. #, no-wrap
  30171. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  30172. msgstr ""
  30173. #. type: deftypevr
  30174. #: guix-git/doc/guix.texi:20378
  30175. 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}."
  30176. msgstr ""
  30177. #. type: deftypevr
  30178. #: guix-git/doc/guix.texi:20380
  30179. #, no-wrap
  30180. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  30181. msgstr ""
  30182. #. type: deftypevr
  30183. #: guix-git/doc/guix.texi:20384
  30184. 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}."
  30185. msgstr ""
  30186. #. type: deftypevr
  30187. #: guix-git/doc/guix.texi:20386
  30188. #, no-wrap
  30189. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  30190. msgstr ""
  30191. #. type: deftypevr
  30192. #: guix-git/doc/guix.texi:20389
  30193. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  30194. msgstr ""
  30195. #. type: deftypevr
  30196. #: guix-git/doc/guix.texi:20391
  30197. #, no-wrap
  30198. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  30199. msgstr ""
  30200. #. type: deftypevr
  30201. #: guix-git/doc/guix.texi:20395
  30202. 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."
  30203. msgstr ""
  30204. #. type: deftypevr
  30205. #: guix-git/doc/guix.texi:20397
  30206. #, no-wrap
  30207. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  30208. msgstr ""
  30209. #. type: deftypevr
  30210. #: guix-git/doc/guix.texi:20404
  30211. 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}."
  30212. msgstr ""
  30213. #. type: deftypevr
  30214. #: guix-git/doc/guix.texi:20406
  30215. #, no-wrap
  30216. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  30217. msgstr ""
  30218. #. type: deftypevr
  30219. #: guix-git/doc/guix.texi:20411
  30220. 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}."
  30221. msgstr ""
  30222. #. type: deftypevr
  30223. #: guix-git/doc/guix.texi:20413
  30224. #, no-wrap
  30225. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  30226. msgstr ""
  30227. #. type: deftypevr
  30228. #: guix-git/doc/guix.texi:20421
  30229. 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\"}."
  30230. msgstr ""
  30231. #. type: deftypevr
  30232. #: guix-git/doc/guix.texi:20423
  30233. #, no-wrap
  30234. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  30235. msgstr ""
  30236. #. type: deftypevr
  30237. #: guix-git/doc/guix.texi:20427
  30238. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  30239. msgstr ""
  30240. #. type: deftypevr
  30241. #: guix-git/doc/guix.texi:20429
  30242. #, no-wrap
  30243. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  30244. msgstr ""
  30245. #. type: deftypevr
  30246. #: guix-git/doc/guix.texi:20435
  30247. 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{()}."
  30248. msgstr ""
  30249. #. type: deftypevr
  30250. #: guix-git/doc/guix.texi:20437
  30251. #, no-wrap
  30252. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  30253. msgstr ""
  30254. #. type: deftypevr
  30255. #: guix-git/doc/guix.texi:20442
  30256. 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{\"\"}."
  30257. msgstr ""
  30258. #. type: deftypevr
  30259. #: guix-git/doc/guix.texi:20444
  30260. #, no-wrap
  30261. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  30262. msgstr ""
  30263. #. type: deftypevr
  30264. #: guix-git/doc/guix.texi:20451
  30265. 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.-_@@\"}."
  30266. msgstr ""
  30267. #. type: deftypevr
  30268. #: guix-git/doc/guix.texi:20453
  30269. #, no-wrap
  30270. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  30271. msgstr ""
  30272. #. type: deftypevr
  30273. #: guix-git/doc/guix.texi:20459
  30274. 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{\"\"}."
  30275. msgstr ""
  30276. #. type: deftypevr
  30277. #: guix-git/doc/guix.texi:20461
  30278. #, no-wrap
  30279. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  30280. msgstr ""
  30281. #. type: deftypevr
  30282. #: guix-git/doc/guix.texi:20468
  30283. 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\"}."
  30284. msgstr ""
  30285. #. type: deftypevr
  30286. #: guix-git/doc/guix.texi:20470
  30287. #, no-wrap
  30288. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  30289. msgstr ""
  30290. #. type: deftypevr
  30291. #: guix-git/doc/guix.texi:20478
  30292. 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{\"\"}."
  30293. msgstr ""
  30294. #. type: deftypevr
  30295. #: guix-git/doc/guix.texi:20480
  30296. #, no-wrap
  30297. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  30298. msgstr ""
  30299. #. type: deftypevr
  30300. #: guix-git/doc/guix.texi:20484
  30301. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  30302. msgstr ""
  30303. #. type: deftypevr
  30304. #: guix-git/doc/guix.texi:20486
  30305. #, no-wrap
  30306. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  30307. msgstr ""
  30308. #. type: deftypevr
  30309. #: guix-git/doc/guix.texi:20491
  30310. 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}."
  30311. msgstr ""
  30312. #. type: deftypevr
  30313. #: guix-git/doc/guix.texi:20493
  30314. #, no-wrap
  30315. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  30316. msgstr ""
  30317. #. type: deftypevr
  30318. #: guix-git/doc/guix.texi:20498
  30319. 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{\"\"}."
  30320. msgstr ""
  30321. #. type: deftypevr
  30322. #: guix-git/doc/guix.texi:20500
  30323. #, no-wrap
  30324. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  30325. msgstr ""
  30326. #. type: deftypevr
  30327. #: guix-git/doc/guix.texi:20506
  30328. 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{\"\"}."
  30329. msgstr ""
  30330. #. type: deftypevr
  30331. #: guix-git/doc/guix.texi:20508
  30332. #, no-wrap
  30333. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  30334. msgstr ""
  30335. #. type: deftypevr
  30336. #: guix-git/doc/guix.texi:20513
  30337. 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}."
  30338. msgstr ""
  30339. #. type: deftypevr
  30340. #: guix-git/doc/guix.texi:20515
  30341. #, no-wrap
  30342. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  30343. msgstr ""
  30344. #. type: deftypevr
  30345. #: guix-git/doc/guix.texi:20518
  30346. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  30347. msgstr ""
  30348. #. type: deftypevr
  30349. #: guix-git/doc/guix.texi:20520
  30350. #, no-wrap
  30351. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  30352. msgstr ""
  30353. #. type: deftypevr
  30354. #: guix-git/doc/guix.texi:20523
  30355. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  30356. msgstr ""
  30357. #. type: deftypevr
  30358. #: guix-git/doc/guix.texi:20525
  30359. #, no-wrap
  30360. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  30361. msgstr ""
  30362. #. type: deftypevr
  30363. #: guix-git/doc/guix.texi:20529
  30364. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  30365. msgstr ""
  30366. #. type: deftypevr
  30367. #: guix-git/doc/guix.texi:20531
  30368. #, no-wrap
  30369. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  30370. msgstr ""
  30371. #. type: deftypevr
  30372. #: guix-git/doc/guix.texi:20536
  30373. 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}."
  30374. msgstr ""
  30375. #. type: deftypevr
  30376. #: guix-git/doc/guix.texi:20538
  30377. #, no-wrap
  30378. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  30379. msgstr ""
  30380. #. type: deftypevr
  30381. #: guix-git/doc/guix.texi:20544
  30382. 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."
  30383. msgstr ""
  30384. #. type: deftypevr
  30385. #: guix-git/doc/guix.texi:20546
  30386. #, no-wrap
  30387. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  30388. msgstr ""
  30389. #. type: deftypevr
  30390. #: guix-git/doc/guix.texi:20551
  30391. 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{()}."
  30392. msgstr ""
  30393. #. type: deftypevr
  30394. #: guix-git/doc/guix.texi:20553
  30395. #, no-wrap
  30396. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  30397. msgstr ""
  30398. #. type: deftypevr
  30399. #: guix-git/doc/guix.texi:20557
  30400. 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{()}."
  30401. msgstr ""
  30402. #. type: deftypevr
  30403. #: guix-git/doc/guix.texi:20559
  30404. #, no-wrap
  30405. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  30406. msgstr ""
  30407. #. type: deftypevr
  30408. #: guix-git/doc/guix.texi:20563
  30409. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  30410. msgstr ""
  30411. #. type: deftypevr
  30412. #: guix-git/doc/guix.texi:20565
  30413. #, no-wrap
  30414. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  30415. msgstr ""
  30416. #. type: deftypevr
  30417. #: guix-git/doc/guix.texi:20570
  30418. 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\"}."
  30419. msgstr ""
  30420. #. type: deftypevr
  30421. #: guix-git/doc/guix.texi:20572
  30422. #, no-wrap
  30423. msgid "{@code{dovecot-configuration} parameter} string log-path"
  30424. msgstr ""
  30425. #. type: deftypevr
  30426. #: guix-git/doc/guix.texi:20576
  30427. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  30428. msgstr ""
  30429. #. type: deftypevr
  30430. #: guix-git/doc/guix.texi:20578
  30431. #, no-wrap
  30432. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  30433. msgstr ""
  30434. #. type: deftypevr
  30435. #: guix-git/doc/guix.texi:20582
  30436. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  30437. msgstr ""
  30438. #. type: deftypevr
  30439. #: guix-git/doc/guix.texi:20584
  30440. #, no-wrap
  30441. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  30442. msgstr ""
  30443. #. type: deftypevr
  30444. #: guix-git/doc/guix.texi:20588
  30445. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  30446. msgstr ""
  30447. #. type: deftypevr
  30448. #: guix-git/doc/guix.texi:20590
  30449. #, no-wrap
  30450. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  30451. msgstr ""
  30452. #. type: deftypevr
  30453. #: guix-git/doc/guix.texi:20595
  30454. 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\"}."
  30455. msgstr ""
  30456. #. type: deftypevr
  30457. #: guix-git/doc/guix.texi:20597
  30458. #, no-wrap
  30459. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  30460. msgstr ""
  30461. #. type: deftypevr
  30462. #: guix-git/doc/guix.texi:20601
  30463. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  30464. msgstr ""
  30465. #. type: deftypevr
  30466. #: guix-git/doc/guix.texi:20603
  30467. #, no-wrap
  30468. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  30469. msgstr ""
  30470. #. type: deftypevr
  30471. #: guix-git/doc/guix.texi:20610
  30472. 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\"}."
  30473. msgstr ""
  30474. #. type: deftypevr
  30475. #: guix-git/doc/guix.texi:20612
  30476. #, no-wrap
  30477. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  30478. msgstr ""
  30479. #. type: deftypevr
  30480. #: guix-git/doc/guix.texi:20616
  30481. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  30482. msgstr ""
  30483. #. type: deftypevr
  30484. #: guix-git/doc/guix.texi:20618
  30485. #, no-wrap
  30486. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  30487. msgstr ""
  30488. #. type: deftypevr
  30489. #: guix-git/doc/guix.texi:20623
  30490. 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}."
  30491. msgstr ""
  30492. #. type: deftypevr
  30493. #: guix-git/doc/guix.texi:20625
  30494. #, no-wrap
  30495. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  30496. msgstr ""
  30497. #. type: deftypevr
  30498. #: guix-git/doc/guix.texi:20629
  30499. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  30500. msgstr ""
  30501. #. type: deftypevr
  30502. #: guix-git/doc/guix.texi:20631
  30503. #, no-wrap
  30504. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  30505. msgstr ""
  30506. #. type: deftypevr
  30507. #: guix-git/doc/guix.texi:20634
  30508. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  30509. msgstr ""
  30510. #. type: deftypevr
  30511. #: guix-git/doc/guix.texi:20636
  30512. #, no-wrap
  30513. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  30514. msgstr ""
  30515. #. type: deftypevr
  30516. #: guix-git/doc/guix.texi:20640
  30517. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  30518. msgstr ""
  30519. #. type: deftypevr
  30520. #: guix-git/doc/guix.texi:20642
  30521. #, no-wrap
  30522. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  30523. msgstr ""
  30524. #. type: deftypevr
  30525. #: guix-git/doc/guix.texi:20646
  30526. 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."
  30527. msgstr ""
  30528. #. type: deftypevr
  30529. #: guix-git/doc/guix.texi:20648
  30530. #, no-wrap
  30531. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  30532. msgstr ""
  30533. #. type: deftypevr
  30534. #: guix-git/doc/guix.texi:20652
  30535. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  30536. msgstr ""
  30537. #. type: deftypevr
  30538. #: guix-git/doc/guix.texi:20654
  30539. #, no-wrap
  30540. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  30541. msgstr ""
  30542. #. type: deftypevr
  30543. #: guix-git/doc/guix.texi:20658
  30544. 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@}>: \\\"\"}."
  30545. msgstr ""
  30546. #. type: deftypevr
  30547. #: guix-git/doc/guix.texi:20660
  30548. #, no-wrap
  30549. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  30550. msgstr ""
  30551. #. type: deftypevr
  30552. #: guix-git/doc/guix.texi:20662
  30553. msgid "Format to use for logging mail deliveries. You can use variables:"
  30554. msgstr ""
  30555. #. type: item
  30556. #: guix-git/doc/guix.texi:20663
  30557. #, no-wrap
  30558. msgid "%$"
  30559. msgstr ""
  30560. #. type: table
  30561. #: guix-git/doc/guix.texi:20665
  30562. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  30563. msgstr ""
  30564. #. type: item
  30565. #: guix-git/doc/guix.texi:20665
  30566. #, no-wrap
  30567. msgid "%m"
  30568. msgstr ""
  30569. #. type: table
  30570. #: guix-git/doc/guix.texi:20667
  30571. msgid "Message-ID"
  30572. msgstr ""
  30573. #. type: item
  30574. #: guix-git/doc/guix.texi:20667 guix-git/doc/guix.texi:21199
  30575. #, no-wrap
  30576. msgid "%s"
  30577. msgstr ""
  30578. #. type: table
  30579. #: guix-git/doc/guix.texi:20669
  30580. msgid "Subject"
  30581. msgstr "제목"
  30582. #. type: item
  30583. #: guix-git/doc/guix.texi:20669
  30584. #, no-wrap
  30585. msgid "%f"
  30586. msgstr ""
  30587. #. type: table
  30588. #: guix-git/doc/guix.texi:20671
  30589. msgid "From address"
  30590. msgstr ""
  30591. #. type: table
  30592. #: guix-git/doc/guix.texi:20673
  30593. msgid "Physical size"
  30594. msgstr ""
  30595. #. type: item
  30596. #: guix-git/doc/guix.texi:20673
  30597. #, no-wrap
  30598. msgid "%w"
  30599. msgstr ""
  30600. #. type: table
  30601. #: guix-git/doc/guix.texi:20675
  30602. msgid "Virtual size."
  30603. msgstr ""
  30604. #. type: deftypevr
  30605. #: guix-git/doc/guix.texi:20677
  30606. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  30607. msgstr ""
  30608. #. type: deftypevr
  30609. #: guix-git/doc/guix.texi:20679
  30610. #, no-wrap
  30611. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  30612. msgstr ""
  30613. #. type: deftypevr
  30614. #: guix-git/doc/guix.texi:20684
  30615. 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."
  30616. msgstr ""
  30617. #. type: deftypevr
  30618. #: guix-git/doc/guix.texi:20690
  30619. 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."
  30620. msgstr ""
  30621. #. type: deftypevr
  30622. #: guix-git/doc/guix.texi:20692
  30623. msgid "There are a few special variables you can use, e.g.:"
  30624. msgstr ""
  30625. #. type: table
  30626. #: guix-git/doc/guix.texi:20696
  30627. msgid "username"
  30628. msgstr "사용자 이름"
  30629. #. type: item
  30630. #: guix-git/doc/guix.texi:20696 guix-git/doc/guix.texi:21195
  30631. #, no-wrap
  30632. msgid "%n"
  30633. msgstr ""
  30634. #. type: table
  30635. #: guix-git/doc/guix.texi:20698
  30636. msgid "user part in user@@domain, same as %u if there's no domain"
  30637. msgstr ""
  30638. #. type: item
  30639. #: guix-git/doc/guix.texi:20698
  30640. #, no-wrap
  30641. msgid "%d"
  30642. msgstr ""
  30643. #. type: table
  30644. #: guix-git/doc/guix.texi:20700
  30645. msgid "domain part in user@@domain, empty if there's no domain"
  30646. msgstr ""
  30647. #. type: item
  30648. #: guix-git/doc/guix.texi:20700
  30649. #, no-wrap
  30650. msgid "%h"
  30651. msgstr ""
  30652. #. type: table
  30653. #: guix-git/doc/guix.texi:20702
  30654. msgid "home director"
  30655. msgstr "홈 디렉토리"
  30656. #. type: deftypevr
  30657. #: guix-git/doc/guix.texi:20705
  30658. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  30659. msgstr ""
  30660. #. type: item
  30661. #: guix-git/doc/guix.texi:20706
  30662. #, no-wrap
  30663. msgid "maildir:~/Maildir"
  30664. msgstr ""
  30665. #. type: item
  30666. #: guix-git/doc/guix.texi:20707
  30667. #, no-wrap
  30668. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  30669. msgstr ""
  30670. #. type: item
  30671. #: guix-git/doc/guix.texi:20708
  30672. #, no-wrap
  30673. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  30674. msgstr ""
  30675. #. type: deftypevr
  30676. #: guix-git/doc/guix.texi:20713
  30677. #, no-wrap
  30678. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  30679. msgstr ""
  30680. #. type: deftypevr
  30681. #: guix-git/doc/guix.texi:20718
  30682. 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{\"\"}."
  30683. msgstr ""
  30684. #. type: deftypevr
  30685. #: guix-git/doc/guix.texi:20720
  30686. #, no-wrap
  30687. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  30688. msgstr ""
  30689. #. type: deftypevr
  30690. #: guix-git/doc/guix.texi:20725
  30691. #, no-wrap
  30692. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  30693. msgstr ""
  30694. #. type: deftypevr
  30695. #: guix-git/doc/guix.texi:20731
  30696. 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{\"\"}."
  30697. msgstr ""
  30698. #. type: deftypevr
  30699. #: guix-git/doc/guix.texi:20733
  30700. #, no-wrap
  30701. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  30702. msgstr ""
  30703. #. type: deftypevr
  30704. #: guix-git/doc/guix.texi:20741
  30705. 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{\"\"}."
  30706. msgstr ""
  30707. #. type: deftypevr
  30708. #: guix-git/doc/guix.texi:20743
  30709. #, no-wrap
  30710. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  30711. msgstr ""
  30712. #. type: deftypevr
  30713. #: guix-git/doc/guix.texi:20749
  30714. 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}."
  30715. msgstr ""
  30716. #. type: deftypevr
  30717. #: guix-git/doc/guix.texi:20751
  30718. #, no-wrap
  30719. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  30720. msgstr ""
  30721. #. type: deftypevr
  30722. #: guix-git/doc/guix.texi:20755
  30723. 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}."
  30724. msgstr ""
  30725. #. type: deftypevr
  30726. #: guix-git/doc/guix.texi:20757
  30727. #, no-wrap
  30728. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  30729. msgstr ""
  30730. #. type: deftypevr
  30731. #: guix-git/doc/guix.texi:20762
  30732. 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}."
  30733. msgstr ""
  30734. #. type: deftypevr
  30735. #: guix-git/doc/guix.texi:20764
  30736. #, no-wrap
  30737. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  30738. msgstr ""
  30739. #. type: deftypevr
  30740. #: guix-git/doc/guix.texi:20766
  30741. msgid "When to use fsync() or fdatasync() calls:"
  30742. msgstr ""
  30743. #. type: item
  30744. #: guix-git/doc/guix.texi:20767
  30745. #, no-wrap
  30746. msgid "optimized"
  30747. msgstr ""
  30748. #. type: table
  30749. #: guix-git/doc/guix.texi:20769
  30750. msgid "Whenever necessary to avoid losing important data"
  30751. msgstr ""
  30752. #. type: table
  30753. #: guix-git/doc/guix.texi:20771
  30754. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  30755. msgstr ""
  30756. #. type: table
  30757. #: guix-git/doc/guix.texi:20773
  30758. msgid "Never use it (best performance, but crashes can lose data)."
  30759. msgstr ""
  30760. #. type: deftypevr
  30761. #: guix-git/doc/guix.texi:20775
  30762. msgid "Defaults to @samp{\"optimized\"}."
  30763. msgstr ""
  30764. #. type: deftypevr
  30765. #: guix-git/doc/guix.texi:20777
  30766. #, no-wrap
  30767. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  30768. msgstr ""
  30769. #. type: deftypevr
  30770. #: guix-git/doc/guix.texi:20782
  30771. 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}."
  30772. msgstr ""
  30773. #. type: deftypevr
  30774. #: guix-git/doc/guix.texi:20784
  30775. #, no-wrap
  30776. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  30777. msgstr ""
  30778. #. type: deftypevr
  30779. #: guix-git/doc/guix.texi:20788
  30780. 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}."
  30781. msgstr ""
  30782. #. type: deftypevr
  30783. #: guix-git/doc/guix.texi:20790
  30784. #, no-wrap
  30785. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  30786. msgstr ""
  30787. #. type: deftypevr
  30788. #: guix-git/doc/guix.texi:20796
  30789. 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\"}."
  30790. msgstr ""
  30791. #. type: deftypevr
  30792. #: guix-git/doc/guix.texi:20798
  30793. #, no-wrap
  30794. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  30795. msgstr ""
  30796. #. type: deftypevr
  30797. #: guix-git/doc/guix.texi:20802
  30798. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  30799. msgstr ""
  30800. #. type: deftypevr
  30801. #: guix-git/doc/guix.texi:20804
  30802. #, no-wrap
  30803. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  30804. msgstr ""
  30805. #. type: deftypevr
  30806. #: guix-git/doc/guix.texi:20810
  30807. 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}."
  30808. msgstr ""
  30809. #. type: deftypevr
  30810. #: guix-git/doc/guix.texi:20812
  30811. #, no-wrap
  30812. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  30813. msgstr ""
  30814. #. type: deftypevr
  30815. #: guix-git/doc/guix.texi:20817
  30816. #, no-wrap
  30817. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  30818. msgstr ""
  30819. #. type: deftypevr
  30820. #: guix-git/doc/guix.texi:20822
  30821. 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}."
  30822. msgstr ""
  30823. #. type: deftypevr
  30824. #: guix-git/doc/guix.texi:20824
  30825. #, no-wrap
  30826. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  30827. msgstr ""
  30828. #. type: deftypevr
  30829. #: guix-git/doc/guix.texi:20829
  30830. #, no-wrap
  30831. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  30832. msgstr ""
  30833. #. type: deftypevr
  30834. #: guix-git/doc/guix.texi:20833
  30835. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  30836. msgstr ""
  30837. #. type: deftypevr
  30838. #: guix-git/doc/guix.texi:20835
  30839. #, no-wrap
  30840. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  30841. msgstr ""
  30842. #. type: deftypevr
  30843. #: guix-git/doc/guix.texi:20845
  30844. 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{()}."
  30845. msgstr ""
  30846. #. type: deftypevr
  30847. #: guix-git/doc/guix.texi:20847
  30848. #, no-wrap
  30849. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  30850. msgstr ""
  30851. #. type: deftypevr
  30852. #: guix-git/doc/guix.texi:20856
  30853. 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{\"\"}."
  30854. msgstr ""
  30855. #. type: deftypevr
  30856. #: guix-git/doc/guix.texi:20858
  30857. #, no-wrap
  30858. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  30859. msgstr ""
  30860. #. type: deftypevr
  30861. #: guix-git/doc/guix.texi:20862
  30862. 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\"}."
  30863. msgstr ""
  30864. #. type: deftypevr
  30865. #: guix-git/doc/guix.texi:20864
  30866. #, no-wrap
  30867. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  30868. msgstr ""
  30869. #. type: deftypevr
  30870. #: guix-git/doc/guix.texi:20867
  30871. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  30872. msgstr ""
  30873. #. type: deftypevr
  30874. #: guix-git/doc/guix.texi:20869
  30875. #, no-wrap
  30876. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  30877. msgstr ""
  30878. #. type: deftypevr
  30879. #: guix-git/doc/guix.texi:20873
  30880. 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{()}."
  30881. msgstr ""
  30882. #. type: deftypevr
  30883. #: guix-git/doc/guix.texi:20875
  30884. #, no-wrap
  30885. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  30886. msgstr ""
  30887. #. type: deftypevr
  30888. #: guix-git/doc/guix.texi:20880
  30889. 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}."
  30890. msgstr ""
  30891. #. type: deftypevr
  30892. #: guix-git/doc/guix.texi:20882
  30893. #, no-wrap
  30894. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  30895. msgstr ""
  30896. #. type: deftypevr
  30897. #: guix-git/doc/guix.texi:20889
  30898. 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\"}."
  30899. msgstr ""
  30900. #. type: deftypevr
  30901. #: guix-git/doc/guix.texi:20891
  30902. #, no-wrap
  30903. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  30904. msgstr ""
  30905. #. type: deftypevr
  30906. #: guix-git/doc/guix.texi:20898
  30907. 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}."
  30908. msgstr ""
  30909. #. type: deftypevr
  30910. #: guix-git/doc/guix.texi:20900
  30911. #, no-wrap
  30912. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  30913. msgstr ""
  30914. #. type: deftypevr
  30915. #: guix-git/doc/guix.texi:20908
  30916. 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}."
  30917. msgstr ""
  30918. #. type: deftypevr
  30919. #: guix-git/doc/guix.texi:20910
  30920. #, no-wrap
  30921. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  30922. msgstr ""
  30923. #. type: deftypevr
  30924. #: guix-git/doc/guix.texi:20915
  30925. 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}."
  30926. msgstr ""
  30927. #. type: deftypevr
  30928. #: guix-git/doc/guix.texi:20917
  30929. #, no-wrap
  30930. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  30931. msgstr ""
  30932. #. type: deftypevr
  30933. #: guix-git/doc/guix.texi:20922
  30934. 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}."
  30935. msgstr ""
  30936. #. type: deftypevr
  30937. #: guix-git/doc/guix.texi:20924
  30938. #, no-wrap
  30939. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  30940. msgstr ""
  30941. #. type: deftypevr
  30942. #: guix-git/doc/guix.texi:20927
  30943. msgid "Which locking methods to use for locking mbox. There are four available:"
  30944. msgstr ""
  30945. #. type: item
  30946. #: guix-git/doc/guix.texi:20929
  30947. #, no-wrap
  30948. msgid "dotlock"
  30949. msgstr ""
  30950. #. type: table
  30951. #: guix-git/doc/guix.texi:20933
  30952. 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."
  30953. msgstr ""
  30954. #. type: item
  30955. #: guix-git/doc/guix.texi:20933
  30956. #, no-wrap
  30957. msgid "dotlock-try"
  30958. msgstr ""
  30959. #. type: table
  30960. #: guix-git/doc/guix.texi:20936
  30961. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  30962. msgstr ""
  30963. #. type: item
  30964. #: guix-git/doc/guix.texi:20936
  30965. #, no-wrap
  30966. msgid "fcntl"
  30967. msgstr ""
  30968. #. type: table
  30969. #: guix-git/doc/guix.texi:20938
  30970. msgid "Use this if possible. Works with NFS too if lockd is used."
  30971. msgstr ""
  30972. #. type: item
  30973. #: guix-git/doc/guix.texi:20938
  30974. #, no-wrap
  30975. msgid "flock"
  30976. msgstr ""
  30977. #. type: table
  30978. #: guix-git/doc/guix.texi:20940 guix-git/doc/guix.texi:20942
  30979. msgid "May not exist in all systems. Doesn't work with NFS."
  30980. msgstr ""
  30981. #. type: item
  30982. #: guix-git/doc/guix.texi:20940
  30983. #, no-wrap
  30984. msgid "lockf"
  30985. msgstr ""
  30986. #. type: deftypevr
  30987. #: guix-git/doc/guix.texi:20948
  30988. 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."
  30989. msgstr ""
  30990. #. type: deftypevr
  30991. #: guix-git/doc/guix.texi:20950
  30992. #, no-wrap
  30993. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  30994. msgstr ""
  30995. #. type: deftypevr
  30996. #: guix-git/doc/guix.texi:20954
  30997. #, no-wrap
  30998. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  30999. msgstr ""
  31000. #. type: deftypevr
  31001. #: guix-git/doc/guix.texi:20957
  31002. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  31003. msgstr ""
  31004. #. type: deftypevr
  31005. #: guix-git/doc/guix.texi:20959
  31006. #, no-wrap
  31007. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  31008. msgstr ""
  31009. #. type: deftypevr
  31010. #: guix-git/doc/guix.texi:20963
  31011. 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\"}."
  31012. msgstr ""
  31013. #. type: deftypevr
  31014. #: guix-git/doc/guix.texi:20965
  31015. #, no-wrap
  31016. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  31017. msgstr ""
  31018. #. type: deftypevr
  31019. #: guix-git/doc/guix.texi:20976
  31020. 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}."
  31021. msgstr ""
  31022. #. type: deftypevr
  31023. #: guix-git/doc/guix.texi:20978
  31024. #, no-wrap
  31025. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  31026. msgstr ""
  31027. #. type: deftypevr
  31028. #: guix-git/doc/guix.texi:20983
  31029. 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}."
  31030. msgstr ""
  31031. #. type: deftypevr
  31032. #: guix-git/doc/guix.texi:20985
  31033. #, no-wrap
  31034. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  31035. msgstr ""
  31036. #. type: deftypevr
  31037. #: guix-git/doc/guix.texi:20991
  31038. 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}."
  31039. msgstr ""
  31040. #. type: deftypevr
  31041. #: guix-git/doc/guix.texi:20993
  31042. #, no-wrap
  31043. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  31044. msgstr ""
  31045. #. type: deftypevr
  31046. #: guix-git/doc/guix.texi:20998
  31047. 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}."
  31048. msgstr ""
  31049. #. type: deftypevr
  31050. #: guix-git/doc/guix.texi:21000
  31051. #, no-wrap
  31052. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  31053. msgstr ""
  31054. #. type: deftypevr
  31055. #: guix-git/doc/guix.texi:21003
  31056. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  31057. msgstr ""
  31058. #. type: deftypevr
  31059. #: guix-git/doc/guix.texi:21005
  31060. #, no-wrap
  31061. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  31062. msgstr ""
  31063. #. type: deftypevr
  31064. #: guix-git/doc/guix.texi:21010
  31065. 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\"}."
  31066. msgstr ""
  31067. #. type: deftypevr
  31068. #: guix-git/doc/guix.texi:21012
  31069. #, no-wrap
  31070. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  31071. msgstr ""
  31072. #. type: deftypevr
  31073. #: guix-git/doc/guix.texi:21017
  31074. 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}."
  31075. msgstr ""
  31076. #. type: deftypevr
  31077. #: guix-git/doc/guix.texi:21019
  31078. #, no-wrap
  31079. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  31080. msgstr ""
  31081. #. type: deftypevr
  31082. #: guix-git/doc/guix.texi:21023
  31083. 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."
  31084. msgstr ""
  31085. #. type: deftypevr
  31086. #: guix-git/doc/guix.texi:21025
  31087. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  31088. msgstr ""
  31089. #. type: deftypevr
  31090. #: guix-git/doc/guix.texi:21028
  31091. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  31092. msgstr ""
  31093. #. type: deftypevr
  31094. #: guix-git/doc/guix.texi:21030
  31095. #, no-wrap
  31096. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  31097. msgstr ""
  31098. #. type: deftypevr
  31099. #: guix-git/doc/guix.texi:21035
  31100. 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}."
  31101. msgstr ""
  31102. #. type: deftypevr
  31103. #: guix-git/doc/guix.texi:21037
  31104. #, no-wrap
  31105. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  31106. msgstr ""
  31107. #. type: deftypevr
  31108. #: guix-git/doc/guix.texi:21039
  31109. msgid "File system backend to use for saving attachments:"
  31110. msgstr ""
  31111. #. type: item
  31112. #: guix-git/doc/guix.texi:21040
  31113. #, no-wrap
  31114. msgid "posix"
  31115. msgstr ""
  31116. #. type: table
  31117. #: guix-git/doc/guix.texi:21042
  31118. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  31119. msgstr ""
  31120. #. type: item
  31121. #: guix-git/doc/guix.texi:21042
  31122. #, no-wrap
  31123. msgid "sis posix"
  31124. msgstr ""
  31125. #. type: table
  31126. #: guix-git/doc/guix.texi:21044
  31127. msgid "SiS with immediate byte-by-byte comparison during saving"
  31128. msgstr ""
  31129. #. type: item
  31130. #: guix-git/doc/guix.texi:21044
  31131. #, no-wrap
  31132. msgid "sis-queue posix"
  31133. msgstr ""
  31134. #. type: table
  31135. #: guix-git/doc/guix.texi:21046
  31136. msgid "SiS with delayed comparison and deduplication."
  31137. msgstr ""
  31138. #. type: deftypevr
  31139. #: guix-git/doc/guix.texi:21048
  31140. msgid "Defaults to @samp{\"sis posix\"}."
  31141. msgstr ""
  31142. #. type: deftypevr
  31143. #: guix-git/doc/guix.texi:21050
  31144. #, no-wrap
  31145. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  31146. msgstr ""
  31147. #. type: deftypevr
  31148. #: guix-git/doc/guix.texi:21056
  31149. 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@}\"}."
  31150. msgstr ""
  31151. #. type: deftypevr
  31152. #: guix-git/doc/guix.texi:21058
  31153. #, no-wrap
  31154. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  31155. msgstr ""
  31156. #. type: deftypevr
  31157. #: guix-git/doc/guix.texi:21063
  31158. #, no-wrap
  31159. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  31160. msgstr ""
  31161. #. type: deftypevr
  31162. #: guix-git/doc/guix.texi:21066 guix-git/doc/guix.texi:28386
  31163. msgid "Defaults to @samp{1000}."
  31164. msgstr ""
  31165. #. type: deftypevr
  31166. #: guix-git/doc/guix.texi:21068
  31167. #, no-wrap
  31168. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  31169. msgstr ""
  31170. #. type: deftypevr
  31171. #: guix-git/doc/guix.texi:21073
  31172. 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}."
  31173. msgstr ""
  31174. #. type: deftypevr
  31175. #: guix-git/doc/guix.texi:21075
  31176. #, no-wrap
  31177. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  31178. msgstr ""
  31179. #. type: deftypevr
  31180. #: guix-git/doc/guix.texi:21080
  31181. 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\"}."
  31182. msgstr ""
  31183. #. type: deftypevr
  31184. #: guix-git/doc/guix.texi:21082
  31185. #, no-wrap
  31186. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  31187. msgstr ""
  31188. #. type: deftypevr
  31189. #: guix-git/doc/guix.texi:21087
  31190. 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\"}."
  31191. msgstr ""
  31192. #. type: deftypevr
  31193. #: guix-git/doc/guix.texi:21089
  31194. #, no-wrap
  31195. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  31196. msgstr ""
  31197. #. type: deftypevr
  31198. #: guix-git/doc/guix.texi:21092
  31199. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  31200. msgstr ""
  31201. #. type: deftypevr
  31202. #: guix-git/doc/guix.texi:21094
  31203. #, no-wrap
  31204. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  31205. msgstr ""
  31206. #. type: deftypevr
  31207. #: guix-git/doc/guix.texi:21097
  31208. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  31209. msgstr ""
  31210. #. type: deftypevr
  31211. #: guix-git/doc/guix.texi:21099
  31212. #, no-wrap
  31213. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  31214. msgstr ""
  31215. #. type: deftypevr
  31216. #: guix-git/doc/guix.texi:21104
  31217. 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\"}."
  31218. msgstr ""
  31219. #. type: deftypevr
  31220. #: guix-git/doc/guix.texi:21106
  31221. #, no-wrap
  31222. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  31223. msgstr ""
  31224. #. type: deftypevr
  31225. #: guix-git/doc/guix.texi:21112
  31226. 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{\"\"}."
  31227. msgstr ""
  31228. #. type: deftypevr
  31229. #: guix-git/doc/guix.texi:21114
  31230. #, no-wrap
  31231. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  31232. msgstr ""
  31233. #. type: deftypevr
  31234. #: guix-git/doc/guix.texi:21120
  31235. 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{\"\"}."
  31236. msgstr ""
  31237. #. type: deftypevr
  31238. #: guix-git/doc/guix.texi:21122
  31239. #, no-wrap
  31240. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  31241. msgstr ""
  31242. #. type: deftypevr
  31243. #: guix-git/doc/guix.texi:21125
  31244. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  31245. msgstr ""
  31246. #. type: deftypevr
  31247. #: guix-git/doc/guix.texi:21127
  31248. #, no-wrap
  31249. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  31250. msgstr ""
  31251. #. type: deftypevr
  31252. #: guix-git/doc/guix.texi:21131
  31253. 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}."
  31254. msgstr ""
  31255. #. type: deftypevr
  31256. #: guix-git/doc/guix.texi:21133
  31257. #, no-wrap
  31258. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  31259. msgstr ""
  31260. #. type: deftypevr
  31261. #: guix-git/doc/guix.texi:21138
  31262. 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\"}."
  31263. msgstr ""
  31264. #. type: deftypevr
  31265. #: guix-git/doc/guix.texi:21140
  31266. #, no-wrap
  31267. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  31268. msgstr ""
  31269. #. type: deftypevr
  31270. #: guix-git/doc/guix.texi:21143
  31271. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  31272. msgstr ""
  31273. #. type: deftypevr
  31274. #: guix-git/doc/guix.texi:21145
  31275. #, no-wrap
  31276. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  31277. msgstr ""
  31278. #. type: deftypevr
  31279. #: guix-git/doc/guix.texi:21148
  31280. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  31281. msgstr ""
  31282. #. type: deftypevr
  31283. #: guix-git/doc/guix.texi:21150
  31284. #, no-wrap
  31285. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  31286. msgstr ""
  31287. #. type: deftypevr
  31288. #: guix-git/doc/guix.texi:21153
  31289. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  31290. msgstr ""
  31291. #. type: deftypevr
  31292. #: guix-git/doc/guix.texi:21155
  31293. #, no-wrap
  31294. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  31295. msgstr ""
  31296. #. type: deftypevr
  31297. #: guix-git/doc/guix.texi:21159
  31298. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  31299. msgstr ""
  31300. #. type: deftypevr
  31301. #: guix-git/doc/guix.texi:21161
  31302. #, no-wrap
  31303. msgid "{@code{dovecot-configuration} parameter} string hostname"
  31304. msgstr ""
  31305. #. type: deftypevr
  31306. #: guix-git/doc/guix.texi:21165
  31307. 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{\"\"}."
  31308. msgstr ""
  31309. #. type: deftypevr
  31310. #: guix-git/doc/guix.texi:21167
  31311. #, no-wrap
  31312. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  31313. msgstr ""
  31314. #. type: deftypevr
  31315. #: guix-git/doc/guix.texi:21171
  31316. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  31317. msgstr ""
  31318. #. type: deftypevr
  31319. #: guix-git/doc/guix.texi:21173
  31320. #, no-wrap
  31321. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  31322. msgstr ""
  31323. #. type: deftypevr
  31324. #: guix-git/doc/guix.texi:21176
  31325. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  31326. msgstr ""
  31327. #. type: deftypevr
  31328. #: guix-git/doc/guix.texi:21178
  31329. #, no-wrap
  31330. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  31331. msgstr ""
  31332. #. type: deftypevr
  31333. #: guix-git/doc/guix.texi:21182
  31334. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  31335. msgstr ""
  31336. #. type: deftypevr
  31337. #: guix-git/doc/guix.texi:21184
  31338. #, no-wrap
  31339. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  31340. msgstr ""
  31341. #. type: deftypevr
  31342. #: guix-git/doc/guix.texi:21188
  31343. 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\"}."
  31344. msgstr ""
  31345. #. type: deftypevr
  31346. #: guix-git/doc/guix.texi:21190
  31347. #, no-wrap
  31348. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  31349. msgstr ""
  31350. #. type: deftypevr
  31351. #: guix-git/doc/guix.texi:21193
  31352. msgid "Human readable error message for rejection mails. You can use variables:"
  31353. msgstr ""
  31354. #. type: table
  31355. #: guix-git/doc/guix.texi:21197
  31356. msgid "CRLF"
  31357. msgstr ""
  31358. #. type: item
  31359. #: guix-git/doc/guix.texi:21197
  31360. #, no-wrap
  31361. msgid "%r"
  31362. msgstr ""
  31363. #. type: table
  31364. #: guix-git/doc/guix.texi:21199
  31365. msgid "reason"
  31366. msgstr "이유"
  31367. #. type: table
  31368. #: guix-git/doc/guix.texi:21201
  31369. msgid "original subject"
  31370. msgstr ""
  31371. #. type: item
  31372. #: guix-git/doc/guix.texi:21201
  31373. #, no-wrap
  31374. msgid "%t"
  31375. msgstr ""
  31376. #. type: table
  31377. #: guix-git/doc/guix.texi:21203
  31378. msgid "recipient"
  31379. msgstr "받는 사람"
  31380. #. type: deftypevr
  31381. #: guix-git/doc/guix.texi:21205
  31382. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  31383. msgstr ""
  31384. #. type: deftypevr
  31385. #: guix-git/doc/guix.texi:21207
  31386. #, no-wrap
  31387. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  31388. msgstr ""
  31389. #. type: deftypevr
  31390. #: guix-git/doc/guix.texi:21211
  31391. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  31392. msgstr ""
  31393. #. type: deftypevr
  31394. #: guix-git/doc/guix.texi:21213
  31395. #, no-wrap
  31396. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  31397. msgstr ""
  31398. #. type: deftypevr
  31399. #: guix-git/doc/guix.texi:21219
  31400. 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{\"\"}."
  31401. msgstr ""
  31402. #. type: deftypevr
  31403. #: guix-git/doc/guix.texi:21221
  31404. #, no-wrap
  31405. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  31406. msgstr ""
  31407. #. type: deftypevr
  31408. #: guix-git/doc/guix.texi:21225
  31409. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  31410. msgstr ""
  31411. #. type: deftypevr
  31412. #: guix-git/doc/guix.texi:21227
  31413. #, no-wrap
  31414. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  31415. msgstr ""
  31416. #. type: deftypevr
  31417. #: guix-git/doc/guix.texi:21231
  31418. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  31419. msgstr ""
  31420. #. type: deftypevr
  31421. #: guix-git/doc/guix.texi:21233
  31422. #, no-wrap
  31423. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  31424. msgstr ""
  31425. #. type: deftypevr
  31426. #: guix-git/doc/guix.texi:21239
  31427. 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}."
  31428. msgstr ""
  31429. #. type: deftypevr
  31430. #: guix-git/doc/guix.texi:21241
  31431. #, no-wrap
  31432. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  31433. msgstr ""
  31434. #. type: deftypevr
  31435. #: guix-git/doc/guix.texi:21243
  31436. msgid "IMAP logout format string:"
  31437. msgstr ""
  31438. #. type: item
  31439. #: guix-git/doc/guix.texi:21244
  31440. #, no-wrap
  31441. msgid "%i"
  31442. msgstr ""
  31443. #. type: table
  31444. #: guix-git/doc/guix.texi:21246
  31445. msgid "total number of bytes read from client"
  31446. msgstr ""
  31447. #. type: item
  31448. #: guix-git/doc/guix.texi:21246
  31449. #, no-wrap
  31450. msgid "%o"
  31451. msgstr ""
  31452. #. type: table
  31453. #: guix-git/doc/guix.texi:21248
  31454. msgid "total number of bytes sent to client."
  31455. msgstr ""
  31456. #. type: deftypevr
  31457. #: guix-git/doc/guix.texi:21251
  31458. 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@}\"}."
  31459. msgstr ""
  31460. #. type: deftypevr
  31461. #: guix-git/doc/guix.texi:21253
  31462. #, no-wrap
  31463. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  31464. msgstr ""
  31465. #. type: deftypevr
  31466. #: guix-git/doc/guix.texi:21257
  31467. 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{\"\"}."
  31468. msgstr ""
  31469. #. type: deftypevr
  31470. #: guix-git/doc/guix.texi:21259
  31471. #, no-wrap
  31472. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  31473. msgstr ""
  31474. #. type: deftypevr
  31475. #: guix-git/doc/guix.texi:21263
  31476. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  31477. msgstr ""
  31478. #. type: deftypevr
  31479. #: guix-git/doc/guix.texi:21265
  31480. #, no-wrap
  31481. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  31482. msgstr ""
  31483. #. type: deftypevr
  31484. #: guix-git/doc/guix.texi:21271
  31485. 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{\"\"}."
  31486. msgstr ""
  31487. #. type: deftypevr
  31488. #: guix-git/doc/guix.texi:21273
  31489. #, no-wrap
  31490. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  31491. msgstr ""
  31492. #. type: deftypevr
  31493. #: guix-git/doc/guix.texi:21276
  31494. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  31495. msgstr ""
  31496. #. type: deftypevr
  31497. #: guix-git/doc/guix.texi:21278
  31498. #, no-wrap
  31499. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  31500. msgstr ""
  31501. #. type: deftypevr
  31502. #: guix-git/doc/guix.texi:21280
  31503. msgid "Workarounds for various client bugs:"
  31504. msgstr ""
  31505. #. type: item
  31506. #: guix-git/doc/guix.texi:21282
  31507. #, no-wrap
  31508. msgid "delay-newmail"
  31509. msgstr ""
  31510. #. type: table
  31511. #: guix-git/doc/guix.texi:21289
  31512. 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\"."
  31513. msgstr ""
  31514. #. type: item
  31515. #: guix-git/doc/guix.texi:21290
  31516. #, no-wrap
  31517. msgid "tb-extra-mailbox-sep"
  31518. msgstr ""
  31519. #. type: table
  31520. #: guix-git/doc/guix.texi:21294
  31521. 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."
  31522. msgstr ""
  31523. #. type: item
  31524. #: guix-git/doc/guix.texi:21295
  31525. #, no-wrap
  31526. msgid "tb-lsub-flags"
  31527. msgstr ""
  31528. #. type: table
  31529. #: guix-git/doc/guix.texi:21299
  31530. 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."
  31531. msgstr ""
  31532. #. type: deftypevr
  31533. #: guix-git/doc/guix.texi:21303
  31534. #, no-wrap
  31535. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  31536. msgstr ""
  31537. #. type: deftypevr
  31538. #: guix-git/doc/guix.texi:21306
  31539. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  31540. msgstr ""
  31541. #. type: Plain text
  31542. #: guix-git/doc/guix.texi:21314
  31543. 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."
  31544. msgstr ""
  31545. #. type: Plain text
  31546. #: guix-git/doc/guix.texi:21320
  31547. 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."
  31548. msgstr ""
  31549. #. type: Plain text
  31550. #: guix-git/doc/guix.texi:21322
  31551. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  31552. msgstr ""
  31553. #. type: deftypevr
  31554. #: guix-git/doc/guix.texi:21323
  31555. #, no-wrap
  31556. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  31557. msgstr ""
  31558. #. type: deftypevr
  31559. #: guix-git/doc/guix.texi:21327
  31560. #, no-wrap
  31561. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  31562. msgstr ""
  31563. #. type: deftypevr
  31564. #: guix-git/doc/guix.texi:21329
  31565. msgid "The contents of the @code{dovecot.conf}, as a string."
  31566. msgstr ""
  31567. #. type: Plain text
  31568. #: guix-git/doc/guix.texi:21333
  31569. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  31570. msgstr ""
  31571. #. type: lisp
  31572. #: guix-git/doc/guix.texi:21338
  31573. #, no-wrap
  31574. msgid ""
  31575. "(dovecot-service #:config\n"
  31576. " (opaque-dovecot-configuration\n"
  31577. " (string \"\")))\n"
  31578. msgstr ""
  31579. #. type: subsubheading
  31580. #: guix-git/doc/guix.texi:21340
  31581. #, no-wrap
  31582. msgid "OpenSMTPD Service"
  31583. msgstr ""
  31584. #. type: deffn
  31585. #: guix-git/doc/guix.texi:21342
  31586. #, no-wrap
  31587. msgid "{Scheme Variable} opensmtpd-service-type"
  31588. msgstr ""
  31589. #. type: deffn
  31590. #: guix-git/doc/guix.texi:21346
  31591. 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:"
  31592. msgstr ""
  31593. #. type: lisp
  31594. #: guix-git/doc/guix.texi:21351
  31595. #, no-wrap
  31596. msgid ""
  31597. "(service opensmtpd-service-type\n"
  31598. " (opensmtpd-configuration\n"
  31599. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  31600. msgstr ""
  31601. #. type: deftp
  31602. #: guix-git/doc/guix.texi:21354
  31603. #, no-wrap
  31604. msgid "{Data Type} opensmtpd-configuration"
  31605. msgstr ""
  31606. #. type: deftp
  31607. #: guix-git/doc/guix.texi:21356
  31608. msgid "Data type representing the configuration of opensmtpd."
  31609. msgstr ""
  31610. #. type: item
  31611. #: guix-git/doc/guix.texi:21358
  31612. #, no-wrap
  31613. msgid "@code{package} (default: @var{opensmtpd})"
  31614. msgstr ""
  31615. #. type: table
  31616. #: guix-git/doc/guix.texi:21360
  31617. msgid "Package object of the OpenSMTPD SMTP server."
  31618. msgstr ""
  31619. #. type: item
  31620. #: guix-git/doc/guix.texi:21361
  31621. #, no-wrap
  31622. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  31623. msgstr ""
  31624. #. type: table
  31625. #: guix-git/doc/guix.texi:21366
  31626. 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."
  31627. msgstr ""
  31628. #. type: subsubheading
  31629. #: guix-git/doc/guix.texi:21370
  31630. #, no-wrap
  31631. msgid "Exim Service"
  31632. msgstr "수출입 서비스"
  31633. #. type: cindex
  31634. #: guix-git/doc/guix.texi:21372
  31635. #, no-wrap
  31636. msgid "mail transfer agent (MTA)"
  31637. msgstr ""
  31638. #. type: cindex
  31639. #: guix-git/doc/guix.texi:21373
  31640. #, no-wrap
  31641. msgid "MTA (mail transfer agent)"
  31642. msgstr ""
  31643. #. type: cindex
  31644. #: guix-git/doc/guix.texi:21374
  31645. #, no-wrap
  31646. msgid "SMTP"
  31647. msgstr ""
  31648. #. type: deffn
  31649. #: guix-git/doc/guix.texi:21376
  31650. #, no-wrap
  31651. msgid "{Scheme Variable} exim-service-type"
  31652. msgstr ""
  31653. #. type: deffn
  31654. #: guix-git/doc/guix.texi:21380
  31655. 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:"
  31656. msgstr ""
  31657. #. type: lisp
  31658. #: guix-git/doc/guix.texi:21385
  31659. #, no-wrap
  31660. msgid ""
  31661. "(service exim-service-type\n"
  31662. " (exim-configuration\n"
  31663. " (config-file (local-file \"./my-exim.conf\"))))\n"
  31664. msgstr ""
  31665. #. type: Plain text
  31666. #: guix-git/doc/guix.texi:21391
  31667. 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)."
  31668. msgstr ""
  31669. #. type: deftp
  31670. #: guix-git/doc/guix.texi:21392
  31671. #, no-wrap
  31672. msgid "{Data Type} exim-configuration"
  31673. msgstr ""
  31674. #. type: deftp
  31675. #: guix-git/doc/guix.texi:21394
  31676. msgid "Data type representing the configuration of exim."
  31677. msgstr ""
  31678. #. type: item
  31679. #: guix-git/doc/guix.texi:21396
  31680. #, no-wrap
  31681. msgid "@code{package} (default: @var{exim})"
  31682. msgstr ""
  31683. #. type: table
  31684. #: guix-git/doc/guix.texi:21398
  31685. msgid "Package object of the Exim server."
  31686. msgstr ""
  31687. #. type: table
  31688. #: guix-git/doc/guix.texi:21405
  31689. 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."
  31690. msgstr ""
  31691. #. type: subsubheading
  31692. #: guix-git/doc/guix.texi:21409
  31693. #, no-wrap
  31694. msgid "Getmail service"
  31695. msgstr ""
  31696. #. type: cindex
  31697. #: guix-git/doc/guix.texi:21411
  31698. #, no-wrap
  31699. msgid "IMAP"
  31700. msgstr ""
  31701. #. type: cindex
  31702. #: guix-git/doc/guix.texi:21412
  31703. #, no-wrap
  31704. msgid "POP"
  31705. msgstr ""
  31706. #. type: deffn
  31707. #: guix-git/doc/guix.texi:21414
  31708. #, no-wrap
  31709. msgid "{Scheme Variable} getmail-service-type"
  31710. msgstr ""
  31711. #. type: deffn
  31712. #: guix-git/doc/guix.texi:21417
  31713. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  31714. msgstr ""
  31715. #. type: Plain text
  31716. #: guix-git/doc/guix.texi:21420
  31717. msgid "Available @code{getmail-configuration} fields are:"
  31718. msgstr ""
  31719. #. type: deftypevr
  31720. #: guix-git/doc/guix.texi:21421
  31721. #, no-wrap
  31722. msgid "{@code{getmail-configuration} parameter} symbol name"
  31723. msgstr ""
  31724. #. type: deftypevr
  31725. #: guix-git/doc/guix.texi:21423
  31726. msgid "A symbol to identify the getmail service."
  31727. msgstr ""
  31728. #. type: deftypevr
  31729. #: guix-git/doc/guix.texi:21425
  31730. msgid "Defaults to @samp{\"unset\"}."
  31731. msgstr ""
  31732. #. type: deftypevr
  31733. #: guix-git/doc/guix.texi:21428
  31734. #, no-wrap
  31735. msgid "{@code{getmail-configuration} parameter} package package"
  31736. msgstr ""
  31737. #. type: deftypevr
  31738. #: guix-git/doc/guix.texi:21430
  31739. msgid "The getmail package to use."
  31740. msgstr ""
  31741. #. type: deftypevr
  31742. #: guix-git/doc/guix.texi:21433
  31743. #, no-wrap
  31744. msgid "{@code{getmail-configuration} parameter} string user"
  31745. msgstr ""
  31746. #. type: deftypevr
  31747. #: guix-git/doc/guix.texi:21435
  31748. msgid "The user to run getmail as."
  31749. msgstr ""
  31750. #. type: deftypevr
  31751. #: guix-git/doc/guix.texi:21437 guix-git/doc/guix.texi:21444
  31752. msgid "Defaults to @samp{\"getmail\"}."
  31753. msgstr ""
  31754. #. type: deftypevr
  31755. #: guix-git/doc/guix.texi:21440
  31756. #, no-wrap
  31757. msgid "{@code{getmail-configuration} parameter} string group"
  31758. msgstr ""
  31759. #. type: deftypevr
  31760. #: guix-git/doc/guix.texi:21442
  31761. msgid "The group to run getmail as."
  31762. msgstr ""
  31763. #. type: deftypevr
  31764. #: guix-git/doc/guix.texi:21447
  31765. #, no-wrap
  31766. msgid "{@code{getmail-configuration} parameter} string directory"
  31767. msgstr ""
  31768. #. type: deftypevr
  31769. #: guix-git/doc/guix.texi:21449
  31770. msgid "The getmail directory to use."
  31771. msgstr ""
  31772. #. type: deftypevr
  31773. #: guix-git/doc/guix.texi:21451
  31774. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  31775. msgstr ""
  31776. #. type: deftypevr
  31777. #: guix-git/doc/guix.texi:21454
  31778. #, no-wrap
  31779. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  31780. msgstr ""
  31781. #. type: deftypevr
  31782. #: guix-git/doc/guix.texi:21456
  31783. msgid "The getmail configuration file to use."
  31784. msgstr ""
  31785. #. type: deftypevr
  31786. #: guix-git/doc/guix.texi:21458
  31787. msgid "Available @code{getmail-configuration-file} fields are:"
  31788. msgstr ""
  31789. #. type: deftypevr
  31790. #: guix-git/doc/guix.texi:21459
  31791. #, no-wrap
  31792. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  31793. msgstr ""
  31794. #. type: deftypevr
  31795. #: guix-git/doc/guix.texi:21461
  31796. msgid "What mail account to retrieve mail from, and how to access that account."
  31797. msgstr ""
  31798. #. type: deftypevr
  31799. #: guix-git/doc/guix.texi:21463
  31800. msgid "Available @code{getmail-retriever-configuration} fields are:"
  31801. msgstr ""
  31802. #. type: deftypevr
  31803. #: guix-git/doc/guix.texi:21464
  31804. #, no-wrap
  31805. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  31806. msgstr ""
  31807. #. type: deftypevr
  31808. #: guix-git/doc/guix.texi:21467
  31809. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  31810. msgstr ""
  31811. #. type: deftypevr
  31812. #: guix-git/doc/guix.texi:21469
  31813. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  31814. msgstr ""
  31815. #. type: deftypevr
  31816. #: guix-git/doc/guix.texi:21472
  31817. #, no-wrap
  31818. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  31819. msgstr ""
  31820. #. type: deftypevr
  31821. #: guix-git/doc/guix.texi:21474 guix-git/doc/guix.texi:21481
  31822. msgid "Username to login to the mail server with."
  31823. msgstr ""
  31824. #. type: deftypevr
  31825. #: guix-git/doc/guix.texi:21476 guix-git/doc/guix.texi:21483
  31826. #: guix-git/doc/guix.texi:21547
  31827. msgid "Defaults to @samp{unset}."
  31828. msgstr ""
  31829. #. type: deftypevr
  31830. #: guix-git/doc/guix.texi:21479
  31831. #, no-wrap
  31832. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  31833. msgstr ""
  31834. #. type: deftypevr
  31835. #: guix-git/doc/guix.texi:21486
  31836. #, no-wrap
  31837. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  31838. msgstr ""
  31839. #. type: deftypevr
  31840. #: guix-git/doc/guix.texi:21488
  31841. msgid "Port number to connect to."
  31842. msgstr ""
  31843. #. type: deftypevr
  31844. #: guix-git/doc/guix.texi:21493
  31845. #, no-wrap
  31846. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  31847. msgstr ""
  31848. #. type: deftypevr
  31849. #: guix-git/doc/guix.texi:21495 guix-git/doc/guix.texi:21502
  31850. msgid "Override fields from passwd."
  31851. msgstr ""
  31852. #. type: deftypevr
  31853. #: guix-git/doc/guix.texi:21500
  31854. #, no-wrap
  31855. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  31856. msgstr ""
  31857. #. type: deftypevr
  31858. #: guix-git/doc/guix.texi:21507
  31859. #, no-wrap
  31860. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  31861. msgstr ""
  31862. #. type: deftypevr
  31863. #: guix-git/doc/guix.texi:21509
  31864. msgid "PEM-formatted key file to use for the TLS negotiation."
  31865. msgstr ""
  31866. #. type: deftypevr
  31867. #: guix-git/doc/guix.texi:21514
  31868. #, no-wrap
  31869. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  31870. msgstr ""
  31871. #. type: deftypevr
  31872. #: guix-git/doc/guix.texi:21516
  31873. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  31874. msgstr ""
  31875. #. type: deftypevr
  31876. #: guix-git/doc/guix.texi:21521
  31877. #, no-wrap
  31878. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  31879. msgstr ""
  31880. #. type: deftypevr
  31881. #: guix-git/doc/guix.texi:21523
  31882. msgid "CA certificates to use."
  31883. msgstr ""
  31884. #. type: deftypevr
  31885. #: guix-git/doc/guix.texi:21528
  31886. #, no-wrap
  31887. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  31888. msgstr ""
  31889. #. type: deftypevr
  31890. #: guix-git/doc/guix.texi:21530
  31891. msgid "Extra retriever parameters."
  31892. msgstr ""
  31893. #. type: deftypevr
  31894. #: guix-git/doc/guix.texi:21537
  31895. #, no-wrap
  31896. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  31897. msgstr ""
  31898. #. type: deftypevr
  31899. #: guix-git/doc/guix.texi:21539
  31900. msgid "What to do with retrieved messages."
  31901. msgstr ""
  31902. #. type: deftypevr
  31903. #: guix-git/doc/guix.texi:21541
  31904. msgid "Available @code{getmail-destination-configuration} fields are:"
  31905. msgstr ""
  31906. #. type: deftypevr
  31907. #: guix-git/doc/guix.texi:21542
  31908. #, no-wrap
  31909. msgid "{@code{getmail-destination-configuration} parameter} string type"
  31910. msgstr ""
  31911. #. type: deftypevr
  31912. #: guix-git/doc/guix.texi:21545
  31913. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  31914. msgstr ""
  31915. #. type: deftypevr
  31916. #: guix-git/doc/guix.texi:21550
  31917. #, no-wrap
  31918. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  31919. msgstr ""
  31920. #. type: deftypevr
  31921. #: guix-git/doc/guix.texi:21553
  31922. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  31923. msgstr ""
  31924. #. type: deftypevr
  31925. #: guix-git/doc/guix.texi:21558
  31926. #, no-wrap
  31927. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  31928. msgstr ""
  31929. #. type: deftypevr
  31930. #: guix-git/doc/guix.texi:21560
  31931. msgid "Extra destination parameters"
  31932. msgstr ""
  31933. #. type: deftypevr
  31934. #: guix-git/doc/guix.texi:21567
  31935. #, no-wrap
  31936. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  31937. msgstr ""
  31938. #. type: deftypevr
  31939. #: guix-git/doc/guix.texi:21569
  31940. msgid "Configure getmail."
  31941. msgstr ""
  31942. #. type: deftypevr
  31943. #: guix-git/doc/guix.texi:21571
  31944. msgid "Available @code{getmail-options-configuration} fields are:"
  31945. msgstr ""
  31946. #. type: deftypevr
  31947. #: guix-git/doc/guix.texi:21572
  31948. #, no-wrap
  31949. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  31950. msgstr ""
  31951. #. type: deftypevr
  31952. #: guix-git/doc/guix.texi:21577
  31953. 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."
  31954. msgstr ""
  31955. #. type: deftypevr
  31956. #: guix-git/doc/guix.texi:21579 guix-git/doc/guix.texi:27856
  31957. #: guix-git/doc/guix.texi:28444 guix-git/doc/guix.texi:28589
  31958. msgid "Defaults to @samp{1}."
  31959. msgstr ""
  31960. #. type: deftypevr
  31961. #: guix-git/doc/guix.texi:21582
  31962. #, no-wrap
  31963. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  31964. msgstr ""
  31965. #. type: deftypevr
  31966. #: guix-git/doc/guix.texi:21585
  31967. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  31968. msgstr ""
  31969. #. type: deftypevr
  31970. #: guix-git/doc/guix.texi:21590
  31971. #, no-wrap
  31972. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  31973. msgstr ""
  31974. #. type: deftypevr
  31975. #: guix-git/doc/guix.texi:21594
  31976. 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."
  31977. msgstr ""
  31978. #. type: deftypevr
  31979. #: guix-git/doc/guix.texi:21599
  31980. #, no-wrap
  31981. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  31982. msgstr ""
  31983. #. type: deftypevr
  31984. #: guix-git/doc/guix.texi:21604
  31985. 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."
  31986. msgstr ""
  31987. #. type: deftypevr
  31988. #: guix-git/doc/guix.texi:21609
  31989. #, no-wrap
  31990. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  31991. msgstr ""
  31992. #. type: deftypevr
  31993. #: guix-git/doc/guix.texi:21613
  31994. 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."
  31995. msgstr ""
  31996. #. type: deftypevr
  31997. #: guix-git/doc/guix.texi:21618
  31998. #, no-wrap
  31999. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  32000. msgstr ""
  32001. #. type: deftypevr
  32002. #: guix-git/doc/guix.texi:21621
  32003. 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."
  32004. msgstr ""
  32005. #. type: deftypevr
  32006. #: guix-git/doc/guix.texi:21626
  32007. #, no-wrap
  32008. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  32009. msgstr ""
  32010. #. type: deftypevr
  32011. #: guix-git/doc/guix.texi:21629
  32012. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  32013. msgstr ""
  32014. #. type: deftypevr
  32015. #: guix-git/doc/guix.texi:21634
  32016. #, no-wrap
  32017. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  32018. msgstr ""
  32019. #. type: deftypevr
  32020. #: guix-git/doc/guix.texi:21636
  32021. msgid "If true, getmail will add a Delivered-To header to messages."
  32022. msgstr ""
  32023. #. type: deftypevr
  32024. #: guix-git/doc/guix.texi:21641
  32025. #, no-wrap
  32026. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  32027. msgstr ""
  32028. #. type: deftypevr
  32029. #: guix-git/doc/guix.texi:21643
  32030. msgid "If set, getmail adds a Received header to the messages."
  32031. msgstr ""
  32032. #. type: deftypevr
  32033. #: guix-git/doc/guix.texi:21648
  32034. #, no-wrap
  32035. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  32036. msgstr ""
  32037. #. type: deftypevr
  32038. #: guix-git/doc/guix.texi:21651
  32039. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  32040. msgstr ""
  32041. #. type: deftypevr
  32042. #: guix-git/doc/guix.texi:21656
  32043. #, no-wrap
  32044. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  32045. msgstr ""
  32046. #. type: deftypevr
  32047. #: guix-git/doc/guix.texi:21659
  32048. msgid "If true, getmail will record a log of its actions using the system logger."
  32049. msgstr ""
  32050. #. type: deftypevr
  32051. #: guix-git/doc/guix.texi:21664
  32052. #, no-wrap
  32053. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  32054. msgstr ""
  32055. #. type: deftypevr
  32056. #: guix-git/doc/guix.texi:21668
  32057. 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."
  32058. msgstr ""
  32059. #. type: deftypevr
  32060. #: guix-git/doc/guix.texi:21673
  32061. #, no-wrap
  32062. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  32063. msgstr ""
  32064. #. type: deftypevr
  32065. #: guix-git/doc/guix.texi:21675
  32066. msgid "Extra options to include."
  32067. msgstr ""
  32068. #. type: deftypevr
  32069. #: guix-git/doc/guix.texi:21684
  32070. #, no-wrap
  32071. msgid "{@code{getmail-configuration} parameter} list idle"
  32072. msgstr ""
  32073. #. type: deftypevr
  32074. #: guix-git/doc/guix.texi:21688
  32075. 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."
  32076. msgstr ""
  32077. #. type: deftypevr
  32078. #: guix-git/doc/guix.texi:21693
  32079. #, no-wrap
  32080. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  32081. msgstr ""
  32082. #. type: deftypevr
  32083. #: guix-git/doc/guix.texi:21695
  32084. msgid "Environment variables to set for getmail."
  32085. msgstr ""
  32086. #. type: subsubheading
  32087. #: guix-git/doc/guix.texi:21700
  32088. #, no-wrap
  32089. msgid "Mail Aliases Service"
  32090. msgstr ""
  32091. #. type: cindex
  32092. #: guix-git/doc/guix.texi:21702
  32093. #, no-wrap
  32094. msgid "email aliases"
  32095. msgstr ""
  32096. #. type: cindex
  32097. #: guix-git/doc/guix.texi:21703
  32098. #, no-wrap
  32099. msgid "aliases, for email addresses"
  32100. msgstr ""
  32101. #. type: deffn
  32102. #: guix-git/doc/guix.texi:21705
  32103. #, no-wrap
  32104. msgid "{Scheme Variable} mail-aliases-service-type"
  32105. msgstr ""
  32106. #. type: deffn
  32107. #: guix-git/doc/guix.texi:21708
  32108. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  32109. msgstr ""
  32110. #. type: lisp
  32111. #: guix-git/doc/guix.texi:21713
  32112. #, no-wrap
  32113. msgid ""
  32114. "(service mail-aliases-service-type\n"
  32115. " '((\"postmaster\" \"bob\")\n"
  32116. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  32117. msgstr ""
  32118. #. type: Plain text
  32119. #: guix-git/doc/guix.texi:21721
  32120. 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."
  32121. msgstr ""
  32122. #. type: Plain text
  32123. #: guix-git/doc/guix.texi:21727
  32124. 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})."
  32125. msgstr ""
  32126. #. type: cindex
  32127. #: guix-git/doc/guix.texi:21728 guix-git/doc/guix.texi:21729
  32128. #, no-wrap
  32129. msgid "GNU Mailutils IMAP4 Daemon"
  32130. msgstr ""
  32131. #. type: deffn
  32132. #: guix-git/doc/guix.texi:21731
  32133. #, no-wrap
  32134. msgid "{Scheme Variable} imap4d-service-type"
  32135. msgstr ""
  32136. #. type: deffn
  32137. #: guix-git/doc/guix.texi:21735
  32138. 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:"
  32139. msgstr ""
  32140. #. type: lisp
  32141. #: guix-git/doc/guix.texi:21740
  32142. #, no-wrap
  32143. msgid ""
  32144. "(service imap4d-service-type\n"
  32145. " (imap4d-configuration\n"
  32146. " (config-file (local-file \"imap4d.conf\"))))\n"
  32147. msgstr ""
  32148. #. type: deftp
  32149. #: guix-git/doc/guix.texi:21743
  32150. #, no-wrap
  32151. msgid "{Data Type} imap4d-configuration"
  32152. msgstr ""
  32153. #. type: deftp
  32154. #: guix-git/doc/guix.texi:21745
  32155. msgid "Data type representing the configuration of @command{imap4d}."
  32156. msgstr ""
  32157. #. type: item
  32158. #: guix-git/doc/guix.texi:21747
  32159. #, no-wrap
  32160. msgid "@code{package} (default: @code{mailutils})"
  32161. msgstr ""
  32162. #. type: table
  32163. #: guix-git/doc/guix.texi:21749
  32164. msgid "The package that provides @command{imap4d}."
  32165. msgstr ""
  32166. #. type: item
  32167. #: guix-git/doc/guix.texi:21750
  32168. #, no-wrap
  32169. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  32170. msgstr ""
  32171. #. type: table
  32172. #: guix-git/doc/guix.texi:21754
  32173. 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."
  32174. msgstr ""
  32175. #. type: subsubheading
  32176. #: guix-git/doc/guix.texi:21758
  32177. #, no-wrap
  32178. msgid "Radicale Service"
  32179. msgstr ""
  32180. #. type: cindex
  32181. #: guix-git/doc/guix.texi:21759
  32182. #, no-wrap
  32183. msgid "CalDAV"
  32184. msgstr ""
  32185. #. type: cindex
  32186. #: guix-git/doc/guix.texi:21760
  32187. #, no-wrap
  32188. msgid "CardDAV"
  32189. msgstr ""
  32190. #. type: deffn
  32191. #: guix-git/doc/guix.texi:21762
  32192. #, no-wrap
  32193. msgid "{Scheme Variable} radicale-service-type"
  32194. msgstr ""
  32195. #. type: deffn
  32196. #: guix-git/doc/guix.texi:21765
  32197. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  32198. msgstr ""
  32199. #. type: deftp
  32200. #: guix-git/doc/guix.texi:21767
  32201. #, no-wrap
  32202. msgid "{Data Type} radicale-configuration"
  32203. msgstr ""
  32204. #. type: deftp
  32205. #: guix-git/doc/guix.texi:21769
  32206. msgid "Data type representing the configuration of @command{radicale}."
  32207. msgstr ""
  32208. #. type: item
  32209. #: guix-git/doc/guix.texi:21771
  32210. #, no-wrap
  32211. msgid "@code{package} (default: @code{radicale})"
  32212. msgstr ""
  32213. #. type: table
  32214. #: guix-git/doc/guix.texi:21773
  32215. msgid "The package that provides @command{radicale}."
  32216. msgstr ""
  32217. #. type: item
  32218. #: guix-git/doc/guix.texi:21774
  32219. #, no-wrap
  32220. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  32221. msgstr ""
  32222. #. type: table
  32223. #: guix-git/doc/guix.texi:21778
  32224. 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."
  32225. msgstr ""
  32226. #. type: cindex
  32227. #: guix-git/doc/guix.texi:21785
  32228. #, no-wrap
  32229. msgid "messaging"
  32230. msgstr ""
  32231. #. type: cindex
  32232. #: guix-git/doc/guix.texi:21786
  32233. #, no-wrap
  32234. msgid "jabber"
  32235. msgstr ""
  32236. #. type: cindex
  32237. #: guix-git/doc/guix.texi:21787
  32238. #, no-wrap
  32239. msgid "XMPP"
  32240. msgstr ""
  32241. #. type: Plain text
  32242. #: guix-git/doc/guix.texi:21791
  32243. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  32244. msgstr ""
  32245. #. type: subsubheading
  32246. #: guix-git/doc/guix.texi:21792
  32247. #, no-wrap
  32248. msgid "Prosody Service"
  32249. msgstr ""
  32250. #. type: deffn
  32251. #: guix-git/doc/guix.texi:21794
  32252. #, no-wrap
  32253. msgid "{Scheme Variable} prosody-service-type"
  32254. msgstr ""
  32255. #. type: deffn
  32256. #: guix-git/doc/guix.texi:21798
  32257. 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:"
  32258. msgstr ""
  32259. #. type: lisp
  32260. #: guix-git/doc/guix.texi:21813
  32261. #, no-wrap
  32262. msgid ""
  32263. "(service prosody-service-type\n"
  32264. " (prosody-configuration\n"
  32265. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  32266. " (int-components\n"
  32267. " (list\n"
  32268. " (int-component-configuration\n"
  32269. " (hostname \"conference.example.net\")\n"
  32270. " (plugin \"muc\")\n"
  32271. " (mod-muc (mod-muc-configuration)))))\n"
  32272. " (virtualhosts\n"
  32273. " (list\n"
  32274. " (virtualhost-configuration\n"
  32275. " (domain \"example.net\"))))))\n"
  32276. msgstr ""
  32277. #. type: deffn
  32278. #: guix-git/doc/guix.texi:21816
  32279. msgid "See below for details about @code{prosody-configuration}."
  32280. msgstr ""
  32281. #. type: Plain text
  32282. #: guix-git/doc/guix.texi:21822
  32283. 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."
  32284. msgstr ""
  32285. #. type: Plain text
  32286. #: guix-git/doc/guix.texi:21825
  32287. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  32288. msgstr ""
  32289. #. type: Plain text
  32290. #: guix-git/doc/guix.texi:21829
  32291. 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}."
  32292. msgstr ""
  32293. #. type: example
  32294. #: guix-git/doc/guix.texi:21832
  32295. #, no-wrap
  32296. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  32297. msgstr ""
  32298. #. type: Plain text
  32299. #: guix-git/doc/guix.texi:21839
  32300. 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}."
  32301. msgstr ""
  32302. #. type: Plain text
  32303. #: guix-git/doc/guix.texi:21843
  32304. 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."
  32305. msgstr ""
  32306. #. type: Plain text
  32307. #: guix-git/doc/guix.texi:21846
  32308. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  32309. msgstr ""
  32310. #. type: Plain text
  32311. #: guix-git/doc/guix.texi:21856
  32312. msgid "Available @code{prosody-configuration} fields are:"
  32313. msgstr ""
  32314. #. type: deftypevr
  32315. #: guix-git/doc/guix.texi:21857
  32316. #, no-wrap
  32317. msgid "{@code{prosody-configuration} parameter} package prosody"
  32318. msgstr ""
  32319. #. type: deftypevr
  32320. #: guix-git/doc/guix.texi:21859
  32321. msgid "The Prosody package."
  32322. msgstr ""
  32323. #. type: deftypevr
  32324. #: guix-git/doc/guix.texi:21861
  32325. #, no-wrap
  32326. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  32327. msgstr ""
  32328. #. type: deftypevr
  32329. #: guix-git/doc/guix.texi:21865
  32330. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  32331. msgstr ""
  32332. #. type: deftypevr
  32333. #: guix-git/doc/guix.texi:21867
  32334. #, no-wrap
  32335. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  32336. msgstr ""
  32337. #. type: deftypevr
  32338. #: guix-git/doc/guix.texi:21871
  32339. 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{()}."
  32340. msgstr ""
  32341. #. type: deftypevr
  32342. #: guix-git/doc/guix.texi:21873
  32343. #, no-wrap
  32344. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  32345. msgstr ""
  32346. #. type: deftypevr
  32347. #: guix-git/doc/guix.texi:21878
  32348. 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\"}."
  32349. msgstr ""
  32350. #. type: deftypevr
  32351. #: guix-git/doc/guix.texi:21880
  32352. #, no-wrap
  32353. msgid "{@code{prosody-configuration} parameter} string-list admins"
  32354. msgstr ""
  32355. #. type: deftypevr
  32356. #: guix-git/doc/guix.texi:21886
  32357. 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{()}."
  32358. msgstr ""
  32359. #. type: deftypevr
  32360. #: guix-git/doc/guix.texi:21888
  32361. #, no-wrap
  32362. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  32363. msgstr ""
  32364. #. type: deftypevr
  32365. #: guix-git/doc/guix.texi:21892
  32366. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  32367. msgstr ""
  32368. #. type: deftypevr
  32369. #: guix-git/doc/guix.texi:21894
  32370. #, no-wrap
  32371. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  32372. msgstr ""
  32373. #. type: deftypevr
  32374. #: guix-git/doc/guix.texi:21900
  32375. 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\")}."
  32376. msgstr ""
  32377. #. type: deftypevr
  32378. #: guix-git/doc/guix.texi:21902
  32379. #, no-wrap
  32380. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  32381. msgstr ""
  32382. #. type: deftypevr
  32383. #: guix-git/doc/guix.texi:21906
  32384. 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{()}."
  32385. msgstr ""
  32386. #. type: deftypevr
  32387. #: guix-git/doc/guix.texi:21908
  32388. #, no-wrap
  32389. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  32390. msgstr ""
  32391. #. type: deftypevr
  32392. #: guix-git/doc/guix.texi:21913
  32393. 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\"}."
  32394. msgstr ""
  32395. #. type: deftypevr
  32396. #: guix-git/doc/guix.texi:21915
  32397. #, no-wrap
  32398. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  32399. msgstr ""
  32400. #. type: deftypevr
  32401. #: guix-git/doc/guix.texi:21919
  32402. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  32403. msgstr ""
  32404. #. type: deftypevr
  32405. #: guix-git/doc/guix.texi:21921
  32406. #, no-wrap
  32407. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  32408. msgstr ""
  32409. #. type: deftypevr
  32410. #: guix-git/doc/guix.texi:21926
  32411. 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}."
  32412. msgstr ""
  32413. #. type: deftypevr
  32414. #: guix-git/doc/guix.texi:21928
  32415. msgid "Available @code{ssl-configuration} fields are:"
  32416. msgstr ""
  32417. #. type: deftypevr
  32418. #: guix-git/doc/guix.texi:21929
  32419. #, no-wrap
  32420. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  32421. msgstr ""
  32422. #. type: deftypevr
  32423. #: guix-git/doc/guix.texi:21931
  32424. msgid "This determines what handshake to use."
  32425. msgstr ""
  32426. #. type: deftypevr
  32427. #: guix-git/doc/guix.texi:21933
  32428. #, no-wrap
  32429. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  32430. msgstr ""
  32431. #. type: deftypevr
  32432. #: guix-git/doc/guix.texi:21935
  32433. msgid "Path to your private key file."
  32434. msgstr ""
  32435. #. type: deftypevr
  32436. #: guix-git/doc/guix.texi:21937
  32437. #, no-wrap
  32438. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  32439. msgstr ""
  32440. #. type: deftypevr
  32441. #: guix-git/doc/guix.texi:21939
  32442. msgid "Path to your certificate file."
  32443. msgstr ""
  32444. #. type: deftypevr
  32445. #: guix-git/doc/guix.texi:21941
  32446. #, no-wrap
  32447. msgid "{@code{ssl-configuration} parameter} file-object capath"
  32448. msgstr ""
  32449. #. type: deftypevr
  32450. #: guix-git/doc/guix.texi:21945
  32451. 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\"}."
  32452. msgstr ""
  32453. #. type: deftypevr
  32454. #: guix-git/doc/guix.texi:21947
  32455. #, no-wrap
  32456. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  32457. msgstr ""
  32458. #. type: deftypevr
  32459. #: guix-git/doc/guix.texi:21950
  32460. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  32461. msgstr ""
  32462. #. type: deftypevr
  32463. #: guix-git/doc/guix.texi:21952
  32464. #, no-wrap
  32465. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  32466. msgstr ""
  32467. #. type: deftypevr
  32468. #: guix-git/doc/guix.texi:21955
  32469. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  32470. msgstr ""
  32471. #. type: deftypevr
  32472. #: guix-git/doc/guix.texi:21957
  32473. #, no-wrap
  32474. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  32475. msgstr ""
  32476. #. type: deftypevr
  32477. #: guix-git/doc/guix.texi:21961
  32478. 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."
  32479. msgstr ""
  32480. #. type: deftypevr
  32481. #: guix-git/doc/guix.texi:21963
  32482. #, no-wrap
  32483. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  32484. msgstr ""
  32485. #. type: deftypevr
  32486. #: guix-git/doc/guix.texi:21966
  32487. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  32488. msgstr ""
  32489. #. type: deftypevr
  32490. #: guix-git/doc/guix.texi:21968
  32491. #, no-wrap
  32492. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  32493. msgstr ""
  32494. #. type: deftypevr
  32495. #: guix-git/doc/guix.texi:21971
  32496. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  32497. msgstr ""
  32498. #. type: deftypevr
  32499. #: guix-git/doc/guix.texi:21973
  32500. #, no-wrap
  32501. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  32502. msgstr ""
  32503. #. type: deftypevr
  32504. #: guix-git/doc/guix.texi:21977
  32505. 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}"
  32506. msgstr ""
  32507. #. type: deftypevr
  32508. #: guix-git/doc/guix.texi:21979
  32509. #, no-wrap
  32510. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  32511. msgstr ""
  32512. #. type: deftypevr
  32513. #: guix-git/doc/guix.texi:21982
  32514. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  32515. msgstr ""
  32516. #. type: deftypevr
  32517. #: guix-git/doc/guix.texi:21984
  32518. #, no-wrap
  32519. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  32520. msgstr ""
  32521. #. type: deftypevr
  32522. #: guix-git/doc/guix.texi:21986
  32523. msgid "A list of ``extra'' verification options."
  32524. msgstr ""
  32525. #. type: deftypevr
  32526. #: guix-git/doc/guix.texi:21988
  32527. #, no-wrap
  32528. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  32529. msgstr ""
  32530. #. type: deftypevr
  32531. #: guix-git/doc/guix.texi:21990
  32532. msgid "Password for encrypted private keys."
  32533. msgstr ""
  32534. #. type: deftypevr
  32535. #: guix-git/doc/guix.texi:21994
  32536. #, no-wrap
  32537. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  32538. msgstr ""
  32539. #. type: deftypevr
  32540. #: guix-git/doc/guix.texi:21998
  32541. 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}."
  32542. msgstr ""
  32543. #. type: deftypevr
  32544. #: guix-git/doc/guix.texi:22000
  32545. #, no-wrap
  32546. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  32547. msgstr ""
  32548. #. type: deftypevr
  32549. #: guix-git/doc/guix.texi:22004
  32550. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  32551. msgstr ""
  32552. #. type: deftypevr
  32553. #: guix-git/doc/guix.texi:22006
  32554. #, no-wrap
  32555. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  32556. msgstr ""
  32557. #. type: deftypevr
  32558. #: guix-git/doc/guix.texi:22010
  32559. 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}."
  32560. msgstr ""
  32561. #. type: deftypevr
  32562. #: guix-git/doc/guix.texi:22012
  32563. #, no-wrap
  32564. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  32565. msgstr ""
  32566. #. type: deftypevr
  32567. #: guix-git/doc/guix.texi:22018
  32568. 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}."
  32569. msgstr ""
  32570. #. type: deftypevr
  32571. #: guix-git/doc/guix.texi:22020
  32572. #, no-wrap
  32573. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  32574. msgstr ""
  32575. #. type: deftypevr
  32576. #: guix-git/doc/guix.texi:22026
  32577. 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{()}."
  32578. msgstr ""
  32579. #. type: deftypevr
  32580. #: guix-git/doc/guix.texi:22028
  32581. #, no-wrap
  32582. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  32583. msgstr ""
  32584. #. type: deftypevr
  32585. #: guix-git/doc/guix.texi:22033
  32586. 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{()}."
  32587. msgstr ""
  32588. #. type: deftypevr
  32589. #: guix-git/doc/guix.texi:22035
  32590. #, no-wrap
  32591. msgid "{@code{prosody-configuration} parameter} string authentication"
  32592. msgstr ""
  32593. #. type: deftypevr
  32594. #: guix-git/doc/guix.texi:22043
  32595. 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\"}."
  32596. msgstr ""
  32597. #. type: deftypevr
  32598. #: guix-git/doc/guix.texi:22045
  32599. #, no-wrap
  32600. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  32601. msgstr ""
  32602. #. type: deftypevr
  32603. #: guix-git/doc/guix.texi:22049
  32604. 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\"}."
  32605. msgstr ""
  32606. #. type: deftypevr
  32607. #: guix-git/doc/guix.texi:22051
  32608. #, no-wrap
  32609. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  32610. msgstr ""
  32611. #. type: deftypevr
  32612. #: guix-git/doc/guix.texi:22054
  32613. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  32614. msgstr ""
  32615. #. type: deftypevr
  32616. #: guix-git/doc/guix.texi:22056
  32617. #, no-wrap
  32618. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  32619. msgstr ""
  32620. #. type: deftypevr
  32621. #: guix-git/doc/guix.texi:22058
  32622. msgid "Maximum allowed size of the HTTP body (in bytes)."
  32623. msgstr ""
  32624. #. type: deftypevr
  32625. #: guix-git/doc/guix.texi:22060
  32626. #, no-wrap
  32627. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  32628. msgstr ""
  32629. #. type: deftypevr
  32630. #: guix-git/doc/guix.texi:22065
  32631. 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}."
  32632. msgstr ""
  32633. #. type: deftypevr
  32634. #: guix-git/doc/guix.texi:22067
  32635. #, no-wrap
  32636. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  32637. msgstr ""
  32638. #. type: deftypevr
  32639. #: guix-git/doc/guix.texi:22072
  32640. 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."
  32641. msgstr ""
  32642. #. type: deftypevr
  32643. #: guix-git/doc/guix.texi:22078
  32644. 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."
  32645. msgstr ""
  32646. #. type: deftypevr
  32647. #: guix-git/doc/guix.texi:22080
  32648. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  32649. msgstr ""
  32650. #. type: deftypevr
  32651. #: guix-git/doc/guix.texi:22082
  32652. msgid "Available @code{virtualhost-configuration} fields are:"
  32653. msgstr ""
  32654. #. type: deftypevr
  32655. #: guix-git/doc/guix.texi:22084 guix-git/doc/guix.texi:22106
  32656. #: guix-git/doc/guix.texi:22159
  32657. 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:"
  32658. msgstr ""
  32659. #. type: deftypevr
  32660. #: guix-git/doc/guix.texi:22084
  32661. #, no-wrap
  32662. msgid "{@code{virtualhost-configuration} parameter} string domain"
  32663. msgstr ""
  32664. #. type: deftypevr
  32665. #: guix-git/doc/guix.texi:22086
  32666. msgid "Domain you wish Prosody to serve."
  32667. msgstr ""
  32668. #. type: deftypevr
  32669. #: guix-git/doc/guix.texi:22090
  32670. #, no-wrap
  32671. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  32672. msgstr ""
  32673. #. type: deftypevr
  32674. #: guix-git/doc/guix.texi:22095
  32675. 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."
  32676. msgstr ""
  32677. #. type: deftypevr
  32678. #: guix-git/doc/guix.texi:22099
  32679. 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."
  32680. msgstr ""
  32681. #. type: deftypevr
  32682. #: guix-git/doc/guix.texi:22102
  32683. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  32684. msgstr ""
  32685. #. type: deftypevr
  32686. #: guix-git/doc/guix.texi:22104
  32687. msgid "Available @code{int-component-configuration} fields are:"
  32688. msgstr ""
  32689. #. type: deftypevr
  32690. #: guix-git/doc/guix.texi:22106
  32691. #, no-wrap
  32692. msgid "{@code{int-component-configuration} parameter} string hostname"
  32693. msgstr ""
  32694. #. type: deftypevr
  32695. #: guix-git/doc/guix.texi:22108 guix-git/doc/guix.texi:22165
  32696. msgid "Hostname of the component."
  32697. msgstr ""
  32698. #. type: deftypevr
  32699. #: guix-git/doc/guix.texi:22110
  32700. #, no-wrap
  32701. msgid "{@code{int-component-configuration} parameter} string plugin"
  32702. msgstr ""
  32703. #. type: deftypevr
  32704. #: guix-git/doc/guix.texi:22112
  32705. msgid "Plugin you wish to use for the component."
  32706. msgstr ""
  32707. #. type: deftypevr
  32708. #: guix-git/doc/guix.texi:22114
  32709. #, no-wrap
  32710. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  32711. msgstr ""
  32712. #. type: deftypevr
  32713. #: guix-git/doc/guix.texi:22117
  32714. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  32715. msgstr ""
  32716. #. type: deftypevr
  32717. #: guix-git/doc/guix.texi:22121
  32718. 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."
  32719. msgstr ""
  32720. #. type: deftypevr
  32721. #: guix-git/doc/guix.texi:22123
  32722. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  32723. msgstr ""
  32724. #. type: deftypevr
  32725. #: guix-git/doc/guix.texi:22125
  32726. msgid "Available @code{mod-muc-configuration} fields are:"
  32727. msgstr ""
  32728. #. type: deftypevr
  32729. #: guix-git/doc/guix.texi:22126
  32730. #, no-wrap
  32731. msgid "{@code{mod-muc-configuration} parameter} string name"
  32732. msgstr ""
  32733. #. type: deftypevr
  32734. #: guix-git/doc/guix.texi:22129
  32735. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  32736. msgstr ""
  32737. #. type: deftypevr
  32738. #: guix-git/doc/guix.texi:22131
  32739. #, no-wrap
  32740. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  32741. msgstr ""
  32742. #. type: deftypevr
  32743. #: guix-git/doc/guix.texi:22138
  32744. 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}."
  32745. msgstr ""
  32746. #. type: deftypevr
  32747. #: guix-git/doc/guix.texi:22140
  32748. #, no-wrap
  32749. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  32750. msgstr ""
  32751. #. type: deftypevr
  32752. #: guix-git/doc/guix.texi:22144
  32753. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  32754. msgstr ""
  32755. #. type: deftypevr
  32756. #: guix-git/doc/guix.texi:22150
  32757. #, no-wrap
  32758. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  32759. msgstr ""
  32760. #. type: deftypevr
  32761. #: guix-git/doc/guix.texi:22155
  32762. 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{()}."
  32763. msgstr ""
  32764. #. type: deftypevr
  32765. #: guix-git/doc/guix.texi:22157
  32766. msgid "Available @code{ext-component-configuration} fields are:"
  32767. msgstr ""
  32768. #. type: deftypevr
  32769. #: guix-git/doc/guix.texi:22159
  32770. #, no-wrap
  32771. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  32772. msgstr ""
  32773. #. type: deftypevr
  32774. #: guix-git/doc/guix.texi:22161
  32775. msgid "Password which the component will use to log in."
  32776. msgstr ""
  32777. #. type: deftypevr
  32778. #: guix-git/doc/guix.texi:22163
  32779. #, no-wrap
  32780. msgid "{@code{ext-component-configuration} parameter} string hostname"
  32781. msgstr ""
  32782. #. type: deftypevr
  32783. #: guix-git/doc/guix.texi:22169
  32784. #, no-wrap
  32785. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  32786. msgstr ""
  32787. #. type: deftypevr
  32788. #: guix-git/doc/guix.texi:22172
  32789. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  32790. msgstr ""
  32791. #. type: deftypevr
  32792. #: guix-git/doc/guix.texi:22174
  32793. #, no-wrap
  32794. msgid "{@code{prosody-configuration} parameter} string component-interface"
  32795. msgstr ""
  32796. #. type: deftypevr
  32797. #: guix-git/doc/guix.texi:22177
  32798. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  32799. msgstr ""
  32800. #. type: deftypevr
  32801. #: guix-git/doc/guix.texi:22179
  32802. #, no-wrap
  32803. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  32804. msgstr ""
  32805. #. type: deftypevr
  32806. #: guix-git/doc/guix.texi:22181
  32807. msgid "Raw content that will be added to the configuration file."
  32808. msgstr ""
  32809. #. type: Plain text
  32810. #: guix-git/doc/guix.texi:22189
  32811. 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:"
  32812. msgstr ""
  32813. #. type: deftypevr
  32814. #: guix-git/doc/guix.texi:22190
  32815. #, no-wrap
  32816. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  32817. msgstr ""
  32818. #. type: deftypevr
  32819. #: guix-git/doc/guix.texi:22192
  32820. msgid "The prosody package."
  32821. msgstr ""
  32822. #. type: deftypevr
  32823. #: guix-git/doc/guix.texi:22194
  32824. #, no-wrap
  32825. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  32826. msgstr ""
  32827. #. type: deftypevr
  32828. #: guix-git/doc/guix.texi:22196
  32829. msgid "The contents of the @code{prosody.cfg.lua} to use."
  32830. msgstr ""
  32831. #. type: Plain text
  32832. #: guix-git/doc/guix.texi:22200
  32833. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  32834. msgstr ""
  32835. #. type: lisp
  32836. #: guix-git/doc/guix.texi:22205
  32837. #, no-wrap
  32838. msgid ""
  32839. "(service prosody-service-type\n"
  32840. " (opaque-prosody-configuration\n"
  32841. " (prosody.cfg.lua \"\")))\n"
  32842. msgstr ""
  32843. #. type: subsubheading
  32844. #: guix-git/doc/guix.texi:22209
  32845. #, no-wrap
  32846. msgid "BitlBee Service"
  32847. msgstr ""
  32848. #. type: cindex
  32849. #: guix-git/doc/guix.texi:22211 guix-git/doc/guix.texi:22255
  32850. #, no-wrap
  32851. msgid "IRC (Internet Relay Chat)"
  32852. msgstr ""
  32853. #. type: cindex
  32854. #: guix-git/doc/guix.texi:22212
  32855. #, no-wrap
  32856. msgid "IRC gateway"
  32857. msgstr "IRC 게이트웨이"
  32858. #. type: Plain text
  32859. #: guix-git/doc/guix.texi:22215
  32860. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  32861. msgstr ""
  32862. #. type: defvr
  32863. #: guix-git/doc/guix.texi:22216
  32864. #, no-wrap
  32865. msgid "{Scheme Variable} bitlbee-service-type"
  32866. msgstr ""
  32867. #. type: defvr
  32868. #: guix-git/doc/guix.texi:22220
  32869. 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)."
  32870. msgstr ""
  32871. #. type: defvr
  32872. #: guix-git/doc/guix.texi:22223
  32873. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  32874. msgstr ""
  32875. #. type: lisp
  32876. #: guix-git/doc/guix.texi:22226
  32877. #, no-wrap
  32878. msgid "(service bitlbee-service-type)\n"
  32879. msgstr ""
  32880. #. type: deftp
  32881. #: guix-git/doc/guix.texi:22229
  32882. #, no-wrap
  32883. msgid "{Data Type} bitlbee-configuration"
  32884. msgstr ""
  32885. #. type: deftp
  32886. #: guix-git/doc/guix.texi:22231
  32887. msgid "This is the configuration for BitlBee, with the following fields:"
  32888. msgstr ""
  32889. #. type: item
  32890. #: guix-git/doc/guix.texi:22233
  32891. #, no-wrap
  32892. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  32893. msgstr ""
  32894. #. type: itemx
  32895. #: guix-git/doc/guix.texi:22234
  32896. #, no-wrap
  32897. msgid "@code{port} (default: @code{6667})"
  32898. msgstr ""
  32899. #. type: table
  32900. #: guix-git/doc/guix.texi:22237
  32901. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  32902. msgstr ""
  32903. #. type: table
  32904. #: guix-git/doc/guix.texi:22241
  32905. 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."
  32906. msgstr ""
  32907. #. type: item
  32908. #: guix-git/doc/guix.texi:22242
  32909. #, no-wrap
  32910. msgid "@code{bitlbee} (default: @code{bitlbee})"
  32911. msgstr ""
  32912. #. type: table
  32913. #: guix-git/doc/guix.texi:22244
  32914. msgid "The BitlBee package to use."
  32915. msgstr ""
  32916. #. type: item
  32917. #: guix-git/doc/guix.texi:22245
  32918. #, no-wrap
  32919. msgid "@code{plugins} (default: @code{'()})"
  32920. msgstr ""
  32921. #. type: table
  32922. #: guix-git/doc/guix.texi:22247
  32923. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  32924. msgstr ""
  32925. #. type: table
  32926. #: guix-git/doc/guix.texi:22250
  32927. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  32928. msgstr ""
  32929. #. type: subsubheading
  32930. #: guix-git/doc/guix.texi:22253
  32931. #, no-wrap
  32932. msgid "Quassel Service"
  32933. msgstr ""
  32934. #. type: Plain text
  32935. #: guix-git/doc/guix.texi:22259
  32936. 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."
  32937. msgstr ""
  32938. #. type: defvr
  32939. #: guix-git/doc/guix.texi:22260
  32940. #, no-wrap
  32941. msgid "{Scheme Variable} quassel-service-type"
  32942. msgstr ""
  32943. #. type: defvr
  32944. #: guix-git/doc/guix.texi:22264
  32945. 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)."
  32946. msgstr ""
  32947. #. type: deftp
  32948. #: guix-git/doc/guix.texi:22266
  32949. #, no-wrap
  32950. msgid "{Data Type} quassel-configuration"
  32951. msgstr ""
  32952. #. type: deftp
  32953. #: guix-git/doc/guix.texi:22268
  32954. msgid "This is the configuration for Quassel, with the following fields:"
  32955. msgstr ""
  32956. #. type: item
  32957. #: guix-git/doc/guix.texi:22270
  32958. #, no-wrap
  32959. msgid "@code{quassel} (default: @code{quassel})"
  32960. msgstr ""
  32961. #. type: table
  32962. #: guix-git/doc/guix.texi:22272
  32963. msgid "The Quassel package to use."
  32964. msgstr ""
  32965. #. type: item
  32966. #: guix-git/doc/guix.texi:22273
  32967. #, no-wrap
  32968. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  32969. msgstr ""
  32970. #. type: item
  32971. #: guix-git/doc/guix.texi:22274
  32972. #, no-wrap
  32973. msgid "@code{port} (default: @code{4242})"
  32974. msgstr ""
  32975. #. type: table
  32976. #: guix-git/doc/guix.texi:22278
  32977. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  32978. msgstr ""
  32979. #. type: item
  32980. #: guix-git/doc/guix.texi:22279
  32981. #, no-wrap
  32982. msgid "@code{loglevel} (default: @code{\"Info\"})"
  32983. msgstr ""
  32984. #. type: table
  32985. #: guix-git/doc/guix.texi:22282
  32986. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  32987. msgstr ""
  32988. #. type: cindex
  32989. #: guix-git/doc/guix.texi:22288
  32990. #, no-wrap
  32991. msgid "Murmur (VoIP server)"
  32992. msgstr ""
  32993. #. type: cindex
  32994. #: guix-git/doc/guix.texi:22289
  32995. #, no-wrap
  32996. msgid "VoIP server"
  32997. msgstr ""
  32998. #. type: Plain text
  32999. #: guix-git/doc/guix.texi:22293
  33000. 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."
  33001. msgstr ""
  33002. #. type: deftp
  33003. #: guix-git/doc/guix.texi:22294
  33004. #, no-wrap
  33005. msgid "{Data Type} murmur-configuration"
  33006. msgstr ""
  33007. #. type: deftp
  33008. #: guix-git/doc/guix.texi:22297
  33009. msgid "The service type for the Murmur server. An example configuration can look like this:"
  33010. msgstr ""
  33011. #. type: lisp
  33012. #: guix-git/doc/guix.texi:22306
  33013. #, no-wrap
  33014. msgid ""
  33015. "(service murmur-service-type\n"
  33016. " (murmur-configuration\n"
  33017. " (welcome-text\n"
  33018. " \"Welcome to this Mumble server running on Guix!\")\n"
  33019. " (cert-required? #t) ;disallow text password logins\n"
  33020. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  33021. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  33022. msgstr ""
  33023. #. type: deftp
  33024. #: guix-git/doc/guix.texi:22310
  33025. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  33026. msgstr ""
  33027. #. type: deftp
  33028. #: guix-git/doc/guix.texi:22319
  33029. 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."
  33030. msgstr ""
  33031. #. type: deftp
  33032. #: guix-git/doc/guix.texi:22321
  33033. msgid "Available @code{murmur-configuration} fields are:"
  33034. msgstr ""
  33035. #. type: item
  33036. #: guix-git/doc/guix.texi:22323
  33037. #, no-wrap
  33038. msgid "@code{package} (default: @code{mumble})"
  33039. msgstr ""
  33040. #. type: table
  33041. #: guix-git/doc/guix.texi:22325
  33042. msgid "Package that contains @code{bin/murmurd}."
  33043. msgstr ""
  33044. #. type: item
  33045. #: guix-git/doc/guix.texi:22326
  33046. #, no-wrap
  33047. msgid "@code{user} (default: @code{\"murmur\"})"
  33048. msgstr ""
  33049. #. type: table
  33050. #: guix-git/doc/guix.texi:22328
  33051. msgid "User who will run the Murmur server."
  33052. msgstr ""
  33053. #. type: item
  33054. #: guix-git/doc/guix.texi:22329
  33055. #, no-wrap
  33056. msgid "@code{group} (default: @code{\"murmur\"})"
  33057. msgstr ""
  33058. #. type: table
  33059. #: guix-git/doc/guix.texi:22331
  33060. msgid "Group of the user who will run the murmur server."
  33061. msgstr ""
  33062. #. type: item
  33063. #: guix-git/doc/guix.texi:22332
  33064. #, no-wrap
  33065. msgid "@code{port} (default: @code{64738})"
  33066. msgstr ""
  33067. #. type: table
  33068. #: guix-git/doc/guix.texi:22334
  33069. msgid "Port on which the server will listen."
  33070. msgstr ""
  33071. #. type: item
  33072. #: guix-git/doc/guix.texi:22335
  33073. #, no-wrap
  33074. msgid "@code{welcome-text} (default: @code{\"\"})"
  33075. msgstr ""
  33076. #. type: table
  33077. #: guix-git/doc/guix.texi:22337
  33078. msgid "Welcome text sent to clients when they connect."
  33079. msgstr ""
  33080. #. type: item
  33081. #: guix-git/doc/guix.texi:22338
  33082. #, no-wrap
  33083. msgid "@code{server-password} (default: @code{\"\"})"
  33084. msgstr ""
  33085. #. type: table
  33086. #: guix-git/doc/guix.texi:22340
  33087. msgid "Password the clients have to enter in order to connect."
  33088. msgstr ""
  33089. #. type: item
  33090. #: guix-git/doc/guix.texi:22341
  33091. #, no-wrap
  33092. msgid "@code{max-users} (default: @code{100})"
  33093. msgstr ""
  33094. #. type: table
  33095. #: guix-git/doc/guix.texi:22343
  33096. msgid "Maximum of users that can be connected to the server at once."
  33097. msgstr ""
  33098. #. type: item
  33099. #: guix-git/doc/guix.texi:22344
  33100. #, no-wrap
  33101. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  33102. msgstr ""
  33103. #. type: table
  33104. #: guix-git/doc/guix.texi:22346
  33105. msgid "Maximum voice traffic a user can send per second."
  33106. msgstr ""
  33107. #. type: item
  33108. #: guix-git/doc/guix.texi:22347
  33109. #, no-wrap
  33110. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  33111. msgstr ""
  33112. #. type: table
  33113. #: guix-git/doc/guix.texi:22350
  33114. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  33115. msgstr ""
  33116. #. type: item
  33117. #: guix-git/doc/guix.texi:22351
  33118. #, no-wrap
  33119. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  33120. msgstr ""
  33121. #. type: table
  33122. #: guix-git/doc/guix.texi:22354
  33123. msgid "File name of the log file. The service's user will become the owner of the directory."
  33124. msgstr ""
  33125. #. type: item
  33126. #: guix-git/doc/guix.texi:22355
  33127. #, no-wrap
  33128. msgid "@code{autoban-attempts} (default: @code{10})"
  33129. msgstr ""
  33130. #. type: table
  33131. #: guix-git/doc/guix.texi:22358
  33132. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  33133. msgstr ""
  33134. #. type: item
  33135. #: guix-git/doc/guix.texi:22359
  33136. #, no-wrap
  33137. msgid "@code{autoban-timeframe} (default: @code{120})"
  33138. msgstr ""
  33139. #. type: table
  33140. #: guix-git/doc/guix.texi:22361
  33141. msgid "Timeframe for autoban in seconds."
  33142. msgstr ""
  33143. #. type: item
  33144. #: guix-git/doc/guix.texi:22362
  33145. #, no-wrap
  33146. msgid "@code{autoban-time} (default: @code{300})"
  33147. msgstr ""
  33148. #. type: table
  33149. #: guix-git/doc/guix.texi:22365
  33150. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  33151. msgstr ""
  33152. #. type: item
  33153. #: guix-git/doc/guix.texi:22366
  33154. #, no-wrap
  33155. msgid "@code{opus-threshold} (default: @code{100})"
  33156. msgstr ""
  33157. #. type: table
  33158. #: guix-git/doc/guix.texi:22369
  33159. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  33160. msgstr ""
  33161. #. type: item
  33162. #: guix-git/doc/guix.texi:22370
  33163. #, no-wrap
  33164. msgid "@code{channel-nesting-limit} (default: @code{10})"
  33165. msgstr ""
  33166. #. type: table
  33167. #: guix-git/doc/guix.texi:22372
  33168. msgid "How deep channels can be nested at maximum."
  33169. msgstr ""
  33170. #. type: item
  33171. #: guix-git/doc/guix.texi:22373
  33172. #, no-wrap
  33173. msgid "@code{channelname-regex} (default: @code{#f})"
  33174. msgstr ""
  33175. #. type: table
  33176. #: guix-git/doc/guix.texi:22375
  33177. msgid "A string in form of a Qt regular expression that channel names must conform to."
  33178. msgstr ""
  33179. #. type: item
  33180. #: guix-git/doc/guix.texi:22376
  33181. #, no-wrap
  33182. msgid "@code{username-regex} (default: @code{#f})"
  33183. msgstr ""
  33184. #. type: table
  33185. #: guix-git/doc/guix.texi:22378
  33186. msgid "A string in form of a Qt regular expression that user names must conform to."
  33187. msgstr ""
  33188. #. type: item
  33189. #: guix-git/doc/guix.texi:22379
  33190. #, no-wrap
  33191. msgid "@code{text-message-length} (default: @code{5000})"
  33192. msgstr ""
  33193. #. type: table
  33194. #: guix-git/doc/guix.texi:22381
  33195. msgid "Maximum size in bytes that a user can send in one text chat message."
  33196. msgstr ""
  33197. #. type: item
  33198. #: guix-git/doc/guix.texi:22382
  33199. #, no-wrap
  33200. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  33201. msgstr ""
  33202. #. type: table
  33203. #: guix-git/doc/guix.texi:22384
  33204. msgid "Maximum size in bytes that a user can send in one image message."
  33205. msgstr ""
  33206. #. type: item
  33207. #: guix-git/doc/guix.texi:22385
  33208. #, no-wrap
  33209. msgid "@code{cert-required?} (default: @code{#f})"
  33210. msgstr ""
  33211. #. type: table
  33212. #: guix-git/doc/guix.texi:22388
  33213. 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."
  33214. msgstr ""
  33215. #. type: item
  33216. #: guix-git/doc/guix.texi:22389
  33217. #, no-wrap
  33218. msgid "@code{remember-channel?} (default: @code{#f})"
  33219. msgstr ""
  33220. #. type: table
  33221. #: guix-git/doc/guix.texi:22392
  33222. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  33223. msgstr ""
  33224. #. type: item
  33225. #: guix-git/doc/guix.texi:22393
  33226. #, no-wrap
  33227. msgid "@code{allow-html?} (default: @code{#f})"
  33228. msgstr ""
  33229. #. type: table
  33230. #: guix-git/doc/guix.texi:22395
  33231. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  33232. msgstr ""
  33233. #. type: item
  33234. #: guix-git/doc/guix.texi:22396
  33235. #, no-wrap
  33236. msgid "@code{allow-ping?} (default: @code{#f})"
  33237. msgstr ""
  33238. #. type: table
  33239. #: guix-git/doc/guix.texi:22400
  33240. 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."
  33241. msgstr ""
  33242. #. type: table
  33243. #: guix-git/doc/guix.texi:22402
  33244. msgid "Disabling this setting will prevent public listing of the server."
  33245. msgstr ""
  33246. #. type: item
  33247. #: guix-git/doc/guix.texi:22403
  33248. #, no-wrap
  33249. msgid "@code{bonjour?} (default: @code{#f})"
  33250. msgstr ""
  33251. #. type: table
  33252. #: guix-git/doc/guix.texi:22405
  33253. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  33254. msgstr ""
  33255. #. type: item
  33256. #: guix-git/doc/guix.texi:22406
  33257. #, no-wrap
  33258. msgid "@code{send-version?} (default: @code{#f})"
  33259. msgstr ""
  33260. #. type: table
  33261. #: guix-git/doc/guix.texi:22408
  33262. msgid "Should the murmur server version be exposed in ping requests."
  33263. msgstr ""
  33264. #. type: item
  33265. #: guix-git/doc/guix.texi:22409
  33266. #, no-wrap
  33267. msgid "@code{log-days} (default: @code{31})"
  33268. msgstr ""
  33269. #. type: table
  33270. #: guix-git/doc/guix.texi:22413
  33271. 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."
  33272. msgstr ""
  33273. #. type: item
  33274. #: guix-git/doc/guix.texi:22414
  33275. #, no-wrap
  33276. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  33277. msgstr ""
  33278. #. type: table
  33279. #: guix-git/doc/guix.texi:22416
  33280. msgid "Should logged ips be obfuscated to protect the privacy of users."
  33281. msgstr ""
  33282. #. type: item
  33283. #: guix-git/doc/guix.texi:22417
  33284. #, no-wrap
  33285. msgid "@code{ssl-cert} (default: @code{#f})"
  33286. msgstr ""
  33287. #. type: table
  33288. #: guix-git/doc/guix.texi:22419
  33289. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  33290. msgstr ""
  33291. #. type: lisp
  33292. #: guix-git/doc/guix.texi:22422
  33293. #, no-wrap
  33294. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  33295. msgstr ""
  33296. #. type: item
  33297. #: guix-git/doc/guix.texi:22423
  33298. #, no-wrap
  33299. msgid "@code{ssl-key} (default: @code{#f})"
  33300. msgstr ""
  33301. #. type: table
  33302. #: guix-git/doc/guix.texi:22425
  33303. msgid "Filepath to the ssl private key used for encrypted connections."
  33304. msgstr ""
  33305. #. type: lisp
  33306. #: guix-git/doc/guix.texi:22427
  33307. #, no-wrap
  33308. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  33309. msgstr ""
  33310. #. type: item
  33311. #: guix-git/doc/guix.texi:22429
  33312. #, no-wrap
  33313. msgid "@code{ssl-dh-params} (default: @code{#f})"
  33314. msgstr ""
  33315. #. type: table
  33316. #: guix-git/doc/guix.texi:22434
  33317. 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."
  33318. msgstr ""
  33319. #. type: item
  33320. #: guix-git/doc/guix.texi:22435
  33321. #, no-wrap
  33322. msgid "@code{ssl-ciphers} (default: @code{#f})"
  33323. msgstr ""
  33324. #. type: table
  33325. #: guix-git/doc/guix.texi:22438
  33326. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  33327. msgstr ""
  33328. #. type: table
  33329. #: guix-git/doc/guix.texi:22442
  33330. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  33331. msgstr ""
  33332. #. type: table
  33333. #: guix-git/doc/guix.texi:22447
  33334. 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."
  33335. msgstr ""
  33336. #. type: table
  33337. #: guix-git/doc/guix.texi:22451
  33338. 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."
  33339. msgstr ""
  33340. #. type: item
  33341. #: guix-git/doc/guix.texi:22452
  33342. #, no-wrap
  33343. msgid "@code{public-registration} (default: @code{#f})"
  33344. msgstr ""
  33345. #. type: table
  33346. #: guix-git/doc/guix.texi:22454
  33347. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  33348. msgstr ""
  33349. #. type: table
  33350. #: guix-git/doc/guix.texi:22459
  33351. 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}."
  33352. msgstr ""
  33353. #. type: table
  33354. #: guix-git/doc/guix.texi:22461
  33355. msgid "It might take a few hours until it shows up in the public list."
  33356. msgstr ""
  33357. #. type: item
  33358. #: guix-git/doc/guix.texi:22462 guix-git/doc/guix.texi:24698
  33359. #, no-wrap
  33360. msgid "@code{file} (default: @code{#f})"
  33361. msgstr ""
  33362. #. type: table
  33363. #: guix-git/doc/guix.texi:22464
  33364. msgid "Optional alternative override for this configuration."
  33365. msgstr ""
  33366. #. type: deftp
  33367. #: guix-git/doc/guix.texi:22467
  33368. #, no-wrap
  33369. msgid "{Data Type} murmur-public-registration-configuration"
  33370. msgstr ""
  33371. #. type: deftp
  33372. #: guix-git/doc/guix.texi:22469
  33373. msgid "Configuration for public registration of a murmur service."
  33374. msgstr ""
  33375. #. type: table
  33376. #: guix-git/doc/guix.texi:22473
  33377. msgid "This is a display name for your server. Not to be confused with the hostname."
  33378. msgstr ""
  33379. #. type: itemx
  33380. #: guix-git/doc/guix.texi:22474 guix-git/doc/guix.texi:31149
  33381. #: guix-git/doc/guix.texi:32190
  33382. #, no-wrap
  33383. msgid "password"
  33384. msgstr "비밀번호"
  33385. #. type: table
  33386. #: guix-git/doc/guix.texi:22477
  33387. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  33388. msgstr ""
  33389. #. type: table
  33390. #: guix-git/doc/guix.texi:22481
  33391. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  33392. msgstr ""
  33393. #. type: item
  33394. #: guix-git/doc/guix.texi:22482 guix-git/doc/guix.texi:25577
  33395. #, no-wrap
  33396. msgid "@code{hostname} (default: @code{#f})"
  33397. msgstr ""
  33398. #. type: table
  33399. #: guix-git/doc/guix.texi:22485
  33400. 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."
  33401. msgstr ""
  33402. #. type: Plain text
  33403. #: guix-git/doc/guix.texi:22495
  33404. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  33405. msgstr ""
  33406. #. type: subsubheading
  33407. #: guix-git/doc/guix.texi:22496
  33408. #, no-wrap
  33409. msgid "Transmission Daemon Service"
  33410. msgstr ""
  33411. #. type: Plain text
  33412. #: guix-git/doc/guix.texi:22504
  33413. 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."
  33414. msgstr ""
  33415. #. type: deffn
  33416. #: guix-git/doc/guix.texi:22505
  33417. #, no-wrap
  33418. msgid "{Scheme Variable} transmission-daemon-service-type"
  33419. msgstr ""
  33420. #. type: deffn
  33421. #: guix-git/doc/guix.texi:22509
  33422. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  33423. msgstr ""
  33424. #. type: lisp
  33425. #: guix-git/doc/guix.texi:22520
  33426. #, no-wrap
  33427. msgid ""
  33428. "(service transmission-daemon-service-type\n"
  33429. " (transmission-daemon-configuration\n"
  33430. " ;; Restrict access to the RPC (\"control\") interface\n"
  33431. " (rpc-authentication-required? #t)\n"
  33432. " (rpc-username \"transmission\")\n"
  33433. " (rpc-password\n"
  33434. " (transmission-password-hash\n"
  33435. " \"transmission\" ; desired password\n"
  33436. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  33437. "\n"
  33438. msgstr ""
  33439. #. type: lisp
  33440. #: guix-git/doc/guix.texi:22525
  33441. #, no-wrap
  33442. msgid ""
  33443. " ;; Accept requests from this and other hosts on the\n"
  33444. " ;; local network\n"
  33445. " (rpc-whitelist-enabled? #t)\n"
  33446. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  33447. "\n"
  33448. msgstr ""
  33449. #. type: lisp
  33450. #: guix-git/doc/guix.texi:22529
  33451. #, no-wrap
  33452. msgid ""
  33453. " ;; Limit bandwidth use during work hours\n"
  33454. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  33455. " (alt-speed-up 512) ; 512 kB/s\n"
  33456. "\n"
  33457. msgstr ""
  33458. #. type: lisp
  33459. #: guix-git/doc/guix.texi:22536
  33460. #, no-wrap
  33461. msgid ""
  33462. " (alt-speed-time-enabled? #t)\n"
  33463. " (alt-speed-time-day 'weekdays)\n"
  33464. " (alt-speed-time-begin\n"
  33465. " (+ (* 60 8) 30)) ; 8:30 am\n"
  33466. " (alt-speed-time-end\n"
  33467. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  33468. msgstr ""
  33469. #. type: Plain text
  33470. #: guix-git/doc/guix.texi:22549
  33471. 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."
  33472. msgstr ""
  33473. #. type: Plain text
  33474. #: guix-git/doc/guix.texi:22557
  33475. 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."
  33476. msgstr ""
  33477. #. type: deffn
  33478. #: guix-git/doc/guix.texi:22558
  33479. #, no-wrap
  33480. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  33481. msgstr ""
  33482. #. type: deffn
  33483. #: guix-git/doc/guix.texi:22562
  33484. 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."
  33485. msgstr ""
  33486. #. type: deffn
  33487. #: guix-git/doc/guix.texi:22566
  33488. 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."
  33489. msgstr ""
  33490. #. type: deffn
  33491. #: guix-git/doc/guix.texi:22568
  33492. #, no-wrap
  33493. msgid "{Scheme Procedure} transmission-random-salt"
  33494. msgstr ""
  33495. #. type: deffn
  33496. #: guix-git/doc/guix.texi:22572
  33497. 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."
  33498. msgstr ""
  33499. #. type: Plain text
  33500. #: guix-git/doc/guix.texi:22578
  33501. 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:"
  33502. msgstr ""
  33503. #. type: example
  33504. #: guix-git/doc/guix.texi:22584
  33505. #, no-wrap
  33506. msgid ""
  33507. "$ guix repl\n"
  33508. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  33509. "scheme@@(guix-user)> (transmission-random-salt)\n"
  33510. "$1 = \"uKd1uMs9\"\n"
  33511. msgstr ""
  33512. #. type: Plain text
  33513. #: guix-git/doc/guix.texi:22587
  33514. msgid "Alternatively, a complete password hash can generated in a single step:"
  33515. msgstr ""
  33516. #. type: example
  33517. #: guix-git/doc/guix.texi:22592
  33518. #, no-wrap
  33519. msgid ""
  33520. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  33521. "(transmission-random-salt))\n"
  33522. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  33523. msgstr ""
  33524. #. type: Plain text
  33525. #: guix-git/doc/guix.texi:22597
  33526. 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."
  33527. msgstr ""
  33528. #. type: Plain text
  33529. #: guix-git/doc/guix.texi:22606
  33530. 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."
  33531. msgstr ""
  33532. #. type: Plain text
  33533. #: guix-git/doc/guix.texi:22613
  33534. 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.)"
  33535. msgstr ""
  33536. #. type: Plain text
  33537. #: guix-git/doc/guix.texi:22618
  33538. 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:"
  33539. msgstr ""
  33540. #. type: example
  33541. #: guix-git/doc/guix.texi:22621
  33542. #, no-wrap
  33543. msgid "# herd reload transmission-daemon\n"
  33544. msgstr ""
  33545. #. type: Plain text
  33546. #: guix-git/doc/guix.texi:22625
  33547. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  33548. msgstr ""
  33549. #. type: deftp
  33550. #: guix-git/doc/guix.texi:22626
  33551. #, no-wrap
  33552. msgid "{Data Type} transmission-daemon-configuration"
  33553. msgstr ""
  33554. #. type: deftp
  33555. #: guix-git/doc/guix.texi:22630
  33556. 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."
  33557. msgstr ""
  33558. #. type: Plain text
  33559. #: guix-git/doc/guix.texi:22644
  33560. msgid "Available @code{transmission-daemon-configuration} fields are:"
  33561. msgstr ""
  33562. #. type: deftypevr
  33563. #: guix-git/doc/guix.texi:22645
  33564. #, no-wrap
  33565. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  33566. msgstr ""
  33567. #. type: deftypevr
  33568. #: guix-git/doc/guix.texi:22647
  33569. msgid "The Transmission package to use."
  33570. msgstr ""
  33571. #. type: deftypevr
  33572. #: guix-git/doc/guix.texi:22650
  33573. #, no-wrap
  33574. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  33575. msgstr ""
  33576. #. type: deftypevr
  33577. #: guix-git/doc/guix.texi:22656
  33578. 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."
  33579. msgstr ""
  33580. #. type: deftypevr
  33581. #: guix-git/doc/guix.texi:22658 guix-git/doc/guix.texi:23030
  33582. #: guix-git/doc/guix.texi:30262 guix-git/doc/guix.texi:30497
  33583. #: guix-git/doc/guix.texi:30505 guix-git/doc/guix.texi:30513
  33584. msgid "Defaults to @samp{10}."
  33585. msgstr ""
  33586. #. type: deftypevr
  33587. #: guix-git/doc/guix.texi:22661
  33588. #, no-wrap
  33589. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  33590. msgstr ""
  33591. #. type: deftypevr
  33592. #: guix-git/doc/guix.texi:22663
  33593. msgid "The directory to which torrent files are downloaded."
  33594. msgstr ""
  33595. #. type: deftypevr
  33596. #: guix-git/doc/guix.texi:22665
  33597. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  33598. msgstr ""
  33599. #. type: deftypevr
  33600. #: guix-git/doc/guix.texi:22668
  33601. #, no-wrap
  33602. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  33603. msgstr ""
  33604. #. type: deftypevr
  33605. #: guix-git/doc/guix.texi:22673
  33606. 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}."
  33607. msgstr ""
  33608. #. type: deftypevr
  33609. #: guix-git/doc/guix.texi:22678
  33610. #, no-wrap
  33611. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  33612. msgstr ""
  33613. #. type: deftypevr
  33614. #: guix-git/doc/guix.texi:22681
  33615. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  33616. msgstr ""
  33617. #. type: deftypevr
  33618. #: guix-git/doc/guix.texi:22683 guix-git/doc/guix.texi:22727
  33619. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22996
  33620. #: guix-git/doc/guix.texi:23170 guix-git/doc/guix.texi:23181
  33621. #: guix-git/doc/guix.texi:23254 guix-git/doc/guix.texi:23979
  33622. #: guix-git/doc/guix.texi:24022 guix-git/doc/guix.texi:24030
  33623. #: guix-git/doc/guix.texi:24038 guix-git/doc/guix.texi:24046
  33624. #: guix-git/doc/guix.texi:24055 guix-git/doc/guix.texi:24063
  33625. #: guix-git/doc/guix.texi:24070 guix-git/doc/guix.texi:24078
  33626. #: guix-git/doc/guix.texi:24086 guix-git/doc/guix.texi:24096
  33627. #: guix-git/doc/guix.texi:24103 guix-git/doc/guix.texi:24127
  33628. #: guix-git/doc/guix.texi:24135 guix-git/doc/guix.texi:24161
  33629. #: guix-git/doc/guix.texi:24170 guix-git/doc/guix.texi:24179
  33630. #: guix-git/doc/guix.texi:24188 guix-git/doc/guix.texi:24197
  33631. #: guix-git/doc/guix.texi:24206 guix-git/doc/guix.texi:24214
  33632. #: guix-git/doc/guix.texi:24222 guix-git/doc/guix.texi:24229
  33633. #: guix-git/doc/guix.texi:24237 guix-git/doc/guix.texi:24244
  33634. #: guix-git/doc/guix.texi:24252 guix-git/doc/guix.texi:24260
  33635. #: guix-git/doc/guix.texi:24269 guix-git/doc/guix.texi:24278
  33636. #: guix-git/doc/guix.texi:24286 guix-git/doc/guix.texi:24294
  33637. #: guix-git/doc/guix.texi:24302 guix-git/doc/guix.texi:24313
  33638. #: guix-git/doc/guix.texi:24323 guix-git/doc/guix.texi:24334
  33639. #: guix-git/doc/guix.texi:24343 guix-git/doc/guix.texi:24353
  33640. #: guix-git/doc/guix.texi:24361 guix-git/doc/guix.texi:24372
  33641. #: guix-git/doc/guix.texi:24381 guix-git/doc/guix.texi:24391
  33642. #: guix-git/doc/guix.texi:27554 guix-git/doc/guix.texi:27561
  33643. #: guix-git/doc/guix.texi:27568 guix-git/doc/guix.texi:27575
  33644. #: guix-git/doc/guix.texi:27582 guix-git/doc/guix.texi:27589
  33645. #: guix-git/doc/guix.texi:27597 guix-git/doc/guix.texi:27605
  33646. #: guix-git/doc/guix.texi:27612 guix-git/doc/guix.texi:27619
  33647. #: guix-git/doc/guix.texi:27626 guix-git/doc/guix.texi:27633
  33648. #: guix-git/doc/guix.texi:27663 guix-git/doc/guix.texi:27701
  33649. #: guix-git/doc/guix.texi:27708 guix-git/doc/guix.texi:27717
  33650. #: guix-git/doc/guix.texi:27739 guix-git/doc/guix.texi:27747
  33651. #: guix-git/doc/guix.texi:27754 guix-git/doc/guix.texi:27909
  33652. #: guix-git/doc/guix.texi:27929 guix-git/doc/guix.texi:27944
  33653. #: guix-git/doc/guix.texi:27951 guix-git/doc/guix.texi:30634
  33654. #: guix-git/doc/guix.texi:30642 guix-git/doc/guix.texi:30650
  33655. #: guix-git/doc/guix.texi:30658 guix-git/doc/guix.texi:30666
  33656. #: guix-git/doc/guix.texi:30674
  33657. msgid "Defaults to @samp{disabled}."
  33658. msgstr ""
  33659. #. type: deftypevr
  33660. #: guix-git/doc/guix.texi:22686
  33661. #, no-wrap
  33662. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  33663. msgstr ""
  33664. #. type: deftypevr
  33665. #: guix-git/doc/guix.texi:22689
  33666. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  33667. msgstr ""
  33668. #. type: deftypevr
  33669. #: guix-git/doc/guix.texi:22691
  33670. msgid "Defaults to @samp{18}."
  33671. msgstr ""
  33672. #. type: deftypevr
  33673. #: guix-git/doc/guix.texi:22694
  33674. #, no-wrap
  33675. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  33676. msgstr ""
  33677. #. type: deftypevr
  33678. #: guix-git/doc/guix.texi:22697
  33679. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  33680. msgstr ""
  33681. #. type: deftypevr
  33682. #: guix-git/doc/guix.texi:22702
  33683. #, no-wrap
  33684. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  33685. msgstr ""
  33686. #. type: deftypevr
  33687. #: guix-git/doc/guix.texi:22707
  33688. 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."
  33689. msgstr ""
  33690. #. type: deftypevr
  33691. #: guix-git/doc/guix.texi:22709
  33692. msgid "Defaults to @samp{fast}."
  33693. msgstr ""
  33694. #. type: deftypevr
  33695. #: guix-git/doc/guix.texi:22712
  33696. #, no-wrap
  33697. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  33698. msgstr ""
  33699. #. type: deftypevr
  33700. #: guix-git/doc/guix.texi:22717
  33701. 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})."
  33702. msgstr ""
  33703. #. type: deftypevr
  33704. #: guix-git/doc/guix.texi:22722
  33705. #, no-wrap
  33706. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  33707. msgstr ""
  33708. #. type: deftypevr
  33709. #: guix-git/doc/guix.texi:22725
  33710. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  33711. msgstr ""
  33712. #. type: deftypevr
  33713. #: guix-git/doc/guix.texi:22730
  33714. #, no-wrap
  33715. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  33716. msgstr ""
  33717. #. type: deftypevr
  33718. #: guix-git/doc/guix.texi:22734
  33719. 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?})."
  33720. msgstr ""
  33721. #. type: deftypevr
  33722. #: guix-git/doc/guix.texi:22739
  33723. #, no-wrap
  33724. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  33725. msgstr ""
  33726. #. type: deftypevr
  33727. #: guix-git/doc/guix.texi:22742
  33728. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  33729. msgstr ""
  33730. #. type: deftypevr
  33731. #: guix-git/doc/guix.texi:22747
  33732. #, no-wrap
  33733. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  33734. msgstr ""
  33735. #. type: deftypevr
  33736. #: guix-git/doc/guix.texi:22749
  33737. msgid "The default global-maximum download speed, in kilobytes per second."
  33738. msgstr ""
  33739. #. type: deftypevr
  33740. #: guix-git/doc/guix.texi:22754
  33741. #, no-wrap
  33742. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  33743. msgstr ""
  33744. #. type: deftypevr
  33745. #: guix-git/doc/guix.texi:22757
  33746. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  33747. msgstr ""
  33748. #. type: deftypevr
  33749. #: guix-git/doc/guix.texi:22762
  33750. #, no-wrap
  33751. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  33752. msgstr ""
  33753. #. type: deftypevr
  33754. #: guix-git/doc/guix.texi:22764
  33755. msgid "The default global-maximum upload speed, in kilobytes per second."
  33756. msgstr ""
  33757. #. type: deftypevr
  33758. #: guix-git/doc/guix.texi:22769
  33759. #, no-wrap
  33760. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  33761. msgstr ""
  33762. #. type: deftypevr
  33763. #: guix-git/doc/guix.texi:22775
  33764. 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?}."
  33765. msgstr ""
  33766. #. type: deftypevr
  33767. #: guix-git/doc/guix.texi:22780
  33768. #, no-wrap
  33769. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  33770. msgstr ""
  33771. #. type: deftypevr
  33772. #: guix-git/doc/guix.texi:22782
  33773. msgid "The alternate global-maximum download speed, in kilobytes per second."
  33774. msgstr ""
  33775. #. type: deftypevr
  33776. #: guix-git/doc/guix.texi:22784 guix-git/doc/guix.texi:22791
  33777. #: guix-git/doc/guix.texi:22963 guix-git/doc/guix.texi:30269
  33778. #: guix-git/doc/guix.texi:30284
  33779. msgid "Defaults to @samp{50}."
  33780. msgstr ""
  33781. #. type: deftypevr
  33782. #: guix-git/doc/guix.texi:22787
  33783. #, no-wrap
  33784. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  33785. msgstr ""
  33786. #. type: deftypevr
  33787. #: guix-git/doc/guix.texi:22789
  33788. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  33789. msgstr ""
  33790. #. type: deftypevr
  33791. #: guix-git/doc/guix.texi:22794
  33792. #, no-wrap
  33793. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  33794. msgstr ""
  33795. #. type: deftypevr
  33796. #: guix-git/doc/guix.texi:22799
  33797. 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}."
  33798. msgstr ""
  33799. #. type: deftypevr
  33800. #: guix-git/doc/guix.texi:22804
  33801. #, no-wrap
  33802. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  33803. msgstr ""
  33804. #. type: deftypevr
  33805. #: guix-git/doc/guix.texi:22809
  33806. 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}."
  33807. msgstr ""
  33808. #. type: deftypevr
  33809. #: guix-git/doc/guix.texi:22811
  33810. msgid "Defaults to @samp{all}."
  33811. msgstr ""
  33812. #. type: deftypevr
  33813. #: guix-git/doc/guix.texi:22814
  33814. #, no-wrap
  33815. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  33816. msgstr ""
  33817. #. type: deftypevr
  33818. #: guix-git/doc/guix.texi:22817
  33819. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  33820. msgstr ""
  33821. #. type: deftypevr
  33822. #: guix-git/doc/guix.texi:22819
  33823. msgid "Defaults to @samp{540}."
  33824. msgstr ""
  33825. #. type: deftypevr
  33826. #: guix-git/doc/guix.texi:22822
  33827. #, no-wrap
  33828. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  33829. msgstr ""
  33830. #. type: deftypevr
  33831. #: guix-git/doc/guix.texi:22825
  33832. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  33833. msgstr ""
  33834. #. type: deftypevr
  33835. #: guix-git/doc/guix.texi:22827
  33836. msgid "Defaults to @samp{1020}."
  33837. msgstr ""
  33838. #. type: deftypevr
  33839. #: guix-git/doc/guix.texi:22830
  33840. #, no-wrap
  33841. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  33842. msgstr ""
  33843. #. type: deftypevr
  33844. #: guix-git/doc/guix.texi:22833
  33845. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  33846. msgstr ""
  33847. #. type: deftypevr
  33848. #: guix-git/doc/guix.texi:22835 guix-git/doc/guix.texi:23138
  33849. #: guix-git/doc/guix.texi:28184
  33850. msgid "Defaults to @samp{\"0.0.0.0\"}."
  33851. msgstr ""
  33852. #. type: deftypevr
  33853. #: guix-git/doc/guix.texi:22838
  33854. #, no-wrap
  33855. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  33856. msgstr ""
  33857. #. type: deftypevr
  33858. #: guix-git/doc/guix.texi:22841
  33859. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  33860. msgstr ""
  33861. #. type: deftypevr
  33862. #: guix-git/doc/guix.texi:22843
  33863. msgid "Defaults to @samp{\"::\"}."
  33864. msgstr ""
  33865. #. type: deftypevr
  33866. #: guix-git/doc/guix.texi:22846
  33867. #, no-wrap
  33868. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  33869. msgstr ""
  33870. #. type: deftypevr
  33871. #: guix-git/doc/guix.texi:22852
  33872. 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}."
  33873. msgstr ""
  33874. #. type: deftypevr
  33875. #: guix-git/doc/guix.texi:22857
  33876. #, no-wrap
  33877. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  33878. msgstr ""
  33879. #. type: deftypevr
  33880. #: guix-git/doc/guix.texi:22860
  33881. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  33882. msgstr ""
  33883. #. type: deftypevr
  33884. #: guix-git/doc/guix.texi:22862
  33885. msgid "Defaults to @samp{49152}."
  33886. msgstr ""
  33887. #. type: deftypevr
  33888. #: guix-git/doc/guix.texi:22865
  33889. #, no-wrap
  33890. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  33891. msgstr ""
  33892. #. type: deftypevr
  33893. #: guix-git/doc/guix.texi:22868
  33894. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  33895. msgstr ""
  33896. #. type: deftypevr
  33897. #: guix-git/doc/guix.texi:22870
  33898. msgid "Defaults to @samp{65535}."
  33899. msgstr ""
  33900. #. type: deftypevr
  33901. #: guix-git/doc/guix.texi:22873
  33902. #, no-wrap
  33903. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  33904. msgstr ""
  33905. #. type: deftypevr
  33906. #: guix-git/doc/guix.texi:22876
  33907. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  33908. msgstr ""
  33909. #. type: deftypevr
  33910. #: guix-git/doc/guix.texi:22878
  33911. msgid "Defaults to @samp{51413}."
  33912. msgstr ""
  33913. #. type: deftypevr
  33914. #: guix-git/doc/guix.texi:22881
  33915. #, no-wrap
  33916. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  33917. msgstr ""
  33918. #. type: deftypevr
  33919. #: guix-git/doc/guix.texi:22885
  33920. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  33921. msgstr ""
  33922. #. type: deftypevr
  33923. #: guix-git/doc/guix.texi:22890
  33924. #, no-wrap
  33925. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  33926. msgstr ""
  33927. #. type: deftypevr
  33928. #: guix-git/doc/guix.texi:22895
  33929. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  33930. msgstr ""
  33931. #. type: deftypevr
  33932. #: guix-git/doc/guix.texi:22897
  33933. msgid "Defaults to @samp{prefer-encrypted-connections}."
  33934. msgstr ""
  33935. #. type: deftypevr
  33936. #: guix-git/doc/guix.texi:22900
  33937. #, no-wrap
  33938. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  33939. msgstr ""
  33940. #. type: deftypevr
  33941. #: guix-git/doc/guix.texi:22905
  33942. 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)."
  33943. msgstr ""
  33944. #. type: deftypevr
  33945. #: guix-git/doc/guix.texi:22914
  33946. 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."
  33947. msgstr ""
  33948. #. type: deftypevr
  33949. #: guix-git/doc/guix.texi:22922
  33950. 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:"
  33951. msgstr ""
  33952. #. type: lisp
  33953. #: guix-git/doc/guix.texi:22929
  33954. #, no-wrap
  33955. msgid ""
  33956. "(service sysctl-service-type\n"
  33957. " (sysctl-configuration\n"
  33958. " (settings\n"
  33959. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  33960. " \"reno cubic lp\"))))\n"
  33961. msgstr ""
  33962. #. type: deftypevr
  33963. #: guix-git/doc/guix.texi:22932
  33964. msgid "The Transmission Daemon configuration can then be updated with"
  33965. msgstr ""
  33966. #. type: lisp
  33967. #: guix-git/doc/guix.texi:22935
  33968. #, no-wrap
  33969. msgid "(peer-congestion-algorithm \"lp\")\n"
  33970. msgstr ""
  33971. #. type: deftypevr
  33972. #: guix-git/doc/guix.texi:22938
  33973. msgid "and the system reconfigured to have the changes take effect."
  33974. msgstr ""
  33975. #. type: deftypevr
  33976. #: guix-git/doc/guix.texi:22943
  33977. #, no-wrap
  33978. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  33979. msgstr ""
  33980. #. type: deftypevr
  33981. #: guix-git/doc/guix.texi:22947
  33982. 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}."
  33983. msgstr ""
  33984. #. type: deftypevr
  33985. #: guix-git/doc/guix.texi:22949
  33986. msgid "Defaults to @samp{default}."
  33987. msgstr ""
  33988. #. type: deftypevr
  33989. #: guix-git/doc/guix.texi:22952
  33990. #, no-wrap
  33991. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  33992. msgstr ""
  33993. #. type: deftypevr
  33994. #: guix-git/doc/guix.texi:22954
  33995. msgid "The global limit on the number of connected peers."
  33996. msgstr ""
  33997. #. type: deftypevr
  33998. #: guix-git/doc/guix.texi:22956
  33999. msgid "Defaults to @samp{200}."
  34000. msgstr ""
  34001. #. type: deftypevr
  34002. #: guix-git/doc/guix.texi:22959
  34003. #, no-wrap
  34004. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  34005. msgstr ""
  34006. #. type: deftypevr
  34007. #: guix-git/doc/guix.texi:22961
  34008. msgid "The per-torrent limit on the number of connected peers."
  34009. msgstr ""
  34010. #. type: deftypevr
  34011. #: guix-git/doc/guix.texi:22966
  34012. #, no-wrap
  34013. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  34014. msgstr ""
  34015. #. type: deftypevr
  34016. #: guix-git/doc/guix.texi:22969
  34017. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  34018. msgstr ""
  34019. #. type: deftypevr
  34020. #: guix-git/doc/guix.texi:22971
  34021. msgid "Defaults to @samp{14}."
  34022. msgstr ""
  34023. #. type: deftypevr
  34024. #: guix-git/doc/guix.texi:22974
  34025. #, no-wrap
  34026. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  34027. msgstr ""
  34028. #. type: deftypevr
  34029. #: guix-git/doc/guix.texi:22977
  34030. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  34031. msgstr ""
  34032. #. type: deftypevr
  34033. #: guix-git/doc/guix.texi:22979
  34034. msgid "Defaults to @samp{6}."
  34035. msgstr ""
  34036. #. type: deftypevr
  34037. #: guix-git/doc/guix.texi:22982
  34038. #, no-wrap
  34039. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  34040. msgstr ""
  34041. #. type: deftypevr
  34042. #: guix-git/doc/guix.texi:22985
  34043. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  34044. msgstr ""
  34045. #. type: deftypevr
  34046. #: guix-git/doc/guix.texi:22990
  34047. #, no-wrap
  34048. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  34049. msgstr ""
  34050. #. type: deftypevr
  34051. #: guix-git/doc/guix.texi:22994
  34052. 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}."
  34053. msgstr ""
  34054. #. type: deftypevr
  34055. #: guix-git/doc/guix.texi:22999
  34056. #, no-wrap
  34057. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  34058. msgstr ""
  34059. #. type: deftypevr
  34060. #: guix-git/doc/guix.texi:23002
  34061. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  34062. msgstr ""
  34063. #. type: deftypevr
  34064. #: guix-git/doc/guix.texi:23007
  34065. #, no-wrap
  34066. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  34067. msgstr ""
  34068. #. type: deftypevr
  34069. #: guix-git/doc/guix.texi:23011
  34070. 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}."
  34071. msgstr ""
  34072. #. type: deftypevr
  34073. #: guix-git/doc/guix.texi:23016
  34074. #, no-wrap
  34075. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  34076. msgstr ""
  34077. #. type: deftypevr
  34078. #: guix-git/doc/guix.texi:23019
  34079. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  34080. msgstr ""
  34081. #. type: deftypevr
  34082. #: guix-git/doc/guix.texi:23024
  34083. #, no-wrap
  34084. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  34085. msgstr ""
  34086. #. type: deftypevr
  34087. #: guix-git/doc/guix.texi:23028
  34088. 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}."
  34089. msgstr ""
  34090. #. type: deftypevr
  34091. #: guix-git/doc/guix.texi:23033
  34092. #, no-wrap
  34093. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  34094. msgstr ""
  34095. #. type: deftypevr
  34096. #: guix-git/doc/guix.texi:23038
  34097. 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."
  34098. msgstr ""
  34099. #. type: deftypevr
  34100. #: guix-git/doc/guix.texi:23043
  34101. #, no-wrap
  34102. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  34103. msgstr ""
  34104. #. type: deftypevr
  34105. #: guix-git/doc/guix.texi:23047
  34106. 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}."
  34107. msgstr ""
  34108. #. type: deftypevr
  34109. #: guix-git/doc/guix.texi:23052
  34110. #, no-wrap
  34111. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  34112. msgstr ""
  34113. #. type: deftypevr
  34114. #: guix-git/doc/guix.texi:23055
  34115. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  34116. msgstr ""
  34117. #. type: deftypevr
  34118. #: guix-git/doc/guix.texi:23060
  34119. #, no-wrap
  34120. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  34121. msgstr ""
  34122. #. type: deftypevr
  34123. #: guix-git/doc/guix.texi:23063
  34124. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  34125. msgstr ""
  34126. #. type: deftypevr
  34127. #: guix-git/doc/guix.texi:23065
  34128. msgid "Defaults to @samp{2.0}."
  34129. msgstr ""
  34130. #. type: deftypevr
  34131. #: guix-git/doc/guix.texi:23068
  34132. #, no-wrap
  34133. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  34134. msgstr ""
  34135. #. type: deftypevr
  34136. #: guix-git/doc/guix.texi:23071
  34137. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  34138. msgstr ""
  34139. #. type: deftypevr
  34140. #: guix-git/doc/guix.texi:23076
  34141. #, no-wrap
  34142. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  34143. msgstr ""
  34144. #. type: deftypevr
  34145. #: guix-git/doc/guix.texi:23080
  34146. 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}."
  34147. msgstr ""
  34148. #. type: deftypevr
  34149. #: guix-git/doc/guix.texi:23085
  34150. #, no-wrap
  34151. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  34152. msgstr ""
  34153. #. type: deftypevr
  34154. #: guix-git/doc/guix.texi:23089
  34155. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  34156. msgstr ""
  34157. #. type: deftypevr
  34158. #: guix-git/doc/guix.texi:23094
  34159. #, no-wrap
  34160. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  34161. msgstr ""
  34162. #. type: deftypevr
  34163. #: guix-git/doc/guix.texi:23099
  34164. 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."
  34165. msgstr ""
  34166. #. type: deftypevr
  34167. #: guix-git/doc/guix.texi:23104
  34168. #, no-wrap
  34169. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  34170. msgstr ""
  34171. #. type: deftypevr
  34172. #: guix-git/doc/guix.texi:23108
  34173. 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."
  34174. msgstr ""
  34175. #. type: deftypevr
  34176. #: guix-git/doc/guix.texi:23113
  34177. #, no-wrap
  34178. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  34179. msgstr ""
  34180. #. type: deftypevr
  34181. #: guix-git/doc/guix.texi:23118
  34182. 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."
  34183. msgstr ""
  34184. #. type: deftypevr
  34185. #: guix-git/doc/guix.texi:23123
  34186. #, no-wrap
  34187. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  34188. msgstr ""
  34189. #. type: deftypevr
  34190. #: guix-git/doc/guix.texi:23128
  34191. 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."
  34192. msgstr ""
  34193. #. type: deftypevr
  34194. #: guix-git/doc/guix.texi:23133
  34195. #, no-wrap
  34196. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  34197. msgstr ""
  34198. #. type: deftypevr
  34199. #: guix-git/doc/guix.texi:23136
  34200. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  34201. msgstr ""
  34202. #. type: deftypevr
  34203. #: guix-git/doc/guix.texi:23141
  34204. #, no-wrap
  34205. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  34206. msgstr ""
  34207. #. type: deftypevr
  34208. #: guix-git/doc/guix.texi:23143
  34209. msgid "The port on which to listen for @acronym{RPC} connections."
  34210. msgstr ""
  34211. #. type: deftypevr
  34212. #: guix-git/doc/guix.texi:23145
  34213. msgid "Defaults to @samp{9091}."
  34214. msgstr ""
  34215. #. type: deftypevr
  34216. #: guix-git/doc/guix.texi:23148
  34217. #, no-wrap
  34218. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  34219. msgstr ""
  34220. #. type: deftypevr
  34221. #: guix-git/doc/guix.texi:23150
  34222. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  34223. msgstr ""
  34224. #. type: deftypevr
  34225. #: guix-git/doc/guix.texi:23152
  34226. msgid "Defaults to @samp{\"/transmission/\"}."
  34227. msgstr ""
  34228. #. type: deftypevr
  34229. #: guix-git/doc/guix.texi:23155
  34230. #, no-wrap
  34231. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  34232. msgstr ""
  34233. #. type: deftypevr
  34234. #: guix-git/doc/guix.texi:23160
  34235. 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?}."
  34236. msgstr ""
  34237. #. type: deftypevr
  34238. #: guix-git/doc/guix.texi:23165
  34239. #, no-wrap
  34240. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  34241. msgstr ""
  34242. #. type: deftypevr
  34243. #: guix-git/doc/guix.texi:23168
  34244. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  34245. msgstr ""
  34246. #. type: deftypevr
  34247. #: guix-git/doc/guix.texi:23173
  34248. #, no-wrap
  34249. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  34250. msgstr ""
  34251. #. type: deftypevr
  34252. #: guix-git/doc/guix.texi:23179
  34253. 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."
  34254. msgstr ""
  34255. #. type: deftypevr
  34256. #: guix-git/doc/guix.texi:23184
  34257. #, no-wrap
  34258. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  34259. msgstr ""
  34260. #. type: deftypevr
  34261. #: guix-git/doc/guix.texi:23187
  34262. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  34263. msgstr ""
  34264. #. type: deftypevr
  34265. #: guix-git/doc/guix.texi:23192
  34266. #, no-wrap
  34267. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  34268. msgstr ""
  34269. #. type: deftypevr
  34270. #: guix-git/doc/guix.texi:23196
  34271. 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{*}."
  34272. msgstr ""
  34273. #. type: deftypevr
  34274. #: guix-git/doc/guix.texi:23198
  34275. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  34276. msgstr ""
  34277. #. type: deftypevr
  34278. #: guix-git/doc/guix.texi:23201
  34279. #, no-wrap
  34280. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  34281. msgstr ""
  34282. #. type: deftypevr
  34283. #: guix-git/doc/guix.texi:23206
  34284. 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."
  34285. msgstr ""
  34286. #. type: deftypevr
  34287. #: guix-git/doc/guix.texi:23209
  34288. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  34289. msgstr ""
  34290. #. type: deftypevr
  34291. #: guix-git/doc/guix.texi:23214
  34292. #, no-wrap
  34293. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  34294. msgstr ""
  34295. #. type: deftypevr
  34296. #: guix-git/doc/guix.texi:23217
  34297. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  34298. msgstr ""
  34299. #. type: deftypevr
  34300. #: guix-git/doc/guix.texi:23222
  34301. #, no-wrap
  34302. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  34303. msgstr ""
  34304. #. type: deftypevr
  34305. #: guix-git/doc/guix.texi:23226
  34306. 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}."
  34307. msgstr ""
  34308. #. type: deftypevr
  34309. #: guix-git/doc/guix.texi:23231
  34310. #, no-wrap
  34311. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  34312. msgstr ""
  34313. #. type: deftypevr
  34314. #: guix-git/doc/guix.texi:23234
  34315. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  34316. msgstr ""
  34317. #. type: deftypevr
  34318. #: guix-git/doc/guix.texi:23239
  34319. #, no-wrap
  34320. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  34321. msgstr ""
  34322. #. type: deftypevr
  34323. #: guix-git/doc/guix.texi:23243
  34324. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  34325. msgstr ""
  34326. #. type: deftypevr
  34327. #: guix-git/doc/guix.texi:23248
  34328. #, no-wrap
  34329. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  34330. msgstr ""
  34331. #. type: deftypevr
  34332. #: guix-git/doc/guix.texi:23252
  34333. 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}."
  34334. msgstr ""
  34335. #. type: deftypevr
  34336. #: guix-git/doc/guix.texi:23257
  34337. #, no-wrap
  34338. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  34339. msgstr ""
  34340. #. type: deftypevr
  34341. #: guix-git/doc/guix.texi:23260
  34342. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  34343. msgstr ""
  34344. #. type: deftypevr
  34345. #: guix-git/doc/guix.texi:23265
  34346. #, no-wrap
  34347. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  34348. msgstr ""
  34349. #. type: deftypevr
  34350. #: guix-git/doc/guix.texi:23269
  34351. 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."
  34352. msgstr ""
  34353. #. type: deftypevr
  34354. #: guix-git/doc/guix.texi:23271
  34355. msgid "Defaults to @samp{4}."
  34356. msgstr ""
  34357. #. type: deftypevr
  34358. #: guix-git/doc/guix.texi:23274
  34359. #, no-wrap
  34360. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  34361. msgstr ""
  34362. #. type: deftypevr
  34363. #: guix-git/doc/guix.texi:23278
  34364. 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."
  34365. msgstr ""
  34366. #. type: subsubheading
  34367. #: guix-git/doc/guix.texi:23291
  34368. #, no-wrap
  34369. msgid "Tailon Service"
  34370. msgstr ""
  34371. #. type: Plain text
  34372. #: guix-git/doc/guix.texi:23295
  34373. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  34374. msgstr ""
  34375. #. type: Plain text
  34376. #: guix-git/doc/guix.texi:23298
  34377. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  34378. msgstr ""
  34379. #. type: lisp
  34380. #: guix-git/doc/guix.texi:23301
  34381. #, no-wrap
  34382. msgid "(service tailon-service-type)\n"
  34383. msgstr ""
  34384. #. type: Plain text
  34385. #: guix-git/doc/guix.texi:23305
  34386. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  34387. msgstr ""
  34388. #. type: lisp
  34389. #: guix-git/doc/guix.texi:23312
  34390. #, no-wrap
  34391. msgid ""
  34392. "(service tailon-service-type\n"
  34393. " (tailon-configuration\n"
  34394. " (config-file\n"
  34395. " (tailon-configuration-file\n"
  34396. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  34397. msgstr ""
  34398. #. type: deftp
  34399. #: guix-git/doc/guix.texi:23315
  34400. #, no-wrap
  34401. msgid "{Data Type} tailon-configuration"
  34402. msgstr ""
  34403. #. type: deftp
  34404. #: guix-git/doc/guix.texi:23318
  34405. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  34406. msgstr ""
  34407. #. type: item
  34408. #: guix-git/doc/guix.texi:23320
  34409. #, no-wrap
  34410. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  34411. msgstr ""
  34412. #. type: table
  34413. #: guix-git/doc/guix.texi:23324
  34414. 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})."
  34415. msgstr ""
  34416. #. type: table
  34417. #: guix-git/doc/guix.texi:23327
  34418. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  34419. msgstr ""
  34420. #. type: lisp
  34421. #: guix-git/doc/guix.texi:23332
  34422. #, no-wrap
  34423. msgid ""
  34424. "(service tailon-service-type\n"
  34425. " (tailon-configuration\n"
  34426. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  34427. msgstr ""
  34428. #. type: item
  34429. #: guix-git/doc/guix.texi:23334
  34430. #, no-wrap
  34431. msgid "@code{package} (default: @code{tailon})"
  34432. msgstr ""
  34433. #. type: table
  34434. #: guix-git/doc/guix.texi:23336
  34435. msgid "The tailon package to use."
  34436. msgstr ""
  34437. #. type: deftp
  34438. #: guix-git/doc/guix.texi:23340
  34439. #, no-wrap
  34440. msgid "{Data Type} tailon-configuration-file"
  34441. msgstr ""
  34442. #. type: deftp
  34443. #: guix-git/doc/guix.texi:23343
  34444. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  34445. msgstr ""
  34446. #. type: item
  34447. #: guix-git/doc/guix.texi:23345
  34448. #, no-wrap
  34449. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  34450. msgstr ""
  34451. #. type: table
  34452. #: guix-git/doc/guix.texi:23350
  34453. 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."
  34454. msgstr ""
  34455. #. type: item
  34456. #: guix-git/doc/guix.texi:23351
  34457. #, no-wrap
  34458. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  34459. msgstr ""
  34460. #. type: table
  34461. #: guix-git/doc/guix.texi:23353
  34462. msgid "Address and port to which Tailon should bind on."
  34463. msgstr ""
  34464. #. type: item
  34465. #: guix-git/doc/guix.texi:23354
  34466. #, no-wrap
  34467. msgid "@code{relative-root} (default: @code{#f})"
  34468. msgstr ""
  34469. #. type: table
  34470. #: guix-git/doc/guix.texi:23356
  34471. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  34472. msgstr ""
  34473. #. type: item
  34474. #: guix-git/doc/guix.texi:23357
  34475. #, no-wrap
  34476. msgid "@code{allow-transfers?} (default: @code{#t})"
  34477. msgstr ""
  34478. #. type: table
  34479. #: guix-git/doc/guix.texi:23359
  34480. msgid "Allow downloading the log files in the web interface."
  34481. msgstr ""
  34482. #. type: item
  34483. #: guix-git/doc/guix.texi:23360
  34484. #, no-wrap
  34485. msgid "@code{follow-names?} (default: @code{#t})"
  34486. msgstr ""
  34487. #. type: table
  34488. #: guix-git/doc/guix.texi:23362
  34489. msgid "Allow tailing of not-yet existent files."
  34490. msgstr ""
  34491. #. type: item
  34492. #: guix-git/doc/guix.texi:23363
  34493. #, no-wrap
  34494. msgid "@code{tail-lines} (default: @code{200})"
  34495. msgstr ""
  34496. #. type: table
  34497. #: guix-git/doc/guix.texi:23365
  34498. msgid "Number of lines to read initially from each file."
  34499. msgstr ""
  34500. #. type: item
  34501. #: guix-git/doc/guix.texi:23366
  34502. #, no-wrap
  34503. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  34504. msgstr ""
  34505. #. type: table
  34506. #: guix-git/doc/guix.texi:23368
  34507. msgid "Commands to allow running. By default, @code{sed} is disabled."
  34508. msgstr ""
  34509. #. type: table
  34510. #: guix-git/doc/guix.texi:23371
  34511. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  34512. msgstr ""
  34513. #. type: item
  34514. #: guix-git/doc/guix.texi:23372
  34515. #, no-wrap
  34516. msgid "@code{wrap-lines} (default: @code{#t})"
  34517. msgstr ""
  34518. #. type: table
  34519. #: guix-git/doc/guix.texi:23376
  34520. 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."
  34521. msgstr ""
  34522. #. type: item
  34523. #: guix-git/doc/guix.texi:23377
  34524. #, no-wrap
  34525. msgid "@code{http-auth} (default: @code{#f})"
  34526. msgstr ""
  34527. #. type: table
  34528. #: guix-git/doc/guix.texi:23381
  34529. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  34530. msgstr ""
  34531. #. type: item
  34532. #: guix-git/doc/guix.texi:23382
  34533. #, no-wrap
  34534. msgid "@code{users} (default: @code{#f})"
  34535. msgstr ""
  34536. #. type: table
  34537. #: guix-git/doc/guix.texi:23387
  34538. 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."
  34539. msgstr ""
  34540. #. type: lisp
  34541. #: guix-git/doc/guix.texi:23393
  34542. #, no-wrap
  34543. msgid ""
  34544. "(tailon-configuration-file\n"
  34545. " (http-auth \"basic\")\n"
  34546. " (users '((\"user1\" . \"password1\")\n"
  34547. " (\"user2\" . \"password2\"))))\n"
  34548. msgstr ""
  34549. #. type: subsubheading
  34550. #: guix-git/doc/guix.texi:23399
  34551. #, no-wrap
  34552. msgid "Darkstat Service"
  34553. msgstr ""
  34554. #. type: cindex
  34555. #: guix-git/doc/guix.texi:23400
  34556. #, no-wrap
  34557. msgid "darkstat"
  34558. msgstr ""
  34559. #. type: Plain text
  34560. #: guix-git/doc/guix.texi:23403
  34561. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  34562. msgstr ""
  34563. #. type: defvar
  34564. #: guix-git/doc/guix.texi:23404
  34565. #, no-wrap
  34566. msgid "{Scheme Variable} darkstat-service-type"
  34567. msgstr ""
  34568. #. type: defvar
  34569. #: guix-git/doc/guix.texi:23409
  34570. 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:"
  34571. msgstr ""
  34572. #. type: lisp
  34573. #: guix-git/doc/guix.texi:23414
  34574. #, no-wrap
  34575. msgid ""
  34576. "(service darkstat-service-type\n"
  34577. " (darkstat-configuration\n"
  34578. " (interface \"eno1\")))\n"
  34579. msgstr ""
  34580. #. type: deftp
  34581. #: guix-git/doc/guix.texi:23417
  34582. #, no-wrap
  34583. msgid "{Data Type} darkstat-configuration"
  34584. msgstr ""
  34585. #. type: deftp
  34586. #: guix-git/doc/guix.texi:23419
  34587. msgid "Data type representing the configuration of @command{darkstat}."
  34588. msgstr ""
  34589. #. type: item
  34590. #: guix-git/doc/guix.texi:23421
  34591. #, no-wrap
  34592. msgid "@code{package} (default: @code{darkstat})"
  34593. msgstr ""
  34594. #. type: table
  34595. #: guix-git/doc/guix.texi:23423
  34596. msgid "The darkstat package to use."
  34597. msgstr ""
  34598. #. type: code{#1}
  34599. #: guix-git/doc/guix.texi:23424
  34600. #, no-wrap
  34601. msgid "interface"
  34602. msgstr "연결장치"
  34603. #. type: table
  34604. #: guix-git/doc/guix.texi:23426
  34605. msgid "Capture traffic on the specified network interface."
  34606. msgstr ""
  34607. #. type: item
  34608. #: guix-git/doc/guix.texi:23427
  34609. #, no-wrap
  34610. msgid "@code{port} (default: @code{\"667\"})"
  34611. msgstr ""
  34612. #. type: table
  34613. #: guix-git/doc/guix.texi:23429
  34614. msgid "Bind the web interface to the specified port."
  34615. msgstr ""
  34616. #. type: table
  34617. #: guix-git/doc/guix.texi:23432 guix-git/doc/guix.texi:23467
  34618. msgid "Bind the web interface to the specified address."
  34619. msgstr ""
  34620. #. type: item
  34621. #: guix-git/doc/guix.texi:23433
  34622. #, no-wrap
  34623. msgid "@code{base} (default: @code{\"/\"})"
  34624. msgstr ""
  34625. #. type: table
  34626. #: guix-git/doc/guix.texi:23436
  34627. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  34628. msgstr ""
  34629. #. type: subsubheading
  34630. #: guix-git/doc/guix.texi:23440
  34631. #, no-wrap
  34632. msgid "Prometheus Node Exporter Service"
  34633. msgstr ""
  34634. #. type: cindex
  34635. #: guix-git/doc/guix.texi:23442
  34636. #, no-wrap
  34637. msgid "prometheus-node-exporter"
  34638. msgstr ""
  34639. #. type: Plain text
  34640. #: guix-git/doc/guix.texi:23447
  34641. 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."
  34642. msgstr ""
  34643. #. type: defvar
  34644. #: guix-git/doc/guix.texi:23448
  34645. #, no-wrap
  34646. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  34647. msgstr ""
  34648. #. type: defvar
  34649. #: guix-git/doc/guix.texi:23452
  34650. 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}."
  34651. msgstr ""
  34652. #. type: lisp
  34653. #: guix-git/doc/guix.texi:23455
  34654. #, no-wrap
  34655. msgid "(service prometheus-node-exporter-service-type)\n"
  34656. msgstr ""
  34657. #. type: deftp
  34658. #: guix-git/doc/guix.texi:23458
  34659. #, no-wrap
  34660. msgid "{Data Type} prometheus-node-exporter-configuration"
  34661. msgstr ""
  34662. #. type: deftp
  34663. #: guix-git/doc/guix.texi:23460
  34664. msgid "Data type representing the configuration of @command{node_exporter}."
  34665. msgstr ""
  34666. #. type: item
  34667. #: guix-git/doc/guix.texi:23462
  34668. #, no-wrap
  34669. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  34670. msgstr ""
  34671. #. type: table
  34672. #: guix-git/doc/guix.texi:23464
  34673. msgid "The prometheus-node-exporter package to use."
  34674. msgstr ""
  34675. #. type: item
  34676. #: guix-git/doc/guix.texi:23465
  34677. #, no-wrap
  34678. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  34679. msgstr ""
  34680. #. type: item
  34681. #: guix-git/doc/guix.texi:23468
  34682. #, no-wrap
  34683. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  34684. msgstr ""
  34685. #. type: table
  34686. #: guix-git/doc/guix.texi:23472
  34687. 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."
  34688. msgstr ""
  34689. #. type: table
  34690. #: guix-git/doc/guix.texi:23475
  34691. msgid "Extra options to pass to the Prometheus node exporter."
  34692. msgstr ""
  34693. #. type: subsubheading
  34694. #: guix-git/doc/guix.texi:23479
  34695. #, no-wrap
  34696. msgid "Zabbix server"
  34697. msgstr ""
  34698. #. type: cindex
  34699. #: guix-git/doc/guix.texi:23480
  34700. #, no-wrap
  34701. msgid "zabbix zabbix-server"
  34702. msgstr ""
  34703. #. type: Plain text
  34704. #: guix-git/doc/guix.texi:23483
  34705. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  34706. msgstr ""
  34707. #. type: item
  34708. #: guix-git/doc/guix.texi:23485
  34709. #, no-wrap
  34710. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  34711. msgstr ""
  34712. #. type: item
  34713. #: guix-git/doc/guix.texi:23486
  34714. #, no-wrap
  34715. msgid "Auto-discovery of servers and network devices and interfaces."
  34716. msgstr ""
  34717. #. type: item
  34718. #: guix-git/doc/guix.texi:23487
  34719. #, no-wrap
  34720. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  34721. msgstr ""
  34722. #. type: item
  34723. #: guix-git/doc/guix.texi:23488
  34724. #, no-wrap
  34725. msgid "Distributed monitoring with centralized web administration."
  34726. msgstr ""
  34727. #. type: item
  34728. #: guix-git/doc/guix.texi:23489
  34729. #, no-wrap
  34730. msgid "Native high performance agents."
  34731. msgstr ""
  34732. #. type: item
  34733. #: guix-git/doc/guix.texi:23490
  34734. #, no-wrap
  34735. msgid "SLA, and ITIL KPI metrics on reporting."
  34736. msgstr ""
  34737. #. type: item
  34738. #: guix-git/doc/guix.texi:23491
  34739. #, no-wrap
  34740. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  34741. msgstr ""
  34742. #. type: item
  34743. #: guix-git/doc/guix.texi:23492
  34744. #, no-wrap
  34745. msgid "Remote command execution through Zabbix proxies."
  34746. msgstr ""
  34747. #. type: Plain text
  34748. #: guix-git/doc/guix.texi:23498
  34749. msgid "Available @code{zabbix-server-configuration} fields are:"
  34750. msgstr ""
  34751. #. type: deftypevr
  34752. #: guix-git/doc/guix.texi:23499
  34753. #, no-wrap
  34754. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  34755. msgstr ""
  34756. #. type: deftypevr
  34757. #: guix-git/doc/guix.texi:23501
  34758. msgid "The zabbix-server package."
  34759. msgstr ""
  34760. #. type: deftypevr
  34761. #: guix-git/doc/guix.texi:23504
  34762. #, no-wrap
  34763. msgid "{@code{zabbix-server-configuration} parameter} string user"
  34764. msgstr ""
  34765. #. type: deftypevr
  34766. #: guix-git/doc/guix.texi:23506
  34767. msgid "User who will run the Zabbix server."
  34768. msgstr ""
  34769. #. type: deftypevr
  34770. #: guix-git/doc/guix.texi:23508 guix-git/doc/guix.texi:23515
  34771. #: guix-git/doc/guix.texi:23529 guix-git/doc/guix.texi:23536
  34772. #: guix-git/doc/guix.texi:23637 guix-git/doc/guix.texi:23644
  34773. #: guix-git/doc/guix.texi:23755 guix-git/doc/guix.texi:23762
  34774. msgid "Defaults to @samp{\"zabbix\"}."
  34775. msgstr ""
  34776. #. type: deftypevr
  34777. #: guix-git/doc/guix.texi:23511
  34778. #, no-wrap
  34779. msgid "{@code{zabbix-server-configuration} parameter} group group"
  34780. msgstr ""
  34781. #. type: deftypevr
  34782. #: guix-git/doc/guix.texi:23513
  34783. msgid "Group who will run the Zabbix server."
  34784. msgstr ""
  34785. #. type: deftypevr
  34786. #: guix-git/doc/guix.texi:23518
  34787. #, no-wrap
  34788. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  34789. msgstr ""
  34790. #. type: deftypevr
  34791. #: guix-git/doc/guix.texi:23520 guix-git/doc/guix.texi:23739
  34792. msgid "Database host name."
  34793. msgstr ""
  34794. #. type: deftypevr
  34795. #: guix-git/doc/guix.texi:23522
  34796. msgid "Defaults to @samp{\"127.0.0.1\"}."
  34797. msgstr ""
  34798. #. type: deftypevr
  34799. #: guix-git/doc/guix.texi:23525
  34800. #, no-wrap
  34801. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  34802. msgstr ""
  34803. #. type: deftypevr
  34804. #: guix-git/doc/guix.texi:23527 guix-git/doc/guix.texi:23753
  34805. msgid "Database name."
  34806. msgstr ""
  34807. #. type: deftypevr
  34808. #: guix-git/doc/guix.texi:23532
  34809. #, no-wrap
  34810. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  34811. msgstr ""
  34812. #. type: deftypevr
  34813. #: guix-git/doc/guix.texi:23534 guix-git/doc/guix.texi:23760
  34814. msgid "Database user."
  34815. msgstr ""
  34816. #. type: deftypevr
  34817. #: guix-git/doc/guix.texi:23539
  34818. #, no-wrap
  34819. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  34820. msgstr ""
  34821. #. type: deftypevr
  34822. #: guix-git/doc/guix.texi:23542
  34823. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  34824. msgstr ""
  34825. #. type: deftypevr
  34826. #: guix-git/doc/guix.texi:23547
  34827. #, no-wrap
  34828. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  34829. msgstr ""
  34830. #. type: deftypevr
  34831. #: guix-git/doc/guix.texi:23549 guix-git/doc/guix.texi:23746
  34832. msgid "Database port."
  34833. msgstr ""
  34834. #. type: deftypevr
  34835. #: guix-git/doc/guix.texi:23551 guix-git/doc/guix.texi:23748
  34836. msgid "Defaults to @samp{5432}."
  34837. msgstr ""
  34838. #. type: deftypevr
  34839. #: guix-git/doc/guix.texi:23554
  34840. #, no-wrap
  34841. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  34842. msgstr ""
  34843. #. type: deftypevr
  34844. #: guix-git/doc/guix.texi:23556 guix-git/doc/guix.texi:23657
  34845. msgid "Specifies where log messages are written to:"
  34846. msgstr ""
  34847. #. type: itemize
  34848. #: guix-git/doc/guix.texi:23560 guix-git/doc/guix.texi:23661
  34849. msgid "@code{system} - syslog."
  34850. msgstr ""
  34851. #. type: itemize
  34852. #: guix-git/doc/guix.texi:23563 guix-git/doc/guix.texi:23664
  34853. msgid "@code{file} - file specified with @code{log-file} parameter."
  34854. msgstr ""
  34855. #. type: itemize
  34856. #: guix-git/doc/guix.texi:23566 guix-git/doc/guix.texi:23667
  34857. msgid "@code{console} - standard output."
  34858. msgstr ""
  34859. #. type: deftypevr
  34860. #: guix-git/doc/guix.texi:23573
  34861. #, no-wrap
  34862. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  34863. msgstr ""
  34864. #. type: deftypevr
  34865. #: guix-git/doc/guix.texi:23575 guix-git/doc/guix.texi:23676
  34866. msgid "Log file name for @code{log-type} @code{file} parameter."
  34867. msgstr ""
  34868. #. type: deftypevr
  34869. #: guix-git/doc/guix.texi:23577
  34870. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  34871. msgstr ""
  34872. #. type: deftypevr
  34873. #: guix-git/doc/guix.texi:23580
  34874. #, no-wrap
  34875. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  34876. msgstr ""
  34877. #. type: deftypevr
  34878. #: guix-git/doc/guix.texi:23582 guix-git/doc/guix.texi:23683
  34879. msgid "Name of PID file."
  34880. msgstr ""
  34881. #. type: deftypevr
  34882. #: guix-git/doc/guix.texi:23584
  34883. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  34884. msgstr ""
  34885. #. type: deftypevr
  34886. #: guix-git/doc/guix.texi:23587
  34887. #, no-wrap
  34888. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  34889. msgstr ""
  34890. #. type: deftypevr
  34891. #: guix-git/doc/guix.texi:23590
  34892. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  34893. msgstr ""
  34894. #. type: deftypevr
  34895. #: guix-git/doc/guix.texi:23592
  34896. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  34897. msgstr ""
  34898. #. type: deftypevr
  34899. #: guix-git/doc/guix.texi:23595
  34900. #, no-wrap
  34901. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  34902. msgstr ""
  34903. #. type: deftypevr
  34904. #: guix-git/doc/guix.texi:23597
  34905. msgid "Location of SSL client certificates."
  34906. msgstr ""
  34907. #. type: deftypevr
  34908. #: guix-git/doc/guix.texi:23599
  34909. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  34910. msgstr ""
  34911. #. type: deftypevr
  34912. #: guix-git/doc/guix.texi:23602
  34913. #, no-wrap
  34914. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  34915. msgstr ""
  34916. #. type: deftypevr
  34917. #: guix-git/doc/guix.texi:23604 guix-git/doc/guix.texi:23708
  34918. msgid "Extra options will be appended to Zabbix server configuration file."
  34919. msgstr ""
  34920. #. type: deftypevr
  34921. #: guix-git/doc/guix.texi:23609
  34922. #, no-wrap
  34923. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  34924. msgstr ""
  34925. #. type: deftypevr
  34926. #: guix-git/doc/guix.texi:23612 guix-git/doc/guix.texi:23716
  34927. msgid "You may include individual files or all files in a directory in the configuration file."
  34928. msgstr ""
  34929. #. type: subsubheading
  34930. #: guix-git/doc/guix.texi:23619
  34931. #, no-wrap
  34932. msgid "Zabbix agent"
  34933. msgstr ""
  34934. #. type: cindex
  34935. #: guix-git/doc/guix.texi:23620
  34936. #, no-wrap
  34937. msgid "zabbix zabbix-agent"
  34938. msgstr ""
  34939. #. type: Plain text
  34940. #: guix-git/doc/guix.texi:23623
  34941. msgid "Zabbix agent gathers information for Zabbix server."
  34942. msgstr ""
  34943. #. type: Plain text
  34944. #: guix-git/doc/guix.texi:23627
  34945. msgid "Available @code{zabbix-agent-configuration} fields are:"
  34946. msgstr ""
  34947. #. type: deftypevr
  34948. #: guix-git/doc/guix.texi:23628
  34949. #, no-wrap
  34950. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  34951. msgstr ""
  34952. #. type: deftypevr
  34953. #: guix-git/doc/guix.texi:23630
  34954. msgid "The zabbix-agent package."
  34955. msgstr ""
  34956. #. type: deftypevr
  34957. #: guix-git/doc/guix.texi:23633
  34958. #, no-wrap
  34959. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  34960. msgstr ""
  34961. #. type: deftypevr
  34962. #: guix-git/doc/guix.texi:23635
  34963. msgid "User who will run the Zabbix agent."
  34964. msgstr ""
  34965. #. type: deftypevr
  34966. #: guix-git/doc/guix.texi:23640
  34967. #, no-wrap
  34968. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  34969. msgstr ""
  34970. #. type: deftypevr
  34971. #: guix-git/doc/guix.texi:23642
  34972. msgid "Group who will run the Zabbix agent."
  34973. msgstr ""
  34974. #. type: deftypevr
  34975. #: guix-git/doc/guix.texi:23647
  34976. #, no-wrap
  34977. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  34978. msgstr ""
  34979. #. type: deftypevr
  34980. #: guix-git/doc/guix.texi:23650
  34981. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  34982. msgstr ""
  34983. #. type: deftypevr
  34984. #: guix-git/doc/guix.texi:23655
  34985. #, no-wrap
  34986. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  34987. msgstr ""
  34988. #. type: deftypevr
  34989. #: guix-git/doc/guix.texi:23674
  34990. #, no-wrap
  34991. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  34992. msgstr ""
  34993. #. type: deftypevr
  34994. #: guix-git/doc/guix.texi:23678
  34995. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  34996. msgstr ""
  34997. #. type: deftypevr
  34998. #: guix-git/doc/guix.texi:23681
  34999. #, no-wrap
  35000. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  35001. msgstr ""
  35002. #. type: deftypevr
  35003. #: guix-git/doc/guix.texi:23685
  35004. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  35005. msgstr ""
  35006. #. type: deftypevr
  35007. #: guix-git/doc/guix.texi:23688
  35008. #, no-wrap
  35009. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  35010. msgstr ""
  35011. #. type: deftypevr
  35012. #: guix-git/doc/guix.texi:23692
  35013. 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."
  35014. msgstr ""
  35015. #. type: deftypevr
  35016. #: guix-git/doc/guix.texi:23694 guix-git/doc/guix.texi:23703
  35017. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  35018. msgstr ""
  35019. #. type: deftypevr
  35020. #: guix-git/doc/guix.texi:23697
  35021. #, no-wrap
  35022. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  35023. msgstr ""
  35024. #. type: deftypevr
  35025. #: guix-git/doc/guix.texi:23701
  35026. 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."
  35027. msgstr ""
  35028. #. type: deftypevr
  35029. #: guix-git/doc/guix.texi:23706
  35030. #, no-wrap
  35031. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  35032. msgstr ""
  35033. #. type: deftypevr
  35034. #: guix-git/doc/guix.texi:23713
  35035. #, no-wrap
  35036. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  35037. msgstr ""
  35038. #. type: subsubheading
  35039. #: guix-git/doc/guix.texi:23723
  35040. #, no-wrap
  35041. msgid "Zabbix front-end"
  35042. msgstr ""
  35043. #. type: cindex
  35044. #: guix-git/doc/guix.texi:23724
  35045. #, no-wrap
  35046. msgid "zabbix zabbix-front-end"
  35047. msgstr ""
  35048. #. type: Plain text
  35049. #: guix-git/doc/guix.texi:23727
  35050. msgid "This service provides a WEB interface to Zabbix server."
  35051. msgstr ""
  35052. #. type: Plain text
  35053. #: guix-git/doc/guix.texi:23731
  35054. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  35055. msgstr ""
  35056. #. type: deftypevr
  35057. #: guix-git/doc/guix.texi:23732
  35058. #, no-wrap
  35059. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  35060. msgstr ""
  35061. #. type: deftypevr
  35062. #: guix-git/doc/guix.texi:23734 guix-git/doc/guix.texi:29896
  35063. msgid "NGINX configuration."
  35064. msgstr ""
  35065. #. type: deftypevr
  35066. #: guix-git/doc/guix.texi:23737
  35067. #, no-wrap
  35068. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  35069. msgstr ""
  35070. #. type: deftypevr
  35071. #: guix-git/doc/guix.texi:23744
  35072. #, no-wrap
  35073. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  35074. msgstr ""
  35075. #. type: deftypevr
  35076. #: guix-git/doc/guix.texi:23751
  35077. #, no-wrap
  35078. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  35079. msgstr ""
  35080. #. type: deftypevr
  35081. #: guix-git/doc/guix.texi:23758
  35082. #, no-wrap
  35083. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  35084. msgstr ""
  35085. #. type: deftypevr
  35086. #: guix-git/doc/guix.texi:23765
  35087. #, no-wrap
  35088. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  35089. msgstr ""
  35090. #. type: deftypevr
  35091. #: guix-git/doc/guix.texi:23767
  35092. msgid "Database password. Please, use @code{db-secret-file} instead."
  35093. msgstr ""
  35094. #. type: deftypevr
  35095. #: guix-git/doc/guix.texi:23772
  35096. #, no-wrap
  35097. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  35098. msgstr ""
  35099. #. type: deftypevr
  35100. #: guix-git/doc/guix.texi:23777
  35101. 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']}."
  35102. msgstr ""
  35103. #. type: deftypevr
  35104. #: guix-git/doc/guix.texi:23782
  35105. #, no-wrap
  35106. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  35107. msgstr ""
  35108. #. type: deftypevr
  35109. #: guix-git/doc/guix.texi:23784
  35110. msgid "Zabbix server hostname."
  35111. msgstr ""
  35112. #. type: deftypevr
  35113. #: guix-git/doc/guix.texi:23789
  35114. #, no-wrap
  35115. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  35116. msgstr ""
  35117. #. type: deftypevr
  35118. #: guix-git/doc/guix.texi:23791
  35119. msgid "Zabbix server port."
  35120. msgstr ""
  35121. #. type: deftypevr
  35122. #: guix-git/doc/guix.texi:23793
  35123. msgid "Defaults to @samp{10051}."
  35124. msgstr ""
  35125. #. type: cindex
  35126. #: guix-git/doc/guix.texi:23801
  35127. #, no-wrap
  35128. msgid "Kerberos"
  35129. msgstr ""
  35130. #. type: Plain text
  35131. #: guix-git/doc/guix.texi:23805
  35132. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  35133. msgstr ""
  35134. #. type: subsubheading
  35135. #: guix-git/doc/guix.texi:23806
  35136. #, no-wrap
  35137. msgid "Krb5 Service"
  35138. msgstr ""
  35139. #. type: Plain text
  35140. #: guix-git/doc/guix.texi:23813
  35141. 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."
  35142. msgstr ""
  35143. #. type: Plain text
  35144. #: guix-git/doc/guix.texi:23817
  35145. 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."
  35146. msgstr ""
  35147. #. type: defvr
  35148. #: guix-git/doc/guix.texi:23818
  35149. #, no-wrap
  35150. msgid "{Scheme Variable} krb5-service-type"
  35151. msgstr ""
  35152. #. type: defvr
  35153. #: guix-git/doc/guix.texi:23820
  35154. msgid "A service type for Kerberos 5 clients."
  35155. msgstr ""
  35156. #. type: Plain text
  35157. #: guix-git/doc/guix.texi:23824
  35158. msgid "Here is an example of its use:"
  35159. msgstr ""
  35160. #. type: lisp
  35161. #: guix-git/doc/guix.texi:23838
  35162. #, no-wrap
  35163. msgid ""
  35164. "(service krb5-service-type\n"
  35165. " (krb5-configuration\n"
  35166. " (default-realm \"EXAMPLE.COM\")\n"
  35167. " (allow-weak-crypto? #t)\n"
  35168. " (realms (list\n"
  35169. " (krb5-realm\n"
  35170. " (name \"EXAMPLE.COM\")\n"
  35171. " (admin-server \"groucho.example.com\")\n"
  35172. " (kdc \"karl.example.com\"))\n"
  35173. " (krb5-realm\n"
  35174. " (name \"ARGRX.EDU\")\n"
  35175. " (admin-server \"kerb-admin.argrx.edu\")\n"
  35176. " (kdc \"keys.argrx.edu\"))))))\n"
  35177. msgstr ""
  35178. #. type: Plain text
  35179. #: guix-git/doc/guix.texi:23842
  35180. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  35181. msgstr ""
  35182. #. type: item
  35183. #: guix-git/doc/guix.texi:23843
  35184. #, no-wrap
  35185. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  35186. msgstr ""
  35187. #. type: itemize
  35188. #: guix-git/doc/guix.texi:23845
  35189. msgid "of which have distinct administration servers and key distribution centers;"
  35190. msgstr ""
  35191. #. type: item
  35192. #: guix-git/doc/guix.texi:23845
  35193. #, no-wrap
  35194. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  35195. msgstr ""
  35196. #. type: itemize
  35197. #: guix-git/doc/guix.texi:23847
  35198. msgid "specified by clients;"
  35199. msgstr ""
  35200. #. type: item
  35201. #: guix-git/doc/guix.texi:23847
  35202. #, no-wrap
  35203. msgid "Accepts services which only support encryption types known to be weak."
  35204. msgstr ""
  35205. #. type: Plain text
  35206. #: guix-git/doc/guix.texi:23855
  35207. 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."
  35208. msgstr ""
  35209. #. type: deftp
  35210. #: guix-git/doc/guix.texi:23857
  35211. #, no-wrap
  35212. msgid "{Data Type} krb5-realm"
  35213. msgstr ""
  35214. #. type: cindex
  35215. #: guix-git/doc/guix.texi:23858
  35216. #, no-wrap
  35217. msgid "realm, kerberos"
  35218. msgstr ""
  35219. #. type: table
  35220. #: guix-git/doc/guix.texi:23864
  35221. 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."
  35222. msgstr ""
  35223. #. type: code{#1}
  35224. #: guix-git/doc/guix.texi:23865
  35225. #, no-wrap
  35226. msgid "admin-server"
  35227. msgstr ""
  35228. #. type: table
  35229. #: guix-git/doc/guix.texi:23868
  35230. msgid "This field is a string identifying the host where the administration server is running."
  35231. msgstr ""
  35232. #. type: code{#1}
  35233. #: guix-git/doc/guix.texi:23869
  35234. #, no-wrap
  35235. msgid "kdc"
  35236. msgstr ""
  35237. #. type: table
  35238. #: guix-git/doc/guix.texi:23872
  35239. msgid "This field is a string identifying the key distribution center for the realm."
  35240. msgstr ""
  35241. #. type: deftp
  35242. #: guix-git/doc/guix.texi:23875
  35243. #, no-wrap
  35244. msgid "{Data Type} krb5-configuration"
  35245. msgstr ""
  35246. #. type: item
  35247. #: guix-git/doc/guix.texi:23878
  35248. #, no-wrap
  35249. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  35250. msgstr ""
  35251. #. type: table
  35252. #: guix-git/doc/guix.texi:23881
  35253. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  35254. msgstr ""
  35255. #. type: item
  35256. #: guix-git/doc/guix.texi:23882
  35257. #, no-wrap
  35258. msgid "@code{default-realm} (default: @code{#f})"
  35259. msgstr ""
  35260. #. type: table
  35261. #: guix-git/doc/guix.texi:23889
  35262. 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}."
  35263. msgstr ""
  35264. #. type: code{#1}
  35265. #: guix-git/doc/guix.texi:23890
  35266. #, no-wrap
  35267. msgid "realms"
  35268. msgstr ""
  35269. #. type: table
  35270. #: guix-git/doc/guix.texi:23895
  35271. 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."
  35272. msgstr ""
  35273. #. type: subsubheading
  35274. #: guix-git/doc/guix.texi:23899
  35275. #, no-wrap
  35276. msgid "PAM krb5 Service"
  35277. msgstr ""
  35278. #. type: cindex
  35279. #: guix-git/doc/guix.texi:23900
  35280. #, no-wrap
  35281. msgid "pam-krb5"
  35282. msgstr ""
  35283. #. type: Plain text
  35284. #: guix-git/doc/guix.texi:23906
  35285. 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."
  35286. msgstr ""
  35287. #. type: defvr
  35288. #: guix-git/doc/guix.texi:23907
  35289. #, no-wrap
  35290. msgid "{Scheme Variable} pam-krb5-service-type"
  35291. msgstr ""
  35292. #. type: defvr
  35293. #: guix-git/doc/guix.texi:23909
  35294. msgid "A service type for the Kerberos 5 PAM module."
  35295. msgstr ""
  35296. #. type: deftp
  35297. #: guix-git/doc/guix.texi:23911
  35298. #, no-wrap
  35299. msgid "{Data Type} pam-krb5-configuration"
  35300. msgstr ""
  35301. #. type: deftp
  35302. #: guix-git/doc/guix.texi:23914
  35303. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  35304. msgstr ""
  35305. #. type: item
  35306. #: guix-git/doc/guix.texi:23915
  35307. #, no-wrap
  35308. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  35309. msgstr ""
  35310. #. type: table
  35311. #: guix-git/doc/guix.texi:23917
  35312. msgid "The pam-krb5 package to use."
  35313. msgstr ""
  35314. #. type: item
  35315. #: guix-git/doc/guix.texi:23918
  35316. #, no-wrap
  35317. msgid "@code{minimum-uid} (default: @code{1000})"
  35318. msgstr ""
  35319. #. type: table
  35320. #: guix-git/doc/guix.texi:23921
  35321. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  35322. msgstr ""
  35323. #. type: cindex
  35324. #: guix-git/doc/guix.texi:23927
  35325. #, no-wrap
  35326. msgid "LDAP"
  35327. msgstr ""
  35328. #. type: cindex
  35329. #: guix-git/doc/guix.texi:23928
  35330. #, no-wrap
  35331. msgid "nslcd, LDAP service"
  35332. msgstr ""
  35333. #. type: Plain text
  35334. #: guix-git/doc/guix.texi:23935
  35335. 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."
  35336. msgstr ""
  35337. #. type: Plain text
  35338. #: guix-git/doc/guix.texi:23939
  35339. 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:"
  35340. msgstr ""
  35341. #. type: lisp
  35342. #: guix-git/doc/guix.texi:23962
  35343. #, no-wrap
  35344. msgid ""
  35345. "(use-service-modules authentication)\n"
  35346. "(use-modules (gnu system nss))\n"
  35347. "...\n"
  35348. "(operating-system\n"
  35349. " ...\n"
  35350. " (services\n"
  35351. " (cons*\n"
  35352. " (service nslcd-service-type)\n"
  35353. " (service dhcp-client-service-type)\n"
  35354. " %base-services))\n"
  35355. " (name-service-switch\n"
  35356. " (let ((services (list (name-service (name \"db\"))\n"
  35357. " (name-service (name \"files\"))\n"
  35358. " (name-service (name \"ldap\")))))\n"
  35359. " (name-service-switch\n"
  35360. " (inherit %mdns-host-lookup-nss)\n"
  35361. " (password services)\n"
  35362. " (shadow services)\n"
  35363. " (group services)\n"
  35364. " (netgroup services)\n"
  35365. " (gshadow services)))))\n"
  35366. msgstr ""
  35367. #. type: Plain text
  35368. #: guix-git/doc/guix.texi:23967
  35369. msgid "Available @code{nslcd-configuration} fields are:"
  35370. msgstr ""
  35371. #. type: deftypevr
  35372. #: guix-git/doc/guix.texi:23968
  35373. #, no-wrap
  35374. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  35375. msgstr ""
  35376. #. type: deftypevr
  35377. #: guix-git/doc/guix.texi:23970
  35378. msgid "The @code{nss-pam-ldapd} package to use."
  35379. msgstr ""
  35380. #. type: deftypevr
  35381. #: guix-git/doc/guix.texi:23973
  35382. #, no-wrap
  35383. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  35384. msgstr ""
  35385. #. type: deftypevr
  35386. #: guix-git/doc/guix.texi:23977
  35387. 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."
  35388. msgstr ""
  35389. #. type: deftypevr
  35390. #: guix-git/doc/guix.texi:23982
  35391. #, no-wrap
  35392. msgid "{@code{nslcd-configuration} parameter} string uid"
  35393. msgstr ""
  35394. #. type: deftypevr
  35395. #: guix-git/doc/guix.texi:23984
  35396. msgid "This specifies the user id with which the daemon should be run."
  35397. msgstr ""
  35398. #. type: deftypevr
  35399. #: guix-git/doc/guix.texi:23986 guix-git/doc/guix.texi:23993
  35400. msgid "Defaults to @samp{\"nslcd\"}."
  35401. msgstr ""
  35402. #. type: deftypevr
  35403. #: guix-git/doc/guix.texi:23989
  35404. #, no-wrap
  35405. msgid "{@code{nslcd-configuration} parameter} string gid"
  35406. msgstr ""
  35407. #. type: deftypevr
  35408. #: guix-git/doc/guix.texi:23991
  35409. msgid "This specifies the group id with which the daemon should be run."
  35410. msgstr ""
  35411. #. type: deftypevr
  35412. #: guix-git/doc/guix.texi:23996
  35413. #, no-wrap
  35414. msgid "{@code{nslcd-configuration} parameter} log-option log"
  35415. msgstr ""
  35416. #. type: deftypevr
  35417. #: guix-git/doc/guix.texi:24004
  35418. 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."
  35419. msgstr ""
  35420. #. type: deftypevr
  35421. #: guix-git/doc/guix.texi:24006
  35422. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  35423. msgstr ""
  35424. #. type: deftypevr
  35425. #: guix-git/doc/guix.texi:24009
  35426. #, no-wrap
  35427. msgid "{@code{nslcd-configuration} parameter} list uri"
  35428. msgstr ""
  35429. #. type: deftypevr
  35430. #: guix-git/doc/guix.texi:24012
  35431. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  35432. msgstr ""
  35433. #. type: deftypevr
  35434. #: guix-git/doc/guix.texi:24014
  35435. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  35436. msgstr ""
  35437. #. type: deftypevr
  35438. #: guix-git/doc/guix.texi:24017
  35439. #, no-wrap
  35440. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  35441. msgstr ""
  35442. #. type: deftypevr
  35443. #: guix-git/doc/guix.texi:24020
  35444. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  35445. msgstr ""
  35446. #. type: deftypevr
  35447. #: guix-git/doc/guix.texi:24025
  35448. #, no-wrap
  35449. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  35450. msgstr ""
  35451. #. type: deftypevr
  35452. #: guix-git/doc/guix.texi:24028
  35453. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  35454. msgstr ""
  35455. #. type: deftypevr
  35456. #: guix-git/doc/guix.texi:24033
  35457. #, no-wrap
  35458. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  35459. msgstr ""
  35460. #. type: deftypevr
  35461. #: guix-git/doc/guix.texi:24036
  35462. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  35463. msgstr ""
  35464. #. type: deftypevr
  35465. #: guix-git/doc/guix.texi:24041
  35466. #, no-wrap
  35467. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  35468. msgstr ""
  35469. #. type: deftypevr
  35470. #: guix-git/doc/guix.texi:24044
  35471. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  35472. msgstr ""
  35473. #. type: deftypevr
  35474. #: guix-git/doc/guix.texi:24049
  35475. #, no-wrap
  35476. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  35477. msgstr ""
  35478. #. type: deftypevr
  35479. #: guix-git/doc/guix.texi:24053
  35480. 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"
  35481. msgstr ""
  35482. #. type: deftypevr
  35483. #: guix-git/doc/guix.texi:24058
  35484. #, no-wrap
  35485. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  35486. msgstr ""
  35487. #. type: deftypevr
  35488. #: guix-git/doc/guix.texi:24061
  35489. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  35490. msgstr ""
  35491. #. type: deftypevr
  35492. #: guix-git/doc/guix.texi:24066
  35493. #, no-wrap
  35494. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  35495. msgstr ""
  35496. #. type: deftypevr
  35497. #: guix-git/doc/guix.texi:24068
  35498. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  35499. msgstr ""
  35500. #. type: deftypevr
  35501. #: guix-git/doc/guix.texi:24073
  35502. #, no-wrap
  35503. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  35504. msgstr ""
  35505. #. type: deftypevr
  35506. #: guix-git/doc/guix.texi:24076
  35507. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  35508. msgstr ""
  35509. #. type: deftypevr
  35510. #: guix-git/doc/guix.texi:24081
  35511. #, no-wrap
  35512. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  35513. msgstr ""
  35514. #. type: deftypevr
  35515. #: guix-git/doc/guix.texi:24084
  35516. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  35517. msgstr ""
  35518. #. type: deftypevr
  35519. #: guix-git/doc/guix.texi:24089
  35520. #, no-wrap
  35521. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  35522. msgstr ""
  35523. #. type: deftypevr
  35524. #: guix-git/doc/guix.texi:24094
  35525. 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."
  35526. msgstr ""
  35527. #. type: deftypevr
  35528. #: guix-git/doc/guix.texi:24099
  35529. #, no-wrap
  35530. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  35531. msgstr ""
  35532. #. type: deftypevr
  35533. #: guix-git/doc/guix.texi:24101
  35534. msgid "Set the name for the GSS-API Kerberos credentials cache."
  35535. msgstr ""
  35536. #. type: deftypevr
  35537. #: guix-git/doc/guix.texi:24106
  35538. #, no-wrap
  35539. msgid "{@code{nslcd-configuration} parameter} string base"
  35540. msgstr ""
  35541. #. type: deftypevr
  35542. #: guix-git/doc/guix.texi:24108
  35543. msgid "The directory search base."
  35544. msgstr ""
  35545. #. type: deftypevr
  35546. #: guix-git/doc/guix.texi:24110
  35547. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  35548. msgstr ""
  35549. #. type: deftypevr
  35550. #: guix-git/doc/guix.texi:24113
  35551. #, no-wrap
  35552. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  35553. msgstr ""
  35554. #. type: deftypevr
  35555. #: guix-git/doc/guix.texi:24117
  35556. 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."
  35557. msgstr ""
  35558. #. type: deftypevr
  35559. #: guix-git/doc/guix.texi:24119
  35560. msgid "Defaults to @samp{(subtree)}."
  35561. msgstr ""
  35562. #. type: deftypevr
  35563. #: guix-git/doc/guix.texi:24122
  35564. #, no-wrap
  35565. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  35566. msgstr ""
  35567. #. type: deftypevr
  35568. #: guix-git/doc/guix.texi:24125
  35569. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  35570. msgstr ""
  35571. #. type: deftypevr
  35572. #: guix-git/doc/guix.texi:24130
  35573. #, no-wrap
  35574. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  35575. msgstr ""
  35576. #. type: deftypevr
  35577. #: guix-git/doc/guix.texi:24133
  35578. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  35579. msgstr ""
  35580. #. type: deftypevr
  35581. #: guix-git/doc/guix.texi:24138
  35582. #, no-wrap
  35583. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  35584. msgstr ""
  35585. #. type: deftypevr
  35586. #: guix-git/doc/guix.texi:24143
  35587. 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."
  35588. msgstr ""
  35589. #. type: deftypevr
  35590. #: guix-git/doc/guix.texi:24148
  35591. #, no-wrap
  35592. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  35593. msgstr ""
  35594. #. type: deftypevr
  35595. #: guix-git/doc/guix.texi:24151
  35596. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  35597. msgstr ""
  35598. #. type: deftypevr
  35599. #: guix-git/doc/guix.texi:24156
  35600. #, no-wrap
  35601. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  35602. msgstr ""
  35603. #. type: deftypevr
  35604. #: guix-git/doc/guix.texi:24159
  35605. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  35606. msgstr ""
  35607. #. type: deftypevr
  35608. #: guix-git/doc/guix.texi:24164
  35609. #, no-wrap
  35610. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  35611. msgstr ""
  35612. #. type: deftypevr
  35613. #: guix-git/doc/guix.texi:24168
  35614. 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."
  35615. msgstr ""
  35616. #. type: deftypevr
  35617. #: guix-git/doc/guix.texi:24173
  35618. #, no-wrap
  35619. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  35620. msgstr ""
  35621. #. type: deftypevr
  35622. #: guix-git/doc/guix.texi:24177
  35623. 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."
  35624. msgstr ""
  35625. #. type: deftypevr
  35626. #: guix-git/doc/guix.texi:24182
  35627. #, no-wrap
  35628. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  35629. msgstr ""
  35630. #. type: deftypevr
  35631. #: guix-git/doc/guix.texi:24186
  35632. 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."
  35633. msgstr ""
  35634. #. type: deftypevr
  35635. #: guix-git/doc/guix.texi:24191
  35636. #, no-wrap
  35637. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  35638. msgstr ""
  35639. #. type: deftypevr
  35640. #: guix-git/doc/guix.texi:24195
  35641. 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."
  35642. msgstr ""
  35643. #. type: deftypevr
  35644. #: guix-git/doc/guix.texi:24200
  35645. #, no-wrap
  35646. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  35647. msgstr ""
  35648. #. type: deftypevr
  35649. #: guix-git/doc/guix.texi:24204
  35650. 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."
  35651. msgstr ""
  35652. #. type: deftypevr
  35653. #: guix-git/doc/guix.texi:24209
  35654. #, no-wrap
  35655. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  35656. msgstr ""
  35657. #. type: deftypevr
  35658. #: guix-git/doc/guix.texi:24212
  35659. 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."
  35660. msgstr ""
  35661. #. type: deftypevr
  35662. #: guix-git/doc/guix.texi:24217
  35663. #, no-wrap
  35664. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  35665. msgstr ""
  35666. #. type: deftypevr
  35667. #: guix-git/doc/guix.texi:24220
  35668. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  35669. msgstr ""
  35670. #. type: deftypevr
  35671. #: guix-git/doc/guix.texi:24225
  35672. #, no-wrap
  35673. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  35674. msgstr ""
  35675. #. type: deftypevr
  35676. #: guix-git/doc/guix.texi:24227
  35677. msgid "Specifies the path to the X.509 certificate for peer authentication."
  35678. msgstr ""
  35679. #. type: deftypevr
  35680. #: guix-git/doc/guix.texi:24232
  35681. #, no-wrap
  35682. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  35683. msgstr ""
  35684. #. type: deftypevr
  35685. #: guix-git/doc/guix.texi:24235
  35686. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  35687. msgstr ""
  35688. #. type: deftypevr
  35689. #: guix-git/doc/guix.texi:24240
  35690. #, no-wrap
  35691. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  35692. msgstr ""
  35693. #. type: deftypevr
  35694. #: guix-git/doc/guix.texi:24242
  35695. msgid "Specifies the ciphers to use for TLS as a string."
  35696. msgstr ""
  35697. #. type: deftypevr
  35698. #: guix-git/doc/guix.texi:24247
  35699. #, no-wrap
  35700. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  35701. msgstr ""
  35702. #. type: deftypevr
  35703. #: guix-git/doc/guix.texi:24250
  35704. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  35705. msgstr ""
  35706. #. type: deftypevr
  35707. #: guix-git/doc/guix.texi:24255
  35708. #, no-wrap
  35709. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  35710. msgstr ""
  35711. #. type: deftypevr
  35712. #: guix-git/doc/guix.texi:24258
  35713. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  35714. msgstr ""
  35715. #. type: deftypevr
  35716. #: guix-git/doc/guix.texi:24263
  35717. #, no-wrap
  35718. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  35719. msgstr ""
  35720. #. type: deftypevr
  35721. #: guix-git/doc/guix.texi:24267
  35722. 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."
  35723. msgstr ""
  35724. #. type: deftypevr
  35725. #: guix-git/doc/guix.texi:24272
  35726. #, no-wrap
  35727. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  35728. msgstr ""
  35729. #. type: deftypevr
  35730. #: guix-git/doc/guix.texi:24276
  35731. 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."
  35732. msgstr ""
  35733. #. type: deftypevr
  35734. #: guix-git/doc/guix.texi:24281
  35735. #, no-wrap
  35736. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  35737. msgstr ""
  35738. #. type: deftypevr
  35739. #: guix-git/doc/guix.texi:24284
  35740. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  35741. msgstr ""
  35742. #. type: deftypevr
  35743. #: guix-git/doc/guix.texi:24289
  35744. #, no-wrap
  35745. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  35746. msgstr ""
  35747. #. type: deftypevr
  35748. #: guix-git/doc/guix.texi:24292
  35749. 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."
  35750. msgstr ""
  35751. #. type: deftypevr
  35752. #: guix-git/doc/guix.texi:24297
  35753. #, no-wrap
  35754. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  35755. msgstr ""
  35756. #. type: deftypevr
  35757. #: guix-git/doc/guix.texi:24300
  35758. 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."
  35759. msgstr ""
  35760. #. type: deftypevr
  35761. #: guix-git/doc/guix.texi:24305
  35762. #, no-wrap
  35763. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  35764. msgstr ""
  35765. #. type: deftypevr
  35766. #: guix-git/doc/guix.texi:24311
  35767. 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."
  35768. msgstr ""
  35769. #. type: deftypevr
  35770. #: guix-git/doc/guix.texi:24316
  35771. #, no-wrap
  35772. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  35773. msgstr ""
  35774. #. type: deftypevr
  35775. #: guix-git/doc/guix.texi:24321
  35776. 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."
  35777. msgstr ""
  35778. #. type: deftypevr
  35779. #: guix-git/doc/guix.texi:24326
  35780. #, no-wrap
  35781. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  35782. msgstr ""
  35783. #. type: deftypevr
  35784. #: guix-git/doc/guix.texi:24332
  35785. 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."
  35786. msgstr ""
  35787. #. type: deftypevr
  35788. #: guix-git/doc/guix.texi:24337
  35789. #, no-wrap
  35790. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  35791. msgstr ""
  35792. #. type: deftypevr
  35793. #: guix-git/doc/guix.texi:24341
  35794. 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."
  35795. msgstr ""
  35796. #. type: deftypevr
  35797. #: guix-git/doc/guix.texi:24346
  35798. #, no-wrap
  35799. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  35800. msgstr ""
  35801. #. type: deftypevr
  35802. #: guix-git/doc/guix.texi:24351
  35803. 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."
  35804. msgstr ""
  35805. #. type: deftypevr
  35806. #: guix-git/doc/guix.texi:24356
  35807. #, no-wrap
  35808. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  35809. msgstr ""
  35810. #. type: deftypevr
  35811. #: guix-git/doc/guix.texi:24359
  35812. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  35813. msgstr ""
  35814. #. type: deftypevr
  35815. #: guix-git/doc/guix.texi:24364
  35816. #, no-wrap
  35817. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  35818. msgstr ""
  35819. #. type: deftypevr
  35820. #: guix-git/doc/guix.texi:24370
  35821. 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."
  35822. msgstr ""
  35823. #. type: deftypevr
  35824. #: guix-git/doc/guix.texi:24375
  35825. #, no-wrap
  35826. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  35827. msgstr ""
  35828. #. type: deftypevr
  35829. #: guix-git/doc/guix.texi:24379
  35830. 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."
  35831. msgstr ""
  35832. #. type: deftypevr
  35833. #: guix-git/doc/guix.texi:24384
  35834. #, no-wrap
  35835. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  35836. msgstr ""
  35837. #. type: deftypevr
  35838. #: guix-git/doc/guix.texi:24389
  35839. 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."
  35840. msgstr ""
  35841. #. type: deftypevr
  35842. #: guix-git/doc/guix.texi:24394
  35843. #, no-wrap
  35844. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  35845. msgstr ""
  35846. #. type: deftypevr
  35847. #: guix-git/doc/guix.texi:24396
  35848. msgid "List of pam service names for which LDAP authentication should suffice."
  35849. msgstr ""
  35850. #. type: cindex
  35851. #: guix-git/doc/guix.texi:24407
  35852. #, no-wrap
  35853. msgid "web"
  35854. msgstr ""
  35855. #. type: cindex
  35856. #: guix-git/doc/guix.texi:24408
  35857. #, no-wrap
  35858. msgid "www"
  35859. msgstr ""
  35860. #. type: cindex
  35861. #: guix-git/doc/guix.texi:24409
  35862. #, no-wrap
  35863. msgid "HTTP"
  35864. msgstr "HTTP"
  35865. #. type: Plain text
  35866. #: guix-git/doc/guix.texi:24412
  35867. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  35868. msgstr ""
  35869. #. type: subsubheading
  35870. #: guix-git/doc/guix.texi:24413
  35871. #, no-wrap
  35872. msgid "Apache HTTP Server"
  35873. msgstr ""
  35874. #. type: deffn
  35875. #: guix-git/doc/guix.texi:24415
  35876. #, no-wrap
  35877. msgid "{Scheme Variable} httpd-service-type"
  35878. msgstr ""
  35879. #. type: deffn
  35880. #: guix-git/doc/guix.texi:24419
  35881. 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."
  35882. msgstr ""
  35883. #. type: deffn
  35884. #: guix-git/doc/guix.texi:24421 guix-git/doc/guix.texi:24602
  35885. msgid "A simple example configuration is given below."
  35886. msgstr ""
  35887. #. type: lisp
  35888. #: guix-git/doc/guix.texi:24429
  35889. #, no-wrap
  35890. msgid ""
  35891. "(service httpd-service-type\n"
  35892. " (httpd-configuration\n"
  35893. " (config\n"
  35894. " (httpd-config-file\n"
  35895. " (server-name \"www.example.com\")\n"
  35896. " (document-root \"/srv/http/www.example.com\")))))\n"
  35897. msgstr ""
  35898. #. type: deffn
  35899. #: guix-git/doc/guix.texi:24433
  35900. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  35901. msgstr ""
  35902. #. type: lisp
  35903. #: guix-git/doc/guix.texi:24442 guix-git/doc/guix.texi:24582
  35904. #, no-wrap
  35905. msgid ""
  35906. "(simple-service 'www.example.com-server httpd-service-type\n"
  35907. " (list\n"
  35908. " (httpd-virtualhost\n"
  35909. " \"*:80\"\n"
  35910. " (list (string-join '(\"ServerName www.example.com\"\n"
  35911. " \"DocumentRoot /srv/http/www.example.com\")\n"
  35912. " \"\\n\")))))\n"
  35913. msgstr ""
  35914. #. type: Plain text
  35915. #: guix-git/doc/guix.texi:24448
  35916. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  35917. msgstr ""
  35918. #. type: deffn
  35919. #: guix-git/doc/guix.texi:24449
  35920. #, no-wrap
  35921. msgid "{Data Type} httpd-configuration"
  35922. msgstr ""
  35923. #. type: deffn
  35924. #: guix-git/doc/guix.texi:24451
  35925. msgid "This data type represents the configuration for the httpd service."
  35926. msgstr ""
  35927. #. type: item
  35928. #: guix-git/doc/guix.texi:24453
  35929. #, no-wrap
  35930. msgid "@code{package} (default: @code{httpd})"
  35931. msgstr ""
  35932. #. type: table
  35933. #: guix-git/doc/guix.texi:24455
  35934. msgid "The httpd package to use."
  35935. msgstr ""
  35936. #. type: item
  35937. #: guix-git/doc/guix.texi:24456 guix-git/doc/guix.texi:24545
  35938. #, no-wrap
  35939. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  35940. msgstr ""
  35941. #. type: table
  35942. #: guix-git/doc/guix.texi:24458
  35943. msgid "The pid file used by the shepherd-service."
  35944. msgstr ""
  35945. #. type: item
  35946. #: guix-git/doc/guix.texi:24459
  35947. #, no-wrap
  35948. msgid "@code{config} (default: @code{(httpd-config-file)})"
  35949. msgstr ""
  35950. #. type: table
  35951. #: guix-git/doc/guix.texi:24464
  35952. 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."
  35953. msgstr ""
  35954. #. type: deffn
  35955. #: guix-git/doc/guix.texi:24468
  35956. #, no-wrap
  35957. msgid "{Data Type} httpd-module"
  35958. msgstr ""
  35959. #. type: deffn
  35960. #: guix-git/doc/guix.texi:24470
  35961. msgid "This data type represents a module for the httpd service."
  35962. msgstr ""
  35963. #. type: table
  35964. #: guix-git/doc/guix.texi:24474
  35965. msgid "The name of the module."
  35966. msgstr ""
  35967. #. type: table
  35968. #: guix-git/doc/guix.texi:24480
  35969. 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\")}."
  35970. msgstr ""
  35971. #. type: defvr
  35972. #: guix-git/doc/guix.texi:24484
  35973. #, no-wrap
  35974. msgid "{Scheme Variable} %default-httpd-modules"
  35975. msgstr ""
  35976. #. type: defvr
  35977. #: guix-git/doc/guix.texi:24486
  35978. msgid "A default list of @code{httpd-module} objects."
  35979. msgstr ""
  35980. #. type: deffn
  35981. #: guix-git/doc/guix.texi:24488
  35982. #, no-wrap
  35983. msgid "{Data Type} httpd-config-file"
  35984. msgstr ""
  35985. #. type: deffn
  35986. #: guix-git/doc/guix.texi:24490
  35987. msgid "This data type represents a configuration file for the httpd service."
  35988. msgstr ""
  35989. #. type: item
  35990. #: guix-git/doc/guix.texi:24492
  35991. #, no-wrap
  35992. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  35993. msgstr ""
  35994. #. type: table
  35995. #: guix-git/doc/guix.texi:24495
  35996. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  35997. msgstr ""
  35998. #. type: table
  35999. #: guix-git/doc/guix.texi:24498
  36000. 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}:"
  36001. msgstr ""
  36002. #. type: lisp
  36003. #: guix-git/doc/guix.texi:24520
  36004. #, no-wrap
  36005. msgid ""
  36006. "(service httpd-service-type\n"
  36007. " (httpd-configuration\n"
  36008. " (config\n"
  36009. " (httpd-config-file\n"
  36010. " (modules (cons*\n"
  36011. " (httpd-module\n"
  36012. " (name \"proxy_module\")\n"
  36013. " (file \"modules/mod_proxy.so\"))\n"
  36014. " (httpd-module\n"
  36015. " (name \"proxy_fcgi_module\")\n"
  36016. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  36017. " %default-httpd-modules))\n"
  36018. " (extra-config (list \"\\\n"
  36019. "<FilesMatch \\\\.php$>\n"
  36020. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  36021. "</FilesMatch>\"))))))\n"
  36022. "(service php-fpm-service-type\n"
  36023. " (php-fpm-configuration\n"
  36024. " (socket \"/var/run/php-fpm.sock\")\n"
  36025. " (socket-group \"httpd\")))\n"
  36026. msgstr ""
  36027. #. type: item
  36028. #: guix-git/doc/guix.texi:24522
  36029. #, no-wrap
  36030. msgid "@code{server-root} (default: @code{httpd})"
  36031. msgstr ""
  36032. #. type: table
  36033. #: guix-git/doc/guix.texi:24526
  36034. 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."
  36035. msgstr ""
  36036. #. type: item
  36037. #: guix-git/doc/guix.texi:24527
  36038. #, no-wrap
  36039. msgid "@code{server-name} (default: @code{#f})"
  36040. msgstr ""
  36041. #. type: table
  36042. #: guix-git/doc/guix.texi:24531
  36043. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  36044. msgstr ""
  36045. #. type: table
  36046. #: guix-git/doc/guix.texi:24535
  36047. 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}."
  36048. msgstr ""
  36049. #. type: item
  36050. #: guix-git/doc/guix.texi:24536
  36051. #, no-wrap
  36052. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  36053. msgstr ""
  36054. #. type: table
  36055. #: guix-git/doc/guix.texi:24538
  36056. msgid "The @code{DocumentRoot} from which files will be served."
  36057. msgstr ""
  36058. #. type: item
  36059. #: guix-git/doc/guix.texi:24539
  36060. #, no-wrap
  36061. msgid "@code{listen} (default: @code{'(\"80\")})"
  36062. msgstr ""
  36063. #. type: table
  36064. #: guix-git/doc/guix.texi:24544
  36065. 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."
  36066. msgstr ""
  36067. #. type: table
  36068. #: guix-git/doc/guix.texi:24549
  36069. 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."
  36070. msgstr ""
  36071. #. type: item
  36072. #: guix-git/doc/guix.texi:24550
  36073. #, no-wrap
  36074. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  36075. msgstr ""
  36076. #. type: table
  36077. #: guix-git/doc/guix.texi:24552
  36078. msgid "The @code{ErrorLog} to which the server will log errors."
  36079. msgstr ""
  36080. #. type: item
  36081. #: guix-git/doc/guix.texi:24553 guix-git/doc/guix.texi:25114
  36082. #, no-wrap
  36083. msgid "@code{user} (default: @code{\"httpd\"})"
  36084. msgstr ""
  36085. #. type: table
  36086. #: guix-git/doc/guix.texi:24555
  36087. msgid "The @code{User} which the server will answer requests as."
  36088. msgstr ""
  36089. #. type: item
  36090. #: guix-git/doc/guix.texi:24556
  36091. #, no-wrap
  36092. msgid "@code{group} (default: @code{\"httpd\"})"
  36093. msgstr ""
  36094. #. type: table
  36095. #: guix-git/doc/guix.texi:24558
  36096. msgid "The @code{Group} which the server will answer requests as."
  36097. msgstr ""
  36098. #. type: item
  36099. #: guix-git/doc/guix.texi:24559
  36100. #, no-wrap
  36101. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  36102. msgstr ""
  36103. #. type: table
  36104. #: guix-git/doc/guix.texi:24562
  36105. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  36106. msgstr ""
  36107. #. type: table
  36108. #: guix-git/doc/guix.texi:24565
  36109. msgid "Any values which the service is extended with will be appended to this list."
  36110. msgstr ""
  36111. #. type: deffn
  36112. #: guix-git/doc/guix.texi:24569
  36113. #, no-wrap
  36114. msgid "{Data Type} httpd-virtualhost"
  36115. msgstr ""
  36116. #. type: deffn
  36117. #: guix-git/doc/guix.texi:24571
  36118. msgid "This data type represents a virtualhost configuration block for the httpd service."
  36119. msgstr ""
  36120. #. type: deffn
  36121. #: guix-git/doc/guix.texi:24573
  36122. msgid "These should be added to the extra-config for the httpd-service."
  36123. msgstr ""
  36124. #. type: code{#1}
  36125. #: guix-git/doc/guix.texi:24585
  36126. #, no-wrap
  36127. msgid "addresses-and-ports"
  36128. msgstr ""
  36129. #. type: table
  36130. #: guix-git/doc/guix.texi:24587
  36131. msgid "The addresses and ports for the @code{VirtualHost} directive."
  36132. msgstr ""
  36133. #. type: code{#1}
  36134. #: guix-git/doc/guix.texi:24588
  36135. #, no-wrap
  36136. msgid "contents"
  36137. msgstr "내용"
  36138. #. type: table
  36139. #: guix-git/doc/guix.texi:24591
  36140. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  36141. msgstr ""
  36142. #. type: subsubheading
  36143. #: guix-git/doc/guix.texi:24595
  36144. #, no-wrap
  36145. msgid "NGINX"
  36146. msgstr ""
  36147. #. type: deffn
  36148. #: guix-git/doc/guix.texi:24597
  36149. #, no-wrap
  36150. msgid "{Scheme Variable} nginx-service-type"
  36151. msgstr ""
  36152. #. type: deffn
  36153. #: guix-git/doc/guix.texi:24600
  36154. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  36155. msgstr ""
  36156. #. type: lisp
  36157. #: guix-git/doc/guix.texi:24610 guix-git/doc/guix.texi:24664
  36158. #, no-wrap
  36159. msgid ""
  36160. "(service nginx-service-type\n"
  36161. " (nginx-configuration\n"
  36162. " (server-blocks\n"
  36163. " (list (nginx-server-configuration\n"
  36164. " (server-name '(\"www.example.com\"))\n"
  36165. " (root \"/srv/http/www.example.com\"))))))\n"
  36166. msgstr ""
  36167. #. type: deffn
  36168. #: guix-git/doc/guix.texi:24615
  36169. 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:"
  36170. msgstr ""
  36171. #. type: lisp
  36172. #: guix-git/doc/guix.texi:24621
  36173. #, no-wrap
  36174. msgid ""
  36175. "(simple-service 'my-extra-server nginx-service-type\n"
  36176. " (list (nginx-server-configuration\n"
  36177. " (root \"/srv/http/extra-website\")\n"
  36178. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  36179. msgstr ""
  36180. #. type: Plain text
  36181. #: guix-git/doc/guix.texi:24632
  36182. 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."
  36183. msgstr ""
  36184. #. type: deffn
  36185. #: guix-git/doc/guix.texi:24633
  36186. #, no-wrap
  36187. msgid "{Data Type} nginx-configuration"
  36188. msgstr ""
  36189. #. type: deffn
  36190. #: guix-git/doc/guix.texi:24637
  36191. 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."
  36192. msgstr ""
  36193. #. type: item
  36194. #: guix-git/doc/guix.texi:24639
  36195. #, no-wrap
  36196. msgid "@code{nginx} (default: @code{nginx})"
  36197. msgstr ""
  36198. #. type: table
  36199. #: guix-git/doc/guix.texi:24641
  36200. msgid "The nginx package to use."
  36201. msgstr ""
  36202. #. type: item
  36203. #: guix-git/doc/guix.texi:24642
  36204. #, no-wrap
  36205. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  36206. msgstr ""
  36207. #. type: table
  36208. #: guix-git/doc/guix.texi:24644
  36209. msgid "The directory to which NGinx will write log files."
  36210. msgstr ""
  36211. #. type: item
  36212. #: guix-git/doc/guix.texi:24645
  36213. #, no-wrap
  36214. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  36215. msgstr ""
  36216. #. type: table
  36217. #: guix-git/doc/guix.texi:24648
  36218. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  36219. msgstr ""
  36220. #. type: item
  36221. #: guix-git/doc/guix.texi:24649
  36222. #, no-wrap
  36223. msgid "@code{server-blocks} (default: @code{'()})"
  36224. msgstr ""
  36225. #. type: table
  36226. #: guix-git/doc/guix.texi:24653
  36227. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  36228. msgstr ""
  36229. #. type: table
  36230. #: guix-git/doc/guix.texi:24657
  36231. 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."
  36232. msgstr ""
  36233. #. type: item
  36234. #: guix-git/doc/guix.texi:24666
  36235. #, no-wrap
  36236. msgid "@code{upstream-blocks} (default: @code{'()})"
  36237. msgstr ""
  36238. #. type: table
  36239. #: guix-git/doc/guix.texi:24670
  36240. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  36241. msgstr ""
  36242. #. type: table
  36243. #: guix-git/doc/guix.texi:24677
  36244. 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."
  36245. msgstr ""
  36246. #. type: lisp
  36247. #: guix-git/doc/guix.texi:24696
  36248. #, no-wrap
  36249. msgid ""
  36250. "(service\n"
  36251. " nginx-service-type\n"
  36252. " (nginx-configuration\n"
  36253. " (server-blocks\n"
  36254. " (list (nginx-server-configuration\n"
  36255. " (server-name '(\"www.example.com\"))\n"
  36256. " (root \"/srv/http/www.example.com\")\n"
  36257. " (locations\n"
  36258. " (list\n"
  36259. " (nginx-location-configuration\n"
  36260. " (uri \"/path1\")\n"
  36261. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  36262. " (upstream-blocks\n"
  36263. " (list (nginx-upstream-configuration\n"
  36264. " (name \"server-proxy\")\n"
  36265. " (servers (list \"server1.example.com\"\n"
  36266. " \"server2.example.com\")))))))\n"
  36267. msgstr ""
  36268. #. type: table
  36269. #: guix-git/doc/guix.texi:24704
  36270. 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."
  36271. msgstr ""
  36272. #. type: table
  36273. #: guix-git/doc/guix.texi:24708
  36274. 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."
  36275. msgstr ""
  36276. #. type: item
  36277. #: guix-git/doc/guix.texi:24709
  36278. #, no-wrap
  36279. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  36280. msgstr ""
  36281. #. type: table
  36282. #: guix-git/doc/guix.texi:24712
  36283. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  36284. msgstr ""
  36285. #. type: item
  36286. #: guix-git/doc/guix.texi:24713
  36287. #, no-wrap
  36288. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  36289. msgstr ""
  36290. #. type: table
  36291. #: guix-git/doc/guix.texi:24715
  36292. msgid "Maximum bucket size for the server names hash tables."
  36293. msgstr ""
  36294. #. type: table
  36295. #: guix-git/doc/guix.texi:24719
  36296. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  36297. msgstr ""
  36298. #. type: lisp
  36299. #: guix-git/doc/guix.texi:24727
  36300. #, no-wrap
  36301. msgid ""
  36302. "(modules\n"
  36303. " (list\n"
  36304. " (file-append nginx-accept-language-module \"\\\n"
  36305. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  36306. " (file-append nginx-lua-module \"\\\n"
  36307. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  36308. msgstr ""
  36309. #. type: item
  36310. #: guix-git/doc/guix.texi:24729
  36311. #, no-wrap
  36312. msgid "@code{lua-package-path} (default: @code{'()})"
  36313. msgstr ""
  36314. #. type: table
  36315. #: guix-git/doc/guix.texi:24732
  36316. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  36317. msgstr ""
  36318. #. type: lisp
  36319. #: guix-git/doc/guix.texi:24739
  36320. #, no-wrap
  36321. msgid ""
  36322. "(lua-package-path (list lua-resty-core\n"
  36323. " lua-resty-lrucache\n"
  36324. " lua-resty-signal\n"
  36325. " lua-tablepool\n"
  36326. " lua-resty-shell))\n"
  36327. msgstr ""
  36328. #. type: item
  36329. #: guix-git/doc/guix.texi:24741
  36330. #, no-wrap
  36331. msgid "@code{lua-package-cpath} (default: @code{'()})"
  36332. msgstr ""
  36333. #. type: table
  36334. #: guix-git/doc/guix.texi:24744
  36335. 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:"
  36336. msgstr ""
  36337. #. type: lisp
  36338. #: guix-git/doc/guix.texi:24747
  36339. #, no-wrap
  36340. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  36341. msgstr ""
  36342. #. type: item
  36343. #: guix-git/doc/guix.texi:24749
  36344. #, no-wrap
  36345. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  36346. msgstr ""
  36347. #. type: table
  36348. #: guix-git/doc/guix.texi:24752
  36349. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  36350. msgstr ""
  36351. #. type: lisp
  36352. #: guix-git/doc/guix.texi:24758
  36353. #, no-wrap
  36354. msgid ""
  36355. "(global-directives\n"
  36356. " `((worker_processes . 16)\n"
  36357. " (pcre_jit . on)\n"
  36358. " (events . ((worker_connections . 1024)))))\n"
  36359. msgstr ""
  36360. #. type: table
  36361. #: guix-git/doc/guix.texi:24763
  36362. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  36363. msgstr ""
  36364. #. type: deftp
  36365. #: guix-git/doc/guix.texi:24767
  36366. #, no-wrap
  36367. msgid "{Data Type} nginx-server-configuration"
  36368. msgstr ""
  36369. #. type: deftp
  36370. #: guix-git/doc/guix.texi:24770
  36371. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  36372. msgstr ""
  36373. #. type: item
  36374. #: guix-git/doc/guix.texi:24772
  36375. #, no-wrap
  36376. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  36377. msgstr ""
  36378. #. type: table
  36379. #: guix-git/doc/guix.texi:24777
  36380. 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:"
  36381. msgstr ""
  36382. #. type: lisp
  36383. #: guix-git/doc/guix.texi:24780
  36384. #, no-wrap
  36385. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  36386. msgstr ""
  36387. #. type: item
  36388. #: guix-git/doc/guix.texi:24782
  36389. #, no-wrap
  36390. msgid "@code{server-name} (default: @code{(list 'default)})"
  36391. msgstr ""
  36392. #. type: table
  36393. #: guix-git/doc/guix.texi:24785
  36394. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  36395. msgstr ""
  36396. #. type: item
  36397. #: guix-git/doc/guix.texi:24786
  36398. #, no-wrap
  36399. msgid "@code{root} (default: @code{\"/srv/http\"})"
  36400. msgstr ""
  36401. #. type: table
  36402. #: guix-git/doc/guix.texi:24788
  36403. msgid "Root of the website nginx will serve."
  36404. msgstr ""
  36405. #. type: item
  36406. #: guix-git/doc/guix.texi:24789
  36407. #, no-wrap
  36408. msgid "@code{locations} (default: @code{'()})"
  36409. msgstr ""
  36410. #. type: table
  36411. #: guix-git/doc/guix.texi:24793
  36412. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  36413. msgstr ""
  36414. #. type: item
  36415. #: guix-git/doc/guix.texi:24794
  36416. #, no-wrap
  36417. msgid "@code{index} (default: @code{(list \"index.html\")})"
  36418. msgstr ""
  36419. #. type: table
  36420. #: guix-git/doc/guix.texi:24797
  36421. 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."
  36422. msgstr ""
  36423. #. type: item
  36424. #: guix-git/doc/guix.texi:24798
  36425. #, no-wrap
  36426. msgid "@code{try-files} (default: @code{'()})"
  36427. msgstr ""
  36428. #. type: table
  36429. #: guix-git/doc/guix.texi:24801
  36430. 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."
  36431. msgstr ""
  36432. #. type: item
  36433. #: guix-git/doc/guix.texi:24802
  36434. #, no-wrap
  36435. msgid "@code{ssl-certificate} (default: @code{#f})"
  36436. msgstr ""
  36437. #. type: table
  36438. #: guix-git/doc/guix.texi:24805
  36439. 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."
  36440. msgstr ""
  36441. #. type: item
  36442. #: guix-git/doc/guix.texi:24806
  36443. #, no-wrap
  36444. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  36445. msgstr ""
  36446. #. type: table
  36447. #: guix-git/doc/guix.texi:24809
  36448. 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."
  36449. msgstr ""
  36450. #. type: item
  36451. #: guix-git/doc/guix.texi:24810
  36452. #, no-wrap
  36453. msgid "@code{server-tokens?} (default: @code{#f})"
  36454. msgstr ""
  36455. #. type: table
  36456. #: guix-git/doc/guix.texi:24812
  36457. msgid "Whether the server should add its configuration to response."
  36458. msgstr ""
  36459. #. type: item
  36460. #: guix-git/doc/guix.texi:24813
  36461. #, no-wrap
  36462. msgid "@code{raw-content} (default: @code{'()})"
  36463. msgstr ""
  36464. #. type: table
  36465. #: guix-git/doc/guix.texi:24815
  36466. msgid "A list of raw lines added to the server block."
  36467. msgstr ""
  36468. #. type: deftp
  36469. #: guix-git/doc/guix.texi:24819
  36470. #, no-wrap
  36471. msgid "{Data Type} nginx-upstream-configuration"
  36472. msgstr ""
  36473. #. type: deftp
  36474. #: guix-git/doc/guix.texi:24822
  36475. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  36476. msgstr ""
  36477. #. type: table
  36478. #: guix-git/doc/guix.texi:24826
  36479. msgid "Name for this group of servers."
  36480. msgstr ""
  36481. #. type: code{#1}
  36482. #: guix-git/doc/guix.texi:24827
  36483. #, no-wrap
  36484. msgid "servers"
  36485. msgstr "서버"
  36486. #. type: table
  36487. #: guix-git/doc/guix.texi:24834
  36488. 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."
  36489. msgstr ""
  36490. #. type: deftp
  36491. #: guix-git/doc/guix.texi:24838
  36492. #, no-wrap
  36493. msgid "{Data Type} nginx-location-configuration"
  36494. msgstr ""
  36495. #. type: deftp
  36496. #: guix-git/doc/guix.texi:24841
  36497. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  36498. msgstr ""
  36499. #. type: table
  36500. #: guix-git/doc/guix.texi:24845
  36501. msgid "URI which this location block matches."
  36502. msgstr ""
  36503. #. type: anchor{#1}
  36504. #: guix-git/doc/guix.texi:24847
  36505. msgid "nginx-location-configuration body"
  36506. msgstr ""
  36507. #. type: code{#1}
  36508. #: guix-git/doc/guix.texi:24847 guix-git/doc/guix.texi:24868
  36509. #, no-wrap
  36510. msgid "body"
  36511. msgstr ""
  36512. #. type: table
  36513. #: guix-git/doc/guix.texi:24854
  36514. 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;\")}."
  36515. msgstr ""
  36516. #. type: deftp
  36517. #: guix-git/doc/guix.texi:24858
  36518. #, no-wrap
  36519. msgid "{Data Type} nginx-named-location-configuration"
  36520. msgstr ""
  36521. #. type: deftp
  36522. #: guix-git/doc/guix.texi:24863
  36523. 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:"
  36524. msgstr ""
  36525. #. type: table
  36526. #: guix-git/doc/guix.texi:24867
  36527. msgid "Name to identify this location block."
  36528. msgstr ""
  36529. #. type: table
  36530. #: guix-git/doc/guix.texi:24873
  36531. 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."
  36532. msgstr ""
  36533. #. type: subsubheading
  36534. #: guix-git/doc/guix.texi:24877
  36535. #, no-wrap
  36536. msgid "Varnish Cache"
  36537. msgstr ""
  36538. #. type: cindex
  36539. #: guix-git/doc/guix.texi:24878
  36540. #, no-wrap
  36541. msgid "Varnish"
  36542. msgstr ""
  36543. #. type: Plain text
  36544. #: guix-git/doc/guix.texi:24883
  36545. 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."
  36546. msgstr ""
  36547. #. type: defvr
  36548. #: guix-git/doc/guix.texi:24884
  36549. #, no-wrap
  36550. msgid "{Scheme Variable} varnish-service-type"
  36551. msgstr ""
  36552. #. type: defvr
  36553. #: guix-git/doc/guix.texi:24886
  36554. msgid "Service type for the Varnish daemon."
  36555. msgstr ""
  36556. #. type: deftp
  36557. #: guix-git/doc/guix.texi:24888
  36558. #, no-wrap
  36559. msgid "{Data Type} varnish-configuration"
  36560. msgstr ""
  36561. #. type: deftp
  36562. #: guix-git/doc/guix.texi:24891
  36563. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  36564. msgstr ""
  36565. #. type: item
  36566. #: guix-git/doc/guix.texi:24893
  36567. #, no-wrap
  36568. msgid "@code{package} (default: @code{varnish})"
  36569. msgstr ""
  36570. #. type: table
  36571. #: guix-git/doc/guix.texi:24895
  36572. msgid "The Varnish package to use."
  36573. msgstr ""
  36574. #. type: item
  36575. #: guix-git/doc/guix.texi:24896
  36576. #, no-wrap
  36577. msgid "@code{name} (default: @code{\"default\"})"
  36578. msgstr ""
  36579. #. type: table
  36580. #: guix-git/doc/guix.texi:24901
  36581. 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."
  36582. msgstr ""
  36583. #. type: table
  36584. #: guix-git/doc/guix.texi:24904
  36585. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  36586. msgstr ""
  36587. #. type: item
  36588. #: guix-git/doc/guix.texi:24905
  36589. #, no-wrap
  36590. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  36591. msgstr ""
  36592. #. type: table
  36593. #: guix-git/doc/guix.texi:24907
  36594. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  36595. msgstr ""
  36596. #. type: item
  36597. #: guix-git/doc/guix.texi:24908
  36598. #, no-wrap
  36599. msgid "@code{vcl} (default: #f)"
  36600. msgstr ""
  36601. #. type: table
  36602. #: guix-git/doc/guix.texi:24913
  36603. 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."
  36604. msgstr ""
  36605. #. type: table
  36606. #: guix-git/doc/guix.texi:24917
  36607. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  36608. msgstr ""
  36609. #. type: lisp
  36610. #: guix-git/doc/guix.texi:24923
  36611. #, no-wrap
  36612. msgid ""
  36613. "(define %gnu-mirror\n"
  36614. " (plain-file \"gnu.vcl\"\n"
  36615. " \"vcl 4.1;\n"
  36616. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  36617. "\n"
  36618. msgstr ""
  36619. #. type: lisp
  36620. #: guix-git/doc/guix.texi:24931
  36621. #, no-wrap
  36622. msgid ""
  36623. "(operating-system\n"
  36624. " ;; @dots{}\n"
  36625. " (services (cons (service varnish-service-type\n"
  36626. " (varnish-configuration\n"
  36627. " (listen '(\":80\"))\n"
  36628. " (vcl %gnu-mirror)))\n"
  36629. " %base-services)))\n"
  36630. msgstr ""
  36631. #. type: table
  36632. #: guix-git/doc/guix.texi:24935
  36633. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  36634. msgstr ""
  36635. #. type: table
  36636. #: guix-git/doc/guix.texi:24939
  36637. 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."
  36638. msgstr ""
  36639. #. type: item
  36640. #: guix-git/doc/guix.texi:24940
  36641. #, no-wrap
  36642. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  36643. msgstr ""
  36644. #. type: table
  36645. #: guix-git/doc/guix.texi:24942
  36646. msgid "List of addresses Varnish will listen on."
  36647. msgstr ""
  36648. #. type: item
  36649. #: guix-git/doc/guix.texi:24943
  36650. #, no-wrap
  36651. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  36652. msgstr ""
  36653. #. type: table
  36654. #: guix-git/doc/guix.texi:24945
  36655. msgid "List of storage backends that will be available in VCL."
  36656. msgstr ""
  36657. #. type: item
  36658. #: guix-git/doc/guix.texi:24946
  36659. #, no-wrap
  36660. msgid "@code{parameters} (default: @code{'()})"
  36661. msgstr ""
  36662. #. type: table
  36663. #: guix-git/doc/guix.texi:24948
  36664. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  36665. msgstr ""
  36666. #. type: table
  36667. #: guix-git/doc/guix.texi:24951
  36668. msgid "Additional arguments to pass to the @command{varnishd} process."
  36669. msgstr ""
  36670. #. type: cindex
  36671. #: guix-git/doc/guix.texi:24955 guix-git/doc/guix.texi:24956
  36672. #, no-wrap
  36673. msgid "Patchwork"
  36674. msgstr ""
  36675. #. type: Plain text
  36676. #: guix-git/doc/guix.texi:24959
  36677. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  36678. msgstr ""
  36679. #. type: defvr
  36680. #: guix-git/doc/guix.texi:24960
  36681. #, no-wrap
  36682. msgid "{Scheme Variable} patchwork-service-type"
  36683. msgstr ""
  36684. #. type: defvr
  36685. #: guix-git/doc/guix.texi:24962
  36686. msgid "Service type for Patchwork."
  36687. msgstr ""
  36688. #. type: Plain text
  36689. #: guix-git/doc/guix.texi:24966
  36690. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  36691. msgstr ""
  36692. #. type: lisp
  36693. #: guix-git/doc/guix.texi:24986
  36694. #, no-wrap
  36695. msgid ""
  36696. "(service patchwork-service-type\n"
  36697. " (patchwork-configuration\n"
  36698. " (domain \"patchwork.example.com\")\n"
  36699. " (settings-module\n"
  36700. " (patchwork-settings-module\n"
  36701. " (allowed-hosts (list domain))\n"
  36702. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  36703. " (getmail-retriever-config\n"
  36704. " (getmail-retriever-configuration\n"
  36705. " (type \"SimpleIMAPSSLRetriever\")\n"
  36706. " (server \"imap.example.com\")\n"
  36707. " (port 993)\n"
  36708. " (username \"patchwork\")\n"
  36709. " (password-command\n"
  36710. " (list (file-append coreutils \"/bin/cat\")\n"
  36711. " \"/etc/getmail-patchwork-imap-password\"))\n"
  36712. " (extra-parameters\n"
  36713. " '((mailboxes . (\"Patches\"))))))))\n"
  36714. "\n"
  36715. msgstr ""
  36716. #. type: Plain text
  36717. #: guix-git/doc/guix.texi:24992
  36718. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  36719. msgstr ""
  36720. #. type: Plain text
  36721. #: guix-git/doc/guix.texi:24996
  36722. 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."
  36723. msgstr ""
  36724. #. type: Plain text
  36725. #: guix-git/doc/guix.texi:25000
  36726. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  36727. msgstr ""
  36728. #. type: deftp
  36729. #: guix-git/doc/guix.texi:25001
  36730. #, no-wrap
  36731. msgid "{Data Type} patchwork-configuration"
  36732. msgstr ""
  36733. #. type: deftp
  36734. #: guix-git/doc/guix.texi:25004
  36735. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  36736. msgstr ""
  36737. #. type: item
  36738. #: guix-git/doc/guix.texi:25006
  36739. #, no-wrap
  36740. msgid "@code{patchwork} (default: @code{patchwork})"
  36741. msgstr ""
  36742. #. type: table
  36743. #: guix-git/doc/guix.texi:25008
  36744. msgid "The Patchwork package to use."
  36745. msgstr ""
  36746. #. type: code{#1}
  36747. #: guix-git/doc/guix.texi:25009
  36748. #, no-wrap
  36749. msgid "domain"
  36750. msgstr "도메인"
  36751. #. type: table
  36752. #: guix-git/doc/guix.texi:25012
  36753. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  36754. msgstr ""
  36755. #. type: code{#1}
  36756. #: guix-git/doc/guix.texi:25013
  36757. #, no-wrap
  36758. msgid "settings-module"
  36759. msgstr ""
  36760. #. type: table
  36761. #: guix-git/doc/guix.texi:25019
  36762. 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."
  36763. msgstr ""
  36764. #. type: item
  36765. #: guix-git/doc/guix.texi:25020
  36766. #, no-wrap
  36767. msgid "@code{static-path} (default: @code{\"/static/\"})"
  36768. msgstr ""
  36769. #. type: table
  36770. #: guix-git/doc/guix.texi:25022
  36771. msgid "The path under which the HTTPD service should serve the static files."
  36772. msgstr ""
  36773. #. type: code{#1}
  36774. #: guix-git/doc/guix.texi:25023
  36775. #, no-wrap
  36776. msgid "getmail-retriever-config"
  36777. msgstr ""
  36778. #. type: table
  36779. #: guix-git/doc/guix.texi:25027
  36780. 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."
  36781. msgstr ""
  36782. #. type: deftp
  36783. #: guix-git/doc/guix.texi:25031
  36784. #, no-wrap
  36785. msgid "{Data Type} patchwork-settings-module"
  36786. msgstr ""
  36787. #. type: deftp
  36788. #: guix-git/doc/guix.texi:25036
  36789. 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:"
  36790. msgstr ""
  36791. #. type: item
  36792. #: guix-git/doc/guix.texi:25038
  36793. #, no-wrap
  36794. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  36795. msgstr ""
  36796. #. type: table
  36797. #: guix-git/doc/guix.texi:25041
  36798. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  36799. msgstr ""
  36800. #. type: item
  36801. #: guix-git/doc/guix.texi:25042
  36802. #, no-wrap
  36803. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  36804. msgstr ""
  36805. #. type: table
  36806. #: guix-git/doc/guix.texi:25045
  36807. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  36808. msgstr ""
  36809. #. type: table
  36810. #: guix-git/doc/guix.texi:25048
  36811. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  36812. msgstr ""
  36813. #. type: table
  36814. #: guix-git/doc/guix.texi:25050
  36815. msgid "This setting relates to Django."
  36816. msgstr ""
  36817. #. type: code{#1}
  36818. #: guix-git/doc/guix.texi:25051
  36819. #, no-wrap
  36820. msgid "allowed-hosts"
  36821. msgstr ""
  36822. #. type: table
  36823. #: guix-git/doc/guix.texi:25054
  36824. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  36825. msgstr ""
  36826. #. type: table
  36827. #: guix-git/doc/guix.texi:25056 guix-git/doc/guix.texi:25070
  36828. #: guix-git/doc/guix.texi:25076 guix-git/doc/guix.texi:25082
  36829. msgid "This is a Django setting."
  36830. msgstr ""
  36831. #. type: code{#1}
  36832. #: guix-git/doc/guix.texi:25057
  36833. #, no-wrap
  36834. msgid "default-from-email"
  36835. msgstr ""
  36836. #. type: table
  36837. #: guix-git/doc/guix.texi:25059
  36838. msgid "The email address from which Patchwork should send email by default."
  36839. msgstr ""
  36840. #. type: table
  36841. #: guix-git/doc/guix.texi:25061 guix-git/doc/guix.texi:25087
  36842. #: guix-git/doc/guix.texi:25092 guix-git/doc/guix.texi:25097
  36843. msgid "This is a Patchwork setting."
  36844. msgstr ""
  36845. #. type: item
  36846. #: guix-git/doc/guix.texi:25062
  36847. #, no-wrap
  36848. msgid "@code{static-url} (default: @code{#f})"
  36849. msgstr ""
  36850. #. type: table
  36851. #: guix-git/doc/guix.texi:25065
  36852. 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{/}."
  36853. msgstr ""
  36854. #. type: table
  36855. #: guix-git/doc/guix.texi:25068
  36856. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  36857. msgstr ""
  36858. #. type: item
  36859. #: guix-git/doc/guix.texi:25071
  36860. #, no-wrap
  36861. msgid "@code{admins} (default: @code{'()})"
  36862. msgstr ""
  36863. #. type: table
  36864. #: guix-git/doc/guix.texi:25074
  36865. 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."
  36866. msgstr ""
  36867. #. type: table
  36868. #: guix-git/doc/guix.texi:25080
  36869. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  36870. msgstr ""
  36871. #. type: item
  36872. #: guix-git/doc/guix.texi:25083
  36873. #, no-wrap
  36874. msgid "@code{enable-rest-api?} (default: @code{#t})"
  36875. msgstr ""
  36876. #. type: table
  36877. #: guix-git/doc/guix.texi:25085
  36878. msgid "Whether to enable the Patchwork REST API."
  36879. msgstr ""
  36880. #. type: item
  36881. #: guix-git/doc/guix.texi:25088
  36882. #, no-wrap
  36883. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  36884. msgstr ""
  36885. #. type: table
  36886. #: guix-git/doc/guix.texi:25090
  36887. msgid "Whether to enable the XML RPC API."
  36888. msgstr ""
  36889. #. type: item
  36890. #: guix-git/doc/guix.texi:25093
  36891. #, no-wrap
  36892. msgid "@code{force-https-links?} (default: @code{#t})"
  36893. msgstr ""
  36894. #. type: table
  36895. #: guix-git/doc/guix.texi:25095
  36896. msgid "Whether to use HTTPS links on Patchwork pages."
  36897. msgstr ""
  36898. #. type: table
  36899. #: guix-git/doc/guix.texi:25100
  36900. msgid "Extra code to place at the end of the Patchwork settings module."
  36901. msgstr ""
  36902. #. type: deftp
  36903. #: guix-git/doc/guix.texi:25104
  36904. #, no-wrap
  36905. msgid "{Data Type} patchwork-database-configuration"
  36906. msgstr ""
  36907. #. type: deftp
  36908. #: guix-git/doc/guix.texi:25106
  36909. msgid "Data type representing the database configuration for Patchwork."
  36910. msgstr ""
  36911. #. type: item
  36912. #: guix-git/doc/guix.texi:25108
  36913. #, no-wrap
  36914. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  36915. msgstr ""
  36916. #. type: table
  36917. #: guix-git/doc/guix.texi:25110
  36918. msgid "The database engine to use."
  36919. msgstr ""
  36920. #. type: item
  36921. #: guix-git/doc/guix.texi:25111
  36922. #, no-wrap
  36923. msgid "@code{name} (default: @code{\"patchwork\"})"
  36924. msgstr ""
  36925. #. type: table
  36926. #: guix-git/doc/guix.texi:25113
  36927. msgid "The name of the database to use."
  36928. msgstr ""
  36929. #. type: table
  36930. #: guix-git/doc/guix.texi:25116
  36931. msgid "The user to connect to the database as."
  36932. msgstr ""
  36933. #. type: item
  36934. #: guix-git/doc/guix.texi:25117
  36935. #, no-wrap
  36936. msgid "@code{password} (default: @code{\"\"})"
  36937. msgstr ""
  36938. #. type: table
  36939. #: guix-git/doc/guix.texi:25119
  36940. msgid "The password to use when connecting to the database."
  36941. msgstr ""
  36942. #. type: item
  36943. #: guix-git/doc/guix.texi:25120
  36944. #, no-wrap
  36945. msgid "@code{host} (default: @code{\"\"})"
  36946. msgstr ""
  36947. #. type: table
  36948. #: guix-git/doc/guix.texi:25122
  36949. msgid "The host to make the database connection to."
  36950. msgstr ""
  36951. #. type: item
  36952. #: guix-git/doc/guix.texi:25123
  36953. #, no-wrap
  36954. msgid "@code{port} (default: @code{\"\"})"
  36955. msgstr ""
  36956. #. type: table
  36957. #: guix-git/doc/guix.texi:25125
  36958. msgid "The port on which to connect to the database."
  36959. msgstr ""
  36960. #. type: subsubheading
  36961. #: guix-git/doc/guix.texi:25129
  36962. #, no-wrap
  36963. msgid "Mumi"
  36964. msgstr ""
  36965. #. type: cindex
  36966. #: guix-git/doc/guix.texi:25131
  36967. #, no-wrap
  36968. msgid "Mumi, Debbugs Web interface"
  36969. msgstr ""
  36970. #. type: cindex
  36971. #: guix-git/doc/guix.texi:25132
  36972. #, no-wrap
  36973. msgid "Debbugs, Mumi Web interface"
  36974. msgstr ""
  36975. #. type: Plain text
  36976. #: guix-git/doc/guix.texi:25137
  36977. 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."
  36978. msgstr ""
  36979. #. type: defvr
  36980. #: guix-git/doc/guix.texi:25138
  36981. #, no-wrap
  36982. msgid "{Scheme Variable} mumi-service-type"
  36983. msgstr ""
  36984. #. type: defvr
  36985. #: guix-git/doc/guix.texi:25140
  36986. msgid "This is the service type for Mumi."
  36987. msgstr ""
  36988. #. type: deftp
  36989. #: guix-git/doc/guix.texi:25142
  36990. #, no-wrap
  36991. msgid "{Data Type} mumi-configuration"
  36992. msgstr ""
  36993. #. type: deftp
  36994. #: guix-git/doc/guix.texi:25145
  36995. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  36996. msgstr ""
  36997. #. type: item
  36998. #: guix-git/doc/guix.texi:25147
  36999. #, no-wrap
  37000. msgid "@code{mumi} (default: @code{mumi})"
  37001. msgstr ""
  37002. #. type: table
  37003. #: guix-git/doc/guix.texi:25149
  37004. msgid "The Mumi package to use."
  37005. msgstr ""
  37006. #. type: item
  37007. #: guix-git/doc/guix.texi:25150
  37008. #, no-wrap
  37009. msgid "@code{mailer?} (default: @code{#true})"
  37010. msgstr ""
  37011. #. type: table
  37012. #: guix-git/doc/guix.texi:25152
  37013. msgid "Whether to enable or disable the mailer component."
  37014. msgstr ""
  37015. #. type: code{#1}
  37016. #: guix-git/doc/guix.texi:25153
  37017. #, no-wrap
  37018. msgid "mumi-configuration-sender"
  37019. msgstr ""
  37020. #. type: table
  37021. #: guix-git/doc/guix.texi:25155
  37022. msgid "The email address used as the sender for comments."
  37023. msgstr ""
  37024. #. type: code{#1}
  37025. #: guix-git/doc/guix.texi:25156
  37026. #, no-wrap
  37027. msgid "mumi-configuration-smtp"
  37028. msgstr ""
  37029. #. type: table
  37030. #: guix-git/doc/guix.texi:25161
  37031. 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}."
  37032. msgstr ""
  37033. #. type: subsubheading
  37034. #: guix-git/doc/guix.texi:25166
  37035. #, no-wrap
  37036. msgid "FastCGI"
  37037. msgstr ""
  37038. #. type: cindex
  37039. #: guix-git/doc/guix.texi:25167
  37040. #, no-wrap
  37041. msgid "fastcgi"
  37042. msgstr ""
  37043. #. type: cindex
  37044. #: guix-git/doc/guix.texi:25168
  37045. #, no-wrap
  37046. msgid "fcgiwrap"
  37047. msgstr ""
  37048. #. type: Plain text
  37049. #: guix-git/doc/guix.texi:25175
  37050. 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."
  37051. msgstr ""
  37052. #. type: Plain text
  37053. #: guix-git/doc/guix.texi:25182
  37054. 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."
  37055. msgstr ""
  37056. #. type: defvr
  37057. #: guix-git/doc/guix.texi:25183
  37058. #, no-wrap
  37059. msgid "{Scheme Variable} fcgiwrap-service-type"
  37060. msgstr ""
  37061. #. type: defvr
  37062. #: guix-git/doc/guix.texi:25185
  37063. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  37064. msgstr ""
  37065. #. type: deftp
  37066. #: guix-git/doc/guix.texi:25187
  37067. #, no-wrap
  37068. msgid "{Data Type} fcgiwrap-configuration"
  37069. msgstr ""
  37070. #. type: deftp
  37071. #: guix-git/doc/guix.texi:25190
  37072. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  37073. msgstr ""
  37074. #. type: item
  37075. #: guix-git/doc/guix.texi:25191
  37076. #, no-wrap
  37077. msgid "@code{package} (default: @code{fcgiwrap})"
  37078. msgstr ""
  37079. #. type: table
  37080. #: guix-git/doc/guix.texi:25193
  37081. msgid "The fcgiwrap package to use."
  37082. msgstr ""
  37083. #. type: item
  37084. #: guix-git/doc/guix.texi:25194
  37085. #, no-wrap
  37086. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  37087. msgstr ""
  37088. #. type: table
  37089. #: guix-git/doc/guix.texi:25200
  37090. 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}."
  37091. msgstr ""
  37092. #. type: item
  37093. #: guix-git/doc/guix.texi:25201
  37094. #, no-wrap
  37095. msgid "@code{user} (default: @code{fcgiwrap})"
  37096. msgstr ""
  37097. #. type: itemx
  37098. #: guix-git/doc/guix.texi:25202
  37099. #, no-wrap
  37100. msgid "@code{group} (default: @code{fcgiwrap})"
  37101. msgstr ""
  37102. #. type: table
  37103. #: guix-git/doc/guix.texi:25207
  37104. 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."
  37105. msgstr ""
  37106. #. type: table
  37107. #: guix-git/doc/guix.texi:25214
  37108. 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."
  37109. msgstr ""
  37110. #. type: cindex
  37111. #: guix-git/doc/guix.texi:25217
  37112. #, no-wrap
  37113. msgid "php-fpm"
  37114. msgstr ""
  37115. #. type: Plain text
  37116. #: guix-git/doc/guix.texi:25220
  37117. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  37118. msgstr ""
  37119. #. type: Plain text
  37120. #: guix-git/doc/guix.texi:25222
  37121. msgid "These features include:"
  37122. msgstr ""
  37123. #. type: item
  37124. #: guix-git/doc/guix.texi:25223
  37125. #, no-wrap
  37126. msgid "Adaptive process spawning"
  37127. msgstr ""
  37128. #. type: item
  37129. #: guix-git/doc/guix.texi:25224
  37130. #, no-wrap
  37131. msgid "Basic statistics (similar to Apache's mod_status)"
  37132. msgstr ""
  37133. #. type: item
  37134. #: guix-git/doc/guix.texi:25225
  37135. #, no-wrap
  37136. msgid "Advanced process management with graceful stop/start"
  37137. msgstr ""
  37138. #. type: item
  37139. #: guix-git/doc/guix.texi:25226
  37140. #, no-wrap
  37141. msgid "Ability to start workers with different uid/gid/chroot/environment"
  37142. msgstr ""
  37143. #. type: itemize
  37144. #: guix-git/doc/guix.texi:25228
  37145. msgid "and different php.ini (replaces safe_mode)"
  37146. msgstr ""
  37147. #. type: item
  37148. #: guix-git/doc/guix.texi:25228
  37149. #, no-wrap
  37150. msgid "Stdout & stderr logging"
  37151. msgstr ""
  37152. #. type: item
  37153. #: guix-git/doc/guix.texi:25229
  37154. #, no-wrap
  37155. msgid "Emergency restart in case of accidental opcode cache destruction"
  37156. msgstr ""
  37157. #. type: item
  37158. #: guix-git/doc/guix.texi:25230
  37159. #, no-wrap
  37160. msgid "Accelerated upload support"
  37161. msgstr ""
  37162. #. type: item
  37163. #: guix-git/doc/guix.texi:25231
  37164. #, no-wrap
  37165. msgid "Support for a \"slowlog\""
  37166. msgstr ""
  37167. #. type: item
  37168. #: guix-git/doc/guix.texi:25232
  37169. #, no-wrap
  37170. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  37171. msgstr ""
  37172. #. type: itemize
  37173. #: guix-git/doc/guix.texi:25235
  37174. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  37175. msgstr ""
  37176. #. type: Plain text
  37177. #: guix-git/doc/guix.texi:25237
  37178. msgid "...@: and much more."
  37179. msgstr ""
  37180. #. type: defvr
  37181. #: guix-git/doc/guix.texi:25238
  37182. #, no-wrap
  37183. msgid "{Scheme Variable} php-fpm-service-type"
  37184. msgstr ""
  37185. #. type: defvr
  37186. #: guix-git/doc/guix.texi:25240
  37187. msgid "A Service type for @code{php-fpm}."
  37188. msgstr ""
  37189. #. type: deftp
  37190. #: guix-git/doc/guix.texi:25242
  37191. #, no-wrap
  37192. msgid "{Data Type} php-fpm-configuration"
  37193. msgstr ""
  37194. #. type: deftp
  37195. #: guix-git/doc/guix.texi:25244
  37196. msgid "Data Type for php-fpm service configuration."
  37197. msgstr ""
  37198. #. type: item
  37199. #: guix-git/doc/guix.texi:25245
  37200. #, no-wrap
  37201. msgid "@code{php} (default: @code{php})"
  37202. msgstr ""
  37203. #. type: table
  37204. #: guix-git/doc/guix.texi:25247
  37205. msgid "The php package to use."
  37206. msgstr ""
  37207. #. type: item
  37208. #: guix-git/doc/guix.texi:25247
  37209. #, no-wrap
  37210. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  37211. msgstr ""
  37212. #. type: table
  37213. #: guix-git/doc/guix.texi:25249
  37214. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  37215. msgstr ""
  37216. #. type: code{#1}
  37217. #: guix-git/doc/guix.texi:25250
  37218. #, no-wrap
  37219. msgid "\"ip.add.re.ss:port\""
  37220. msgstr ""
  37221. #. type: table
  37222. #: guix-git/doc/guix.texi:25252
  37223. msgid "Listen on a TCP socket to a specific address on a specific port."
  37224. msgstr ""
  37225. #. type: code{#1}
  37226. #: guix-git/doc/guix.texi:25252
  37227. #, no-wrap
  37228. msgid "\"port\""
  37229. msgstr ""
  37230. #. type: table
  37231. #: guix-git/doc/guix.texi:25254
  37232. msgid "Listen on a TCP socket to all addresses on a specific port."
  37233. msgstr ""
  37234. #. type: code{#1}
  37235. #: guix-git/doc/guix.texi:25254
  37236. #, no-wrap
  37237. msgid "\"/path/to/unix/socket\""
  37238. msgstr ""
  37239. #. type: table
  37240. #: guix-git/doc/guix.texi:25256
  37241. msgid "Listen on a unix socket."
  37242. msgstr ""
  37243. #. type: item
  37244. #: guix-git/doc/guix.texi:25258
  37245. #, no-wrap
  37246. msgid "@code{user} (default: @code{php-fpm})"
  37247. msgstr ""
  37248. #. type: table
  37249. #: guix-git/doc/guix.texi:25260
  37250. msgid "User who will own the php worker processes."
  37251. msgstr ""
  37252. #. type: item
  37253. #: guix-git/doc/guix.texi:25260
  37254. #, no-wrap
  37255. msgid "@code{group} (default: @code{php-fpm})"
  37256. msgstr ""
  37257. #. type: table
  37258. #: guix-git/doc/guix.texi:25262
  37259. msgid "Group of the worker processes."
  37260. msgstr ""
  37261. #. type: item
  37262. #: guix-git/doc/guix.texi:25262
  37263. #, no-wrap
  37264. msgid "@code{socket-user} (default: @code{php-fpm})"
  37265. msgstr ""
  37266. #. type: table
  37267. #: guix-git/doc/guix.texi:25264
  37268. msgid "User who can speak to the php-fpm socket."
  37269. msgstr ""
  37270. #. type: item
  37271. #: guix-git/doc/guix.texi:25264
  37272. #, no-wrap
  37273. msgid "@code{socket-group} (default: @code{nginx})"
  37274. msgstr ""
  37275. #. type: table
  37276. #: guix-git/doc/guix.texi:25266
  37277. msgid "Group that can speak to the php-fpm socket."
  37278. msgstr ""
  37279. #. type: item
  37280. #: guix-git/doc/guix.texi:25266
  37281. #, no-wrap
  37282. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  37283. msgstr ""
  37284. #. type: table
  37285. #: guix-git/doc/guix.texi:25269
  37286. msgid "The process id of the php-fpm process is written to this file once the service has started."
  37287. msgstr ""
  37288. #. type: item
  37289. #: guix-git/doc/guix.texi:25269
  37290. #, no-wrap
  37291. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  37292. msgstr ""
  37293. #. type: table
  37294. #: guix-git/doc/guix.texi:25271
  37295. msgid "Log for the php-fpm master process."
  37296. msgstr ""
  37297. #. type: item
  37298. #: guix-git/doc/guix.texi:25271
  37299. #, no-wrap
  37300. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  37301. msgstr ""
  37302. #. type: table
  37303. #: guix-git/doc/guix.texi:25274
  37304. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  37305. msgstr ""
  37306. #. type: code{#1}
  37307. #: guix-git/doc/guix.texi:25275
  37308. #, no-wrap
  37309. msgid "<php-fpm-dynamic-process-manager-configuration>"
  37310. msgstr ""
  37311. #. type: code{#1}
  37312. #: guix-git/doc/guix.texi:25276
  37313. #, no-wrap
  37314. msgid "<php-fpm-static-process-manager-configuration>"
  37315. msgstr ""
  37316. #. type: code{#1}
  37317. #: guix-git/doc/guix.texi:25277
  37318. #, no-wrap
  37319. msgid "<php-fpm-on-demand-process-manager-configuration>"
  37320. msgstr ""
  37321. #. type: item
  37322. #: guix-git/doc/guix.texi:25279
  37323. #, no-wrap
  37324. msgid "@code{display-errors} (default @code{#f})"
  37325. msgstr ""
  37326. #. type: table
  37327. #: guix-git/doc/guix.texi:25284
  37328. 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."
  37329. msgstr ""
  37330. #. type: item
  37331. #: guix-git/doc/guix.texi:25284
  37332. #, no-wrap
  37333. msgid "@code{timezone} (default @code{#f})"
  37334. msgstr ""
  37335. #. type: table
  37336. #: guix-git/doc/guix.texi:25286
  37337. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  37338. msgstr ""
  37339. #. type: item
  37340. #: guix-git/doc/guix.texi:25286
  37341. #, no-wrap
  37342. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  37343. msgstr ""
  37344. #. type: table
  37345. #: guix-git/doc/guix.texi:25289
  37346. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  37347. msgstr ""
  37348. #. type: item
  37349. #: guix-git/doc/guix.texi:25289
  37350. #, no-wrap
  37351. msgid "@code{file} (default @code{#f})"
  37352. msgstr ""
  37353. #. type: table
  37354. #: guix-git/doc/guix.texi:25292
  37355. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  37356. msgstr ""
  37357. #. type: item
  37358. #: guix-git/doc/guix.texi:25292
  37359. #, no-wrap
  37360. msgid "@code{php-ini-file} (default @code{#f})"
  37361. msgstr ""
  37362. #. type: table
  37363. #: guix-git/doc/guix.texi:25296
  37364. 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."
  37365. msgstr ""
  37366. #. type: table
  37367. #: guix-git/doc/guix.texi:25300
  37368. 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:"
  37369. msgstr ""
  37370. #. type: lisp
  37371. #: guix-git/doc/guix.texi:25305
  37372. #, no-wrap
  37373. msgid ""
  37374. "(define %local-php-ini\n"
  37375. " (plain-file \"php.ini\"\n"
  37376. " \"memory_limit = 2G\n"
  37377. "max_execution_time = 1800\"))\n"
  37378. "\n"
  37379. msgstr ""
  37380. #. type: lisp
  37381. #: guix-git/doc/guix.texi:25312
  37382. #, no-wrap
  37383. msgid ""
  37384. "(operating-system\n"
  37385. " ;; @dots{}\n"
  37386. " (services (cons (service php-fpm-service-type\n"
  37387. " (php-fpm-configuration\n"
  37388. " (php-ini-file %local-php-ini)))\n"
  37389. " %base-services)))\n"
  37390. msgstr ""
  37391. #. type: table
  37392. #: guix-git/doc/guix.texi:25317
  37393. 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."
  37394. msgstr ""
  37395. #. type: deftp
  37396. #: guix-git/doc/guix.texi:25320
  37397. #, no-wrap
  37398. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  37399. msgstr ""
  37400. #. type: deftp
  37401. #: guix-git/doc/guix.texi:25324
  37402. 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."
  37403. msgstr ""
  37404. #. type: item
  37405. #: guix-git/doc/guix.texi:25325 guix-git/doc/guix.texi:25341
  37406. #: guix-git/doc/guix.texi:25351
  37407. #, no-wrap
  37408. msgid "@code{max-children} (default: @code{5})"
  37409. msgstr ""
  37410. #. type: table
  37411. #: guix-git/doc/guix.texi:25327 guix-git/doc/guix.texi:25343
  37412. #: guix-git/doc/guix.texi:25353
  37413. msgid "Maximum of worker processes."
  37414. msgstr ""
  37415. #. type: item
  37416. #: guix-git/doc/guix.texi:25327
  37417. #, no-wrap
  37418. msgid "@code{start-servers} (default: @code{2})"
  37419. msgstr ""
  37420. #. type: table
  37421. #: guix-git/doc/guix.texi:25329
  37422. msgid "How many worker processes should be started on start-up."
  37423. msgstr ""
  37424. #. type: item
  37425. #: guix-git/doc/guix.texi:25329
  37426. #, no-wrap
  37427. msgid "@code{min-spare-servers} (default: @code{1})"
  37428. msgstr ""
  37429. #. type: table
  37430. #: guix-git/doc/guix.texi:25331
  37431. msgid "How many spare worker processes should be kept around at minimum."
  37432. msgstr ""
  37433. #. type: item
  37434. #: guix-git/doc/guix.texi:25331
  37435. #, no-wrap
  37436. msgid "@code{max-spare-servers} (default: @code{3})"
  37437. msgstr ""
  37438. #. type: table
  37439. #: guix-git/doc/guix.texi:25333
  37440. msgid "How many spare worker processes should be kept around at maximum."
  37441. msgstr ""
  37442. #. type: deftp
  37443. #: guix-git/doc/guix.texi:25336
  37444. #, no-wrap
  37445. msgid "{Data type} php-fpm-static-process-manager-configuration"
  37446. msgstr ""
  37447. #. type: deftp
  37448. #: guix-git/doc/guix.texi:25340
  37449. 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."
  37450. msgstr ""
  37451. #. type: deftp
  37452. #: guix-git/doc/guix.texi:25346
  37453. #, no-wrap
  37454. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  37455. msgstr ""
  37456. #. type: deftp
  37457. #: guix-git/doc/guix.texi:25350
  37458. 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."
  37459. msgstr ""
  37460. #. type: item
  37461. #: guix-git/doc/guix.texi:25353
  37462. #, no-wrap
  37463. msgid "@code{process-idle-timeout} (default: @code{10})"
  37464. msgstr ""
  37465. #. type: table
  37466. #: guix-git/doc/guix.texi:25355
  37467. msgid "The time in seconds after which a process with no requests is killed."
  37468. msgstr ""
  37469. #. type: deffn
  37470. #: guix-git/doc/guix.texi:25359
  37471. #, no-wrap
  37472. msgid "{Scheme Procedure} nginx-php-location @"
  37473. msgstr ""
  37474. #. type: deffn
  37475. #: guix-git/doc/guix.texi:25365
  37476. 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}."
  37477. msgstr ""
  37478. #. type: Plain text
  37479. #: guix-git/doc/guix.texi:25368
  37480. msgid "A simple services setup for nginx with php can look like this:"
  37481. msgstr ""
  37482. #. type: lisp
  37483. #: guix-git/doc/guix.texi:25381
  37484. #, no-wrap
  37485. msgid ""
  37486. "(services (cons* (service dhcp-client-service-type)\n"
  37487. " (service php-fpm-service-type)\n"
  37488. " (service nginx-service-type\n"
  37489. " (nginx-server-configuration\n"
  37490. " (server-name '(\"example.com\"))\n"
  37491. " (root \"/srv/http/\")\n"
  37492. " (locations\n"
  37493. " (list (nginx-php-location)))\n"
  37494. " (listen '(\"80\"))\n"
  37495. " (ssl-certificate #f)\n"
  37496. " (ssl-certificate-key #f)))\n"
  37497. " %base-services))\n"
  37498. msgstr ""
  37499. #. type: cindex
  37500. #: guix-git/doc/guix.texi:25383
  37501. #, no-wrap
  37502. msgid "cat-avatar-generator"
  37503. msgstr ""
  37504. #. type: Plain text
  37505. #: guix-git/doc/guix.texi:25387
  37506. 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."
  37507. msgstr ""
  37508. #. type: deffn
  37509. #: guix-git/doc/guix.texi:25388
  37510. #, no-wrap
  37511. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  37512. msgstr ""
  37513. #. type: deffn
  37514. #: guix-git/doc/guix.texi:25396
  37515. 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."
  37516. msgstr ""
  37517. #. type: Plain text
  37518. #: guix-git/doc/guix.texi:25399
  37519. msgid "A simple setup for cat-avatar-generator can look like this:"
  37520. msgstr ""
  37521. #. type: lisp
  37522. #: guix-git/doc/guix.texi:25406
  37523. #, no-wrap
  37524. msgid ""
  37525. "(services (cons* (cat-avatar-generator-service\n"
  37526. " #:configuration\n"
  37527. " (nginx-server-configuration\n"
  37528. " (server-name '(\"example.com\"))))\n"
  37529. " ...\n"
  37530. " %base-services))\n"
  37531. msgstr ""
  37532. #. type: subsubheading
  37533. #: guix-git/doc/guix.texi:25408
  37534. #, no-wrap
  37535. msgid "Hpcguix-web"
  37536. msgstr ""
  37537. #. type: cindex
  37538. #: guix-git/doc/guix.texi:25410
  37539. #, no-wrap
  37540. msgid "hpcguix-web"
  37541. msgstr ""
  37542. #. type: Plain text
  37543. #: guix-git/doc/guix.texi:25415
  37544. 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."
  37545. msgstr ""
  37546. #. type: defvr
  37547. #: guix-git/doc/guix.texi:25416
  37548. #, no-wrap
  37549. msgid "{Scheme Variable} hpcguix-web-service-type"
  37550. msgstr ""
  37551. #. type: defvr
  37552. #: guix-git/doc/guix.texi:25418
  37553. msgid "The service type for @code{hpcguix-web}."
  37554. msgstr ""
  37555. #. type: deftp
  37556. #: guix-git/doc/guix.texi:25420
  37557. #, no-wrap
  37558. msgid "{Data Type} hpcguix-web-configuration"
  37559. msgstr ""
  37560. #. type: deftp
  37561. #: guix-git/doc/guix.texi:25422
  37562. msgid "Data type for the hpcguix-web service configuration."
  37563. msgstr ""
  37564. #. type: code{#1}
  37565. #: guix-git/doc/guix.texi:25424
  37566. #, no-wrap
  37567. msgid "specs"
  37568. msgstr ""
  37569. #. type: table
  37570. #: guix-git/doc/guix.texi:25427
  37571. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  37572. msgstr ""
  37573. #. type: item
  37574. #: guix-git/doc/guix.texi:25429
  37575. #, no-wrap
  37576. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  37577. msgstr ""
  37578. #. type: table
  37579. #: guix-git/doc/guix.texi:25431
  37580. msgid "The page title prefix."
  37581. msgstr ""
  37582. #. type: item
  37583. #: guix-git/doc/guix.texi:25432
  37584. #, no-wrap
  37585. msgid "@code{guix-command} (default: @code{\"guix\"})"
  37586. msgstr ""
  37587. #. type: table
  37588. #: guix-git/doc/guix.texi:25434
  37589. msgid "The @command{guix} command."
  37590. msgstr ""
  37591. #. type: item
  37592. #: guix-git/doc/guix.texi:25435
  37593. #, no-wrap
  37594. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  37595. msgstr ""
  37596. #. type: table
  37597. #: guix-git/doc/guix.texi:25437
  37598. msgid "A procedure specifying how to filter packages that are displayed."
  37599. msgstr ""
  37600. #. type: item
  37601. #: guix-git/doc/guix.texi:25438
  37602. #, no-wrap
  37603. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  37604. msgstr ""
  37605. #. type: table
  37606. #: guix-git/doc/guix.texi:25440
  37607. msgid "Extension package for @code{hpcguix-web}."
  37608. msgstr ""
  37609. #. type: item
  37610. #: guix-git/doc/guix.texi:25441
  37611. #, no-wrap
  37612. msgid "@code{menu} (default: @code{'()})"
  37613. msgstr ""
  37614. #. type: table
  37615. #: guix-git/doc/guix.texi:25443
  37616. msgid "Additional entry in page @code{menu}."
  37617. msgstr ""
  37618. #. type: item
  37619. #: guix-git/doc/guix.texi:25444
  37620. #, no-wrap
  37621. msgid "@code{channels} (default: @code{%default-channels})"
  37622. msgstr ""
  37623. #. type: table
  37624. #: guix-git/doc/guix.texi:25446
  37625. msgid "List of channels from which the package list is built (@pxref{Channels})."
  37626. msgstr ""
  37627. #. type: item
  37628. #: guix-git/doc/guix.texi:25447
  37629. #, no-wrap
  37630. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  37631. msgstr ""
  37632. #. type: table
  37633. #: guix-git/doc/guix.texi:25450
  37634. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  37635. msgstr ""
  37636. #. type: table
  37637. #: guix-git/doc/guix.texi:25455
  37638. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  37639. msgstr ""
  37640. #. type: item
  37641. #: guix-git/doc/guix.texi:25456
  37642. #, no-wrap
  37643. msgid "@code{package} (default: @code{hpcguix-web})"
  37644. msgstr ""
  37645. #. type: table
  37646. #: guix-git/doc/guix.texi:25458
  37647. msgid "The hpcguix-web package to use."
  37648. msgstr ""
  37649. #. type: Plain text
  37650. #: guix-git/doc/guix.texi:25462
  37651. msgid "A typical hpcguix-web service declaration looks like this:"
  37652. msgstr ""
  37653. #. type: lisp
  37654. #: guix-git/doc/guix.texi:25471
  37655. #, no-wrap
  37656. msgid ""
  37657. "(service hpcguix-web-service-type\n"
  37658. " (hpcguix-web-configuration\n"
  37659. " (specs\n"
  37660. " #~(define site-config\n"
  37661. " (hpcweb-configuration\n"
  37662. " (title-prefix \"Guix-HPC - \")\n"
  37663. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  37664. msgstr ""
  37665. #. type: quotation
  37666. #: guix-git/doc/guix.texi:25478
  37667. 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."
  37668. msgstr ""
  37669. #. type: quotation
  37670. #: guix-git/doc/guix.texi:25482
  37671. 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."
  37672. msgstr ""
  37673. #. type: cindex
  37674. #: guix-git/doc/guix.texi:25484 guix-git/doc/guix.texi:25486
  37675. #, no-wrap
  37676. msgid "gmnisrv"
  37677. msgstr ""
  37678. #. type: Plain text
  37679. #: guix-git/doc/guix.texi:25489
  37680. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  37681. msgstr ""
  37682. #. type: deffn
  37683. #: guix-git/doc/guix.texi:25490
  37684. #, no-wrap
  37685. msgid "{Scheme Variable} gmnisrv-service-type"
  37686. msgstr ""
  37687. #. type: deffn
  37688. #: guix-git/doc/guix.texi:25493
  37689. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  37690. msgstr ""
  37691. #. type: lisp
  37692. #: guix-git/doc/guix.texi:25498
  37693. #, no-wrap
  37694. msgid ""
  37695. "(service gmnisrv-service-type\n"
  37696. " (gmnisrv-configuration\n"
  37697. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  37698. msgstr ""
  37699. #. type: deftp
  37700. #: guix-git/doc/guix.texi:25501
  37701. #, no-wrap
  37702. msgid "{Data Type} gmnisrv-configuration"
  37703. msgstr ""
  37704. #. type: deftp
  37705. #: guix-git/doc/guix.texi:25503
  37706. msgid "Data type representing the configuration of gmnisrv."
  37707. msgstr ""
  37708. #. type: item
  37709. #: guix-git/doc/guix.texi:25505
  37710. #, no-wrap
  37711. msgid "@code{package} (default: @var{gmnisrv})"
  37712. msgstr ""
  37713. #. type: table
  37714. #: guix-git/doc/guix.texi:25507
  37715. msgid "Package object of the gmnisrv server."
  37716. msgstr ""
  37717. #. type: item
  37718. #: guix-git/doc/guix.texi:25508
  37719. #, no-wrap
  37720. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  37721. msgstr ""
  37722. #. type: table
  37723. #: guix-git/doc/guix.texi:25514
  37724. 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}."
  37725. msgstr ""
  37726. #. type: subsubheading
  37727. #: guix-git/doc/guix.texi:25518
  37728. #, no-wrap
  37729. msgid "Agate"
  37730. msgstr ""
  37731. #. type: cindex
  37732. #: guix-git/doc/guix.texi:25520
  37733. #, no-wrap
  37734. msgid "agate"
  37735. msgstr ""
  37736. #. type: Plain text
  37737. #: guix-git/doc/guix.texi:25525
  37738. 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."
  37739. msgstr ""
  37740. #. type: deffn
  37741. #: guix-git/doc/guix.texi:25526
  37742. #, no-wrap
  37743. msgid "{Scheme Variable} agate-service-type"
  37744. msgstr ""
  37745. #. type: deffn
  37746. #: guix-git/doc/guix.texi:25529
  37747. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  37748. msgstr ""
  37749. #. type: lisp
  37750. #: guix-git/doc/guix.texi:25536
  37751. #, no-wrap
  37752. msgid ""
  37753. "(service agate-service-type\n"
  37754. "\t (agate-configuration\n"
  37755. "\t (content \"/srv/gemini\")\n"
  37756. "\t (cert \"/srv/cert.pem\")\n"
  37757. "\t (key \"/srv/key.rsa\")))\n"
  37758. msgstr ""
  37759. #. type: deffn
  37760. #: guix-git/doc/guix.texi:25541
  37761. 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."
  37762. msgstr ""
  37763. #. type: deffn
  37764. #: guix-git/doc/guix.texi:25544
  37765. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  37766. msgstr ""
  37767. #. type: example
  37768. #: guix-git/doc/guix.texi:25548
  37769. #, no-wrap
  37770. msgid ""
  37771. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  37772. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  37773. msgstr ""
  37774. #. type: deffn
  37775. #: guix-git/doc/guix.texi:25553
  37776. 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."
  37777. msgstr ""
  37778. #. type: deftp
  37779. #: guix-git/doc/guix.texi:25556
  37780. #, no-wrap
  37781. msgid "{Data Type} agate-configuration"
  37782. msgstr ""
  37783. #. type: deftp
  37784. #: guix-git/doc/guix.texi:25558
  37785. msgid "Data type representing the configuration of Agate."
  37786. msgstr ""
  37787. #. type: item
  37788. #: guix-git/doc/guix.texi:25560
  37789. #, no-wrap
  37790. msgid "@code{package} (default: @code{agate})"
  37791. msgstr ""
  37792. #. type: table
  37793. #: guix-git/doc/guix.texi:25562
  37794. msgid "The package object of the Agate server."
  37795. msgstr ""
  37796. #. type: item
  37797. #: guix-git/doc/guix.texi:25563
  37798. #, no-wrap
  37799. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  37800. msgstr ""
  37801. #. type: table
  37802. #: guix-git/doc/guix.texi:25565
  37803. msgid "The directory from which Agate will serve files."
  37804. msgstr ""
  37805. #. type: item
  37806. #: guix-git/doc/guix.texi:25566
  37807. #, no-wrap
  37808. msgid "@code{cert} (default: @code{#f})"
  37809. msgstr ""
  37810. #. type: table
  37811. #: guix-git/doc/guix.texi:25569
  37812. 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."
  37813. msgstr ""
  37814. #. type: item
  37815. #: guix-git/doc/guix.texi:25570 guix-git/doc/guix.texi:25998
  37816. #, no-wrap
  37817. msgid "@code{key} (default: @code{#f})"
  37818. msgstr ""
  37819. #. type: table
  37820. #: guix-git/doc/guix.texi:25573
  37821. 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."
  37822. msgstr ""
  37823. #. type: item
  37824. #: guix-git/doc/guix.texi:25574
  37825. #, no-wrap
  37826. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  37827. msgstr ""
  37828. #. type: table
  37829. #: guix-git/doc/guix.texi:25576
  37830. msgid "A list of the addresses to listen on."
  37831. msgstr ""
  37832. #. type: table
  37833. #: guix-git/doc/guix.texi:25579
  37834. msgid "The domain name of this Gemini server. Optional."
  37835. msgstr ""
  37836. #. type: item
  37837. #: guix-git/doc/guix.texi:25580
  37838. #, no-wrap
  37839. msgid "@code{lang} (default: @code{#f})"
  37840. msgstr ""
  37841. #. type: table
  37842. #: guix-git/doc/guix.texi:25582
  37843. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  37844. msgstr ""
  37845. #. type: item
  37846. #: guix-git/doc/guix.texi:25583
  37847. #, no-wrap
  37848. msgid "@code{silent?} (default: @code{#f})"
  37849. msgstr ""
  37850. #. type: table
  37851. #: guix-git/doc/guix.texi:25585
  37852. msgid "Set to @code{#t} to disable logging output."
  37853. msgstr ""
  37854. #. type: item
  37855. #: guix-git/doc/guix.texi:25586
  37856. #, no-wrap
  37857. msgid "@code{serve-secret?} (default: @code{#f})"
  37858. msgstr ""
  37859. #. type: table
  37860. #: guix-git/doc/guix.texi:25589
  37861. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  37862. msgstr ""
  37863. #. type: item
  37864. #: guix-git/doc/guix.texi:25590
  37865. #, no-wrap
  37866. msgid "@code{log-ip?} (default: @code{#t})"
  37867. msgstr ""
  37868. #. type: table
  37869. #: guix-git/doc/guix.texi:25592
  37870. msgid "Whether or not to output IP addresses when logging."
  37871. msgstr ""
  37872. #. type: item
  37873. #: guix-git/doc/guix.texi:25593
  37874. #, no-wrap
  37875. msgid "@code{user} (default: @code{\"agate\"})"
  37876. msgstr ""
  37877. #. type: table
  37878. #: guix-git/doc/guix.texi:25595
  37879. msgid "Owner of the @code{agate} process."
  37880. msgstr ""
  37881. #. type: item
  37882. #: guix-git/doc/guix.texi:25596
  37883. #, no-wrap
  37884. msgid "@code{group} (default: @code{\"agate\"})"
  37885. msgstr ""
  37886. #. type: table
  37887. #: guix-git/doc/guix.texi:25598
  37888. msgid "Owner's group of the @code{agate} process."
  37889. msgstr ""
  37890. #. type: item
  37891. #: guix-git/doc/guix.texi:25599
  37892. #, no-wrap
  37893. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  37894. msgstr ""
  37895. #. type: table
  37896. #: guix-git/doc/guix.texi:25601
  37897. msgid "The file which should store the logging output of Agate."
  37898. msgstr ""
  37899. #. type: cindex
  37900. #: guix-git/doc/guix.texi:25608
  37901. #, no-wrap
  37902. msgid "Web"
  37903. msgstr ""
  37904. #. type: cindex
  37905. #: guix-git/doc/guix.texi:25609
  37906. #, no-wrap
  37907. msgid "HTTP, HTTPS"
  37908. msgstr ""
  37909. #. type: cindex
  37910. #: guix-git/doc/guix.texi:25610
  37911. #, no-wrap
  37912. msgid "Let's Encrypt"
  37913. msgstr ""
  37914. #. type: cindex
  37915. #: guix-git/doc/guix.texi:25611
  37916. #, no-wrap
  37917. msgid "TLS certificates"
  37918. msgstr ""
  37919. #. type: Plain text
  37920. #: guix-git/doc/guix.texi:25618
  37921. 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."
  37922. msgstr ""
  37923. #. type: Plain text
  37924. #: guix-git/doc/guix.texi:25630
  37925. 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."
  37926. msgstr ""
  37927. #. type: Plain text
  37928. #: guix-git/doc/guix.texi:25637
  37929. 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)."
  37930. msgstr ""
  37931. #. type: Plain text
  37932. #: guix-git/doc/guix.texi:25643
  37933. 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."
  37934. msgstr ""
  37935. #. type: Plain text
  37936. #: guix-git/doc/guix.texi:25647
  37937. 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}."
  37938. msgstr ""
  37939. #. type: defvr
  37940. #: guix-git/doc/guix.texi:25648
  37941. #, no-wrap
  37942. msgid "{Scheme Variable} certbot-service-type"
  37943. msgstr ""
  37944. #. type: defvr
  37945. #: guix-git/doc/guix.texi:25651
  37946. 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:"
  37947. msgstr ""
  37948. #. type: lisp
  37949. #: guix-git/doc/guix.texi:25658
  37950. #, no-wrap
  37951. msgid ""
  37952. "(define %nginx-deploy-hook\n"
  37953. " (program-file\n"
  37954. " \"nginx-deploy-hook\"\n"
  37955. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  37956. " (kill pid SIGHUP))))\n"
  37957. "\n"
  37958. msgstr ""
  37959. #. type: lisp
  37960. #: guix-git/doc/guix.texi:25669
  37961. #, no-wrap
  37962. msgid ""
  37963. "(service certbot-service-type\n"
  37964. " (certbot-configuration\n"
  37965. " (email \"foo@@example.net\")\n"
  37966. " (certificates\n"
  37967. " (list\n"
  37968. " (certificate-configuration\n"
  37969. " (domains '(\"example.net\" \"www.example.net\"))\n"
  37970. " (deploy-hook %nginx-deploy-hook))\n"
  37971. " (certificate-configuration\n"
  37972. " (domains '(\"bar.example.net\")))))))\n"
  37973. msgstr ""
  37974. #. type: defvr
  37975. #: guix-git/doc/guix.texi:25672
  37976. msgid "See below for details about @code{certbot-configuration}."
  37977. msgstr ""
  37978. #. type: deftp
  37979. #: guix-git/doc/guix.texi:25674
  37980. #, no-wrap
  37981. msgid "{Data Type} certbot-configuration"
  37982. msgstr ""
  37983. #. type: deftp
  37984. #: guix-git/doc/guix.texi:25677
  37985. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  37986. msgstr ""
  37987. #. type: item
  37988. #: guix-git/doc/guix.texi:25679
  37989. #, no-wrap
  37990. msgid "@code{package} (default: @code{certbot})"
  37991. msgstr ""
  37992. #. type: table
  37993. #: guix-git/doc/guix.texi:25681
  37994. msgid "The certbot package to use."
  37995. msgstr ""
  37996. #. type: item
  37997. #: guix-git/doc/guix.texi:25682
  37998. #, no-wrap
  37999. msgid "@code{webroot} (default: @code{/var/www})"
  38000. msgstr ""
  38001. #. type: table
  38002. #: guix-git/doc/guix.texi:25685
  38003. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  38004. msgstr ""
  38005. #. type: item
  38006. #: guix-git/doc/guix.texi:25686
  38007. #, no-wrap
  38008. msgid "@code{certificates} (default: @code{()})"
  38009. msgstr ""
  38010. #. type: table
  38011. #: guix-git/doc/guix.texi:25690
  38012. 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}."
  38013. msgstr ""
  38014. #. type: item
  38015. #: guix-git/doc/guix.texi:25691
  38016. #, no-wrap
  38017. msgid "@code{email} (default: @code{#f})"
  38018. msgstr ""
  38019. #. type: table
  38020. #: guix-git/doc/guix.texi:25695
  38021. 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."
  38022. msgstr ""
  38023. #. type: item
  38024. #: guix-git/doc/guix.texi:25696 guix-git/doc/guix.texi:27376
  38025. #, no-wrap
  38026. msgid "@code{server} (default: @code{#f})"
  38027. msgstr ""
  38028. #. type: table
  38029. #: guix-git/doc/guix.texi:25699
  38030. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  38031. msgstr ""
  38032. #. type: item
  38033. #: guix-git/doc/guix.texi:25700
  38034. #, no-wrap
  38035. msgid "@code{rsa-key-size} (default: @code{2048})"
  38036. msgstr ""
  38037. #. type: table
  38038. #: guix-git/doc/guix.texi:25702
  38039. msgid "Size of the RSA key."
  38040. msgstr ""
  38041. #. type: item
  38042. #: guix-git/doc/guix.texi:25703
  38043. #, no-wrap
  38044. msgid "@code{default-location} (default: @i{see below})"
  38045. msgstr ""
  38046. #. type: table
  38047. #: guix-git/doc/guix.texi:25712
  38048. 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."
  38049. msgstr ""
  38050. #. type: table
  38051. #: guix-git/doc/guix.texi:25716
  38052. 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."
  38053. msgstr ""
  38054. #. type: table
  38055. #: guix-git/doc/guix.texi:25720
  38056. 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}."
  38057. msgstr ""
  38058. #. type: table
  38059. #: guix-git/doc/guix.texi:25722
  38060. msgid "Pass @code{#f} to not issue a default location."
  38061. msgstr ""
  38062. #. type: deftp
  38063. #: guix-git/doc/guix.texi:25725
  38064. #, no-wrap
  38065. msgid "{Data Type} certificate-configuration"
  38066. msgstr ""
  38067. #. type: deftp
  38068. #: guix-git/doc/guix.texi:25728
  38069. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  38070. msgstr ""
  38071. #. type: item
  38072. #: guix-git/doc/guix.texi:25730
  38073. #, no-wrap
  38074. msgid "@code{name} (default: @i{see below})"
  38075. msgstr ""
  38076. #. type: table
  38077. #: guix-git/doc/guix.texi:25734
  38078. 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}."
  38079. msgstr ""
  38080. #. type: table
  38081. #: guix-git/doc/guix.texi:25736
  38082. msgid "Its default is the first provided domain."
  38083. msgstr ""
  38084. #. type: item
  38085. #: guix-git/doc/guix.texi:25737
  38086. #, no-wrap
  38087. msgid "@code{domains} (default: @code{()})"
  38088. msgstr ""
  38089. #. type: table
  38090. #: guix-git/doc/guix.texi:25740
  38091. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  38092. msgstr ""
  38093. #. type: item
  38094. #: guix-git/doc/guix.texi:25741
  38095. #, no-wrap
  38096. msgid "@code{challenge} (default: @code{#f})"
  38097. msgstr ""
  38098. #. type: table
  38099. #: guix-git/doc/guix.texi:25748
  38100. 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."
  38101. msgstr ""
  38102. #. type: item
  38103. #: guix-git/doc/guix.texi:25749
  38104. #, no-wrap
  38105. msgid "@code{authentication-hook} (default: @code{#f})"
  38106. msgstr ""
  38107. #. type: table
  38108. #: guix-git/doc/guix.texi:25755
  38109. 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."
  38110. msgstr ""
  38111. #. type: item
  38112. #: guix-git/doc/guix.texi:25756
  38113. #, no-wrap
  38114. msgid "@code{cleanup-hook} (default: @code{#f})"
  38115. msgstr ""
  38116. #. type: table
  38117. #: guix-git/doc/guix.texi:25762
  38118. 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."
  38119. msgstr ""
  38120. #. type: item
  38121. #: guix-git/doc/guix.texi:25763
  38122. #, no-wrap
  38123. msgid "@code{deploy-hook} (default: @code{#f})"
  38124. msgstr ""
  38125. #. type: table
  38126. #: guix-git/doc/guix.texi:25771
  38127. 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\"}."
  38128. msgstr ""
  38129. #. type: Plain text
  38130. #: guix-git/doc/guix.texi:25778
  38131. 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}."
  38132. msgstr ""
  38133. #. type: cindex
  38134. #: guix-git/doc/guix.texi:25780
  38135. #, no-wrap
  38136. msgid "DNS (domain name system)"
  38137. msgstr ""
  38138. #. type: cindex
  38139. #: guix-git/doc/guix.texi:25781
  38140. #, no-wrap
  38141. msgid "domain name system (DNS)"
  38142. msgstr ""
  38143. #. type: Plain text
  38144. #: guix-git/doc/guix.texi:25789
  38145. 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}."
  38146. msgstr ""
  38147. #. type: subsubheading
  38148. #: guix-git/doc/guix.texi:25790
  38149. #, no-wrap
  38150. msgid "Knot Service"
  38151. msgstr ""
  38152. #. type: Plain text
  38153. #: guix-git/doc/guix.texi:25794
  38154. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  38155. msgstr ""
  38156. #. type: lisp
  38157. #: guix-git/doc/guix.texi:25801
  38158. #, no-wrap
  38159. msgid ""
  38160. "(define-zone-entries example.org.zone\n"
  38161. ";; Name TTL Class Type Data\n"
  38162. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  38163. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  38164. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  38165. "\n"
  38166. msgstr ""
  38167. #. type: lisp
  38168. #: guix-git/doc/guix.texi:25808
  38169. #, no-wrap
  38170. msgid ""
  38171. "(define master-zone\n"
  38172. " (knot-zone-configuration\n"
  38173. " (domain \"example.org\")\n"
  38174. " (zone (zone-file\n"
  38175. " (origin \"example.org\")\n"
  38176. " (entries example.org.zone)))))\n"
  38177. "\n"
  38178. msgstr ""
  38179. #. type: lisp
  38180. #: guix-git/doc/guix.texi:25814
  38181. #, no-wrap
  38182. msgid ""
  38183. "(define slave-zone\n"
  38184. " (knot-zone-configuration\n"
  38185. " (domain \"plop.org\")\n"
  38186. " (dnssec-policy \"default\")\n"
  38187. " (master (list \"plop-master\"))))\n"
  38188. "\n"
  38189. msgstr ""
  38190. #. type: lisp
  38191. #: guix-git/doc/guix.texi:25819
  38192. #, no-wrap
  38193. msgid ""
  38194. "(define plop-master\n"
  38195. " (knot-remote-configuration\n"
  38196. " (id \"plop-master\")\n"
  38197. " (address (list \"208.76.58.171\"))))\n"
  38198. "\n"
  38199. msgstr ""
  38200. #. type: lisp
  38201. #: guix-git/doc/guix.texi:25828
  38202. #, no-wrap
  38203. msgid ""
  38204. "(operating-system\n"
  38205. " ;; ...\n"
  38206. " (services (cons* (service knot-service-type\n"
  38207. " (knot-configuration\n"
  38208. " (remotes (list plop-master))\n"
  38209. " (zones (list master-zone slave-zone))))\n"
  38210. " ;; ...\n"
  38211. " %base-services)))\n"
  38212. msgstr ""
  38213. #. type: deffn
  38214. #: guix-git/doc/guix.texi:25830
  38215. #, no-wrap
  38216. msgid "{Scheme Variable} knot-service-type"
  38217. msgstr ""
  38218. #. type: deffn
  38219. #: guix-git/doc/guix.texi:25832
  38220. msgid "This is the type for the Knot DNS server."
  38221. msgstr ""
  38222. #. type: deffn
  38223. #: guix-git/doc/guix.texi:25840
  38224. 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."
  38225. msgstr ""
  38226. #. type: deffn
  38227. #: guix-git/doc/guix.texi:25842
  38228. msgid "The following data types are used to configure the Knot DNS server:"
  38229. msgstr ""
  38230. #. type: deftp
  38231. #: guix-git/doc/guix.texi:25844
  38232. #, no-wrap
  38233. msgid "{Data Type} knot-key-configuration"
  38234. msgstr ""
  38235. #. type: deftp
  38236. #: guix-git/doc/guix.texi:25847
  38237. msgid "Data type representing a key. This type has the following parameters:"
  38238. msgstr ""
  38239. #. type: item
  38240. #: guix-git/doc/guix.texi:25849 guix-git/doc/guix.texi:25869
  38241. #: guix-git/doc/guix.texi:25984 guix-git/doc/guix.texi:26010
  38242. #: guix-git/doc/guix.texi:26045
  38243. #, no-wrap
  38244. msgid "@code{id} (default: @code{\"\"})"
  38245. msgstr ""
  38246. #. type: table
  38247. #: guix-git/doc/guix.texi:25852 guix-git/doc/guix.texi:25872
  38248. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  38249. msgstr ""
  38250. #. type: item
  38251. #: guix-git/doc/guix.texi:25853
  38252. #, no-wrap
  38253. msgid "@code{algorithm} (default: @code{#f})"
  38254. msgstr ""
  38255. #. type: table
  38256. #: guix-git/doc/guix.texi:25857
  38257. 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}."
  38258. msgstr ""
  38259. #. type: item
  38260. #: guix-git/doc/guix.texi:25858
  38261. #, no-wrap
  38262. msgid "@code{secret} (default: @code{\"\"})"
  38263. msgstr ""
  38264. #. type: table
  38265. #: guix-git/doc/guix.texi:25860
  38266. msgid "The secret key itself."
  38267. msgstr ""
  38268. #. type: deftp
  38269. #: guix-git/doc/guix.texi:25864
  38270. #, no-wrap
  38271. msgid "{Data Type} knot-acl-configuration"
  38272. msgstr ""
  38273. #. type: deftp
  38274. #: guix-git/doc/guix.texi:25867
  38275. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  38276. msgstr ""
  38277. #. type: item
  38278. #: guix-git/doc/guix.texi:25873 guix-git/doc/guix.texi:25988
  38279. #, no-wrap
  38280. msgid "@code{address} (default: @code{'()})"
  38281. msgstr ""
  38282. #. type: table
  38283. #: guix-git/doc/guix.texi:25877
  38284. 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."
  38285. msgstr ""
  38286. #. type: item
  38287. #: guix-git/doc/guix.texi:25878
  38288. #, no-wrap
  38289. msgid "@code{key} (default: @code{'()})"
  38290. msgstr ""
  38291. #. type: table
  38292. #: guix-git/doc/guix.texi:25882
  38293. 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."
  38294. msgstr ""
  38295. #. type: item
  38296. #: guix-git/doc/guix.texi:25883
  38297. #, no-wrap
  38298. msgid "@code{action} (default: @code{'()})"
  38299. msgstr ""
  38300. #. type: table
  38301. #: guix-git/doc/guix.texi:25887
  38302. 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}."
  38303. msgstr ""
  38304. #. type: item
  38305. #: guix-git/doc/guix.texi:25888
  38306. #, no-wrap
  38307. msgid "@code{deny?} (default: @code{#f})"
  38308. msgstr ""
  38309. #. type: table
  38310. #: guix-git/doc/guix.texi:25891
  38311. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  38312. msgstr ""
  38313. #. type: deftp
  38314. #: guix-git/doc/guix.texi:25895
  38315. #, no-wrap
  38316. msgid "{Data Type} zone-entry"
  38317. msgstr ""
  38318. #. type: deftp
  38319. #: guix-git/doc/guix.texi:25898
  38320. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  38321. msgstr ""
  38322. #. type: item
  38323. #: guix-git/doc/guix.texi:25900
  38324. #, no-wrap
  38325. msgid "@code{name} (default: @code{\"@@\"})"
  38326. msgstr ""
  38327. #. type: table
  38328. #: guix-git/doc/guix.texi:25906
  38329. 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}."
  38330. msgstr ""
  38331. #. type: item
  38332. #: guix-git/doc/guix.texi:25907
  38333. #, no-wrap
  38334. msgid "@code{ttl} (default: @code{\"\"})"
  38335. msgstr ""
  38336. #. type: table
  38337. #: guix-git/doc/guix.texi:25909
  38338. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  38339. msgstr ""
  38340. #. type: item
  38341. #: guix-git/doc/guix.texi:25910
  38342. #, no-wrap
  38343. msgid "@code{class} (default: @code{\"IN\"})"
  38344. msgstr ""
  38345. #. type: table
  38346. #: guix-git/doc/guix.texi:25913
  38347. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  38348. msgstr ""
  38349. #. type: item
  38350. #: guix-git/doc/guix.texi:25914
  38351. #, no-wrap
  38352. msgid "@code{type} (default: @code{\"A\"})"
  38353. msgstr ""
  38354. #. type: table
  38355. #: guix-git/doc/guix.texi:25918
  38356. 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."
  38357. msgstr ""
  38358. #. type: item
  38359. #: guix-git/doc/guix.texi:25919
  38360. #, no-wrap
  38361. msgid "@code{data} (default: @code{\"\"})"
  38362. msgstr ""
  38363. #. type: table
  38364. #: guix-git/doc/guix.texi:25923
  38365. 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."
  38366. msgstr ""
  38367. #. type: deftp
  38368. #: guix-git/doc/guix.texi:25927
  38369. #, no-wrap
  38370. msgid "{Data Type} zone-file"
  38371. msgstr ""
  38372. #. type: deftp
  38373. #: guix-git/doc/guix.texi:25930
  38374. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  38375. msgstr ""
  38376. #. type: table
  38377. #: guix-git/doc/guix.texi:25939
  38378. 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}."
  38379. msgstr ""
  38380. #. type: item
  38381. #: guix-git/doc/guix.texi:25940
  38382. #, no-wrap
  38383. msgid "@code{origin} (default: @code{\"\"})"
  38384. msgstr ""
  38385. #. type: table
  38386. #: guix-git/doc/guix.texi:25942
  38387. msgid "The name of your zone. This parameter cannot be empty."
  38388. msgstr ""
  38389. #. type: item
  38390. #: guix-git/doc/guix.texi:25943
  38391. #, no-wrap
  38392. msgid "@code{ns} (default: @code{\"ns\"})"
  38393. msgstr ""
  38394. #. type: table
  38395. #: guix-git/doc/guix.texi:25948
  38396. 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."
  38397. msgstr ""
  38398. #. type: item
  38399. #: guix-git/doc/guix.texi:25949
  38400. #, no-wrap
  38401. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  38402. msgstr ""
  38403. #. type: table
  38404. #: guix-git/doc/guix.texi:25952
  38405. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  38406. msgstr ""
  38407. #. type: item
  38408. #: guix-git/doc/guix.texi:25953
  38409. #, no-wrap
  38410. msgid "@code{serial} (default: @code{1})"
  38411. msgstr ""
  38412. #. type: table
  38413. #: guix-git/doc/guix.texi:25957
  38414. 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."
  38415. msgstr ""
  38416. #. type: item
  38417. #: guix-git/doc/guix.texi:25958
  38418. #, no-wrap
  38419. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  38420. msgstr ""
  38421. #. type: table
  38422. #: guix-git/doc/guix.texi:25962
  38423. 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)}."
  38424. msgstr ""
  38425. #. type: item
  38426. #: guix-git/doc/guix.texi:25963
  38427. #, no-wrap
  38428. msgid "@code{retry} (default: @code{(* 15 60)})"
  38429. msgstr ""
  38430. #. type: table
  38431. #: guix-git/doc/guix.texi:25966
  38432. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  38433. msgstr ""
  38434. #. type: item
  38435. #: guix-git/doc/guix.texi:25967
  38436. #, no-wrap
  38437. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  38438. msgstr ""
  38439. #. type: table
  38440. #: guix-git/doc/guix.texi:25971
  38441. 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."
  38442. msgstr ""
  38443. #. type: item
  38444. #: guix-git/doc/guix.texi:25972
  38445. #, no-wrap
  38446. msgid "@code{nx} (default: @code{3600})"
  38447. msgstr ""
  38448. #. type: table
  38449. #: guix-git/doc/guix.texi:25975
  38450. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  38451. msgstr ""
  38452. #. type: deftp
  38453. #: guix-git/doc/guix.texi:25979
  38454. #, no-wrap
  38455. msgid "{Data Type} knot-remote-configuration"
  38456. msgstr ""
  38457. #. type: deftp
  38458. #: guix-git/doc/guix.texi:25982
  38459. msgid "Data type representing a remote configuration. This type has the following parameters:"
  38460. msgstr ""
  38461. #. type: table
  38462. #: guix-git/doc/guix.texi:25987
  38463. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  38464. msgstr ""
  38465. #. type: table
  38466. #: guix-git/doc/guix.texi:25992
  38467. 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."
  38468. msgstr ""
  38469. #. type: item
  38470. #: guix-git/doc/guix.texi:25993
  38471. #, no-wrap
  38472. msgid "@code{via} (default: @code{'()})"
  38473. msgstr ""
  38474. #. type: table
  38475. #: guix-git/doc/guix.texi:25997
  38476. 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."
  38477. msgstr ""
  38478. #. type: table
  38479. #: guix-git/doc/guix.texi:26001
  38480. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  38481. msgstr ""
  38482. #. type: deftp
  38483. #: guix-git/doc/guix.texi:26005
  38484. #, no-wrap
  38485. msgid "{Data Type} knot-keystore-configuration"
  38486. msgstr ""
  38487. #. type: deftp
  38488. #: guix-git/doc/guix.texi:26008
  38489. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  38490. msgstr ""
  38491. #. type: table
  38492. #: guix-git/doc/guix.texi:26012
  38493. msgid "The id of the keystore. It must not be empty."
  38494. msgstr ""
  38495. #. type: item
  38496. #: guix-git/doc/guix.texi:26013
  38497. #, no-wrap
  38498. msgid "@code{backend} (default: @code{'pem})"
  38499. msgstr ""
  38500. #. type: table
  38501. #: guix-git/doc/guix.texi:26015
  38502. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  38503. msgstr ""
  38504. #. type: item
  38505. #: guix-git/doc/guix.texi:26016
  38506. #, no-wrap
  38507. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  38508. msgstr ""
  38509. #. type: table
  38510. #: guix-git/doc/guix.texi:26020
  38511. 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."
  38512. msgstr ""
  38513. #. type: deftp
  38514. #: guix-git/doc/guix.texi:26024
  38515. #, no-wrap
  38516. msgid "{Data Type} knot-policy-configuration"
  38517. msgstr ""
  38518. #. type: deftp
  38519. #: guix-git/doc/guix.texi:26028
  38520. 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."
  38521. msgstr ""
  38522. #. type: deftp
  38523. #: guix-git/doc/guix.texi:26035
  38524. 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."
  38525. msgstr ""
  38526. #. type: deftp
  38527. #: guix-git/doc/guix.texi:26041
  38528. 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."
  38529. msgstr ""
  38530. #. type: deftp
  38531. #: guix-git/doc/guix.texi:26043
  38532. msgid "This type has the following parameters:"
  38533. msgstr ""
  38534. #. type: table
  38535. #: guix-git/doc/guix.texi:26047
  38536. msgid "The id of the policy. It must not be empty."
  38537. msgstr ""
  38538. #. type: item
  38539. #: guix-git/doc/guix.texi:26048
  38540. #, no-wrap
  38541. msgid "@code{keystore} (default: @code{\"default\"})"
  38542. msgstr ""
  38543. #. type: table
  38544. #: guix-git/doc/guix.texi:26053
  38545. 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)."
  38546. msgstr ""
  38547. #. type: item
  38548. #: guix-git/doc/guix.texi:26054
  38549. #, no-wrap
  38550. msgid "@code{manual?} (default: @code{#f})"
  38551. msgstr ""
  38552. #. type: table
  38553. #: guix-git/doc/guix.texi:26056
  38554. msgid "Whether the key management is manual or automatic."
  38555. msgstr ""
  38556. #. type: item
  38557. #: guix-git/doc/guix.texi:26057
  38558. #, no-wrap
  38559. msgid "@code{single-type-signing?} (default: @code{#f})"
  38560. msgstr ""
  38561. #. type: table
  38562. #: guix-git/doc/guix.texi:26059
  38563. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  38564. msgstr ""
  38565. #. type: item
  38566. #: guix-git/doc/guix.texi:26060
  38567. #, no-wrap
  38568. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  38569. msgstr ""
  38570. #. type: table
  38571. #: guix-git/doc/guix.texi:26062
  38572. msgid "An algorithm of signing keys and issued signatures."
  38573. msgstr ""
  38574. #. type: item
  38575. #: guix-git/doc/guix.texi:26063
  38576. #, no-wrap
  38577. msgid "@code{ksk-size} (default: @code{256})"
  38578. msgstr ""
  38579. #. type: table
  38580. #: guix-git/doc/guix.texi:26066
  38581. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  38582. msgstr ""
  38583. #. type: item
  38584. #: guix-git/doc/guix.texi:26067
  38585. #, no-wrap
  38586. msgid "@code{zsk-size} (default: @code{256})"
  38587. msgstr ""
  38588. #. type: table
  38589. #: guix-git/doc/guix.texi:26070
  38590. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  38591. msgstr ""
  38592. #. type: item
  38593. #: guix-git/doc/guix.texi:26071
  38594. #, no-wrap
  38595. msgid "@code{dnskey-ttl} (default: @code{'default})"
  38596. msgstr ""
  38597. #. type: table
  38598. #: guix-git/doc/guix.texi:26074
  38599. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  38600. msgstr ""
  38601. #. type: item
  38602. #: guix-git/doc/guix.texi:26075
  38603. #, no-wrap
  38604. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  38605. msgstr ""
  38606. #. type: table
  38607. #: guix-git/doc/guix.texi:26077
  38608. msgid "The period between ZSK publication and the next rollover initiation."
  38609. msgstr ""
  38610. #. type: item
  38611. #: guix-git/doc/guix.texi:26078
  38612. #, no-wrap
  38613. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  38614. msgstr ""
  38615. #. type: table
  38616. #: guix-git/doc/guix.texi:26081
  38617. 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."
  38618. msgstr ""
  38619. #. type: item
  38620. #: guix-git/doc/guix.texi:26082
  38621. #, no-wrap
  38622. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  38623. msgstr ""
  38624. #. type: table
  38625. #: guix-git/doc/guix.texi:26084
  38626. msgid "A validity period of newly issued signatures."
  38627. msgstr ""
  38628. #. type: item
  38629. #: guix-git/doc/guix.texi:26085
  38630. #, no-wrap
  38631. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  38632. msgstr ""
  38633. #. type: table
  38634. #: guix-git/doc/guix.texi:26087
  38635. msgid "A period how long before a signature expiration the signature will be refreshed."
  38636. msgstr ""
  38637. #. type: item
  38638. #: guix-git/doc/guix.texi:26088
  38639. #, no-wrap
  38640. msgid "@code{nsec3?} (default: @code{#f})"
  38641. msgstr ""
  38642. #. type: table
  38643. #: guix-git/doc/guix.texi:26090
  38644. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  38645. msgstr ""
  38646. #. type: item
  38647. #: guix-git/doc/guix.texi:26091
  38648. #, no-wrap
  38649. msgid "@code{nsec3-iterations} (default: @code{5})"
  38650. msgstr ""
  38651. #. type: table
  38652. #: guix-git/doc/guix.texi:26093
  38653. msgid "The number of additional times the hashing is performed."
  38654. msgstr ""
  38655. #. type: item
  38656. #: guix-git/doc/guix.texi:26094
  38657. #, no-wrap
  38658. msgid "@code{nsec3-salt-length} (default: @code{8})"
  38659. msgstr ""
  38660. #. type: table
  38661. #: guix-git/doc/guix.texi:26097
  38662. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  38663. msgstr ""
  38664. #. type: item
  38665. #: guix-git/doc/guix.texi:26098
  38666. #, no-wrap
  38667. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  38668. msgstr ""
  38669. #. type: table
  38670. #: guix-git/doc/guix.texi:26100
  38671. msgid "The validity period of newly issued salt field."
  38672. msgstr ""
  38673. #. type: deftp
  38674. #: guix-git/doc/guix.texi:26104
  38675. #, no-wrap
  38676. msgid "{Data Type} knot-zone-configuration"
  38677. msgstr ""
  38678. #. type: deftp
  38679. #: guix-git/doc/guix.texi:26107
  38680. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  38681. msgstr ""
  38682. #. type: item
  38683. #: guix-git/doc/guix.texi:26109
  38684. #, no-wrap
  38685. msgid "@code{domain} (default: @code{\"\"})"
  38686. msgstr ""
  38687. #. type: table
  38688. #: guix-git/doc/guix.texi:26111
  38689. msgid "The domain served by this configuration. It must not be empty."
  38690. msgstr ""
  38691. #. type: item
  38692. #: guix-git/doc/guix.texi:26112
  38693. #, no-wrap
  38694. msgid "@code{file} (default: @code{\"\"})"
  38695. msgstr ""
  38696. #. type: table
  38697. #: guix-git/doc/guix.texi:26115
  38698. 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."
  38699. msgstr ""
  38700. #. type: item
  38701. #: guix-git/doc/guix.texi:26116
  38702. #, no-wrap
  38703. msgid "@code{zone} (default: @code{(zone-file)})"
  38704. msgstr ""
  38705. #. type: table
  38706. #: guix-git/doc/guix.texi:26119
  38707. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  38708. msgstr ""
  38709. #. type: item
  38710. #: guix-git/doc/guix.texi:26120
  38711. #, no-wrap
  38712. msgid "@code{master} (default: @code{'()})"
  38713. msgstr ""
  38714. #. type: table
  38715. #: guix-git/doc/guix.texi:26123
  38716. 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."
  38717. msgstr ""
  38718. #. type: item
  38719. #: guix-git/doc/guix.texi:26124
  38720. #, no-wrap
  38721. msgid "@code{ddns-master} (default: @code{#f})"
  38722. msgstr ""
  38723. #. type: table
  38724. #: guix-git/doc/guix.texi:26127
  38725. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  38726. msgstr ""
  38727. #. type: item
  38728. #: guix-git/doc/guix.texi:26128
  38729. #, no-wrap
  38730. msgid "@code{notify} (default: @code{'()})"
  38731. msgstr ""
  38732. #. type: table
  38733. #: guix-git/doc/guix.texi:26130
  38734. msgid "A list of slave remote identifiers."
  38735. msgstr ""
  38736. #. type: item
  38737. #: guix-git/doc/guix.texi:26131
  38738. #, no-wrap
  38739. msgid "@code{acl} (default: @code{'()})"
  38740. msgstr ""
  38741. #. type: table
  38742. #: guix-git/doc/guix.texi:26133
  38743. msgid "A list of acl identifiers."
  38744. msgstr ""
  38745. #. type: item
  38746. #: guix-git/doc/guix.texi:26134
  38747. #, no-wrap
  38748. msgid "@code{semantic-checks?} (default: @code{#f})"
  38749. msgstr ""
  38750. #. type: table
  38751. #: guix-git/doc/guix.texi:26136
  38752. msgid "When set, this adds more semantic checks to the zone."
  38753. msgstr ""
  38754. #. type: item
  38755. #: guix-git/doc/guix.texi:26137
  38756. #, no-wrap
  38757. msgid "@code{disable-any?} (default: @code{#f})"
  38758. msgstr ""
  38759. #. type: table
  38760. #: guix-git/doc/guix.texi:26139
  38761. msgid "When set, this forbids queries of the ANY type."
  38762. msgstr ""
  38763. #. type: item
  38764. #: guix-git/doc/guix.texi:26140
  38765. #, no-wrap
  38766. msgid "@code{zonefile-sync} (default: @code{0})"
  38767. msgstr ""
  38768. #. type: table
  38769. #: guix-git/doc/guix.texi:26143
  38770. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  38771. msgstr ""
  38772. #. type: item
  38773. #: guix-git/doc/guix.texi:26144
  38774. #, no-wrap
  38775. msgid "@code{zonefile-load} (default: @code{#f})"
  38776. msgstr ""
  38777. #. type: table
  38778. #: guix-git/doc/guix.texi:26147
  38779. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  38780. msgstr ""
  38781. #. type: item
  38782. #: guix-git/doc/guix.texi:26149
  38783. #, no-wrap
  38784. msgid "@code{#f} for using the default value from Knot,"
  38785. msgstr ""
  38786. #. type: item
  38787. #: guix-git/doc/guix.texi:26150
  38788. #, no-wrap
  38789. msgid "@code{'none} for not using the zone file at all,"
  38790. msgstr ""
  38791. #. type: item
  38792. #: guix-git/doc/guix.texi:26151
  38793. #, no-wrap
  38794. msgid "@code{'difference} for computing the difference between already available"
  38795. msgstr ""
  38796. #. type: itemize
  38797. #: guix-git/doc/guix.texi:26153
  38798. msgid "contents and zone contents and applying it to the current zone contents,"
  38799. msgstr ""
  38800. #. type: item
  38801. #: guix-git/doc/guix.texi:26153
  38802. #, no-wrap
  38803. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  38804. msgstr ""
  38805. #. type: itemize
  38806. #: guix-git/doc/guix.texi:26156
  38807. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  38808. msgstr ""
  38809. #. type: item
  38810. #: guix-git/doc/guix.texi:26156
  38811. #, no-wrap
  38812. msgid "@code{'whole} for loading zone contents from the zone file."
  38813. msgstr ""
  38814. #. type: item
  38815. #: guix-git/doc/guix.texi:26159
  38816. #, no-wrap
  38817. msgid "@code{journal-content} (default: @code{#f})"
  38818. msgstr ""
  38819. #. type: table
  38820. #: guix-git/doc/guix.texi:26164
  38821. 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."
  38822. msgstr ""
  38823. #. type: item
  38824. #: guix-git/doc/guix.texi:26165
  38825. #, no-wrap
  38826. msgid "@code{max-journal-usage} (default: @code{#f})"
  38827. msgstr ""
  38828. #. type: table
  38829. #: guix-git/doc/guix.texi:26168
  38830. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  38831. msgstr ""
  38832. #. type: item
  38833. #: guix-git/doc/guix.texi:26169
  38834. #, no-wrap
  38835. msgid "@code{max-journal-depth} (default: @code{#f})"
  38836. msgstr ""
  38837. #. type: table
  38838. #: guix-git/doc/guix.texi:26172
  38839. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  38840. msgstr ""
  38841. #. type: item
  38842. #: guix-git/doc/guix.texi:26173
  38843. #, no-wrap
  38844. msgid "@code{max-zone-size} (default: @code{#f})"
  38845. msgstr ""
  38846. #. type: table
  38847. #: guix-git/doc/guix.texi:26177
  38848. 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."
  38849. msgstr ""
  38850. #. type: item
  38851. #: guix-git/doc/guix.texi:26178
  38852. #, no-wrap
  38853. msgid "@code{dnssec-policy} (default: @code{#f})"
  38854. msgstr ""
  38855. #. type: table
  38856. #: guix-git/doc/guix.texi:26182
  38857. 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."
  38858. msgstr ""
  38859. #. type: item
  38860. #: guix-git/doc/guix.texi:26183
  38861. #, no-wrap
  38862. msgid "@code{serial-policy} (default: @code{'increment})"
  38863. msgstr ""
  38864. #. type: table
  38865. #: guix-git/doc/guix.texi:26185
  38866. msgid "A policy between @code{'increment} and @code{'unixtime}."
  38867. msgstr ""
  38868. #. type: deftp
  38869. #: guix-git/doc/guix.texi:26189
  38870. #, no-wrap
  38871. msgid "{Data Type} knot-configuration"
  38872. msgstr ""
  38873. #. type: deftp
  38874. #: guix-git/doc/guix.texi:26192
  38875. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  38876. msgstr ""
  38877. #. type: item
  38878. #: guix-git/doc/guix.texi:26194
  38879. #, no-wrap
  38880. msgid "@code{knot} (default: @code{knot})"
  38881. msgstr ""
  38882. #. type: table
  38883. #: guix-git/doc/guix.texi:26196
  38884. msgid "The Knot package."
  38885. msgstr ""
  38886. #. type: item
  38887. #: guix-git/doc/guix.texi:26197
  38888. #, no-wrap
  38889. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  38890. msgstr ""
  38891. #. type: table
  38892. #: guix-git/doc/guix.texi:26199
  38893. msgid "The run directory. This directory will be used for pid file and sockets."
  38894. msgstr ""
  38895. #. type: item
  38896. #: guix-git/doc/guix.texi:26200
  38897. #, no-wrap
  38898. msgid "@code{includes} (default: @code{'()})"
  38899. msgstr ""
  38900. #. type: table
  38901. #: guix-git/doc/guix.texi:26203
  38902. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  38903. msgstr ""
  38904. #. type: cindex
  38905. #: guix-git/doc/guix.texi:26204
  38906. #, no-wrap
  38907. msgid "secrets, Knot service"
  38908. msgstr ""
  38909. #. type: table
  38910. #: guix-git/doc/guix.texi:26210
  38911. 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."
  38912. msgstr ""
  38913. #. type: table
  38914. #: guix-git/doc/guix.texi:26215
  38915. 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:"
  38916. msgstr ""
  38917. #. type: example
  38918. #: guix-git/doc/guix.texi:26219
  38919. #, no-wrap
  38920. msgid ""
  38921. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  38922. "chmod 600 /etc/knot/secrets.conf\n"
  38923. msgstr ""
  38924. #. type: table
  38925. #: guix-git/doc/guix.texi:26225
  38926. 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."
  38927. msgstr ""
  38928. #. type: table
  38929. #: guix-git/doc/guix.texi:26227
  38930. msgid "It can also be used to add configuration not supported by this interface."
  38931. msgstr ""
  38932. #. type: item
  38933. #: guix-git/doc/guix.texi:26228
  38934. #, no-wrap
  38935. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  38936. msgstr ""
  38937. #. type: table
  38938. #: guix-git/doc/guix.texi:26230 guix-git/doc/guix.texi:26233
  38939. msgid "An ip address on which to listen."
  38940. msgstr ""
  38941. #. type: item
  38942. #: guix-git/doc/guix.texi:26231
  38943. #, no-wrap
  38944. msgid "@code{listen-v6} (default: @code{\"::\"})"
  38945. msgstr ""
  38946. #. type: item
  38947. #: guix-git/doc/guix.texi:26234
  38948. #, no-wrap
  38949. msgid "@code{listen-port} (default: @code{53})"
  38950. msgstr ""
  38951. #. type: table
  38952. #: guix-git/doc/guix.texi:26236
  38953. msgid "A port on which to listen."
  38954. msgstr ""
  38955. #. type: item
  38956. #: guix-git/doc/guix.texi:26237
  38957. #, no-wrap
  38958. msgid "@code{keys} (default: @code{'()})"
  38959. msgstr ""
  38960. #. type: table
  38961. #: guix-git/doc/guix.texi:26239
  38962. msgid "The list of knot-key-configuration used by this configuration."
  38963. msgstr ""
  38964. #. type: item
  38965. #: guix-git/doc/guix.texi:26240
  38966. #, no-wrap
  38967. msgid "@code{acls} (default: @code{'()})"
  38968. msgstr ""
  38969. #. type: table
  38970. #: guix-git/doc/guix.texi:26242
  38971. msgid "The list of knot-acl-configuration used by this configuration."
  38972. msgstr ""
  38973. #. type: item
  38974. #: guix-git/doc/guix.texi:26243
  38975. #, no-wrap
  38976. msgid "@code{remotes} (default: @code{'()})"
  38977. msgstr ""
  38978. #. type: table
  38979. #: guix-git/doc/guix.texi:26245
  38980. msgid "The list of knot-remote-configuration used by this configuration."
  38981. msgstr ""
  38982. #. type: item
  38983. #: guix-git/doc/guix.texi:26246
  38984. #, no-wrap
  38985. msgid "@code{zones} (default: @code{'()})"
  38986. msgstr ""
  38987. #. type: table
  38988. #: guix-git/doc/guix.texi:26248
  38989. msgid "The list of knot-zone-configuration used by this configuration."
  38990. msgstr ""
  38991. #. type: subsubheading
  38992. #: guix-git/doc/guix.texi:26252
  38993. #, no-wrap
  38994. msgid "Knot Resolver Service"
  38995. msgstr ""
  38996. #. type: deffn
  38997. #: guix-git/doc/guix.texi:26254
  38998. #, no-wrap
  38999. msgid "{Scheme Variable} knot-resolver-service-type"
  39000. msgstr ""
  39001. #. type: deffn
  39002. #: guix-git/doc/guix.texi:26257
  39003. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  39004. msgstr ""
  39005. #. type: lisp
  39006. #: guix-git/doc/guix.texi:26267
  39007. #, no-wrap
  39008. msgid ""
  39009. "(service knot-resolver-service-type\n"
  39010. " (knot-resolver-configuration\n"
  39011. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  39012. "net.listen('192.168.0.1', 5353)\n"
  39013. "user('knot-resolver', 'knot-resolver')\n"
  39014. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  39015. "cache.size = 100 * MB\n"
  39016. "\"))))\n"
  39017. msgstr ""
  39018. #. type: deffn
  39019. #: guix-git/doc/guix.texi:26270
  39020. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  39021. msgstr ""
  39022. #. type: deftp
  39023. #: guix-git/doc/guix.texi:26272
  39024. #, no-wrap
  39025. msgid "{Data Type} knot-resolver-configuration"
  39026. msgstr ""
  39027. #. type: deftp
  39028. #: guix-git/doc/guix.texi:26274
  39029. msgid "Data type representing the configuration of knot-resolver."
  39030. msgstr ""
  39031. #. type: item
  39032. #: guix-git/doc/guix.texi:26276
  39033. #, no-wrap
  39034. msgid "@code{package} (default: @var{knot-resolver})"
  39035. msgstr ""
  39036. #. type: table
  39037. #: guix-git/doc/guix.texi:26278
  39038. msgid "Package object of the knot DNS resolver."
  39039. msgstr ""
  39040. #. type: item
  39041. #: guix-git/doc/guix.texi:26279
  39042. #, no-wrap
  39043. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  39044. msgstr ""
  39045. #. type: table
  39046. #: guix-git/doc/guix.texi:26282
  39047. 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}."
  39048. msgstr ""
  39049. #. type: item
  39050. #: guix-git/doc/guix.texi:26283
  39051. #, no-wrap
  39052. msgid "@code{garbage-collection-interval} (default: 1000)"
  39053. msgstr ""
  39054. #. type: table
  39055. #: guix-git/doc/guix.texi:26285
  39056. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  39057. msgstr ""
  39058. #. type: subsubheading
  39059. #: guix-git/doc/guix.texi:26290
  39060. #, no-wrap
  39061. msgid "Dnsmasq Service"
  39062. msgstr ""
  39063. #. type: deffn
  39064. #: guix-git/doc/guix.texi:26292
  39065. #, no-wrap
  39066. msgid "{Scheme Variable} dnsmasq-service-type"
  39067. msgstr ""
  39068. #. type: deffn
  39069. #: guix-git/doc/guix.texi:26295
  39070. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  39071. msgstr ""
  39072. #. type: lisp
  39073. #: guix-git/doc/guix.texi:26301
  39074. #, no-wrap
  39075. msgid ""
  39076. "(service dnsmasq-service-type\n"
  39077. " (dnsmasq-configuration\n"
  39078. " (no-resolv? #t)\n"
  39079. " (servers '(\"192.168.1.1\"))))\n"
  39080. msgstr ""
  39081. #. type: deftp
  39082. #: guix-git/doc/guix.texi:26304
  39083. #, no-wrap
  39084. msgid "{Data Type} dnsmasq-configuration"
  39085. msgstr ""
  39086. #. type: deftp
  39087. #: guix-git/doc/guix.texi:26306
  39088. msgid "Data type representing the configuration of dnsmasq."
  39089. msgstr ""
  39090. #. type: item
  39091. #: guix-git/doc/guix.texi:26308
  39092. #, no-wrap
  39093. msgid "@code{package} (default: @var{dnsmasq})"
  39094. msgstr ""
  39095. #. type: table
  39096. #: guix-git/doc/guix.texi:26310
  39097. msgid "Package object of the dnsmasq server."
  39098. msgstr ""
  39099. #. type: item
  39100. #: guix-git/doc/guix.texi:26311
  39101. #, no-wrap
  39102. msgid "@code{no-hosts?} (default: @code{#f})"
  39103. msgstr ""
  39104. #. type: table
  39105. #: guix-git/doc/guix.texi:26313
  39106. msgid "When true, don't read the hostnames in /etc/hosts."
  39107. msgstr ""
  39108. #. type: item
  39109. #: guix-git/doc/guix.texi:26314
  39110. #, no-wrap
  39111. msgid "@code{port} (default: @code{53})"
  39112. msgstr ""
  39113. #. type: table
  39114. #: guix-git/doc/guix.texi:26317
  39115. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  39116. msgstr ""
  39117. #. type: item
  39118. #: guix-git/doc/guix.texi:26318
  39119. #, no-wrap
  39120. msgid "@code{local-service?} (default: @code{#t})"
  39121. msgstr ""
  39122. #. type: table
  39123. #: guix-git/doc/guix.texi:26321
  39124. 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."
  39125. msgstr ""
  39126. #. type: item
  39127. #: guix-git/doc/guix.texi:26322
  39128. #, no-wrap
  39129. msgid "@code{listen-addresses} (default: @code{'()})"
  39130. msgstr ""
  39131. #. type: table
  39132. #: guix-git/doc/guix.texi:26324
  39133. msgid "Listen on the given IP addresses."
  39134. msgstr ""
  39135. #. type: item
  39136. #: guix-git/doc/guix.texi:26325
  39137. #, no-wrap
  39138. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  39139. msgstr ""
  39140. #. type: table
  39141. #: guix-git/doc/guix.texi:26327
  39142. msgid "The file to read the IP address of the upstream nameservers from."
  39143. msgstr ""
  39144. #. type: item
  39145. #: guix-git/doc/guix.texi:26328
  39146. #, no-wrap
  39147. msgid "@code{no-resolv?} (default: @code{#f})"
  39148. msgstr ""
  39149. #. type: table
  39150. #: guix-git/doc/guix.texi:26330
  39151. msgid "When true, don't read @var{resolv-file}."
  39152. msgstr ""
  39153. #. type: item
  39154. #: guix-git/doc/guix.texi:26331
  39155. #, no-wrap
  39156. msgid "@code{servers} (default: @code{'()})"
  39157. msgstr ""
  39158. #. type: table
  39159. #: guix-git/doc/guix.texi:26333
  39160. msgid "Specify IP address of upstream servers directly."
  39161. msgstr ""
  39162. #. type: item
  39163. #: guix-git/doc/guix.texi:26334
  39164. #, no-wrap
  39165. msgid "@code{addresses} (default: @code{'()})"
  39166. msgstr ""
  39167. #. type: table
  39168. #: guix-git/doc/guix.texi:26338
  39169. 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."
  39170. msgstr ""
  39171. #. type: table
  39172. #: guix-git/doc/guix.texi:26340
  39173. msgid "This is useful for redirecting hosts locally, for example:"
  39174. msgstr ""
  39175. #. type: lisp
  39176. #: guix-git/doc/guix.texi:26349
  39177. #, no-wrap
  39178. msgid ""
  39179. "(service dnsmasq-service-type\n"
  39180. " (dnsmasq-configuration\n"
  39181. " (addresses\n"
  39182. " '(; Redirect to a local web-server.\n"
  39183. " \"/example.org/127.0.0.1\"\n"
  39184. " ; Redirect subdomain to a specific IP.\n"
  39185. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  39186. msgstr ""
  39187. #. type: table
  39188. #: guix-git/doc/guix.texi:26352
  39189. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  39190. msgstr ""
  39191. #. type: item
  39192. #: guix-git/doc/guix.texi:26353
  39193. #, no-wrap
  39194. msgid "@code{cache-size} (default: @code{150})"
  39195. msgstr ""
  39196. #. type: table
  39197. #: guix-git/doc/guix.texi:26356
  39198. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  39199. msgstr ""
  39200. #. type: item
  39201. #: guix-git/doc/guix.texi:26357
  39202. #, no-wrap
  39203. msgid "@code{negative-cache?} (default: @code{#t})"
  39204. msgstr ""
  39205. #. type: table
  39206. #: guix-git/doc/guix.texi:26359
  39207. msgid "When false, disable negative caching."
  39208. msgstr ""
  39209. #. type: item
  39210. #: guix-git/doc/guix.texi:26360
  39211. #, no-wrap
  39212. msgid "@code{tftp-enable?} (default: @code{#f})"
  39213. msgstr ""
  39214. #. type: table
  39215. #: guix-git/doc/guix.texi:26362
  39216. msgid "Whether to enable the built-in TFTP server."
  39217. msgstr ""
  39218. #. type: item
  39219. #: guix-git/doc/guix.texi:26363
  39220. #, no-wrap
  39221. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  39222. msgstr ""
  39223. #. type: table
  39224. #: guix-git/doc/guix.texi:26365
  39225. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  39226. msgstr ""
  39227. #. type: item
  39228. #: guix-git/doc/guix.texi:26366
  39229. #, no-wrap
  39230. msgid "@code{tftp-single-port?} (default: @code{#f})"
  39231. msgstr ""
  39232. #. type: table
  39233. #: guix-git/doc/guix.texi:26368
  39234. msgid "Whether to use only one single port for TFTP."
  39235. msgstr ""
  39236. #. type: item
  39237. #: guix-git/doc/guix.texi:26369
  39238. #, no-wrap
  39239. msgid "@code{tftp-secure?} (default: @code{#f})"
  39240. msgstr ""
  39241. #. type: table
  39242. #: guix-git/doc/guix.texi:26371
  39243. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  39244. msgstr ""
  39245. #. type: table
  39246. #: guix-git/doc/guix.texi:26375
  39247. 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."
  39248. msgstr ""
  39249. #. type: item
  39250. #: guix-git/doc/guix.texi:26376
  39251. #, no-wrap
  39252. msgid "@code{tftp-max} (default: @code{#f})"
  39253. msgstr ""
  39254. #. type: table
  39255. #: guix-git/doc/guix.texi:26378
  39256. msgid "If set, sets the maximal number of concurrent connections allowed."
  39257. msgstr ""
  39258. #. type: item
  39259. #: guix-git/doc/guix.texi:26379
  39260. #, no-wrap
  39261. msgid "@code{tftp-mtu} (default: @code{#f})"
  39262. msgstr ""
  39263. #. type: table
  39264. #: guix-git/doc/guix.texi:26381
  39265. msgid "If set, sets the MTU for TFTP packets to that value."
  39266. msgstr ""
  39267. #. type: item
  39268. #: guix-git/doc/guix.texi:26382
  39269. #, no-wrap
  39270. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  39271. msgstr ""
  39272. #. type: table
  39273. #: guix-git/doc/guix.texi:26384
  39274. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  39275. msgstr ""
  39276. #. type: item
  39277. #: guix-git/doc/guix.texi:26385
  39278. #, no-wrap
  39279. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  39280. msgstr ""
  39281. #. type: table
  39282. #: guix-git/doc/guix.texi:26387
  39283. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  39284. msgstr ""
  39285. #. type: item
  39286. #: guix-git/doc/guix.texi:26388
  39287. #, no-wrap
  39288. msgid "@code{tftp-port-range} (default: @code{#f})"
  39289. msgstr ""
  39290. #. type: table
  39291. #: guix-git/doc/guix.texi:26391
  39292. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  39293. msgstr ""
  39294. #. type: item
  39295. #: guix-git/doc/guix.texi:26392
  39296. #, no-wrap
  39297. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  39298. msgstr ""
  39299. #. type: table
  39300. #: guix-git/doc/guix.texi:26399
  39301. 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."
  39302. msgstr ""
  39303. #. type: item
  39304. #: guix-git/doc/guix.texi:26400
  39305. #, no-wrap
  39306. msgid "@code{tftp-unique-root} (default: @code{#f})"
  39307. msgstr ""
  39308. #. type: table
  39309. #: guix-git/doc/guix.texi:26405
  39310. 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)."
  39311. msgstr ""
  39312. #. type: table
  39313. #: guix-git/doc/guix.texi:26414
  39314. 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."
  39315. msgstr ""
  39316. #. type: subsubheading
  39317. #: guix-git/doc/guix.texi:26418
  39318. #, no-wrap
  39319. msgid "ddclient Service"
  39320. msgstr ""
  39321. #. type: cindex
  39322. #: guix-git/doc/guix.texi:26420
  39323. #, no-wrap
  39324. msgid "ddclient"
  39325. msgstr ""
  39326. #. type: Plain text
  39327. #: guix-git/doc/guix.texi:26424
  39328. 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}."
  39329. msgstr ""
  39330. #. type: Plain text
  39331. #: guix-git/doc/guix.texi:26427
  39332. msgid "The following example show instantiates the service with its default configuration:"
  39333. msgstr ""
  39334. #. type: lisp
  39335. #: guix-git/doc/guix.texi:26430
  39336. #, no-wrap
  39337. msgid "(service ddclient-service-type)\n"
  39338. msgstr ""
  39339. #. type: Plain text
  39340. #: guix-git/doc/guix.texi:26439
  39341. 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."
  39342. msgstr ""
  39343. #. type: Plain text
  39344. #: guix-git/doc/guix.texi:26443
  39345. msgid "Available @code{ddclient-configuration} fields are:"
  39346. msgstr ""
  39347. #. type: deftypevr
  39348. #: guix-git/doc/guix.texi:26444
  39349. #, no-wrap
  39350. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  39351. msgstr ""
  39352. #. type: deftypevr
  39353. #: guix-git/doc/guix.texi:26446
  39354. msgid "The ddclient package."
  39355. msgstr ""
  39356. #. type: deftypevr
  39357. #: guix-git/doc/guix.texi:26449
  39358. #, no-wrap
  39359. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  39360. msgstr ""
  39361. #. type: deftypevr
  39362. #: guix-git/doc/guix.texi:26451
  39363. msgid "The period after which ddclient will retry to check IP and domain name."
  39364. msgstr ""
  39365. #. type: deftypevr
  39366. #: guix-git/doc/guix.texi:26456
  39367. #, no-wrap
  39368. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  39369. msgstr ""
  39370. #. type: deftypevr
  39371. #: guix-git/doc/guix.texi:26458
  39372. msgid "Use syslog for the output."
  39373. msgstr ""
  39374. #. type: deftypevr
  39375. #: guix-git/doc/guix.texi:26463
  39376. #, no-wrap
  39377. msgid "{@code{ddclient-configuration} parameter} string mail"
  39378. msgstr ""
  39379. #. type: deftypevr
  39380. #: guix-git/doc/guix.texi:26465
  39381. msgid "Mail to user."
  39382. msgstr ""
  39383. #. type: deftypevr
  39384. #: guix-git/doc/guix.texi:26467 guix-git/doc/guix.texi:26474
  39385. #: guix-git/doc/guix.texi:28211
  39386. msgid "Defaults to @samp{\"root\"}."
  39387. msgstr ""
  39388. #. type: deftypevr
  39389. #: guix-git/doc/guix.texi:26470
  39390. #, no-wrap
  39391. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  39392. msgstr ""
  39393. #. type: deftypevr
  39394. #: guix-git/doc/guix.texi:26472
  39395. msgid "Mail failed update to user."
  39396. msgstr ""
  39397. #. type: deftypevr
  39398. #: guix-git/doc/guix.texi:26477
  39399. #, no-wrap
  39400. msgid "{@code{ddclient-configuration} parameter} string pid"
  39401. msgstr ""
  39402. #. type: deftypevr
  39403. #: guix-git/doc/guix.texi:26479
  39404. msgid "The ddclient PID file."
  39405. msgstr ""
  39406. #. type: deftypevr
  39407. #: guix-git/doc/guix.texi:26481
  39408. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  39409. msgstr ""
  39410. #. type: deftypevr
  39411. #: guix-git/doc/guix.texi:26484
  39412. #, no-wrap
  39413. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  39414. msgstr ""
  39415. #. type: deftypevr
  39416. #: guix-git/doc/guix.texi:26486
  39417. msgid "Enable SSL support."
  39418. msgstr ""
  39419. #. type: deftypevr
  39420. #: guix-git/doc/guix.texi:26491
  39421. #, no-wrap
  39422. msgid "{@code{ddclient-configuration} parameter} string user"
  39423. msgstr ""
  39424. #. type: deftypevr
  39425. #: guix-git/doc/guix.texi:26494
  39426. msgid "Specifies the user name or ID that is used when running ddclient program."
  39427. msgstr ""
  39428. #. type: deftypevr
  39429. #: guix-git/doc/guix.texi:26496 guix-git/doc/guix.texi:26503
  39430. msgid "Defaults to @samp{\"ddclient\"}."
  39431. msgstr ""
  39432. #. type: deftypevr
  39433. #: guix-git/doc/guix.texi:26499
  39434. #, no-wrap
  39435. msgid "{@code{ddclient-configuration} parameter} string group"
  39436. msgstr ""
  39437. #. type: deftypevr
  39438. #: guix-git/doc/guix.texi:26501
  39439. msgid "Group of the user who will run the ddclient program."
  39440. msgstr ""
  39441. #. type: deftypevr
  39442. #: guix-git/doc/guix.texi:26506
  39443. #, no-wrap
  39444. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  39445. msgstr ""
  39446. #. type: deftypevr
  39447. #: guix-git/doc/guix.texi:26510
  39448. 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."
  39449. msgstr ""
  39450. #. type: deftypevr
  39451. #: guix-git/doc/guix.texi:26512
  39452. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  39453. msgstr ""
  39454. #. type: deftypevr
  39455. #: guix-git/doc/guix.texi:26515
  39456. #, no-wrap
  39457. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  39458. msgstr ""
  39459. #. type: deftypevr
  39460. #: guix-git/doc/guix.texi:26517
  39461. msgid "Extra options will be appended to @file{ddclient.conf} file."
  39462. msgstr ""
  39463. #. type: cindex
  39464. #: guix-git/doc/guix.texi:26528
  39465. #, no-wrap
  39466. msgid "VPN (virtual private network)"
  39467. msgstr ""
  39468. #. type: cindex
  39469. #: guix-git/doc/guix.texi:26529
  39470. #, no-wrap
  39471. msgid "virtual private network (VPN)"
  39472. msgstr ""
  39473. #. type: Plain text
  39474. #: guix-git/doc/guix.texi:26533
  39475. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  39476. msgstr ""
  39477. #. type: subsubheading
  39478. #: guix-git/doc/guix.texi:26534
  39479. #, no-wrap
  39480. msgid "OpenVPN"
  39481. msgstr ""
  39482. #. type: Plain text
  39483. #: guix-git/doc/guix.texi:26538
  39484. 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@."
  39485. msgstr ""
  39486. #. type: deffn
  39487. #: guix-git/doc/guix.texi:26539
  39488. #, no-wrap
  39489. msgid "{Scheme Procedure} openvpn-client-service @"
  39490. msgstr ""
  39491. #. type: deffn
  39492. #: guix-git/doc/guix.texi:26541
  39493. msgid "[#:config (openvpn-client-configuration)]"
  39494. msgstr ""
  39495. #. type: deffn
  39496. #: guix-git/doc/guix.texi:26543
  39497. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  39498. msgstr ""
  39499. #. type: deffn
  39500. #: guix-git/doc/guix.texi:26545
  39501. #, no-wrap
  39502. msgid "{Scheme Procedure} openvpn-server-service @"
  39503. msgstr ""
  39504. #. type: deffn
  39505. #: guix-git/doc/guix.texi:26547
  39506. msgid "[#:config (openvpn-server-configuration)]"
  39507. msgstr ""
  39508. #. type: deffn
  39509. #: guix-git/doc/guix.texi:26549
  39510. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  39511. msgstr ""
  39512. #. type: deffn
  39513. #: guix-git/doc/guix.texi:26551
  39514. msgid "Both can be run simultaneously."
  39515. msgstr ""
  39516. #. type: Plain text
  39517. #: guix-git/doc/guix.texi:26556
  39518. msgid "Available @code{openvpn-client-configuration} fields are:"
  39519. msgstr ""
  39520. #. type: deftypevr
  39521. #: guix-git/doc/guix.texi:26557
  39522. #, no-wrap
  39523. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  39524. msgstr ""
  39525. #. type: deftypevr
  39526. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26714
  39527. msgid "The OpenVPN package."
  39528. msgstr ""
  39529. #. type: deftypevr
  39530. #: guix-git/doc/guix.texi:26562
  39531. #, no-wrap
  39532. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  39533. msgstr ""
  39534. #. type: deftypevr
  39535. #: guix-git/doc/guix.texi:26564 guix-git/doc/guix.texi:26719
  39536. msgid "The OpenVPN pid file."
  39537. msgstr ""
  39538. #. type: deftypevr
  39539. #: guix-git/doc/guix.texi:26566 guix-git/doc/guix.texi:26721
  39540. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  39541. msgstr ""
  39542. #. type: deftypevr
  39543. #: guix-git/doc/guix.texi:26569
  39544. #, no-wrap
  39545. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  39546. msgstr ""
  39547. #. type: deftypevr
  39548. #: guix-git/doc/guix.texi:26572 guix-git/doc/guix.texi:26727
  39549. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  39550. msgstr ""
  39551. #. type: deftypevr
  39552. #: guix-git/doc/guix.texi:26574 guix-git/doc/guix.texi:26729
  39553. msgid "Defaults to @samp{udp}."
  39554. msgstr ""
  39555. #. type: deftypevr
  39556. #: guix-git/doc/guix.texi:26577
  39557. #, no-wrap
  39558. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  39559. msgstr ""
  39560. #. type: deftypevr
  39561. #: guix-git/doc/guix.texi:26579 guix-git/doc/guix.texi:26734
  39562. msgid "The device type used to represent the VPN connection."
  39563. msgstr ""
  39564. #. type: deftypevr
  39565. #: guix-git/doc/guix.texi:26581 guix-git/doc/guix.texi:26736
  39566. msgid "Defaults to @samp{tun}."
  39567. msgstr ""
  39568. #. type: Plain text
  39569. #: guix-git/doc/guix.texi:26587 guix-git/doc/guix.texi:26742
  39570. 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}."
  39571. msgstr ""
  39572. #. type: deftypevr
  39573. #: guix-git/doc/guix.texi:26588
  39574. #, no-wrap
  39575. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  39576. msgstr ""
  39577. #. type: deftypevr
  39578. #: guix-git/doc/guix.texi:26590 guix-git/doc/guix.texi:26745
  39579. msgid "The certificate authority to check connections against."
  39580. msgstr ""
  39581. #. type: deftypevr
  39582. #: guix-git/doc/guix.texi:26592 guix-git/doc/guix.texi:26747
  39583. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  39584. msgstr ""
  39585. #. type: deftypevr
  39586. #: guix-git/doc/guix.texi:26595
  39587. #, no-wrap
  39588. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  39589. msgstr ""
  39590. #. type: deftypevr
  39591. #: guix-git/doc/guix.texi:26598 guix-git/doc/guix.texi:26753
  39592. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  39593. msgstr ""
  39594. #. type: deftypevr
  39595. #: guix-git/doc/guix.texi:26600 guix-git/doc/guix.texi:26755
  39596. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  39597. msgstr ""
  39598. #. type: deftypevr
  39599. #: guix-git/doc/guix.texi:26603
  39600. #, no-wrap
  39601. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  39602. msgstr ""
  39603. #. type: deftypevr
  39604. #: guix-git/doc/guix.texi:26606 guix-git/doc/guix.texi:26761
  39605. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  39606. msgstr ""
  39607. #. type: deftypevr
  39608. #: guix-git/doc/guix.texi:26608 guix-git/doc/guix.texi:26763
  39609. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  39610. msgstr ""
  39611. #. type: deftypevr
  39612. #: guix-git/doc/guix.texi:26611
  39613. #, no-wrap
  39614. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  39615. msgstr ""
  39616. #. type: deftypevr
  39617. #: guix-git/doc/guix.texi:26613 guix-git/doc/guix.texi:26768
  39618. msgid "Whether to use the lzo compression algorithm."
  39619. msgstr ""
  39620. #. type: deftypevr
  39621. #: guix-git/doc/guix.texi:26618
  39622. #, no-wrap
  39623. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  39624. msgstr ""
  39625. #. type: deftypevr
  39626. #: guix-git/doc/guix.texi:26620 guix-git/doc/guix.texi:26775
  39627. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  39628. msgstr ""
  39629. #. type: deftypevr
  39630. #: guix-git/doc/guix.texi:26625
  39631. #, no-wrap
  39632. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  39633. msgstr ""
  39634. #. type: deftypevr
  39635. #: guix-git/doc/guix.texi:26628 guix-git/doc/guix.texi:26783
  39636. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  39637. msgstr ""
  39638. #. type: deftypevr
  39639. #: guix-git/doc/guix.texi:26633
  39640. #, no-wrap
  39641. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  39642. msgstr ""
  39643. #. type: deftypevr
  39644. #: guix-git/doc/guix.texi:26636 guix-git/doc/guix.texi:26791
  39645. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  39646. msgstr ""
  39647. #. type: deftypevr
  39648. #: guix-git/doc/guix.texi:26640
  39649. #, no-wrap
  39650. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  39651. msgstr ""
  39652. #. type: deftypevr
  39653. #: guix-git/doc/guix.texi:26642 guix-git/doc/guix.texi:26797
  39654. msgid "Verbosity level."
  39655. msgstr ""
  39656. #. type: deftypevr
  39657. #: guix-git/doc/guix.texi:26644 guix-git/doc/guix.texi:26799
  39658. #: guix-git/doc/guix.texi:28479 guix-git/doc/guix.texi:28703
  39659. msgid "Defaults to @samp{3}."
  39660. msgstr ""
  39661. #. type: deftypevr
  39662. #: guix-git/doc/guix.texi:26647
  39663. #, no-wrap
  39664. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  39665. msgstr ""
  39666. #. type: deftypevr
  39667. #: guix-git/doc/guix.texi:26650 guix-git/doc/guix.texi:26805
  39668. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  39669. msgstr ""
  39670. #. type: deftypevr
  39671. #: guix-git/doc/guix.texi:26655
  39672. #, no-wrap
  39673. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  39674. msgstr ""
  39675. #. type: deftypevr
  39676. #: guix-git/doc/guix.texi:26659
  39677. 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."
  39678. msgstr ""
  39679. #. type: deftypevr
  39680. #: guix-git/doc/guix.texi:26661
  39681. msgid "Defaults to @samp{'disabled}."
  39682. msgstr ""
  39683. #. type: deftypevr
  39684. #: guix-git/doc/guix.texi:26663
  39685. #, no-wrap
  39686. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  39687. msgstr ""
  39688. #. type: deftypevr
  39689. #: guix-git/doc/guix.texi:26665
  39690. msgid "Whether to check the server certificate has server usage extension."
  39691. msgstr ""
  39692. #. type: deftypevr
  39693. #: guix-git/doc/guix.texi:26670
  39694. #, no-wrap
  39695. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  39696. msgstr ""
  39697. #. type: deftypevr
  39698. #: guix-git/doc/guix.texi:26672
  39699. msgid "Bind to a specific local port number."
  39700. msgstr ""
  39701. #. type: deftypevr
  39702. #: guix-git/doc/guix.texi:26677
  39703. #, no-wrap
  39704. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  39705. msgstr ""
  39706. #. type: deftypevr
  39707. #: guix-git/doc/guix.texi:26679
  39708. msgid "Retry resolving server address."
  39709. msgstr ""
  39710. #. type: deftypevr
  39711. #: guix-git/doc/guix.texi:26684
  39712. #, no-wrap
  39713. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  39714. msgstr ""
  39715. #. type: deftypevr
  39716. #: guix-git/doc/guix.texi:26686
  39717. msgid "A list of remote servers to connect to."
  39718. msgstr ""
  39719. #. type: deftypevr
  39720. #: guix-git/doc/guix.texi:26690
  39721. msgid "Available @code{openvpn-remote-configuration} fields are:"
  39722. msgstr ""
  39723. #. type: deftypevr
  39724. #: guix-git/doc/guix.texi:26691
  39725. #, no-wrap
  39726. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  39727. msgstr ""
  39728. #. type: deftypevr
  39729. #: guix-git/doc/guix.texi:26693
  39730. msgid "Server name."
  39731. msgstr "서버 이름."
  39732. #. type: deftypevr
  39733. #: guix-git/doc/guix.texi:26695
  39734. msgid "Defaults to @samp{\"my-server\"}."
  39735. msgstr ""
  39736. #. type: deftypevr
  39737. #: guix-git/doc/guix.texi:26698
  39738. #, no-wrap
  39739. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  39740. msgstr ""
  39741. #. type: deftypevr
  39742. #: guix-git/doc/guix.texi:26700
  39743. msgid "Port number the server listens to."
  39744. msgstr ""
  39745. #. type: deftypevr
  39746. #: guix-git/doc/guix.texi:26702 guix-git/doc/guix.texi:26814
  39747. msgid "Defaults to @samp{1194}."
  39748. msgstr ""
  39749. #. type: Plain text
  39750. #: guix-git/doc/guix.texi:26711
  39751. msgid "Available @code{openvpn-server-configuration} fields are:"
  39752. msgstr ""
  39753. #. type: deftypevr
  39754. #: guix-git/doc/guix.texi:26712
  39755. #, no-wrap
  39756. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  39757. msgstr ""
  39758. #. type: deftypevr
  39759. #: guix-git/doc/guix.texi:26717
  39760. #, no-wrap
  39761. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  39762. msgstr ""
  39763. #. type: deftypevr
  39764. #: guix-git/doc/guix.texi:26724
  39765. #, no-wrap
  39766. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  39767. msgstr ""
  39768. #. type: deftypevr
  39769. #: guix-git/doc/guix.texi:26732
  39770. #, no-wrap
  39771. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  39772. msgstr ""
  39773. #. type: deftypevr
  39774. #: guix-git/doc/guix.texi:26743
  39775. #, no-wrap
  39776. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  39777. msgstr ""
  39778. #. type: deftypevr
  39779. #: guix-git/doc/guix.texi:26750
  39780. #, no-wrap
  39781. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  39782. msgstr ""
  39783. #. type: deftypevr
  39784. #: guix-git/doc/guix.texi:26758
  39785. #, no-wrap
  39786. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  39787. msgstr ""
  39788. #. type: deftypevr
  39789. #: guix-git/doc/guix.texi:26766
  39790. #, no-wrap
  39791. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  39792. msgstr ""
  39793. #. type: deftypevr
  39794. #: guix-git/doc/guix.texi:26773
  39795. #, no-wrap
  39796. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  39797. msgstr ""
  39798. #. type: deftypevr
  39799. #: guix-git/doc/guix.texi:26780
  39800. #, no-wrap
  39801. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  39802. msgstr ""
  39803. #. type: deftypevr
  39804. #: guix-git/doc/guix.texi:26788
  39805. #, no-wrap
  39806. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  39807. msgstr ""
  39808. #. type: deftypevr
  39809. #: guix-git/doc/guix.texi:26795
  39810. #, no-wrap
  39811. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  39812. msgstr ""
  39813. #. type: deftypevr
  39814. #: guix-git/doc/guix.texi:26802
  39815. #, no-wrap
  39816. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  39817. msgstr ""
  39818. #. type: deftypevr
  39819. #: guix-git/doc/guix.texi:26810
  39820. #, no-wrap
  39821. msgid "{@code{openvpn-server-configuration} parameter} number port"
  39822. msgstr ""
  39823. #. type: deftypevr
  39824. #: guix-git/doc/guix.texi:26812
  39825. msgid "Specifies the port number on which the server listens."
  39826. msgstr ""
  39827. #. type: deftypevr
  39828. #: guix-git/doc/guix.texi:26817
  39829. #, no-wrap
  39830. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  39831. msgstr ""
  39832. #. type: deftypevr
  39833. #: guix-git/doc/guix.texi:26819
  39834. msgid "An ip and mask specifying the subnet inside the virtual network."
  39835. msgstr ""
  39836. #. type: deftypevr
  39837. #: guix-git/doc/guix.texi:26821
  39838. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  39839. msgstr ""
  39840. #. type: deftypevr
  39841. #: guix-git/doc/guix.texi:26824
  39842. #, no-wrap
  39843. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  39844. msgstr ""
  39845. #. type: deftypevr
  39846. #: guix-git/doc/guix.texi:26826
  39847. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  39848. msgstr ""
  39849. #. type: deftypevr
  39850. #: guix-git/doc/guix.texi:26831
  39851. #, no-wrap
  39852. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  39853. msgstr ""
  39854. #. type: deftypevr
  39855. #: guix-git/doc/guix.texi:26833
  39856. msgid "The Diffie-Hellman parameters file."
  39857. msgstr ""
  39858. #. type: deftypevr
  39859. #: guix-git/doc/guix.texi:26835
  39860. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  39861. msgstr ""
  39862. #. type: deftypevr
  39863. #: guix-git/doc/guix.texi:26838
  39864. #, no-wrap
  39865. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  39866. msgstr ""
  39867. #. type: deftypevr
  39868. #: guix-git/doc/guix.texi:26840
  39869. msgid "The file that records client IPs."
  39870. msgstr ""
  39871. #. type: deftypevr
  39872. #: guix-git/doc/guix.texi:26842
  39873. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  39874. msgstr ""
  39875. #. type: deftypevr
  39876. #: guix-git/doc/guix.texi:26845
  39877. #, no-wrap
  39878. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  39879. msgstr ""
  39880. #. type: deftypevr
  39881. #: guix-git/doc/guix.texi:26847
  39882. msgid "When true, the server will act as a gateway for its clients."
  39883. msgstr ""
  39884. #. type: deftypevr
  39885. #: guix-git/doc/guix.texi:26852
  39886. #, no-wrap
  39887. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  39888. msgstr ""
  39889. #. type: deftypevr
  39890. #: guix-git/doc/guix.texi:26854
  39891. msgid "When true, clients are allowed to talk to each other inside the VPN."
  39892. msgstr ""
  39893. #. type: deftypevr
  39894. #: guix-git/doc/guix.texi:26859
  39895. #, no-wrap
  39896. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  39897. msgstr ""
  39898. #. type: deftypevr
  39899. #: guix-git/doc/guix.texi:26865
  39900. 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."
  39901. msgstr ""
  39902. #. type: deftypevr
  39903. #: guix-git/doc/guix.texi:26868
  39904. #, no-wrap
  39905. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  39906. msgstr ""
  39907. #. type: deftypevr
  39908. #: guix-git/doc/guix.texi:26870
  39909. msgid "The maximum number of clients."
  39910. msgstr ""
  39911. #. type: deftypevr
  39912. #: guix-git/doc/guix.texi:26875
  39913. #, no-wrap
  39914. msgid "{@code{openvpn-server-configuration} parameter} string status"
  39915. msgstr ""
  39916. #. type: deftypevr
  39917. #: guix-git/doc/guix.texi:26878
  39918. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  39919. msgstr ""
  39920. #. type: deftypevr
  39921. #: guix-git/doc/guix.texi:26880
  39922. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  39923. msgstr ""
  39924. #. type: deftypevr
  39925. #: guix-git/doc/guix.texi:26883
  39926. #, no-wrap
  39927. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  39928. msgstr ""
  39929. #. type: deftypevr
  39930. #: guix-git/doc/guix.texi:26885
  39931. msgid "The list of configuration for some clients."
  39932. msgstr ""
  39933. #. type: deftypevr
  39934. #: guix-git/doc/guix.texi:26889
  39935. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  39936. msgstr ""
  39937. #. type: deftypevr
  39938. #: guix-git/doc/guix.texi:26890
  39939. #, no-wrap
  39940. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  39941. msgstr ""
  39942. #. type: deftypevr
  39943. #: guix-git/doc/guix.texi:26892
  39944. msgid "Client name."
  39945. msgstr ""
  39946. #. type: deftypevr
  39947. #: guix-git/doc/guix.texi:26894
  39948. msgid "Defaults to @samp{\"client\"}."
  39949. msgstr ""
  39950. #. type: deftypevr
  39951. #: guix-git/doc/guix.texi:26897
  39952. #, no-wrap
  39953. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  39954. msgstr ""
  39955. #. type: deftypevr
  39956. #: guix-git/doc/guix.texi:26899
  39957. msgid "Client own network"
  39958. msgstr ""
  39959. #. type: deftypevr
  39960. #: guix-git/doc/guix.texi:26904
  39961. #, no-wrap
  39962. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  39963. msgstr ""
  39964. #. type: deftypevr
  39965. #: guix-git/doc/guix.texi:26906
  39966. msgid "Client VPN IP."
  39967. msgstr ""
  39968. #. type: subsubheading
  39969. #: guix-git/doc/guix.texi:26916
  39970. #, no-wrap
  39971. msgid "Wireguard"
  39972. msgstr ""
  39973. #. type: defvr
  39974. #: guix-git/doc/guix.texi:26918
  39975. #, no-wrap
  39976. msgid "{Scheme Variable} wireguard-service-type"
  39977. msgstr ""
  39978. #. type: defvr
  39979. #: guix-git/doc/guix.texi:26921
  39980. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  39981. msgstr ""
  39982. #. type: lisp
  39983. #: guix-git/doc/guix.texi:26932
  39984. #, no-wrap
  39985. msgid ""
  39986. "(service wireguard-service-type\n"
  39987. " (wireguard-configuration\n"
  39988. " (peers\n"
  39989. " (list\n"
  39990. " (wireguard-peer\n"
  39991. " (name \"my-peer\")\n"
  39992. " (endpoint \"my.wireguard.com:51820\")\n"
  39993. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  39994. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  39995. msgstr ""
  39996. #. type: deftp
  39997. #: guix-git/doc/guix.texi:26936
  39998. #, no-wrap
  39999. msgid "{Data Type} wireguard-configuration"
  40000. msgstr ""
  40001. #. type: deftp
  40002. #: guix-git/doc/guix.texi:26938
  40003. msgid "Data type representing the configuration of the Wireguard service."
  40004. msgstr ""
  40005. #. type: code{#1}
  40006. #: guix-git/doc/guix.texi:26940
  40007. #, no-wrap
  40008. msgid "wireguard"
  40009. msgstr ""
  40010. #. type: table
  40011. #: guix-git/doc/guix.texi:26942
  40012. msgid "The wireguard package to use for this service."
  40013. msgstr ""
  40014. #. type: item
  40015. #: guix-git/doc/guix.texi:26943
  40016. #, no-wrap
  40017. msgid "@code{interface} (default: @code{\"wg0\"})"
  40018. msgstr ""
  40019. #. type: table
  40020. #: guix-git/doc/guix.texi:26945
  40021. msgid "The interface name for the VPN."
  40022. msgstr ""
  40023. #. type: item
  40024. #: guix-git/doc/guix.texi:26946
  40025. #, no-wrap
  40026. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  40027. msgstr ""
  40028. #. type: table
  40029. #: guix-git/doc/guix.texi:26948
  40030. msgid "The IP addresses to be assigned to the above interface."
  40031. msgstr ""
  40032. #. type: item
  40033. #: guix-git/doc/guix.texi:26949
  40034. #, no-wrap
  40035. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  40036. msgstr ""
  40037. #. type: table
  40038. #: guix-git/doc/guix.texi:26952
  40039. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  40040. msgstr ""
  40041. #. type: item
  40042. #: guix-git/doc/guix.texi:26953
  40043. #, no-wrap
  40044. msgid "@code{peers} (default: @code{'()})"
  40045. msgstr ""
  40046. #. type: table
  40047. #: guix-git/doc/guix.texi:26956
  40048. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  40049. msgstr ""
  40050. #. type: deftp
  40051. #: guix-git/doc/guix.texi:26960
  40052. #, no-wrap
  40053. msgid "{Data Type} wireguard-peer"
  40054. msgstr ""
  40055. #. type: deftp
  40056. #: guix-git/doc/guix.texi:26962
  40057. msgid "Data type representing a Wireguard peer attached to a given interface."
  40058. msgstr ""
  40059. #. type: table
  40060. #: guix-git/doc/guix.texi:26966
  40061. msgid "The peer name."
  40062. msgstr ""
  40063. #. type: item
  40064. #: guix-git/doc/guix.texi:26967
  40065. #, no-wrap
  40066. msgid "@code{endpoint} (default: @code{#f})"
  40067. msgstr ""
  40068. #. type: table
  40069. #: guix-git/doc/guix.texi:26970
  40070. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  40071. msgstr ""
  40072. #. type: itemx
  40073. #: guix-git/doc/guix.texi:26971 guix-git/doc/guix.texi:27355
  40074. #: guix-git/doc/guix.texi:27389 guix-git/doc/guix.texi:32191
  40075. #, no-wrap
  40076. msgid "public-key"
  40077. msgstr "공개 키"
  40078. #. type: table
  40079. #: guix-git/doc/guix.texi:26973
  40080. msgid "The peer public-key represented as a base64 string."
  40081. msgstr ""
  40082. #. type: code{#1}
  40083. #: guix-git/doc/guix.texi:26974
  40084. #, no-wrap
  40085. msgid "allowed-ips"
  40086. msgstr ""
  40087. #. type: table
  40088. #: guix-git/doc/guix.texi:26977
  40089. 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."
  40090. msgstr ""
  40091. #. type: cindex
  40092. #: guix-git/doc/guix.texi:26983
  40093. #, no-wrap
  40094. msgid "NFS"
  40095. msgstr "NFS"
  40096. #. type: Plain text
  40097. #: guix-git/doc/guix.texi:26988
  40098. 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)."
  40099. msgstr ""
  40100. #. type: Plain text
  40101. #: guix-git/doc/guix.texi:26992
  40102. 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}."
  40103. msgstr ""
  40104. #. type: subsubheading
  40105. #: guix-git/doc/guix.texi:26993
  40106. #, no-wrap
  40107. msgid "NFS Service"
  40108. msgstr ""
  40109. #. type: cindex
  40110. #: guix-git/doc/guix.texi:26994
  40111. #, no-wrap
  40112. msgid "NFS, server"
  40113. msgstr ""
  40114. #. type: Plain text
  40115. #: guix-git/doc/guix.texi:26999
  40116. 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."
  40117. msgstr ""
  40118. #. type: defvr
  40119. #: guix-git/doc/guix.texi:27000
  40120. #, no-wrap
  40121. msgid "{Scheme Variable} nfs-service-type"
  40122. msgstr ""
  40123. #. type: defvr
  40124. #: guix-git/doc/guix.texi:27002
  40125. msgid "A service type for a complete NFS server."
  40126. msgstr ""
  40127. #. type: deftp
  40128. #: guix-git/doc/guix.texi:27004
  40129. #, no-wrap
  40130. msgid "{Data Type} nfs-configuration"
  40131. msgstr ""
  40132. #. type: deftp
  40133. #: guix-git/doc/guix.texi:27007
  40134. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  40135. msgstr ""
  40136. #. type: deftp
  40137. #: guix-git/doc/guix.texi:27009
  40138. msgid "It has the following parameters:"
  40139. msgstr ""
  40140. #. type: item
  40141. #: guix-git/doc/guix.texi:27010 guix-git/doc/guix.texi:27135
  40142. #: guix-git/doc/guix.texi:27160
  40143. #, no-wrap
  40144. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  40145. msgstr ""
  40146. #. type: table
  40147. #: guix-git/doc/guix.texi:27012
  40148. msgid "The nfs-utils package to use."
  40149. msgstr ""
  40150. #. type: item
  40151. #: guix-git/doc/guix.texi:27013
  40152. #, no-wrap
  40153. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  40154. msgstr ""
  40155. #. type: table
  40156. #: guix-git/doc/guix.texi:27016
  40157. 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."
  40158. msgstr ""
  40159. #. type: item
  40160. #: guix-git/doc/guix.texi:27017
  40161. #, no-wrap
  40162. msgid "@code{exports} (default: @code{'()})"
  40163. msgstr ""
  40164. #. type: table
  40165. #: guix-git/doc/guix.texi:27022
  40166. 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:"
  40167. msgstr ""
  40168. #. type: lisp
  40169. #: guix-git/doc/guix.texi:27028
  40170. #, no-wrap
  40171. msgid ""
  40172. "(nfs-configuration\n"
  40173. " (exports\n"
  40174. " '((\"/export\"\n"
  40175. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  40176. msgstr ""
  40177. #. type: item
  40178. #: guix-git/doc/guix.texi:27030
  40179. #, no-wrap
  40180. msgid "@code{rpcmountd-port} (default: @code{#f})"
  40181. msgstr ""
  40182. #. type: table
  40183. #: guix-git/doc/guix.texi:27032
  40184. msgid "The network port that the @command{rpc.mountd} daemon should use."
  40185. msgstr ""
  40186. #. type: item
  40187. #: guix-git/doc/guix.texi:27033
  40188. #, no-wrap
  40189. msgid "@code{rpcstatd-port} (default: @code{#f})"
  40190. msgstr ""
  40191. #. type: table
  40192. #: guix-git/doc/guix.texi:27035
  40193. msgid "The network port that the @command{rpc.statd} daemon should use."
  40194. msgstr ""
  40195. #. type: item
  40196. #: guix-git/doc/guix.texi:27036 guix-git/doc/guix.texi:27084
  40197. #, no-wrap
  40198. msgid "@code{rpcbind} (default: @code{rpcbind})"
  40199. msgstr ""
  40200. #. type: table
  40201. #: guix-git/doc/guix.texi:27038 guix-git/doc/guix.texi:27086
  40202. msgid "The rpcbind package to use."
  40203. msgstr ""
  40204. #. type: item
  40205. #: guix-git/doc/guix.texi:27039
  40206. #, no-wrap
  40207. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  40208. msgstr ""
  40209. #. type: table
  40210. #: guix-git/doc/guix.texi:27041
  40211. msgid "The local NFSv4 domain name."
  40212. msgstr ""
  40213. #. type: item
  40214. #: guix-git/doc/guix.texi:27042
  40215. #, no-wrap
  40216. msgid "@code{nfsd-port} (default: @code{2049})"
  40217. msgstr ""
  40218. #. type: table
  40219. #: guix-git/doc/guix.texi:27044
  40220. msgid "The network port that the @command{nfsd} daemon should use."
  40221. msgstr ""
  40222. #. type: item
  40223. #: guix-git/doc/guix.texi:27045
  40224. #, no-wrap
  40225. msgid "@code{nfsd-threads} (default: @code{8})"
  40226. msgstr ""
  40227. #. type: table
  40228. #: guix-git/doc/guix.texi:27047
  40229. msgid "The number of threads used by the @command{nfsd} daemon."
  40230. msgstr ""
  40231. #. type: item
  40232. #: guix-git/doc/guix.texi:27048
  40233. #, no-wrap
  40234. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  40235. msgstr ""
  40236. #. type: table
  40237. #: guix-git/doc/guix.texi:27050
  40238. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  40239. msgstr ""
  40240. #. type: item
  40241. #: guix-git/doc/guix.texi:27051
  40242. #, no-wrap
  40243. msgid "@code{nfsd-udp?} (default: @code{#f})"
  40244. msgstr ""
  40245. #. type: table
  40246. #: guix-git/doc/guix.texi:27053
  40247. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  40248. msgstr ""
  40249. #. type: item
  40250. #: guix-git/doc/guix.texi:27054 guix-git/doc/guix.texi:27138
  40251. #: guix-git/doc/guix.texi:27163
  40252. #, no-wrap
  40253. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  40254. msgstr ""
  40255. #. type: table
  40256. #: guix-git/doc/guix.texi:27056 guix-git/doc/guix.texi:27140
  40257. #: guix-git/doc/guix.texi:27165
  40258. msgid "The directory where the pipefs file system is mounted."
  40259. msgstr ""
  40260. #. type: item
  40261. #: guix-git/doc/guix.texi:27057
  40262. #, no-wrap
  40263. msgid "@code{debug} (default: @code{'()\"})"
  40264. msgstr ""
  40265. #. type: table
  40266. #: guix-git/doc/guix.texi:27061
  40267. 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}."
  40268. msgstr ""
  40269. #. type: Plain text
  40270. #: guix-git/doc/guix.texi:27066
  40271. 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."
  40272. msgstr ""
  40273. #. type: subsubheading
  40274. #: guix-git/doc/guix.texi:27067
  40275. #, no-wrap
  40276. msgid "RPC Bind Service"
  40277. msgstr ""
  40278. #. type: cindex
  40279. #: guix-git/doc/guix.texi:27068
  40280. #, no-wrap
  40281. msgid "rpcbind"
  40282. msgstr ""
  40283. #. type: Plain text
  40284. #: guix-git/doc/guix.texi:27074
  40285. 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."
  40286. msgstr ""
  40287. #. type: defvr
  40288. #: guix-git/doc/guix.texi:27075
  40289. #, no-wrap
  40290. msgid "{Scheme Variable} rpcbind-service-type"
  40291. msgstr ""
  40292. #. type: defvr
  40293. #: guix-git/doc/guix.texi:27077
  40294. msgid "A service type for the RPC portmapper daemon."
  40295. msgstr ""
  40296. #. type: deftp
  40297. #: guix-git/doc/guix.texi:27080
  40298. #, no-wrap
  40299. msgid "{Data Type} rpcbind-configuration"
  40300. msgstr ""
  40301. #. type: deftp
  40302. #: guix-git/doc/guix.texi:27083
  40303. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  40304. msgstr ""
  40305. #. type: item
  40306. #: guix-git/doc/guix.texi:27087
  40307. #, no-wrap
  40308. msgid "@code{warm-start?} (default: @code{#t})"
  40309. msgstr ""
  40310. #. type: table
  40311. #: guix-git/doc/guix.texi:27091
  40312. 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."
  40313. msgstr ""
  40314. #. type: subsubheading
  40315. #: guix-git/doc/guix.texi:27095
  40316. #, no-wrap
  40317. msgid "Pipefs Pseudo File System"
  40318. msgstr ""
  40319. #. type: cindex
  40320. #: guix-git/doc/guix.texi:27096
  40321. #, no-wrap
  40322. msgid "pipefs"
  40323. msgstr ""
  40324. #. type: cindex
  40325. #: guix-git/doc/guix.texi:27097
  40326. #, no-wrap
  40327. msgid "rpc_pipefs"
  40328. msgstr ""
  40329. #. type: Plain text
  40330. #: guix-git/doc/guix.texi:27101
  40331. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  40332. msgstr ""
  40333. #. type: defvr
  40334. #: guix-git/doc/guix.texi:27102
  40335. #, no-wrap
  40336. msgid "{Scheme Variable} pipefs-service-type"
  40337. msgstr ""
  40338. #. type: defvr
  40339. #: guix-git/doc/guix.texi:27104
  40340. msgid "A service type for the pipefs pseudo file system."
  40341. msgstr ""
  40342. #. type: deftp
  40343. #: guix-git/doc/guix.texi:27106
  40344. #, no-wrap
  40345. msgid "{Data Type} pipefs-configuration"
  40346. msgstr ""
  40347. #. type: deftp
  40348. #: guix-git/doc/guix.texi:27109
  40349. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  40350. msgstr ""
  40351. #. type: item
  40352. #: guix-git/doc/guix.texi:27110
  40353. #, no-wrap
  40354. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  40355. msgstr ""
  40356. #. type: table
  40357. #: guix-git/doc/guix.texi:27112
  40358. msgid "The directory to which the file system is to be attached."
  40359. msgstr ""
  40360. #. type: subsubheading
  40361. #: guix-git/doc/guix.texi:27116
  40362. #, no-wrap
  40363. msgid "GSS Daemon Service"
  40364. msgstr ""
  40365. #. type: cindex
  40366. #: guix-git/doc/guix.texi:27117
  40367. #, no-wrap
  40368. msgid "GSSD"
  40369. msgstr ""
  40370. #. type: cindex
  40371. #: guix-git/doc/guix.texi:27118
  40372. #, no-wrap
  40373. msgid "GSS"
  40374. msgstr ""
  40375. #. type: cindex
  40376. #: guix-git/doc/guix.texi:27119
  40377. #, no-wrap
  40378. msgid "global security system"
  40379. msgstr ""
  40380. #. type: Plain text
  40381. #: guix-git/doc/guix.texi:27126
  40382. 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})."
  40383. msgstr ""
  40384. #. type: defvr
  40385. #: guix-git/doc/guix.texi:27127
  40386. #, no-wrap
  40387. msgid "{Scheme Variable} gss-service-type"
  40388. msgstr ""
  40389. #. type: defvr
  40390. #: guix-git/doc/guix.texi:27129
  40391. msgid "A service type for the Global Security System (GSS) daemon."
  40392. msgstr ""
  40393. #. type: deftp
  40394. #: guix-git/doc/guix.texi:27131
  40395. #, no-wrap
  40396. msgid "{Data Type} gss-configuration"
  40397. msgstr ""
  40398. #. type: deftp
  40399. #: guix-git/doc/guix.texi:27134
  40400. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  40401. msgstr ""
  40402. #. type: table
  40403. #: guix-git/doc/guix.texi:27137
  40404. msgid "The package in which the @command{rpc.gssd} command is to be found."
  40405. msgstr ""
  40406. #. type: subsubheading
  40407. #: guix-git/doc/guix.texi:27145
  40408. #, no-wrap
  40409. msgid "IDMAP Daemon Service"
  40410. msgstr ""
  40411. #. type: cindex
  40412. #: guix-git/doc/guix.texi:27146
  40413. #, no-wrap
  40414. msgid "idmapd"
  40415. msgstr ""
  40416. #. type: cindex
  40417. #: guix-git/doc/guix.texi:27147
  40418. #, no-wrap
  40419. msgid "name mapper"
  40420. msgstr ""
  40421. #. type: Plain text
  40422. #: guix-git/doc/guix.texi:27151
  40423. 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."
  40424. msgstr ""
  40425. #. type: defvr
  40426. #: guix-git/doc/guix.texi:27152
  40427. #, no-wrap
  40428. msgid "{Scheme Variable} idmap-service-type"
  40429. msgstr ""
  40430. #. type: defvr
  40431. #: guix-git/doc/guix.texi:27154
  40432. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  40433. msgstr ""
  40434. #. type: deftp
  40435. #: guix-git/doc/guix.texi:27156
  40436. #, no-wrap
  40437. msgid "{Data Type} idmap-configuration"
  40438. msgstr ""
  40439. #. type: deftp
  40440. #: guix-git/doc/guix.texi:27159
  40441. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  40442. msgstr ""
  40443. #. type: table
  40444. #: guix-git/doc/guix.texi:27162
  40445. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  40446. msgstr ""
  40447. #. type: item
  40448. #: guix-git/doc/guix.texi:27166
  40449. #, no-wrap
  40450. msgid "@code{domain} (default: @code{#f})"
  40451. msgstr ""
  40452. #. type: table
  40453. #: guix-git/doc/guix.texi:27170
  40454. 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."
  40455. msgstr ""
  40456. #. type: item
  40457. #: guix-git/doc/guix.texi:27171
  40458. #, no-wrap
  40459. msgid "@code{verbosity} (default: @code{0})"
  40460. msgstr ""
  40461. #. type: table
  40462. #: guix-git/doc/guix.texi:27173
  40463. msgid "The verbosity level of the daemon."
  40464. msgstr ""
  40465. #. type: Plain text
  40466. #: guix-git/doc/guix.texi:27184
  40467. 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})."
  40468. msgstr ""
  40469. #. type: Plain text
  40470. #: guix-git/doc/guix.texi:27186
  40471. msgid "The @code{(gnu services cuirass)} module provides the following service."
  40472. msgstr ""
  40473. #. type: defvr
  40474. #: guix-git/doc/guix.texi:27187
  40475. #, no-wrap
  40476. msgid "{Scheme Procedure} cuirass-service-type"
  40477. msgstr ""
  40478. #. type: defvr
  40479. #: guix-git/doc/guix.texi:27190
  40480. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  40481. msgstr ""
  40482. #. type: Plain text
  40483. #: guix-git/doc/guix.texi:27195
  40484. 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."
  40485. msgstr ""
  40486. #. type: lisp
  40487. #: guix-git/doc/guix.texi:27206
  40488. #, no-wrap
  40489. msgid ""
  40490. "(define %cuirass-specs\n"
  40491. " #~(list (specification\n"
  40492. " (name \"my-channel\")\n"
  40493. " (build '(channels my-channel))\n"
  40494. " (channels\n"
  40495. " (cons (channel\n"
  40496. " (name 'my-channel)\n"
  40497. " (url \"https://my-channel.git\"))\n"
  40498. " %default-channels)))))\n"
  40499. "\n"
  40500. msgstr ""
  40501. #. type: lisp
  40502. #: guix-git/doc/guix.texi:27210 guix-git/doc/guix.texi:27224
  40503. #, no-wrap
  40504. msgid ""
  40505. "(service cuirass-service-type\n"
  40506. " (cuirass-configuration\n"
  40507. " (specifications %cuirass-specs)))\n"
  40508. msgstr ""
  40509. #. type: Plain text
  40510. #: guix-git/doc/guix.texi:27214
  40511. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  40512. msgstr ""
  40513. #. type: lisp
  40514. #: guix-git/doc/guix.texi:27220
  40515. #, no-wrap
  40516. msgid ""
  40517. "(define %cuirass-specs\n"
  40518. " #~(list (specification\n"
  40519. " (name \"my-linux\")\n"
  40520. " (build '(packages \"linux-libre\")))))\n"
  40521. "\n"
  40522. msgstr ""
  40523. #. type: Plain text
  40524. #: guix-git/doc/guix.texi:27229
  40525. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  40526. msgstr ""
  40527. #. type: Plain text
  40528. #: guix-git/doc/guix.texi:27233
  40529. 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."
  40530. msgstr ""
  40531. #. type: deftp
  40532. #: guix-git/doc/guix.texi:27234
  40533. #, no-wrap
  40534. msgid "{Data Type} cuirass-configuration"
  40535. msgstr ""
  40536. #. type: deftp
  40537. #: guix-git/doc/guix.texi:27236
  40538. msgid "Data type representing the configuration of Cuirass."
  40539. msgstr ""
  40540. #. type: item
  40541. #: guix-git/doc/guix.texi:27238 guix-git/doc/guix.texi:27370
  40542. #, no-wrap
  40543. msgid "@code{cuirass} (default: @code{cuirass})"
  40544. msgstr ""
  40545. #. type: table
  40546. #: guix-git/doc/guix.texi:27240 guix-git/doc/guix.texi:27372
  40547. msgid "The Cuirass package to use."
  40548. msgstr ""
  40549. #. type: item
  40550. #: guix-git/doc/guix.texi:27241
  40551. #, no-wrap
  40552. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  40553. msgstr ""
  40554. #. type: table
  40555. #: guix-git/doc/guix.texi:27243 guix-git/doc/guix.texi:27347
  40556. #: guix-git/doc/guix.texi:27385
  40557. msgid "Location of the log file."
  40558. msgstr ""
  40559. #. type: item
  40560. #: guix-git/doc/guix.texi:27244
  40561. #, no-wrap
  40562. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  40563. msgstr ""
  40564. #. type: table
  40565. #: guix-git/doc/guix.texi:27246
  40566. msgid "Location of the log file used by the web interface."
  40567. msgstr ""
  40568. #. type: item
  40569. #: guix-git/doc/guix.texi:27247
  40570. #, no-wrap
  40571. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  40572. msgstr ""
  40573. #. type: table
  40574. #: guix-git/doc/guix.texi:27249
  40575. msgid "Location of the repository cache."
  40576. msgstr ""
  40577. #. type: item
  40578. #: guix-git/doc/guix.texi:27250
  40579. #, no-wrap
  40580. msgid "@code{user} (default: @code{\"cuirass\"})"
  40581. msgstr ""
  40582. #. type: table
  40583. #: guix-git/doc/guix.texi:27252
  40584. msgid "Owner of the @code{cuirass} process."
  40585. msgstr ""
  40586. #. type: item
  40587. #: guix-git/doc/guix.texi:27253
  40588. #, no-wrap
  40589. msgid "@code{group} (default: @code{\"cuirass\"})"
  40590. msgstr ""
  40591. #. type: table
  40592. #: guix-git/doc/guix.texi:27255
  40593. msgid "Owner's group of the @code{cuirass} process."
  40594. msgstr ""
  40595. #. type: item
  40596. #: guix-git/doc/guix.texi:27256
  40597. #, no-wrap
  40598. msgid "@code{interval} (default: @code{60})"
  40599. msgstr ""
  40600. #. type: table
  40601. #: guix-git/doc/guix.texi:27259
  40602. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  40603. msgstr ""
  40604. #. type: item
  40605. #: guix-git/doc/guix.texi:27260
  40606. #, no-wrap
  40607. msgid "@code{parameters} (default: @code{#f})"
  40608. msgstr ""
  40609. #. type: table
  40610. #: guix-git/doc/guix.texi:27263
  40611. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  40612. msgstr ""
  40613. #. type: item
  40614. #: guix-git/doc/guix.texi:27264
  40615. #, no-wrap
  40616. msgid "@code{remote-server} (default: @code{#f})"
  40617. msgstr ""
  40618. #. type: table
  40619. #: guix-git/doc/guix.texi:27267
  40620. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  40621. msgstr ""
  40622. #. type: item
  40623. #: guix-git/doc/guix.texi:27268
  40624. #, no-wrap
  40625. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  40626. msgstr ""
  40627. #. type: table
  40628. #: guix-git/doc/guix.texi:27273
  40629. 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\"}."
  40630. msgstr ""
  40631. #. type: item
  40632. #: guix-git/doc/guix.texi:27274
  40633. #, no-wrap
  40634. msgid "@code{port} (default: @code{8081})"
  40635. msgstr ""
  40636. #. type: table
  40637. #: guix-git/doc/guix.texi:27276
  40638. msgid "Port number used by the HTTP server."
  40639. msgstr ""
  40640. #. type: table
  40641. #: guix-git/doc/guix.texi:27280
  40642. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  40643. msgstr ""
  40644. #. type: item
  40645. #: guix-git/doc/guix.texi:27281
  40646. #, no-wrap
  40647. msgid "@code{specifications} (default: @code{#~'()})"
  40648. msgstr ""
  40649. #. type: table
  40650. #: guix-git/doc/guix.texi:27285
  40651. 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})."
  40652. msgstr ""
  40653. #. type: item
  40654. #: guix-git/doc/guix.texi:27286
  40655. #, no-wrap
  40656. msgid "@code{use-substitutes?} (default: @code{#f})"
  40657. msgstr ""
  40658. #. type: table
  40659. #: guix-git/doc/guix.texi:27289
  40660. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  40661. msgstr ""
  40662. #. type: item
  40663. #: guix-git/doc/guix.texi:27290 guix-git/doc/guix.texi:34160
  40664. #, no-wrap
  40665. msgid "@code{one-shot?} (default: @code{#f})"
  40666. msgstr ""
  40667. #. type: table
  40668. #: guix-git/doc/guix.texi:27292
  40669. msgid "Only evaluate specifications and build derivations once."
  40670. msgstr ""
  40671. #. type: item
  40672. #: guix-git/doc/guix.texi:27293
  40673. #, no-wrap
  40674. msgid "@code{fallback?} (default: @code{#f})"
  40675. msgstr ""
  40676. #. type: table
  40677. #: guix-git/doc/guix.texi:27296
  40678. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  40679. msgstr ""
  40680. #. type: table
  40681. #: guix-git/doc/guix.texi:27299
  40682. msgid "Extra options to pass when running the Cuirass processes."
  40683. msgstr ""
  40684. #. type: cindex
  40685. #: guix-git/doc/guix.texi:27303
  40686. #, no-wrap
  40687. msgid "remote build"
  40688. msgstr ""
  40689. #. type: subsubheading
  40690. #: guix-git/doc/guix.texi:27304
  40691. #, no-wrap
  40692. msgid "Cuirass remote building"
  40693. msgstr ""
  40694. #. type: Plain text
  40695. #: guix-git/doc/guix.texi:27307
  40696. msgid "Cuirass supports two mechanisms to build derivations."
  40697. msgstr ""
  40698. #. type: item
  40699. #: guix-git/doc/guix.texi:27309
  40700. #, fuzzy, no-wrap
  40701. #| msgid "Running the build daemon."
  40702. msgid "Using the local Guix daemon."
  40703. msgstr "구성 데몬 실행하기."
  40704. #. type: itemize
  40705. #: guix-git/doc/guix.texi:27313
  40706. 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."
  40707. msgstr ""
  40708. #. type: item
  40709. #: guix-git/doc/guix.texi:27314
  40710. #, no-wrap
  40711. msgid "Using the remote build mechanism."
  40712. msgstr ""
  40713. #. type: itemize
  40714. #: guix-git/doc/guix.texi:27318
  40715. 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."
  40716. msgstr ""
  40717. #. type: Plain text
  40718. #: guix-git/doc/guix.texi:27325
  40719. 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."
  40720. msgstr ""
  40721. #. type: Plain text
  40722. #: guix-git/doc/guix.texi:27330
  40723. 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."
  40724. msgstr ""
  40725. #. type: deftp
  40726. #: guix-git/doc/guix.texi:27331
  40727. #, no-wrap
  40728. msgid "{Data Type} cuirass-remote-server-configuration"
  40729. msgstr ""
  40730. #. type: deftp
  40731. #: guix-git/doc/guix.texi:27333
  40732. msgid "Data type representing the configuration of the Cuirass remote-server."
  40733. msgstr ""
  40734. #. type: item
  40735. #: guix-git/doc/guix.texi:27335
  40736. #, no-wrap
  40737. msgid "@code{backend-port} (default: @code{5555})"
  40738. msgstr ""
  40739. #. type: table
  40740. #: guix-git/doc/guix.texi:27338
  40741. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  40742. msgstr ""
  40743. #. type: item
  40744. #: guix-git/doc/guix.texi:27339
  40745. #, no-wrap
  40746. msgid "@code{log-port} (default: @code{5556})"
  40747. msgstr ""
  40748. #. type: table
  40749. #: guix-git/doc/guix.texi:27341
  40750. msgid "The TCP port of the log server. It defaults to @code{5556}."
  40751. msgstr ""
  40752. #. type: item
  40753. #: guix-git/doc/guix.texi:27342
  40754. #, no-wrap
  40755. msgid "@code{publish-port} (default: @code{5557})"
  40756. msgstr ""
  40757. #. type: table
  40758. #: guix-git/doc/guix.texi:27344
  40759. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  40760. msgstr ""
  40761. #. type: item
  40762. #: guix-git/doc/guix.texi:27345
  40763. #, no-wrap
  40764. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  40765. msgstr ""
  40766. #. type: item
  40767. #: guix-git/doc/guix.texi:27348
  40768. #, no-wrap
  40769. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  40770. msgstr ""
  40771. #. type: table
  40772. #: guix-git/doc/guix.texi:27350
  40773. msgid "Use @var{cache} directory to cache build log files."
  40774. msgstr ""
  40775. #. type: item
  40776. #: guix-git/doc/guix.texi:27351
  40777. #, no-wrap
  40778. msgid "@code{trigger-url} (default: @code{#f})"
  40779. msgstr ""
  40780. #. type: table
  40781. #: guix-git/doc/guix.texi:27354
  40782. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  40783. msgstr ""
  40784. #. type: code{#1}
  40785. #: guix-git/doc/guix.texi:27356 guix-git/doc/guix.texi:27390
  40786. #, no-wrap
  40787. msgid "private-key"
  40788. msgstr ""
  40789. #. type: Plain text
  40790. #: guix-git/doc/guix.texi:27365
  40791. 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."
  40792. msgstr ""
  40793. #. type: deftp
  40794. #: guix-git/doc/guix.texi:27366
  40795. #, no-wrap
  40796. msgid "{Data Type} cuirass-remote-worker-configuration"
  40797. msgstr ""
  40798. #. type: deftp
  40799. #: guix-git/doc/guix.texi:27368
  40800. msgid "Data type representing the configuration of the Cuirass remote-worker."
  40801. msgstr ""
  40802. #. type: item
  40803. #: guix-git/doc/guix.texi:27373
  40804. #, no-wrap
  40805. msgid "@code{workers} (default: @code{1})"
  40806. msgstr ""
  40807. #. type: table
  40808. #: guix-git/doc/guix.texi:27375
  40809. msgid "Start @var{workers} parallel workers."
  40810. msgstr ""
  40811. #. type: table
  40812. #: guix-git/doc/guix.texi:27379
  40813. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  40814. msgstr ""
  40815. #. type: item
  40816. #: guix-git/doc/guix.texi:27380
  40817. #, no-wrap
  40818. msgid "@code{systems} (default: @code{(list (%current-system))})"
  40819. msgstr ""
  40820. #. type: table
  40821. #: guix-git/doc/guix.texi:27382
  40822. msgid "Only request builds for the given @var{systems}."
  40823. msgstr ""
  40824. #. type: item
  40825. #: guix-git/doc/guix.texi:27383
  40826. #, no-wrap
  40827. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  40828. msgstr ""
  40829. #. type: item
  40830. #: guix-git/doc/guix.texi:27386
  40831. #, no-wrap
  40832. msgid "@code{publish-port} (default: @code{5558})"
  40833. msgstr ""
  40834. #. type: table
  40835. #: guix-git/doc/guix.texi:27388
  40836. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  40837. msgstr ""
  40838. #. type: subsubheading
  40839. #: guix-git/doc/guix.texi:27397
  40840. #, no-wrap
  40841. msgid "Laminar"
  40842. msgstr ""
  40843. #. type: Plain text
  40844. #: guix-git/doc/guix.texi:27402
  40845. 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."
  40846. msgstr ""
  40847. #. type: Plain text
  40848. #: guix-git/doc/guix.texi:27405
  40849. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  40850. msgstr ""
  40851. #. type: defvr
  40852. #: guix-git/doc/guix.texi:27406
  40853. #, no-wrap
  40854. msgid "{Scheme Procedure} laminar-service-type"
  40855. msgstr ""
  40856. #. type: defvr
  40857. #: guix-git/doc/guix.texi:27409
  40858. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  40859. msgstr ""
  40860. #. type: defvr
  40861. #: guix-git/doc/guix.texi:27413
  40862. 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."
  40863. msgstr ""
  40864. #. type: lisp
  40865. #: guix-git/doc/guix.texi:27416
  40866. #, no-wrap
  40867. msgid "(service laminar-service-type)\n"
  40868. msgstr ""
  40869. #. type: deftp
  40870. #: guix-git/doc/guix.texi:27419
  40871. #, no-wrap
  40872. msgid "{Data Type} laminar-configuration"
  40873. msgstr ""
  40874. #. type: deftp
  40875. #: guix-git/doc/guix.texi:27421
  40876. #, fuzzy
  40877. #| msgid "Manage the operating system configuration."
  40878. msgid "Data type representing the configuration of Laminar."
  40879. msgstr "운영체제 설정 관리."
  40880. #. type: item
  40881. #: guix-git/doc/guix.texi:27423
  40882. #, no-wrap
  40883. msgid "@code{laminar} (default: @code{laminar})"
  40884. msgstr ""
  40885. #. type: table
  40886. #: guix-git/doc/guix.texi:27425
  40887. #, fuzzy
  40888. #| msgid "The packages and tools."
  40889. msgid "The Laminar package to use."
  40890. msgstr "꾸러미와 도구."
  40891. #. type: item
  40892. #: guix-git/doc/guix.texi:27426
  40893. #, no-wrap
  40894. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  40895. msgstr ""
  40896. #. type: table
  40897. #: guix-git/doc/guix.texi:27428
  40898. msgid "The directory for job configurations and run directories."
  40899. msgstr ""
  40900. #. type: item
  40901. #: guix-git/doc/guix.texi:27429
  40902. #, no-wrap
  40903. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  40904. msgstr ""
  40905. #. type: table
  40906. #: guix-git/doc/guix.texi:27432
  40907. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  40908. msgstr ""
  40909. #. type: item
  40910. #: guix-git/doc/guix.texi:27433
  40911. #, no-wrap
  40912. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  40913. msgstr ""
  40914. #. type: table
  40915. #: guix-git/doc/guix.texi:27436
  40916. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  40917. msgstr ""
  40918. #. type: item
  40919. #: guix-git/doc/guix.texi:27437
  40920. #, no-wrap
  40921. msgid "@code{title} (default: @code{\"Laminar\"})"
  40922. msgstr ""
  40923. #. type: table
  40924. #: guix-git/doc/guix.texi:27439
  40925. msgid "The page title to show in the web frontend."
  40926. msgstr ""
  40927. #. type: item
  40928. #: guix-git/doc/guix.texi:27440
  40929. #, no-wrap
  40930. msgid "@code{keep-rundirs} (default: @code{0})"
  40931. msgstr ""
  40932. #. type: table
  40933. #: guix-git/doc/guix.texi:27444
  40934. 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."
  40935. msgstr ""
  40936. #. type: item
  40937. #: guix-git/doc/guix.texi:27445
  40938. #, no-wrap
  40939. msgid "@code{archive-url} (default: @code{#f})"
  40940. msgstr ""
  40941. #. type: table
  40942. #: guix-git/doc/guix.texi:27448
  40943. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  40944. msgstr ""
  40945. #. type: item
  40946. #: guix-git/doc/guix.texi:27449
  40947. #, no-wrap
  40948. msgid "@code{base-url} (default: @code{#f})"
  40949. msgstr ""
  40950. #. type: table
  40951. #: guix-git/doc/guix.texi:27451
  40952. msgid "Base URL to use for links to laminar itself."
  40953. msgstr ""
  40954. #. type: cindex
  40955. #: guix-git/doc/guix.texi:27458
  40956. #, no-wrap
  40957. msgid "tlp"
  40958. msgstr ""
  40959. #. type: cindex
  40960. #: guix-git/doc/guix.texi:27459
  40961. #, no-wrap
  40962. msgid "power management with TLP"
  40963. msgstr ""
  40964. #. type: subsubheading
  40965. #: guix-git/doc/guix.texi:27460
  40966. #, no-wrap
  40967. msgid "TLP daemon"
  40968. msgstr ""
  40969. #. type: Plain text
  40970. #: guix-git/doc/guix.texi:27464
  40971. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  40972. msgstr ""
  40973. #. type: Plain text
  40974. #: guix-git/doc/guix.texi:27470
  40975. 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}."
  40976. msgstr ""
  40977. #. type: deffn
  40978. #: guix-git/doc/guix.texi:27471
  40979. #, no-wrap
  40980. msgid "{Scheme Variable} tlp-service-type"
  40981. msgstr ""
  40982. #. type: deffn
  40983. #: guix-git/doc/guix.texi:27475
  40984. 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}:"
  40985. msgstr ""
  40986. #. type: lisp
  40987. #: guix-git/doc/guix.texi:27480
  40988. #, no-wrap
  40989. msgid ""
  40990. "(service tlp-service-type\n"
  40991. " (tlp-configuration\n"
  40992. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  40993. " (sched-powersave-on-bat? #t)))\n"
  40994. msgstr ""
  40995. #. type: Plain text
  40996. #: guix-git/doc/guix.texi:27488
  40997. 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}."
  40998. msgstr ""
  40999. #. type: Plain text
  41000. #: guix-git/doc/guix.texi:27498
  41001. msgid "Available @code{tlp-configuration} fields are:"
  41002. msgstr ""
  41003. #. type: deftypevr
  41004. #: guix-git/doc/guix.texi:27499
  41005. #, no-wrap
  41006. msgid "{@code{tlp-configuration} parameter} package tlp"
  41007. msgstr ""
  41008. #. type: deftypevr
  41009. #: guix-git/doc/guix.texi:27501
  41010. msgid "The TLP package."
  41011. msgstr ""
  41012. #. type: deftypevr
  41013. #: guix-git/doc/guix.texi:27504
  41014. #, no-wrap
  41015. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  41016. msgstr ""
  41017. #. type: deftypevr
  41018. #: guix-git/doc/guix.texi:27506
  41019. msgid "Set to true if you wish to enable TLP."
  41020. msgstr ""
  41021. #. type: deftypevr
  41022. #: guix-git/doc/guix.texi:27511
  41023. #, no-wrap
  41024. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  41025. msgstr ""
  41026. #. type: deftypevr
  41027. #: guix-git/doc/guix.texi:27514
  41028. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  41029. msgstr ""
  41030. #. type: deftypevr
  41031. #: guix-git/doc/guix.texi:27516
  41032. msgid "Defaults to @samp{\"AC\"}."
  41033. msgstr ""
  41034. #. type: deftypevr
  41035. #: guix-git/doc/guix.texi:27519
  41036. #, no-wrap
  41037. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  41038. msgstr ""
  41039. #. type: deftypevr
  41040. #: guix-git/doc/guix.texi:27522
  41041. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  41042. msgstr ""
  41043. #. type: deftypevr
  41044. #: guix-git/doc/guix.texi:27527
  41045. #, no-wrap
  41046. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  41047. msgstr ""
  41048. #. type: deftypevr
  41049. #: guix-git/doc/guix.texi:27529
  41050. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  41051. msgstr ""
  41052. #. type: deftypevr
  41053. #: guix-git/doc/guix.texi:27531
  41054. msgid "Defaults to @samp{2}."
  41055. msgstr ""
  41056. #. type: deftypevr
  41057. #: guix-git/doc/guix.texi:27534
  41058. #, no-wrap
  41059. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  41060. msgstr ""
  41061. #. type: deftypevr
  41062. #: guix-git/doc/guix.texi:27536
  41063. msgid "Dirty pages flushing periodicity, expressed in seconds."
  41064. msgstr ""
  41065. #. type: deftypevr
  41066. #: guix-git/doc/guix.texi:27538 guix-git/doc/guix.texi:27761
  41067. #: guix-git/doc/guix.texi:29975 guix-git/doc/guix.texi:29983
  41068. msgid "Defaults to @samp{15}."
  41069. msgstr ""
  41070. #. type: deftypevr
  41071. #: guix-git/doc/guix.texi:27541
  41072. #, no-wrap
  41073. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  41074. msgstr ""
  41075. #. type: deftypevr
  41076. #: guix-git/doc/guix.texi:27543
  41077. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  41078. msgstr ""
  41079. #. type: deftypevr
  41080. #: guix-git/doc/guix.texi:27545
  41081. msgid "Defaults to @samp{60}."
  41082. msgstr ""
  41083. #. type: deftypevr
  41084. #: guix-git/doc/guix.texi:27548
  41085. #, no-wrap
  41086. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  41087. msgstr ""
  41088. #. type: deftypevr
  41089. #: guix-git/doc/guix.texi:27552
  41090. 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."
  41091. msgstr ""
  41092. #. type: deftypevr
  41093. #: guix-git/doc/guix.texi:27557
  41094. #, no-wrap
  41095. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  41096. msgstr ""
  41097. #. type: deftypevr
  41098. #: guix-git/doc/guix.texi:27559
  41099. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  41100. msgstr ""
  41101. #. type: deftypevr
  41102. #: guix-git/doc/guix.texi:27564
  41103. #, no-wrap
  41104. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  41105. msgstr ""
  41106. #. type: deftypevr
  41107. #: guix-git/doc/guix.texi:27566
  41108. msgid "Set the min available frequency for the scaling governor on AC."
  41109. msgstr ""
  41110. #. type: deftypevr
  41111. #: guix-git/doc/guix.texi:27571
  41112. #, no-wrap
  41113. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  41114. msgstr ""
  41115. #. type: deftypevr
  41116. #: guix-git/doc/guix.texi:27573
  41117. msgid "Set the max available frequency for the scaling governor on AC."
  41118. msgstr ""
  41119. #. type: deftypevr
  41120. #: guix-git/doc/guix.texi:27578
  41121. #, no-wrap
  41122. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  41123. msgstr ""
  41124. #. type: deftypevr
  41125. #: guix-git/doc/guix.texi:27580
  41126. msgid "Set the min available frequency for the scaling governor on BAT."
  41127. msgstr ""
  41128. #. type: deftypevr
  41129. #: guix-git/doc/guix.texi:27585
  41130. #, no-wrap
  41131. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  41132. msgstr ""
  41133. #. type: deftypevr
  41134. #: guix-git/doc/guix.texi:27587
  41135. msgid "Set the max available frequency for the scaling governor on BAT."
  41136. msgstr ""
  41137. #. type: deftypevr
  41138. #: guix-git/doc/guix.texi:27592
  41139. #, no-wrap
  41140. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  41141. msgstr ""
  41142. #. type: deftypevr
  41143. #: guix-git/doc/guix.texi:27595
  41144. 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."
  41145. msgstr ""
  41146. #. type: deftypevr
  41147. #: guix-git/doc/guix.texi:27600
  41148. #, no-wrap
  41149. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  41150. msgstr ""
  41151. #. type: deftypevr
  41152. #: guix-git/doc/guix.texi:27603
  41153. 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."
  41154. msgstr ""
  41155. #. type: deftypevr
  41156. #: guix-git/doc/guix.texi:27608
  41157. #, no-wrap
  41158. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  41159. msgstr ""
  41160. #. type: deftypevr
  41161. #: guix-git/doc/guix.texi:27610
  41162. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  41163. msgstr ""
  41164. #. type: deftypevr
  41165. #: guix-git/doc/guix.texi:27615
  41166. #, no-wrap
  41167. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  41168. msgstr ""
  41169. #. type: deftypevr
  41170. #: guix-git/doc/guix.texi:27617
  41171. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  41172. msgstr ""
  41173. #. type: deftypevr
  41174. #: guix-git/doc/guix.texi:27622
  41175. #, no-wrap
  41176. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  41177. msgstr ""
  41178. #. type: deftypevr
  41179. #: guix-git/doc/guix.texi:27624
  41180. msgid "Enable CPU turbo boost feature on AC mode."
  41181. msgstr ""
  41182. #. type: deftypevr
  41183. #: guix-git/doc/guix.texi:27629
  41184. #, no-wrap
  41185. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  41186. msgstr ""
  41187. #. type: deftypevr
  41188. #: guix-git/doc/guix.texi:27631
  41189. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  41190. msgstr ""
  41191. #. type: deftypevr
  41192. #: guix-git/doc/guix.texi:27636
  41193. #, no-wrap
  41194. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  41195. msgstr ""
  41196. #. type: deftypevr
  41197. #: guix-git/doc/guix.texi:27639
  41198. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  41199. msgstr ""
  41200. #. type: deftypevr
  41201. #: guix-git/doc/guix.texi:27644
  41202. #, no-wrap
  41203. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  41204. msgstr ""
  41205. #. type: deftypevr
  41206. #: guix-git/doc/guix.texi:27646
  41207. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  41208. msgstr ""
  41209. #. type: deftypevr
  41210. #: guix-git/doc/guix.texi:27651
  41211. #, no-wrap
  41212. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  41213. msgstr ""
  41214. #. type: deftypevr
  41215. #: guix-git/doc/guix.texi:27653
  41216. msgid "Enable Linux kernel NMI watchdog."
  41217. msgstr ""
  41218. #. type: deftypevr
  41219. #: guix-git/doc/guix.texi:27658
  41220. #, no-wrap
  41221. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  41222. msgstr ""
  41223. #. type: deftypevr
  41224. #: guix-git/doc/guix.texi:27661
  41225. 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\"}."
  41226. msgstr ""
  41227. #. type: deftypevr
  41228. #: guix-git/doc/guix.texi:27666
  41229. #, no-wrap
  41230. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  41231. msgstr ""
  41232. #. type: deftypevr
  41233. #: guix-git/doc/guix.texi:27669
  41234. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  41235. msgstr ""
  41236. #. type: deftypevr
  41237. #: guix-git/doc/guix.texi:27671 guix-git/doc/guix.texi:27769
  41238. #: guix-git/doc/guix.texi:27799
  41239. msgid "Defaults to @samp{\"performance\"}."
  41240. msgstr ""
  41241. #. type: deftypevr
  41242. #: guix-git/doc/guix.texi:27674
  41243. #, no-wrap
  41244. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  41245. msgstr ""
  41246. #. type: deftypevr
  41247. #: guix-git/doc/guix.texi:27676
  41248. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  41249. msgstr ""
  41250. #. type: deftypevr
  41251. #: guix-git/doc/guix.texi:27678 guix-git/doc/guix.texi:27776
  41252. msgid "Defaults to @samp{\"powersave\"}."
  41253. msgstr ""
  41254. #. type: deftypevr
  41255. #: guix-git/doc/guix.texi:27681
  41256. #, no-wrap
  41257. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  41258. msgstr ""
  41259. #. type: deftypevr
  41260. #: guix-git/doc/guix.texi:27683
  41261. msgid "Hard disk devices."
  41262. msgstr ""
  41263. #. type: deftypevr
  41264. #: guix-git/doc/guix.texi:27686
  41265. #, no-wrap
  41266. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  41267. msgstr ""
  41268. #. type: deftypevr
  41269. #: guix-git/doc/guix.texi:27688
  41270. msgid "Hard disk advanced power management level."
  41271. msgstr ""
  41272. #. type: deftypevr
  41273. #: guix-git/doc/guix.texi:27691
  41274. #, no-wrap
  41275. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  41276. msgstr ""
  41277. #. type: deftypevr
  41278. #: guix-git/doc/guix.texi:27693
  41279. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  41280. msgstr ""
  41281. #. type: deftypevr
  41282. #: guix-git/doc/guix.texi:27696
  41283. #, no-wrap
  41284. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  41285. msgstr ""
  41286. #. type: deftypevr
  41287. #: guix-git/doc/guix.texi:27699
  41288. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  41289. msgstr ""
  41290. #. type: deftypevr
  41291. #: guix-git/doc/guix.texi:27704
  41292. #, no-wrap
  41293. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  41294. msgstr ""
  41295. #. type: deftypevr
  41296. #: guix-git/doc/guix.texi:27706
  41297. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  41298. msgstr ""
  41299. #. type: deftypevr
  41300. #: guix-git/doc/guix.texi:27711
  41301. #, no-wrap
  41302. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  41303. msgstr ""
  41304. #. type: deftypevr
  41305. #: guix-git/doc/guix.texi:27715
  41306. 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."
  41307. msgstr ""
  41308. #. type: deftypevr
  41309. #: guix-git/doc/guix.texi:27720
  41310. #, no-wrap
  41311. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  41312. msgstr ""
  41313. #. type: deftypevr
  41314. #: guix-git/doc/guix.texi:27723
  41315. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  41316. msgstr ""
  41317. #. type: deftypevr
  41318. #: guix-git/doc/guix.texi:27725
  41319. msgid "Defaults to @samp{\"max_performance\"}."
  41320. msgstr ""
  41321. #. type: deftypevr
  41322. #: guix-git/doc/guix.texi:27728
  41323. #, no-wrap
  41324. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  41325. msgstr ""
  41326. #. type: deftypevr
  41327. #: guix-git/doc/guix.texi:27730
  41328. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  41329. msgstr ""
  41330. #. type: deftypevr
  41331. #: guix-git/doc/guix.texi:27732
  41332. msgid "Defaults to @samp{\"min_power\"}."
  41333. msgstr ""
  41334. #. type: deftypevr
  41335. #: guix-git/doc/guix.texi:27735
  41336. #, no-wrap
  41337. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  41338. msgstr ""
  41339. #. type: deftypevr
  41340. #: guix-git/doc/guix.texi:27737
  41341. msgid "Exclude specified SATA host devices for link power management."
  41342. msgstr ""
  41343. #. type: deftypevr
  41344. #: guix-git/doc/guix.texi:27742
  41345. #, no-wrap
  41346. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  41347. msgstr ""
  41348. #. type: deftypevr
  41349. #: guix-git/doc/guix.texi:27745
  41350. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  41351. msgstr ""
  41352. #. type: deftypevr
  41353. #: guix-git/doc/guix.texi:27750
  41354. #, no-wrap
  41355. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  41356. msgstr ""
  41357. #. type: deftypevr
  41358. #: guix-git/doc/guix.texi:27752
  41359. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  41360. msgstr ""
  41361. #. type: deftypevr
  41362. #: guix-git/doc/guix.texi:27757
  41363. #, no-wrap
  41364. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  41365. msgstr ""
  41366. #. type: deftypevr
  41367. #: guix-git/doc/guix.texi:27759
  41368. msgid "Seconds of inactivity before disk is suspended."
  41369. msgstr ""
  41370. #. type: deftypevr
  41371. #: guix-git/doc/guix.texi:27764
  41372. #, no-wrap
  41373. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  41374. msgstr ""
  41375. #. type: deftypevr
  41376. #: guix-git/doc/guix.texi:27767
  41377. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  41378. msgstr ""
  41379. #. type: deftypevr
  41380. #: guix-git/doc/guix.texi:27772
  41381. #, no-wrap
  41382. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  41383. msgstr ""
  41384. #. type: deftypevr
  41385. #: guix-git/doc/guix.texi:27774
  41386. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  41387. msgstr ""
  41388. #. type: deftypevr
  41389. #: guix-git/doc/guix.texi:27779
  41390. #, no-wrap
  41391. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  41392. msgstr ""
  41393. #. type: deftypevr
  41394. #: guix-git/doc/guix.texi:27782
  41395. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  41396. msgstr ""
  41397. #. type: deftypevr
  41398. #: guix-git/doc/guix.texi:27784
  41399. msgid "Defaults to @samp{\"high\"}."
  41400. msgstr ""
  41401. #. type: deftypevr
  41402. #: guix-git/doc/guix.texi:27787
  41403. #, no-wrap
  41404. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  41405. msgstr ""
  41406. #. type: deftypevr
  41407. #: guix-git/doc/guix.texi:27789
  41408. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  41409. msgstr ""
  41410. #. type: deftypevr
  41411. #: guix-git/doc/guix.texi:27791
  41412. msgid "Defaults to @samp{\"low\"}."
  41413. msgstr ""
  41414. #. type: deftypevr
  41415. #: guix-git/doc/guix.texi:27794
  41416. #, no-wrap
  41417. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  41418. msgstr ""
  41419. #. type: deftypevr
  41420. #: guix-git/doc/guix.texi:27797
  41421. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  41422. msgstr ""
  41423. #. type: deftypevr
  41424. #: guix-git/doc/guix.texi:27802
  41425. #, no-wrap
  41426. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  41427. msgstr ""
  41428. #. type: deftypevr
  41429. #: guix-git/doc/guix.texi:27804
  41430. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  41431. msgstr ""
  41432. #. type: deftypevr
  41433. #: guix-git/doc/guix.texi:27806
  41434. msgid "Defaults to @samp{\"battery\"}."
  41435. msgstr ""
  41436. #. type: deftypevr
  41437. #: guix-git/doc/guix.texi:27809
  41438. #, no-wrap
  41439. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  41440. msgstr ""
  41441. #. type: deftypevr
  41442. #: guix-git/doc/guix.texi:27811
  41443. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  41444. msgstr ""
  41445. #. type: deftypevr
  41446. #: guix-git/doc/guix.texi:27813 guix-git/doc/guix.texi:27820
  41447. #: guix-git/doc/guix.texi:27894
  41448. msgid "Defaults to @samp{\"auto\"}."
  41449. msgstr ""
  41450. #. type: deftypevr
  41451. #: guix-git/doc/guix.texi:27816
  41452. #, no-wrap
  41453. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  41454. msgstr ""
  41455. #. type: deftypevr
  41456. #: guix-git/doc/guix.texi:27818
  41457. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  41458. msgstr ""
  41459. #. type: deftypevr
  41460. #: guix-git/doc/guix.texi:27823
  41461. #, no-wrap
  41462. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  41463. msgstr ""
  41464. #. type: deftypevr
  41465. #: guix-git/doc/guix.texi:27825
  41466. msgid "Wifi power saving mode."
  41467. msgstr ""
  41468. #. type: deftypevr
  41469. #: guix-git/doc/guix.texi:27830
  41470. #, no-wrap
  41471. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  41472. msgstr ""
  41473. #. type: deftypevr
  41474. #: guix-git/doc/guix.texi:27832
  41475. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  41476. msgstr ""
  41477. #. type: deftypevr
  41478. #: guix-git/doc/guix.texi:27837
  41479. #, no-wrap
  41480. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  41481. msgstr ""
  41482. #. type: deftypevr
  41483. #: guix-git/doc/guix.texi:27839
  41484. msgid "Disable wake on LAN."
  41485. msgstr ""
  41486. #. type: deftypevr
  41487. #: guix-git/doc/guix.texi:27844
  41488. #, no-wrap
  41489. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  41490. msgstr ""
  41491. #. type: deftypevr
  41492. #: guix-git/doc/guix.texi:27847
  41493. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  41494. msgstr ""
  41495. #. type: deftypevr
  41496. #: guix-git/doc/guix.texi:27852
  41497. #, no-wrap
  41498. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  41499. msgstr ""
  41500. #. type: deftypevr
  41501. #: guix-git/doc/guix.texi:27854
  41502. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  41503. msgstr ""
  41504. #. type: deftypevr
  41505. #: guix-git/doc/guix.texi:27859
  41506. #, no-wrap
  41507. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  41508. msgstr ""
  41509. #. type: deftypevr
  41510. #: guix-git/doc/guix.texi:27861
  41511. msgid "Disable controller in powersaving mode on Intel HDA devices."
  41512. msgstr ""
  41513. #. type: deftypevr
  41514. #: guix-git/doc/guix.texi:27866
  41515. #, no-wrap
  41516. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  41517. msgstr ""
  41518. #. type: deftypevr
  41519. #: guix-git/doc/guix.texi:27870
  41520. 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."
  41521. msgstr ""
  41522. #. type: deftypevr
  41523. #: guix-git/doc/guix.texi:27875
  41524. #, no-wrap
  41525. msgid "{@code{tlp-configuration} parameter} string bay-device"
  41526. msgstr ""
  41527. #. type: deftypevr
  41528. #: guix-git/doc/guix.texi:27877
  41529. msgid "Name of the optical drive device to power off."
  41530. msgstr ""
  41531. #. type: deftypevr
  41532. #: guix-git/doc/guix.texi:27879
  41533. msgid "Defaults to @samp{\"sr0\"}."
  41534. msgstr ""
  41535. #. type: deftypevr
  41536. #: guix-git/doc/guix.texi:27882
  41537. #, no-wrap
  41538. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  41539. msgstr ""
  41540. #. type: deftypevr
  41541. #: guix-git/doc/guix.texi:27885
  41542. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  41543. msgstr ""
  41544. #. type: deftypevr
  41545. #: guix-git/doc/guix.texi:27887
  41546. msgid "Defaults to @samp{\"on\"}."
  41547. msgstr ""
  41548. #. type: deftypevr
  41549. #: guix-git/doc/guix.texi:27890
  41550. #, no-wrap
  41551. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  41552. msgstr ""
  41553. #. type: deftypevr
  41554. #: guix-git/doc/guix.texi:27892
  41555. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  41556. msgstr ""
  41557. #. type: deftypevr
  41558. #: guix-git/doc/guix.texi:27897
  41559. #, no-wrap
  41560. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  41561. msgstr ""
  41562. #. type: deftypevr
  41563. #: guix-git/doc/guix.texi:27900
  41564. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  41565. msgstr ""
  41566. #. type: deftypevr
  41567. #: guix-git/doc/guix.texi:27905
  41568. #, no-wrap
  41569. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  41570. msgstr ""
  41571. #. type: deftypevr
  41572. #: guix-git/doc/guix.texi:27907
  41573. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  41574. msgstr ""
  41575. #. type: deftypevr
  41576. #: guix-git/doc/guix.texi:27912
  41577. #, no-wrap
  41578. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  41579. msgstr ""
  41580. #. type: deftypevr
  41581. #: guix-git/doc/guix.texi:27915
  41582. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  41583. msgstr ""
  41584. #. type: deftypevr
  41585. #: guix-git/doc/guix.texi:27918
  41586. #, no-wrap
  41587. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  41588. msgstr ""
  41589. #. type: deftypevr
  41590. #: guix-git/doc/guix.texi:27920
  41591. msgid "Enable USB autosuspend feature."
  41592. msgstr ""
  41593. #. type: deftypevr
  41594. #: guix-git/doc/guix.texi:27925
  41595. #, no-wrap
  41596. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  41597. msgstr ""
  41598. #. type: deftypevr
  41599. #: guix-git/doc/guix.texi:27927
  41600. msgid "Exclude specified devices from USB autosuspend."
  41601. msgstr ""
  41602. #. type: deftypevr
  41603. #: guix-git/doc/guix.texi:27932
  41604. #, no-wrap
  41605. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  41606. msgstr ""
  41607. #. type: deftypevr
  41608. #: guix-git/doc/guix.texi:27934
  41609. msgid "Exclude WWAN devices from USB autosuspend."
  41610. msgstr ""
  41611. #. type: deftypevr
  41612. #: guix-git/doc/guix.texi:27939
  41613. #, no-wrap
  41614. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  41615. msgstr ""
  41616. #. type: deftypevr
  41617. #: guix-git/doc/guix.texi:27942
  41618. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  41619. msgstr ""
  41620. #. type: deftypevr
  41621. #: guix-git/doc/guix.texi:27947
  41622. #, no-wrap
  41623. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  41624. msgstr ""
  41625. #. type: deftypevr
  41626. #: guix-git/doc/guix.texi:27949
  41627. msgid "Enable USB autosuspend before shutdown."
  41628. msgstr ""
  41629. #. type: deftypevr
  41630. #: guix-git/doc/guix.texi:27954
  41631. #, no-wrap
  41632. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  41633. msgstr ""
  41634. #. type: deftypevr
  41635. #: guix-git/doc/guix.texi:27957
  41636. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  41637. msgstr ""
  41638. #. type: cindex
  41639. #: guix-git/doc/guix.texi:27962
  41640. #, no-wrap
  41641. msgid "thermald"
  41642. msgstr ""
  41643. #. type: cindex
  41644. #: guix-git/doc/guix.texi:27963
  41645. #, no-wrap
  41646. msgid "CPU frequency scaling with thermald"
  41647. msgstr ""
  41648. #. type: subsubheading
  41649. #: guix-git/doc/guix.texi:27964
  41650. #, no-wrap
  41651. msgid "Thermald daemon"
  41652. msgstr ""
  41653. #. type: Plain text
  41654. #: guix-git/doc/guix.texi:27968
  41655. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  41656. msgstr ""
  41657. #. type: defvr
  41658. #: guix-git/doc/guix.texi:27969
  41659. #, no-wrap
  41660. msgid "{Scheme Variable} thermald-service-type"
  41661. msgstr ""
  41662. #. type: defvr
  41663. #: guix-git/doc/guix.texi:27974
  41664. 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."
  41665. msgstr ""
  41666. #. type: deftp
  41667. #: guix-git/doc/guix.texi:27976
  41668. #, no-wrap
  41669. msgid "{Data Type} thermald-configuration"
  41670. msgstr ""
  41671. #. type: deftp
  41672. #: guix-git/doc/guix.texi:27978
  41673. msgid "Data type representing the configuration of @code{thermald-service-type}."
  41674. msgstr ""
  41675. #. type: item
  41676. #: guix-git/doc/guix.texi:27980
  41677. #, no-wrap
  41678. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  41679. msgstr ""
  41680. #. type: table
  41681. #: guix-git/doc/guix.texi:27982
  41682. msgid "Ignore cpuid check for supported CPU models."
  41683. msgstr ""
  41684. #. type: item
  41685. #: guix-git/doc/guix.texi:27983
  41686. #, no-wrap
  41687. msgid "@code{thermald} (default: @var{thermald})"
  41688. msgstr ""
  41689. #. type: table
  41690. #: guix-git/doc/guix.texi:27985
  41691. msgid "Package object of thermald."
  41692. msgstr ""
  41693. #. type: Plain text
  41694. #: guix-git/doc/guix.texi:27994
  41695. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  41696. msgstr ""
  41697. #. type: cindex
  41698. #: guix-git/doc/guix.texi:27995
  41699. #, no-wrap
  41700. msgid "mpd"
  41701. msgstr ""
  41702. #. type: subsubheading
  41703. #: guix-git/doc/guix.texi:27996
  41704. #, no-wrap
  41705. msgid "Music Player Daemon"
  41706. msgstr ""
  41707. #. type: Plain text
  41708. #: guix-git/doc/guix.texi:28001
  41709. 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."
  41710. msgstr ""
  41711. #. type: Plain text
  41712. #: guix-git/doc/guix.texi:28004
  41713. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  41714. msgstr ""
  41715. #. type: lisp
  41716. #: guix-git/doc/guix.texi:28010
  41717. #, no-wrap
  41718. msgid ""
  41719. "(service mpd-service-type\n"
  41720. " (mpd-configuration\n"
  41721. " (user \"bob\")\n"
  41722. " (port \"6666\")))\n"
  41723. msgstr ""
  41724. #. type: defvr
  41725. #: guix-git/doc/guix.texi:28012
  41726. #, no-wrap
  41727. msgid "{Scheme Variable} mpd-service-type"
  41728. msgstr ""
  41729. #. type: defvr
  41730. #: guix-git/doc/guix.texi:28014
  41731. msgid "The service type for @command{mpd}"
  41732. msgstr ""
  41733. #. type: deftp
  41734. #: guix-git/doc/guix.texi:28016
  41735. #, no-wrap
  41736. msgid "{Data Type} mpd-configuration"
  41737. msgstr ""
  41738. #. type: deftp
  41739. #: guix-git/doc/guix.texi:28018
  41740. msgid "Data type representing the configuration of @command{mpd}."
  41741. msgstr ""
  41742. #. type: item
  41743. #: guix-git/doc/guix.texi:28020
  41744. #, no-wrap
  41745. msgid "@code{user} (default: @code{\"mpd\"})"
  41746. msgstr ""
  41747. #. type: table
  41748. #: guix-git/doc/guix.texi:28022
  41749. msgid "The user to run mpd as."
  41750. msgstr ""
  41751. #. type: item
  41752. #: guix-git/doc/guix.texi:28023
  41753. #, no-wrap
  41754. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  41755. msgstr ""
  41756. #. type: table
  41757. #: guix-git/doc/guix.texi:28025
  41758. msgid "The directory to scan for music files."
  41759. msgstr ""
  41760. #. type: item
  41761. #: guix-git/doc/guix.texi:28026
  41762. #, no-wrap
  41763. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  41764. msgstr ""
  41765. #. type: table
  41766. #: guix-git/doc/guix.texi:28028
  41767. msgid "The directory to store playlists."
  41768. msgstr ""
  41769. #. type: item
  41770. #: guix-git/doc/guix.texi:28029
  41771. #, no-wrap
  41772. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  41773. msgstr ""
  41774. #. type: table
  41775. #: guix-git/doc/guix.texi:28031
  41776. msgid "The location of the music database."
  41777. msgstr ""
  41778. #. type: item
  41779. #: guix-git/doc/guix.texi:28032
  41780. #, no-wrap
  41781. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  41782. msgstr ""
  41783. #. type: table
  41784. #: guix-git/doc/guix.texi:28034
  41785. msgid "The location of the file that stores current MPD's state."
  41786. msgstr ""
  41787. #. type: item
  41788. #: guix-git/doc/guix.texi:28035
  41789. #, no-wrap
  41790. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  41791. msgstr ""
  41792. #. type: table
  41793. #: guix-git/doc/guix.texi:28037
  41794. msgid "The location of the sticker database."
  41795. msgstr ""
  41796. #. type: item
  41797. #: guix-git/doc/guix.texi:28038
  41798. #, no-wrap
  41799. msgid "@code{port} (default: @code{\"6600\"})"
  41800. msgstr ""
  41801. #. type: table
  41802. #: guix-git/doc/guix.texi:28040
  41803. msgid "The port to run mpd on."
  41804. msgstr ""
  41805. #. type: item
  41806. #: guix-git/doc/guix.texi:28041
  41807. #, no-wrap
  41808. msgid "@code{address} (default: @code{\"any\"})"
  41809. msgstr ""
  41810. #. type: table
  41811. #: guix-git/doc/guix.texi:28044
  41812. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  41813. msgstr ""
  41814. #. type: item
  41815. #: guix-git/doc/guix.texi:28045
  41816. #, no-wrap
  41817. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  41818. msgstr ""
  41819. #. type: table
  41820. #: guix-git/doc/guix.texi:28047
  41821. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  41822. msgstr ""
  41823. #. type: deftp
  41824. #: guix-git/doc/guix.texi:28051
  41825. #, no-wrap
  41826. msgid "{Data Type} mpd-output"
  41827. msgstr ""
  41828. #. type: deftp
  41829. #: guix-git/doc/guix.texi:28053
  41830. msgid "Data type representing an @command{mpd} audio output."
  41831. msgstr ""
  41832. #. type: item
  41833. #: guix-git/doc/guix.texi:28055
  41834. #, no-wrap
  41835. msgid "@code{name} (default: @code{\"MPD\"})"
  41836. msgstr ""
  41837. #. type: table
  41838. #: guix-git/doc/guix.texi:28057
  41839. msgid "The name of the audio output."
  41840. msgstr ""
  41841. #. type: item
  41842. #: guix-git/doc/guix.texi:28058
  41843. #, no-wrap
  41844. msgid "@code{type} (default: @code{\"pulse\"})"
  41845. msgstr ""
  41846. #. type: table
  41847. #: guix-git/doc/guix.texi:28060
  41848. msgid "The type of audio output."
  41849. msgstr ""
  41850. #. type: item
  41851. #: guix-git/doc/guix.texi:28061
  41852. #, no-wrap
  41853. msgid "@code{enabled?} (default: @code{#t})"
  41854. msgstr ""
  41855. #. type: table
  41856. #: guix-git/doc/guix.texi:28066
  41857. 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."
  41858. msgstr ""
  41859. #. type: item
  41860. #: guix-git/doc/guix.texi:28067
  41861. #, no-wrap
  41862. msgid "@code{tags?} (default: @code{#t})"
  41863. msgstr ""
  41864. #. type: table
  41865. #: guix-git/doc/guix.texi:28071
  41866. 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."
  41867. msgstr ""
  41868. #. type: item
  41869. #: guix-git/doc/guix.texi:28072
  41870. #, no-wrap
  41871. msgid "@code{always-on?} (default: @code{#f})"
  41872. msgstr ""
  41873. #. type: table
  41874. #: guix-git/doc/guix.texi:28076
  41875. 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."
  41876. msgstr ""
  41877. #. type: code{#1}
  41878. #: guix-git/doc/guix.texi:28077
  41879. #, no-wrap
  41880. msgid "mixer-type"
  41881. msgstr ""
  41882. #. type: table
  41883. #: guix-git/doc/guix.texi:28083
  41884. 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})."
  41885. msgstr ""
  41886. #. type: table
  41887. #: guix-git/doc/guix.texi:28087
  41888. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  41889. msgstr ""
  41890. #. type: Plain text
  41891. #: guix-git/doc/guix.texi:28093
  41892. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  41893. msgstr ""
  41894. #. type: lisp
  41895. #: guix-git/doc/guix.texi:28105
  41896. #, no-wrap
  41897. msgid ""
  41898. "(service mpd-service-type\n"
  41899. " (mpd-configuration\n"
  41900. " (outputs\n"
  41901. " (list (mpd-output\n"
  41902. " (name \"streaming\")\n"
  41903. " (type \"httpd\")\n"
  41904. " (mixer-type 'null)\n"
  41905. " (extra-options\n"
  41906. " `((encoder . \"vorbis\")\n"
  41907. " (port . \"8080\"))))))))\n"
  41908. msgstr ""
  41909. #. type: Plain text
  41910. #: guix-git/doc/guix.texi:28114
  41911. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  41912. msgstr ""
  41913. #. type: subsubheading
  41914. #: guix-git/doc/guix.texi:28115
  41915. #, no-wrap
  41916. msgid "Libvirt daemon"
  41917. msgstr ""
  41918. #. type: Plain text
  41919. #: guix-git/doc/guix.texi:28120
  41920. 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."
  41921. msgstr ""
  41922. #. type: deffn
  41923. #: guix-git/doc/guix.texi:28121
  41924. #, no-wrap
  41925. msgid "{Scheme Variable} libvirt-service-type"
  41926. msgstr ""
  41927. #. type: deffn
  41928. #: guix-git/doc/guix.texi:28124
  41929. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  41930. msgstr ""
  41931. #. type: lisp
  41932. #: guix-git/doc/guix.texi:28130
  41933. #, no-wrap
  41934. msgid ""
  41935. "(service libvirt-service-type\n"
  41936. " (libvirt-configuration\n"
  41937. " (unix-sock-group \"libvirt\")\n"
  41938. " (tls-port \"16555\")))\n"
  41939. msgstr ""
  41940. #. type: Plain text
  41941. #: guix-git/doc/guix.texi:28135
  41942. msgid "Available @code{libvirt-configuration} fields are:"
  41943. msgstr ""
  41944. #. type: deftypevr
  41945. #: guix-git/doc/guix.texi:28136
  41946. #, no-wrap
  41947. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  41948. msgstr ""
  41949. #. type: deftypevr
  41950. #: guix-git/doc/guix.texi:28138
  41951. msgid "Libvirt package."
  41952. msgstr ""
  41953. #. type: deftypevr
  41954. #: guix-git/doc/guix.texi:28141
  41955. #, no-wrap
  41956. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  41957. msgstr ""
  41958. #. type: deftypevr
  41959. #: guix-git/doc/guix.texi:28144
  41960. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  41961. msgstr ""
  41962. #. type: deftypevr
  41963. #: guix-git/doc/guix.texi:28147
  41964. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  41965. msgstr ""
  41966. #. type: deftypevr
  41967. #: guix-git/doc/guix.texi:28152
  41968. #, no-wrap
  41969. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  41970. msgstr ""
  41971. #. type: deftypevr
  41972. #: guix-git/doc/guix.texi:28155
  41973. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  41974. msgstr ""
  41975. #. type: deftypevr
  41976. #: guix-git/doc/guix.texi:28159
  41977. 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)."
  41978. msgstr ""
  41979. #. type: deftypevr
  41980. #: guix-git/doc/guix.texi:28164
  41981. #, no-wrap
  41982. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  41983. msgstr ""
  41984. #. type: deftypevr
  41985. #: guix-git/doc/guix.texi:28167
  41986. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  41987. msgstr ""
  41988. #. type: deftypevr
  41989. #: guix-git/doc/guix.texi:28169
  41990. msgid "Defaults to @samp{\"16514\"}."
  41991. msgstr ""
  41992. #. type: deftypevr
  41993. #: guix-git/doc/guix.texi:28172
  41994. #, no-wrap
  41995. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  41996. msgstr ""
  41997. #. type: deftypevr
  41998. #: guix-git/doc/guix.texi:28175
  41999. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  42000. msgstr ""
  42001. #. type: deftypevr
  42002. #: guix-git/doc/guix.texi:28177
  42003. msgid "Defaults to @samp{\"16509\"}."
  42004. msgstr ""
  42005. #. type: deftypevr
  42006. #: guix-git/doc/guix.texi:28180
  42007. #, no-wrap
  42008. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  42009. msgstr ""
  42010. #. type: deftypevr
  42011. #: guix-git/doc/guix.texi:28182
  42012. msgid "IP address or hostname used for client connections."
  42013. msgstr ""
  42014. #. type: deftypevr
  42015. #: guix-git/doc/guix.texi:28187
  42016. #, no-wrap
  42017. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  42018. msgstr ""
  42019. #. type: deftypevr
  42020. #: guix-git/doc/guix.texi:28189
  42021. msgid "Flag toggling mDNS advertisement of the libvirt service."
  42022. msgstr ""
  42023. #. type: deftypevr
  42024. #: guix-git/doc/guix.texi:28192
  42025. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  42026. msgstr ""
  42027. #. type: deftypevr
  42028. #: guix-git/doc/guix.texi:28197
  42029. #, no-wrap
  42030. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  42031. msgstr ""
  42032. #. type: deftypevr
  42033. #: guix-git/doc/guix.texi:28200
  42034. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  42035. msgstr ""
  42036. #. type: deftypevr
  42037. #: guix-git/doc/guix.texi:28202
  42038. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  42039. msgstr ""
  42040. #. type: deftypevr
  42041. #: guix-git/doc/guix.texi:28205
  42042. #, no-wrap
  42043. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  42044. msgstr ""
  42045. #. type: deftypevr
  42046. #: guix-git/doc/guix.texi:28209
  42047. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  42048. msgstr ""
  42049. #. type: deftypevr
  42050. #: guix-git/doc/guix.texi:28214
  42051. #, no-wrap
  42052. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  42053. msgstr ""
  42054. #. type: deftypevr
  42055. #: guix-git/doc/guix.texi:28217
  42056. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  42057. msgstr ""
  42058. #. type: deftypevr
  42059. #: guix-git/doc/guix.texi:28219 guix-git/doc/guix.texi:28237
  42060. msgid "Defaults to @samp{\"0777\"}."
  42061. msgstr ""
  42062. #. type: deftypevr
  42063. #: guix-git/doc/guix.texi:28222
  42064. #, no-wrap
  42065. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  42066. msgstr ""
  42067. #. type: deftypevr
  42068. #: guix-git/doc/guix.texi:28226
  42069. 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)"
  42070. msgstr ""
  42071. #. type: deftypevr
  42072. #: guix-git/doc/guix.texi:28228
  42073. msgid "Defaults to @samp{\"0770\"}."
  42074. msgstr ""
  42075. #. type: deftypevr
  42076. #: guix-git/doc/guix.texi:28231
  42077. #, no-wrap
  42078. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  42079. msgstr ""
  42080. #. type: deftypevr
  42081. #: guix-git/doc/guix.texi:28235
  42082. 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."
  42083. msgstr ""
  42084. #. type: deftypevr
  42085. #: guix-git/doc/guix.texi:28240
  42086. #, no-wrap
  42087. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  42088. msgstr ""
  42089. #. type: deftypevr
  42090. #: guix-git/doc/guix.texi:28242
  42091. msgid "The directory in which sockets will be found/created."
  42092. msgstr ""
  42093. #. type: deftypevr
  42094. #: guix-git/doc/guix.texi:28244
  42095. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  42096. msgstr ""
  42097. #. type: deftypevr
  42098. #: guix-git/doc/guix.texi:28247
  42099. #, no-wrap
  42100. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  42101. msgstr ""
  42102. #. type: deftypevr
  42103. #: guix-git/doc/guix.texi:28250
  42104. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  42105. msgstr ""
  42106. #. type: deftypevr
  42107. #: guix-git/doc/guix.texi:28252 guix-git/doc/guix.texi:28261
  42108. msgid "Defaults to @samp{\"polkit\"}."
  42109. msgstr ""
  42110. #. type: deftypevr
  42111. #: guix-git/doc/guix.texi:28255
  42112. #, no-wrap
  42113. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  42114. msgstr ""
  42115. #. type: deftypevr
  42116. #: guix-git/doc/guix.texi:28259
  42117. 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."
  42118. msgstr ""
  42119. #. type: deftypevr
  42120. #: guix-git/doc/guix.texi:28264
  42121. #, no-wrap
  42122. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  42123. msgstr ""
  42124. #. type: deftypevr
  42125. #: guix-git/doc/guix.texi:28268
  42126. 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."
  42127. msgstr ""
  42128. #. type: deftypevr
  42129. #: guix-git/doc/guix.texi:28270
  42130. msgid "Defaults to @samp{\"sasl\"}."
  42131. msgstr ""
  42132. #. type: deftypevr
  42133. #: guix-git/doc/guix.texi:28273
  42134. #, no-wrap
  42135. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  42136. msgstr ""
  42137. #. type: deftypevr
  42138. #: guix-git/doc/guix.texi:28277
  42139. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  42140. msgstr ""
  42141. #. type: deftypevr
  42142. #: guix-git/doc/guix.texi:28280
  42143. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  42144. msgstr ""
  42145. #. type: deftypevr
  42146. #: guix-git/doc/guix.texi:28282
  42147. msgid "Defaults to @samp{\"none\"}."
  42148. msgstr ""
  42149. #. type: deftypevr
  42150. #: guix-git/doc/guix.texi:28285
  42151. #, no-wrap
  42152. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  42153. msgstr ""
  42154. #. type: deftypevr
  42155. #: guix-git/doc/guix.texi:28287
  42156. msgid "API access control scheme."
  42157. msgstr ""
  42158. #. type: deftypevr
  42159. #: guix-git/doc/guix.texi:28290
  42160. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  42161. msgstr ""
  42162. #. type: deftypevr
  42163. #: guix-git/doc/guix.texi:28295
  42164. #, no-wrap
  42165. msgid "{@code{libvirt-configuration} parameter} string key-file"
  42166. msgstr ""
  42167. #. type: deftypevr
  42168. #: guix-git/doc/guix.texi:28298
  42169. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  42170. msgstr ""
  42171. #. type: deftypevr
  42172. #: guix-git/doc/guix.texi:28303
  42173. #, no-wrap
  42174. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  42175. msgstr ""
  42176. #. type: deftypevr
  42177. #: guix-git/doc/guix.texi:28306
  42178. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  42179. msgstr ""
  42180. #. type: deftypevr
  42181. #: guix-git/doc/guix.texi:28311
  42182. #, no-wrap
  42183. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  42184. msgstr ""
  42185. #. type: deftypevr
  42186. #: guix-git/doc/guix.texi:28314
  42187. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  42188. msgstr ""
  42189. #. type: deftypevr
  42190. #: guix-git/doc/guix.texi:28319
  42191. #, no-wrap
  42192. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  42193. msgstr ""
  42194. #. type: deftypevr
  42195. #: guix-git/doc/guix.texi:28322
  42196. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  42197. msgstr ""
  42198. #. type: deftypevr
  42199. #: guix-git/doc/guix.texi:28327
  42200. #, no-wrap
  42201. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  42202. msgstr ""
  42203. #. type: deftypevr
  42204. #: guix-git/doc/guix.texi:28329
  42205. msgid "Disable verification of our own server certificates."
  42206. msgstr ""
  42207. #. type: deftypevr
  42208. #: guix-git/doc/guix.texi:28332
  42209. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  42210. msgstr ""
  42211. #. type: deftypevr
  42212. #: guix-git/doc/guix.texi:28337
  42213. #, no-wrap
  42214. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  42215. msgstr ""
  42216. #. type: deftypevr
  42217. #: guix-git/doc/guix.texi:28339
  42218. msgid "Disable verification of client certificates."
  42219. msgstr ""
  42220. #. type: deftypevr
  42221. #: guix-git/doc/guix.texi:28343
  42222. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  42223. msgstr ""
  42224. #. type: deftypevr
  42225. #: guix-git/doc/guix.texi:28348
  42226. #, no-wrap
  42227. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  42228. msgstr ""
  42229. #. type: deftypevr
  42230. #: guix-git/doc/guix.texi:28350
  42231. msgid "Whitelist of allowed x509 Distinguished Name."
  42232. msgstr ""
  42233. #. type: deftypevr
  42234. #: guix-git/doc/guix.texi:28355
  42235. #, no-wrap
  42236. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  42237. msgstr ""
  42238. #. type: deftypevr
  42239. #: guix-git/doc/guix.texi:28358
  42240. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  42241. msgstr ""
  42242. #. type: deftypevr
  42243. #: guix-git/doc/guix.texi:28363
  42244. #, no-wrap
  42245. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  42246. msgstr ""
  42247. #. type: deftypevr
  42248. #: guix-git/doc/guix.texi:28367
  42249. 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."
  42250. msgstr ""
  42251. #. type: deftypevr
  42252. #: guix-git/doc/guix.texi:28369
  42253. msgid "Defaults to @samp{\"NORMAL\"}."
  42254. msgstr ""
  42255. #. type: deftypevr
  42256. #: guix-git/doc/guix.texi:28372
  42257. #, no-wrap
  42258. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  42259. msgstr ""
  42260. #. type: deftypevr
  42261. #: guix-git/doc/guix.texi:28375 guix-git/doc/guix.texi:28799
  42262. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  42263. msgstr ""
  42264. #. type: deftypevr
  42265. #: guix-git/doc/guix.texi:28377
  42266. msgid "Defaults to @samp{5000}."
  42267. msgstr ""
  42268. #. type: deftypevr
  42269. #: guix-git/doc/guix.texi:28380
  42270. #, no-wrap
  42271. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  42272. msgstr ""
  42273. #. type: deftypevr
  42274. #: guix-git/doc/guix.texi:28384
  42275. 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."
  42276. msgstr ""
  42277. #. type: deftypevr
  42278. #: guix-git/doc/guix.texi:28389
  42279. #, no-wrap
  42280. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  42281. msgstr ""
  42282. #. type: deftypevr
  42283. #: guix-git/doc/guix.texi:28392
  42284. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  42285. msgstr ""
  42286. #. type: deftypevr
  42287. #: guix-git/doc/guix.texi:28394 guix-git/doc/guix.texi:28412
  42288. #: guix-git/doc/guix.texi:28428
  42289. msgid "Defaults to @samp{20}."
  42290. msgstr ""
  42291. #. type: deftypevr
  42292. #: guix-git/doc/guix.texi:28397
  42293. #, no-wrap
  42294. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  42295. msgstr ""
  42296. #. type: deftypevr
  42297. #: guix-git/doc/guix.texi:28399
  42298. msgid "Number of workers to start up initially."
  42299. msgstr ""
  42300. #. type: deftypevr
  42301. #: guix-git/doc/guix.texi:28404
  42302. #, no-wrap
  42303. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  42304. msgstr ""
  42305. #. type: deftypevr
  42306. #: guix-git/doc/guix.texi:28406
  42307. msgid "Maximum number of worker threads."
  42308. msgstr ""
  42309. #. type: deftypevr
  42310. #: guix-git/doc/guix.texi:28410
  42311. 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."
  42312. msgstr ""
  42313. #. type: deftypevr
  42314. #: guix-git/doc/guix.texi:28415
  42315. #, no-wrap
  42316. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  42317. msgstr ""
  42318. #. type: deftypevr
  42319. #: guix-git/doc/guix.texi:28419
  42320. 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."
  42321. msgstr ""
  42322. #. type: deftypevr
  42323. #: guix-git/doc/guix.texi:28424
  42324. #, no-wrap
  42325. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  42326. msgstr ""
  42327. #. type: deftypevr
  42328. #: guix-git/doc/guix.texi:28426
  42329. msgid "Total global limit on concurrent RPC calls."
  42330. msgstr ""
  42331. #. type: deftypevr
  42332. #: guix-git/doc/guix.texi:28431
  42333. #, no-wrap
  42334. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  42335. msgstr ""
  42336. #. type: deftypevr
  42337. #: guix-git/doc/guix.texi:28435
  42338. 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."
  42339. msgstr ""
  42340. #. type: deftypevr
  42341. #: guix-git/doc/guix.texi:28440
  42342. #, no-wrap
  42343. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  42344. msgstr ""
  42345. #. type: deftypevr
  42346. #: guix-git/doc/guix.texi:28442
  42347. msgid "Same as @code{min-workers} but for the admin interface."
  42348. msgstr ""
  42349. #. type: deftypevr
  42350. #: guix-git/doc/guix.texi:28447
  42351. #, no-wrap
  42352. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  42353. msgstr ""
  42354. #. type: deftypevr
  42355. #: guix-git/doc/guix.texi:28449
  42356. msgid "Same as @code{max-workers} but for the admin interface."
  42357. msgstr ""
  42358. #. type: deftypevr
  42359. #: guix-git/doc/guix.texi:28454
  42360. #, no-wrap
  42361. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  42362. msgstr ""
  42363. #. type: deftypevr
  42364. #: guix-git/doc/guix.texi:28456
  42365. msgid "Same as @code{max-clients} but for the admin interface."
  42366. msgstr ""
  42367. #. type: deftypevr
  42368. #: guix-git/doc/guix.texi:28461
  42369. #, no-wrap
  42370. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  42371. msgstr ""
  42372. #. type: deftypevr
  42373. #: guix-git/doc/guix.texi:28463
  42374. msgid "Same as @code{max-queued-clients} but for the admin interface."
  42375. msgstr ""
  42376. #. type: deftypevr
  42377. #: guix-git/doc/guix.texi:28468
  42378. #, no-wrap
  42379. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  42380. msgstr ""
  42381. #. type: deftypevr
  42382. #: guix-git/doc/guix.texi:28470
  42383. msgid "Same as @code{max-client-requests} but for the admin interface."
  42384. msgstr ""
  42385. #. type: deftypevr
  42386. #: guix-git/doc/guix.texi:28475
  42387. #, no-wrap
  42388. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  42389. msgstr ""
  42390. #. type: deftypevr
  42391. #: guix-git/doc/guix.texi:28477 guix-git/doc/guix.texi:28701
  42392. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  42393. msgstr ""
  42394. #. type: deftypevr
  42395. #: guix-git/doc/guix.texi:28482
  42396. #, no-wrap
  42397. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  42398. msgstr ""
  42399. #. type: deftypevr
  42400. #: guix-git/doc/guix.texi:28484 guix-git/doc/guix.texi:28708
  42401. msgid "Logging filters."
  42402. msgstr ""
  42403. #. type: deftypevr
  42404. #: guix-git/doc/guix.texi:28487
  42405. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  42406. msgstr ""
  42407. #. type: itemize
  42408. #: guix-git/doc/guix.texi:28491 guix-git/doc/guix.texi:28715
  42409. msgid "x:name"
  42410. msgstr ""
  42411. #. type: itemize
  42412. #: guix-git/doc/guix.texi:28494 guix-git/doc/guix.texi:28718
  42413. msgid "x:+name"
  42414. msgstr ""
  42415. #. type: deftypevr
  42416. #: guix-git/doc/guix.texi:28505
  42417. 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:"
  42418. msgstr ""
  42419. #. type: itemize
  42420. #: guix-git/doc/guix.texi:28509 guix-git/doc/guix.texi:28554
  42421. #: guix-git/doc/guix.texi:28732 guix-git/doc/guix.texi:28777
  42422. msgid "1: DEBUG"
  42423. msgstr ""
  42424. #. type: itemize
  42425. #: guix-git/doc/guix.texi:28512 guix-git/doc/guix.texi:28557
  42426. #: guix-git/doc/guix.texi:28735 guix-git/doc/guix.texi:28780
  42427. msgid "2: INFO"
  42428. msgstr ""
  42429. #. type: itemize
  42430. #: guix-git/doc/guix.texi:28515 guix-git/doc/guix.texi:28560
  42431. #: guix-git/doc/guix.texi:28738 guix-git/doc/guix.texi:28783
  42432. msgid "3: WARNING"
  42433. msgstr ""
  42434. #. type: itemize
  42435. #: guix-git/doc/guix.texi:28518 guix-git/doc/guix.texi:28563
  42436. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28786
  42437. msgid "4: ERROR"
  42438. msgstr ""
  42439. #. type: deftypevr
  42440. #: guix-git/doc/guix.texi:28523 guix-git/doc/guix.texi:28746
  42441. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  42442. msgstr ""
  42443. #. type: deftypevr
  42444. #: guix-git/doc/guix.texi:28525 guix-git/doc/guix.texi:28748
  42445. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  42446. msgstr ""
  42447. #. type: deftypevr
  42448. #: guix-git/doc/guix.texi:28528
  42449. #, no-wrap
  42450. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  42451. msgstr ""
  42452. #. type: deftypevr
  42453. #: guix-git/doc/guix.texi:28530 guix-git/doc/guix.texi:28753
  42454. msgid "Logging outputs."
  42455. msgstr ""
  42456. #. type: deftypevr
  42457. #: guix-git/doc/guix.texi:28533
  42458. msgid "An output is one of the places to save logging information. The format for an output can be:"
  42459. msgstr ""
  42460. #. type: item
  42461. #: guix-git/doc/guix.texi:28535 guix-git/doc/guix.texi:28758
  42462. #, no-wrap
  42463. msgid "x:stderr"
  42464. msgstr ""
  42465. #. type: table
  42466. #: guix-git/doc/guix.texi:28537 guix-git/doc/guix.texi:28760
  42467. msgid "output goes to stderr"
  42468. msgstr ""
  42469. #. type: item
  42470. #: guix-git/doc/guix.texi:28538 guix-git/doc/guix.texi:28761
  42471. #, no-wrap
  42472. msgid "x:syslog:name"
  42473. msgstr ""
  42474. #. type: table
  42475. #: guix-git/doc/guix.texi:28540 guix-git/doc/guix.texi:28763
  42476. msgid "use syslog for the output and use the given name as the ident"
  42477. msgstr ""
  42478. #. type: item
  42479. #: guix-git/doc/guix.texi:28541 guix-git/doc/guix.texi:28764
  42480. #, no-wrap
  42481. msgid "x:file:file_path"
  42482. msgstr ""
  42483. #. type: table
  42484. #: guix-git/doc/guix.texi:28543 guix-git/doc/guix.texi:28766
  42485. msgid "output to a file, with the given filepath"
  42486. msgstr ""
  42487. #. type: item
  42488. #: guix-git/doc/guix.texi:28544 guix-git/doc/guix.texi:28767
  42489. #, no-wrap
  42490. msgid "x:journald"
  42491. msgstr ""
  42492. #. type: table
  42493. #: guix-git/doc/guix.texi:28546 guix-git/doc/guix.texi:28769
  42494. msgid "output to journald logging system"
  42495. msgstr ""
  42496. #. type: deftypevr
  42497. #: guix-git/doc/guix.texi:28550 guix-git/doc/guix.texi:28773
  42498. msgid "In all case the x prefix is the minimal level, acting as a filter"
  42499. msgstr ""
  42500. #. type: deftypevr
  42501. #: guix-git/doc/guix.texi:28568 guix-git/doc/guix.texi:28791
  42502. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  42503. msgstr ""
  42504. #. type: deftypevr
  42505. #: guix-git/doc/guix.texi:28570 guix-git/doc/guix.texi:28793
  42506. msgid "Defaults to @samp{\"3:stderr\"}."
  42507. msgstr ""
  42508. #. type: deftypevr
  42509. #: guix-git/doc/guix.texi:28573
  42510. #, no-wrap
  42511. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  42512. msgstr ""
  42513. #. type: deftypevr
  42514. #: guix-git/doc/guix.texi:28575
  42515. msgid "Allows usage of the auditing subsystem to be altered"
  42516. msgstr ""
  42517. #. type: itemize
  42518. #: guix-git/doc/guix.texi:28579
  42519. msgid "0: disable all auditing"
  42520. msgstr ""
  42521. #. type: itemize
  42522. #: guix-git/doc/guix.texi:28582
  42523. msgid "1: enable auditing, only if enabled on host"
  42524. msgstr ""
  42525. #. type: itemize
  42526. #: guix-git/doc/guix.texi:28585
  42527. msgid "2: enable auditing, and exit if disabled on host."
  42528. msgstr ""
  42529. #. type: deftypevr
  42530. #: guix-git/doc/guix.texi:28592
  42531. #, no-wrap
  42532. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  42533. msgstr ""
  42534. #. type: deftypevr
  42535. #: guix-git/doc/guix.texi:28594
  42536. msgid "Send audit messages via libvirt logging infrastructure."
  42537. msgstr ""
  42538. #. type: deftypevr
  42539. #: guix-git/doc/guix.texi:28599
  42540. #, no-wrap
  42541. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  42542. msgstr ""
  42543. #. type: deftypevr
  42544. #: guix-git/doc/guix.texi:28601
  42545. msgid "Host UUID@. UUID must not have all digits be the same."
  42546. msgstr ""
  42547. #. type: deftypevr
  42548. #: guix-git/doc/guix.texi:28606
  42549. #, no-wrap
  42550. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  42551. msgstr ""
  42552. #. type: deftypevr
  42553. #: guix-git/doc/guix.texi:28608
  42554. msgid "Source to read host UUID."
  42555. msgstr ""
  42556. #. type: itemize
  42557. #: guix-git/doc/guix.texi:28612
  42558. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  42559. msgstr ""
  42560. #. type: itemize
  42561. #: guix-git/doc/guix.texi:28615
  42562. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  42563. msgstr ""
  42564. #. type: deftypevr
  42565. #: guix-git/doc/guix.texi:28620
  42566. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  42567. msgstr ""
  42568. #. type: deftypevr
  42569. #: guix-git/doc/guix.texi:28622
  42570. msgid "Defaults to @samp{\"smbios\"}."
  42571. msgstr ""
  42572. #. type: deftypevr
  42573. #: guix-git/doc/guix.texi:28625
  42574. #, no-wrap
  42575. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  42576. msgstr ""
  42577. #. type: deftypevr
  42578. #: guix-git/doc/guix.texi:28630
  42579. 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."
  42580. msgstr ""
  42581. #. type: deftypevr
  42582. #: guix-git/doc/guix.texi:28635
  42583. #, no-wrap
  42584. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  42585. msgstr ""
  42586. #. type: deftypevr
  42587. #: guix-git/doc/guix.texi:28639
  42588. 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."
  42589. msgstr ""
  42590. #. type: deftypevr
  42591. #: guix-git/doc/guix.texi:28646
  42592. 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."
  42593. msgstr ""
  42594. #. type: deftypevr
  42595. #: guix-git/doc/guix.texi:28651
  42596. #, no-wrap
  42597. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  42598. msgstr ""
  42599. #. type: deftypevr
  42600. #: guix-git/doc/guix.texi:28653 guix-git/doc/guix.texi:28660
  42601. msgid "Same as above but for admin interface."
  42602. msgstr ""
  42603. #. type: deftypevr
  42604. #: guix-git/doc/guix.texi:28658
  42605. #, no-wrap
  42606. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  42607. msgstr ""
  42608. #. type: deftypevr
  42609. #: guix-git/doc/guix.texi:28665
  42610. #, no-wrap
  42611. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  42612. msgstr ""
  42613. #. type: deftypevr
  42614. #: guix-git/doc/guix.texi:28667
  42615. msgid "Timeout for Open vSwitch calls."
  42616. msgstr ""
  42617. #. type: deftypevr
  42618. #: guix-git/doc/guix.texi:28671
  42619. 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."
  42620. msgstr ""
  42621. #. type: subsubheading
  42622. #: guix-git/doc/guix.texi:28678
  42623. #, no-wrap
  42624. msgid "Virtlog daemon"
  42625. msgstr ""
  42626. #. type: Plain text
  42627. #: guix-git/doc/guix.texi:28681
  42628. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  42629. msgstr ""
  42630. #. type: Plain text
  42631. #: guix-git/doc/guix.texi:28687
  42632. 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."
  42633. msgstr ""
  42634. #. type: deffn
  42635. #: guix-git/doc/guix.texi:28688
  42636. #, no-wrap
  42637. msgid "{Scheme Variable} virtlog-service-type"
  42638. msgstr ""
  42639. #. type: deffn
  42640. #: guix-git/doc/guix.texi:28691
  42641. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  42642. msgstr ""
  42643. #. type: lisp
  42644. #: guix-git/doc/guix.texi:28696
  42645. #, no-wrap
  42646. msgid ""
  42647. "(service virtlog-service-type\n"
  42648. " (virtlog-configuration\n"
  42649. " (max-clients 1000)))\n"
  42650. msgstr ""
  42651. #. type: deftypevr
  42652. #: guix-git/doc/guix.texi:28699
  42653. #, no-wrap
  42654. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  42655. msgstr ""
  42656. #. type: deftypevr
  42657. #: guix-git/doc/guix.texi:28706
  42658. #, no-wrap
  42659. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  42660. msgstr ""
  42661. #. type: deftypevr
  42662. #: guix-git/doc/guix.texi:28711
  42663. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  42664. msgstr ""
  42665. #. type: deftypevr
  42666. #: guix-git/doc/guix.texi:28728
  42667. 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:"
  42668. msgstr ""
  42669. #. type: deftypevr
  42670. #: guix-git/doc/guix.texi:28751
  42671. #, no-wrap
  42672. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  42673. msgstr ""
  42674. #. type: deftypevr
  42675. #: guix-git/doc/guix.texi:28756
  42676. msgid "An output is one of the places to save logging information The format for an output can be:"
  42677. msgstr ""
  42678. #. type: deftypevr
  42679. #: guix-git/doc/guix.texi:28796
  42680. #, no-wrap
  42681. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  42682. msgstr ""
  42683. #. type: deftypevr
  42684. #: guix-git/doc/guix.texi:28801
  42685. msgid "Defaults to @samp{1024}."
  42686. msgstr ""
  42687. #. type: deftypevr
  42688. #: guix-git/doc/guix.texi:28804
  42689. #, no-wrap
  42690. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  42691. msgstr ""
  42692. #. type: deftypevr
  42693. #: guix-git/doc/guix.texi:28806
  42694. msgid "Maximum file size before rolling over."
  42695. msgstr ""
  42696. #. type: deftypevr
  42697. #: guix-git/doc/guix.texi:28808
  42698. msgid "Defaults to @samp{2MB}"
  42699. msgstr ""
  42700. #. type: deftypevr
  42701. #: guix-git/doc/guix.texi:28811
  42702. #, no-wrap
  42703. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  42704. msgstr ""
  42705. #. type: deftypevr
  42706. #: guix-git/doc/guix.texi:28813
  42707. msgid "Maximum number of backup files to keep."
  42708. msgstr ""
  42709. #. type: deftypevr
  42710. #: guix-git/doc/guix.texi:28815
  42711. msgid "Defaults to @samp{3}"
  42712. msgstr ""
  42713. #. type: anchor{#1}
  42714. #: guix-git/doc/guix.texi:28819
  42715. msgid "transparent-emulation-qemu"
  42716. msgstr ""
  42717. #. type: subsubheading
  42718. #: guix-git/doc/guix.texi:28819
  42719. #, no-wrap
  42720. msgid "Transparent Emulation with QEMU"
  42721. msgstr ""
  42722. #. type: cindex
  42723. #: guix-git/doc/guix.texi:28821
  42724. #, no-wrap
  42725. msgid "emulation"
  42726. msgstr ""
  42727. #. type: code{#1}
  42728. #: guix-git/doc/guix.texi:28822
  42729. #, no-wrap
  42730. msgid "binfmt_misc"
  42731. msgstr ""
  42732. #. type: Plain text
  42733. #: guix-git/doc/guix.texi:28830
  42734. 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."
  42735. msgstr ""
  42736. #. type: defvr
  42737. #: guix-git/doc/guix.texi:28831
  42738. #, no-wrap
  42739. msgid "{Scheme Variable} qemu-binfmt-service-type"
  42740. msgstr ""
  42741. #. type: defvr
  42742. #: guix-git/doc/guix.texi:28836
  42743. 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:"
  42744. msgstr ""
  42745. #. type: lisp
  42746. #: guix-git/doc/guix.texi:28841
  42747. #, no-wrap
  42748. msgid ""
  42749. "(service qemu-binfmt-service-type\n"
  42750. " (qemu-binfmt-configuration\n"
  42751. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  42752. msgstr ""
  42753. #. type: defvr
  42754. #: guix-git/doc/guix.texi:28847
  42755. 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})."
  42756. msgstr ""
  42757. #. type: deftp
  42758. #: guix-git/doc/guix.texi:28849
  42759. #, no-wrap
  42760. msgid "{Data Type} qemu-binfmt-configuration"
  42761. msgstr ""
  42762. #. type: deftp
  42763. #: guix-git/doc/guix.texi:28851
  42764. msgid "This is the configuration for the @code{qemu-binfmt} service."
  42765. msgstr ""
  42766. #. type: item
  42767. #: guix-git/doc/guix.texi:28853
  42768. #, no-wrap
  42769. msgid "@code{platforms} (default: @code{'()})"
  42770. msgstr ""
  42771. #. type: table
  42772. #: guix-git/doc/guix.texi:28856
  42773. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  42774. msgstr ""
  42775. #. type: table
  42776. #: guix-git/doc/guix.texi:28859
  42777. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  42778. msgstr ""
  42779. #. type: lisp
  42780. #: guix-git/doc/guix.texi:28864
  42781. #, no-wrap
  42782. msgid ""
  42783. "(service qemu-binfmt-service-type\n"
  42784. " (qemu-binfmt-configuration\n"
  42785. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  42786. msgstr ""
  42787. "(service qemu-binfmt-service-type\n"
  42788. "(qemu-binfmt-configuration\n"
  42789. "(platforms (lookup-qemu-platforms \"arm\"))\n"
  42790. #. type: table
  42791. #: guix-git/doc/guix.texi:28867
  42792. msgid "You can run:"
  42793. msgstr ""
  42794. #. type: example
  42795. #: guix-git/doc/guix.texi:28870
  42796. #, no-wrap
  42797. msgid "guix build -s armhf-linux inkscape\n"
  42798. msgstr ""
  42799. #. type: table
  42800. #: guix-git/doc/guix.texi:28877
  42801. 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!"
  42802. msgstr ""
  42803. #. type: item
  42804. #: guix-git/doc/guix.texi:28878
  42805. #, no-wrap
  42806. msgid "@code{qemu} (default: @code{qemu})"
  42807. msgstr ""
  42808. #. type: table
  42809. #: guix-git/doc/guix.texi:28880 guix-git/doc/guix.texi:28974
  42810. msgid "The QEMU package to use."
  42811. msgstr ""
  42812. #. type: deffn
  42813. #: guix-git/doc/guix.texi:28883
  42814. #, no-wrap
  42815. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  42816. msgstr ""
  42817. #. type: deffn
  42818. #: guix-git/doc/guix.texi:28888
  42819. 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."
  42820. msgstr ""
  42821. #. type: deffn
  42822. #: guix-git/doc/guix.texi:28890
  42823. #, no-wrap
  42824. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  42825. msgstr ""
  42826. #. type: deffn
  42827. #: guix-git/doc/guix.texi:28892
  42828. msgid "Return true if @var{obj} is a platform object."
  42829. msgstr ""
  42830. #. type: deffn
  42831. #: guix-git/doc/guix.texi:28894
  42832. #, no-wrap
  42833. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  42834. msgstr ""
  42835. #. type: deffn
  42836. #: guix-git/doc/guix.texi:28896
  42837. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  42838. msgstr ""
  42839. #. type: subsubheading
  42840. #: guix-git/doc/guix.texi:28899
  42841. #, no-wrap
  42842. msgid "The Hurd in a Virtual Machine"
  42843. msgstr ""
  42844. #. type: cindex
  42845. #: guix-git/doc/guix.texi:28902
  42846. #, no-wrap
  42847. msgid "the Hurd"
  42848. msgstr ""
  42849. #. type: cindex
  42850. #: guix-git/doc/guix.texi:28903
  42851. #, no-wrap
  42852. msgid "childhurd"
  42853. msgstr ""
  42854. #. type: Plain text
  42855. #: guix-git/doc/guix.texi:28911
  42856. 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:"
  42857. msgstr ""
  42858. #. type: example
  42859. #: guix-git/doc/guix.texi:28915
  42860. #, no-wrap
  42861. msgid ""
  42862. "herd start hurd-vm\n"
  42863. "herd stop childhurd\n"
  42864. msgstr ""
  42865. #. type: Plain text
  42866. #: guix-git/doc/guix.texi:28919
  42867. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  42868. msgstr ""
  42869. #. type: example
  42870. #: guix-git/doc/guix.texi:28923
  42871. #, no-wrap
  42872. msgid ""
  42873. "guix environment --ad-hoc tigervnc-client -- \\\n"
  42874. " vncviewer localhost:5900\n"
  42875. msgstr ""
  42876. #. type: Plain text
  42877. #: guix-git/doc/guix.texi:28929
  42878. 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:"
  42879. msgstr ""
  42880. #. type: example
  42881. #: guix-git/doc/guix.texi:28932
  42882. #, no-wrap
  42883. msgid "ssh root@@localhost -p 10022\n"
  42884. msgstr ""
  42885. #. type: Plain text
  42886. #: guix-git/doc/guix.texi:28941
  42887. 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."
  42888. msgstr ""
  42889. #. type: defvr
  42890. #: guix-git/doc/guix.texi:28942
  42891. #, no-wrap
  42892. msgid "{Scheme Variable} hurd-vm-service-type"
  42893. msgstr ""
  42894. #. type: defvr
  42895. #: guix-git/doc/guix.texi:28948
  42896. 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."
  42897. msgstr ""
  42898. #. type: lisp
  42899. #: guix-git/doc/guix.texi:28956
  42900. #, no-wrap
  42901. msgid ""
  42902. "(service hurd-vm-service-type\n"
  42903. " (hurd-vm-configuration\n"
  42904. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  42905. " (memory-size 1024))) ;1024MiB\n"
  42906. msgstr ""
  42907. #. type: defvr
  42908. #: guix-git/doc/guix.texi:28960
  42909. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  42910. msgstr ""
  42911. #. type: deftp
  42912. #: guix-git/doc/guix.texi:28962
  42913. #, no-wrap
  42914. msgid "{Data Type} hurd-vm-configuration"
  42915. msgstr ""
  42916. #. type: deftp
  42917. #: guix-git/doc/guix.texi:28965
  42918. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  42919. msgstr ""
  42920. #. type: item
  42921. #: guix-git/doc/guix.texi:28967
  42922. #, no-wrap
  42923. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  42924. msgstr ""
  42925. #. type: table
  42926. #: guix-git/doc/guix.texi:28971
  42927. 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}})."
  42928. msgstr ""
  42929. #. type: item
  42930. #: guix-git/doc/guix.texi:28972
  42931. #, no-wrap
  42932. msgid "@code{qemu} (default: @code{qemu-minimal})"
  42933. msgstr ""
  42934. #. type: item
  42935. #: guix-git/doc/guix.texi:28975
  42936. #, no-wrap
  42937. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  42938. msgstr ""
  42939. #. type: table
  42940. #: guix-git/doc/guix.texi:28978
  42941. msgid "The procedure used to build the disk-image built from this configuration."
  42942. msgstr ""
  42943. #. type: item
  42944. #: guix-git/doc/guix.texi:28979
  42945. #, no-wrap
  42946. msgid "@code{disk-size} (default: @code{'guess})"
  42947. msgstr ""
  42948. #. type: table
  42949. #: guix-git/doc/guix.texi:28981
  42950. msgid "The size of the disk image."
  42951. msgstr ""
  42952. #. type: item
  42953. #: guix-git/doc/guix.texi:28982
  42954. #, no-wrap
  42955. msgid "@code{memory-size} (default: @code{512})"
  42956. msgstr ""
  42957. #. type: table
  42958. #: guix-git/doc/guix.texi:28984
  42959. msgid "The memory size of the Virtual Machine in mebibytes."
  42960. msgstr ""
  42961. #. type: item
  42962. #: guix-git/doc/guix.texi:28985
  42963. #, no-wrap
  42964. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  42965. msgstr ""
  42966. #. type: table
  42967. #: guix-git/doc/guix.texi:28987
  42968. msgid "The extra options for running QEMU."
  42969. msgstr ""
  42970. #. type: table
  42971. #: guix-git/doc/guix.texi:28992
  42972. 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}."
  42973. msgstr ""
  42974. #. type: item
  42975. #: guix-git/doc/guix.texi:28993
  42976. #, no-wrap
  42977. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  42978. msgstr ""
  42979. #. type: table
  42980. #: guix-git/doc/guix.texi:28995
  42981. msgid "The procedure used to produce the list of QEMU networking options."
  42982. msgstr ""
  42983. #. type: table
  42984. #: guix-git/doc/guix.texi:28997
  42985. msgid "By default, it produces"
  42986. msgstr ""
  42987. #. type: lisp
  42988. #: guix-git/doc/guix.texi:29004
  42989. #, no-wrap
  42990. msgid ""
  42991. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  42992. " \"--netdev\" \"user,id=net0\\\n"
  42993. " ,hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004\\\n"
  42994. " ,hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222\\\n"
  42995. " ,hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\")\n"
  42996. msgstr ""
  42997. #. type: table
  42998. #: guix-git/doc/guix.texi:29007
  42999. msgid "with forwarded ports:"
  43000. msgstr ""
  43001. #. type: example
  43002. #: guix-git/doc/guix.texi:29012
  43003. #, no-wrap
  43004. msgid ""
  43005. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  43006. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  43007. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  43008. msgstr ""
  43009. #. type: item
  43010. #: guix-git/doc/guix.texi:29014
  43011. #, no-wrap
  43012. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  43013. msgstr ""
  43014. #. type: table
  43015. #: guix-git/doc/guix.texi:29019
  43016. 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."
  43017. msgstr ""
  43018. #. type: table
  43019. #: guix-git/doc/guix.texi:29023
  43020. 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."
  43021. msgstr ""
  43022. #. type: table
  43023. #: guix-git/doc/guix.texi:29026
  43024. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  43025. msgstr ""
  43026. #. type: example
  43027. #: guix-git/doc/guix.texi:29035
  43028. #, no-wrap
  43029. msgid ""
  43030. "/etc/childhurd/etc/guix/acl\n"
  43031. "/etc/childhurd/etc/guix/signing-key.pub\n"
  43032. "/etc/childhurd/etc/guix/signing-key.sec\n"
  43033. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  43034. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  43035. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  43036. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  43037. msgstr ""
  43038. #. type: table
  43039. #: guix-git/doc/guix.texi:29039
  43040. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  43041. msgstr ""
  43042. #. type: cindex
  43043. #: guix-git/doc/guix.texi:29040
  43044. #, no-wrap
  43045. msgid "childhurd, offloading"
  43046. msgstr ""
  43047. #. type: cindex
  43048. #: guix-git/doc/guix.texi:29041
  43049. #, no-wrap
  43050. msgid "Hurd, offloading"
  43051. msgstr ""
  43052. #. type: table
  43053. #: guix-git/doc/guix.texi:29045
  43054. 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:"
  43055. msgstr ""
  43056. #. type: enumerate
  43057. #: guix-git/doc/guix.texi:29050
  43058. 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:"
  43059. msgstr ""
  43060. #. type: example
  43061. #: guix-git/doc/guix.texi:29054
  43062. #, no-wrap
  43063. msgid ""
  43064. "guix archive --authorize < \\\n"
  43065. " /etc/childhurd/etc/guix/signing-key.pub\n"
  43066. msgstr ""
  43067. #. type: enumerate
  43068. #: guix-git/doc/guix.texi:29059
  43069. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  43070. msgstr ""
  43071. #. type: table
  43072. #: guix-git/doc/guix.texi:29063
  43073. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  43074. msgstr ""
  43075. #. type: Plain text
  43076. #: guix-git/doc/guix.texi:29070
  43077. 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:"
  43078. msgstr ""
  43079. #. type: lisp
  43080. #: guix-git/doc/guix.texi:29076
  43081. #, no-wrap
  43082. msgid ""
  43083. "(service hurd-vm-service-type\n"
  43084. " (hurd-vm-configuration\n"
  43085. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  43086. " (options '())))\n"
  43087. msgstr ""
  43088. #. type: subsubheading
  43089. #: guix-git/doc/guix.texi:29078
  43090. #, no-wrap
  43091. msgid "Ganeti"
  43092. msgstr ""
  43093. #. type: cindex
  43094. #: guix-git/doc/guix.texi:29080
  43095. #, no-wrap
  43096. msgid "ganeti"
  43097. msgstr ""
  43098. #. type: quotation
  43099. #: guix-git/doc/guix.texi:29087
  43100. 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}."
  43101. msgstr ""
  43102. #. type: Plain text
  43103. #: guix-git/doc/guix.texi:29097
  43104. 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)."
  43105. msgstr ""
  43106. #. type: Plain text
  43107. #: guix-git/doc/guix.texi:29102
  43108. 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}:"
  43109. msgstr ""
  43110. #. type: lisp
  43111. #: guix-git/doc/guix.texi:29112
  43112. #, no-wrap
  43113. msgid ""
  43114. "(use-package-modules virtualization)\n"
  43115. "(use-service-modules base ganeti networking ssh)\n"
  43116. "(operating-system\n"
  43117. " ;; @dots{}\n"
  43118. " (host-name \"node1\")\n"
  43119. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  43120. "127.0.0.1 localhost\n"
  43121. "::1 localhost\n"
  43122. "\n"
  43123. msgstr ""
  43124. #. type: lisp
  43125. #: guix-git/doc/guix.texi:29117
  43126. #, no-wrap
  43127. msgid ""
  43128. "192.168.1.200 ganeti.example.com\n"
  43129. "192.168.1.201 node1.example.com node1\n"
  43130. "192.168.1.202 node2.example.com node2\n"
  43131. "\")))\n"
  43132. "\n"
  43133. msgstr ""
  43134. #. type: lisp
  43135. #: guix-git/doc/guix.texi:29131
  43136. #, no-wrap
  43137. msgid ""
  43138. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  43139. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  43140. " (packages (append (map specification->package\n"
  43141. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  43142. " ;; Add the debootstrap and guix OS providers.\n"
  43143. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  43144. " %base-packages))\n"
  43145. " (services\n"
  43146. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  43147. " #:netmask \"255.255.255.0\"\n"
  43148. " #:gateway \"192.168.1.254\"\n"
  43149. " #:name-servers '(\"192.168.1.252\"\n"
  43150. " \"192.168.1.253\"))\n"
  43151. "\n"
  43152. msgstr ""
  43153. #. type: lisp
  43154. #: guix-git/doc/guix.texi:29136
  43155. #, no-wrap
  43156. msgid ""
  43157. " ;; Ganeti uses SSH to communicate between nodes.\n"
  43158. " (service openssh-service-type\n"
  43159. " (openssh-configuration\n"
  43160. " (permit-root-login 'without-password)))\n"
  43161. "\n"
  43162. msgstr ""
  43163. #. type: lisp
  43164. #: guix-git/doc/guix.texi:29146
  43165. #, no-wrap
  43166. msgid ""
  43167. " (service ganeti-service-type\n"
  43168. " (ganeti-configuration\n"
  43169. " ;; This list specifies allowed file system paths\n"
  43170. " ;; for storing virtual machine images.\n"
  43171. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  43172. " ;; This variable configures a single \"variant\" for\n"
  43173. " ;; both Debootstrap and Guix that works with KVM.\n"
  43174. " (os %default-ganeti-os))))\n"
  43175. " %base-services)))\n"
  43176. msgstr ""
  43177. #. type: Plain text
  43178. #: guix-git/doc/guix.texi:29154
  43179. 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."
  43180. msgstr ""
  43181. #. type: defvr
  43182. #: guix-git/doc/guix.texi:29155
  43183. #, no-wrap
  43184. msgid "{Scheme Variable} ganeti-service-type"
  43185. msgstr ""
  43186. #. type: defvr
  43187. #: guix-git/doc/guix.texi:29158
  43188. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  43189. msgstr ""
  43190. #. type: defvr
  43191. #: guix-git/doc/guix.texi:29163
  43192. 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."
  43193. msgstr ""
  43194. #. type: deftp
  43195. #: guix-git/doc/guix.texi:29165
  43196. #, no-wrap
  43197. msgid "{Data Type} ganeti-configuration"
  43198. msgstr ""
  43199. #. type: deftp
  43200. #: guix-git/doc/guix.texi:29167
  43201. msgid "The @code{ganeti} service takes the following configuration options:"
  43202. msgstr ""
  43203. #. type: item
  43204. #: guix-git/doc/guix.texi:29169 guix-git/doc/guix.texi:29397
  43205. #: guix-git/doc/guix.texi:29447 guix-git/doc/guix.texi:29477
  43206. #: guix-git/doc/guix.texi:29504 guix-git/doc/guix.texi:29536
  43207. #: guix-git/doc/guix.texi:29589 guix-git/doc/guix.texi:29609
  43208. #: guix-git/doc/guix.texi:29635 guix-git/doc/guix.texi:29668
  43209. #: guix-git/doc/guix.texi:29708
  43210. #, no-wrap
  43211. msgid "@code{ganeti} (default: @code{ganeti})"
  43212. msgstr ""
  43213. #. type: table
  43214. #: guix-git/doc/guix.texi:29174
  43215. 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)."
  43216. msgstr ""
  43217. #. type: item
  43218. #: guix-git/doc/guix.texi:29175
  43219. #, no-wrap
  43220. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  43221. msgstr ""
  43222. #. type: itemx
  43223. #: guix-git/doc/guix.texi:29176
  43224. #, no-wrap
  43225. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  43226. msgstr ""
  43227. #. type: itemx
  43228. #: guix-git/doc/guix.texi:29177
  43229. #, no-wrap
  43230. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  43231. msgstr ""
  43232. #. type: itemx
  43233. #: guix-git/doc/guix.texi:29178
  43234. #, no-wrap
  43235. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  43236. msgstr ""
  43237. #. type: itemx
  43238. #: guix-git/doc/guix.texi:29179
  43239. #, no-wrap
  43240. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  43241. msgstr ""
  43242. #. type: itemx
  43243. #: guix-git/doc/guix.texi:29180
  43244. #, no-wrap
  43245. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  43246. msgstr ""
  43247. #. type: itemx
  43248. #: guix-git/doc/guix.texi:29181
  43249. #, no-wrap
  43250. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  43251. msgstr ""
  43252. #. type: itemx
  43253. #: guix-git/doc/guix.texi:29182
  43254. #, no-wrap
  43255. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  43256. msgstr ""
  43257. #. type: itemx
  43258. #: guix-git/doc/guix.texi:29183
  43259. #, no-wrap
  43260. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  43261. msgstr ""
  43262. #. type: itemx
  43263. #: guix-git/doc/guix.texi:29184
  43264. #, no-wrap
  43265. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  43266. msgstr ""
  43267. #. type: table
  43268. #: guix-git/doc/guix.texi:29189
  43269. 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:"
  43270. msgstr ""
  43271. #. type: lisp
  43272. #: guix-git/doc/guix.texi:29199
  43273. #, no-wrap
  43274. msgid ""
  43275. "(service ganeti-service-type\n"
  43276. " (ganeti-configuration\n"
  43277. " (rapi-configuration\n"
  43278. " (ganeti-rapi-configuration\n"
  43279. " (interface \"eth1\"))))\n"
  43280. " (watcher-configuration\n"
  43281. " (ganeti-watcher-configuration\n"
  43282. " (rapi-ip \"10.0.0.1\"))))\n"
  43283. msgstr ""
  43284. #. type: item
  43285. #: guix-git/doc/guix.texi:29201
  43286. #, no-wrap
  43287. msgid "@code{file-storage-paths} (default: @code{'()})"
  43288. msgstr ""
  43289. #. type: table
  43290. #: guix-git/doc/guix.texi:29203
  43291. msgid "List of allowed directories for file storage backend."
  43292. msgstr ""
  43293. #. type: item
  43294. #: guix-git/doc/guix.texi:29204
  43295. #, no-wrap
  43296. msgid "@code{os} (default: @code{%default-ganeti-os})"
  43297. msgstr ""
  43298. #. type: table
  43299. #: guix-git/doc/guix.texi:29206
  43300. msgid "List of @code{<ganeti-os>} records."
  43301. msgstr ""
  43302. #. type: deftp
  43303. #: guix-git/doc/guix.texi:29210
  43304. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  43305. msgstr ""
  43306. #. type: lisp
  43307. #: guix-git/doc/guix.texi:29221
  43308. #, no-wrap
  43309. msgid ""
  43310. "(service ganeti-noded-service-type)\n"
  43311. "(service ganeti-confd-service-type)\n"
  43312. "(service ganeti-wconfd-service-type)\n"
  43313. "(service ganeti-luxid-service-type)\n"
  43314. "(service ganeti-kvmd-service-type)\n"
  43315. "(service ganeti-mond-service-type)\n"
  43316. "(service ganeti-metad-service-type)\n"
  43317. "(service ganeti-watcher-service-type)\n"
  43318. "(service ganeti-cleaner-service-type)\n"
  43319. msgstr ""
  43320. #. type: deftp
  43321. #: guix-git/doc/guix.texi:29225
  43322. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  43323. msgstr ""
  43324. #. type: deftp
  43325. #: guix-git/doc/guix.texi:29228
  43326. #, no-wrap
  43327. msgid "{Data Type} ganeti-os"
  43328. msgstr ""
  43329. #. type: deftp
  43330. #: guix-git/doc/guix.texi:29231
  43331. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  43332. msgstr ""
  43333. #. type: table
  43334. #: guix-git/doc/guix.texi:29237
  43335. 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}."
  43336. msgstr ""
  43337. #. type: code{#1}
  43338. #: guix-git/doc/guix.texi:29238
  43339. #, no-wrap
  43340. msgid "extension"
  43341. msgstr "확장"
  43342. #. type: table
  43343. #: guix-git/doc/guix.texi:29241
  43344. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  43345. msgstr ""
  43346. #. type: item
  43347. #: guix-git/doc/guix.texi:29242
  43348. #, no-wrap
  43349. msgid "@code{variants} (default: @code{'()})"
  43350. msgstr ""
  43351. #. type: table
  43352. #: guix-git/doc/guix.texi:29244
  43353. msgid "List of @code{ganeti-os-variant} objects for this OS."
  43354. msgstr ""
  43355. #. type: deftp
  43356. #: guix-git/doc/guix.texi:29248
  43357. #, no-wrap
  43358. msgid "{Data Type} ganeti-os-variant"
  43359. msgstr ""
  43360. #. type: deftp
  43361. #: guix-git/doc/guix.texi:29251
  43362. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  43363. msgstr ""
  43364. #. type: table
  43365. #: guix-git/doc/guix.texi:29255
  43366. msgid "The name of this variant."
  43367. msgstr ""
  43368. #. type: code{#1}
  43369. #: guix-git/doc/guix.texi:29256
  43370. #, no-wrap
  43371. msgid "configuration"
  43372. msgstr "설정"
  43373. #. type: table
  43374. #: guix-git/doc/guix.texi:29258
  43375. msgid "A configuration file for this variant."
  43376. msgstr ""
  43377. #. type: defvr
  43378. #: guix-git/doc/guix.texi:29261
  43379. #, no-wrap
  43380. msgid "{Scheme Variable} %default-debootstrap-hooks"
  43381. msgstr ""
  43382. #. type: defvr
  43383. #: guix-git/doc/guix.texi:29263
  43384. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  43385. msgstr ""
  43386. #. type: defvr
  43387. #: guix-git/doc/guix.texi:29265
  43388. #, no-wrap
  43389. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  43390. msgstr ""
  43391. #. type: defvr
  43392. #: guix-git/doc/guix.texi:29267
  43393. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  43394. msgstr ""
  43395. #. type: deftp
  43396. #: guix-git/doc/guix.texi:29269
  43397. #, no-wrap
  43398. msgid "{Data Type} debootstrap-configuration"
  43399. msgstr ""
  43400. #. type: deftp
  43401. #: guix-git/doc/guix.texi:29272
  43402. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  43403. msgstr ""
  43404. #. type: item
  43405. #: guix-git/doc/guix.texi:29274
  43406. #, no-wrap
  43407. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  43408. msgstr ""
  43409. #. type: table
  43410. #: guix-git/doc/guix.texi:29278
  43411. 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:"
  43412. msgstr ""
  43413. #. type: lisp
  43414. #: guix-git/doc/guix.texi:29281
  43415. #, no-wrap
  43416. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  43417. msgstr ""
  43418. #. type: table
  43419. #: guix-git/doc/guix.texi:29286
  43420. 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."
  43421. msgstr ""
  43422. #. type: item
  43423. #: guix-git/doc/guix.texi:29286
  43424. #, no-wrap
  43425. msgid "@code{proxy} (default: @code{#f})"
  43426. msgstr ""
  43427. #. type: table
  43428. #: guix-git/doc/guix.texi:29288
  43429. msgid "Optional HTTP proxy to use."
  43430. msgstr ""
  43431. #. type: item
  43432. #: guix-git/doc/guix.texi:29288
  43433. #, no-wrap
  43434. msgid "@code{mirror} (default: @code{#f})"
  43435. msgstr ""
  43436. #. type: table
  43437. #: guix-git/doc/guix.texi:29291
  43438. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  43439. msgstr ""
  43440. #. type: item
  43441. #: guix-git/doc/guix.texi:29291
  43442. #, no-wrap
  43443. msgid "@code{arch} (default: @code{#f})"
  43444. msgstr ""
  43445. #. type: table
  43446. #: guix-git/doc/guix.texi:29294
  43447. 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."
  43448. msgstr ""
  43449. #. type: item
  43450. #: guix-git/doc/guix.texi:29294
  43451. #, no-wrap
  43452. msgid "@code{suite} (default: @code{\"stable\"})"
  43453. msgstr ""
  43454. #. type: table
  43455. #: guix-git/doc/guix.texi:29297
  43456. 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."
  43457. msgstr ""
  43458. #. type: item
  43459. #: guix-git/doc/guix.texi:29297
  43460. #, no-wrap
  43461. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  43462. msgstr ""
  43463. #. type: table
  43464. #: guix-git/doc/guix.texi:29300
  43465. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  43466. msgstr ""
  43467. #. type: item
  43468. #: guix-git/doc/guix.texi:29300
  43469. #, no-wrap
  43470. msgid "@code{components} (default: @code{#f})"
  43471. msgstr ""
  43472. #. type: table
  43473. #: guix-git/doc/guix.texi:29303
  43474. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  43475. msgstr ""
  43476. #. type: item
  43477. #: guix-git/doc/guix.texi:29303
  43478. #, no-wrap
  43479. msgid "@code{generate-cache?} (default: @code{#t})"
  43480. msgstr ""
  43481. #. type: table
  43482. #: guix-git/doc/guix.texi:29305
  43483. msgid "Whether to automatically cache the generated debootstrap archive."
  43484. msgstr ""
  43485. #. type: item
  43486. #: guix-git/doc/guix.texi:29305
  43487. #, no-wrap
  43488. msgid "@code{clean-cache} (default: @code{14})"
  43489. msgstr ""
  43490. #. type: table
  43491. #: guix-git/doc/guix.texi:29308
  43492. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  43493. msgstr ""
  43494. #. type: item
  43495. #: guix-git/doc/guix.texi:29308
  43496. #, no-wrap
  43497. msgid "@code{partition-style} (default: @code{'msdos})"
  43498. msgstr ""
  43499. #. type: table
  43500. #: guix-git/doc/guix.texi:29311
  43501. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  43502. msgstr ""
  43503. #. type: item
  43504. #: guix-git/doc/guix.texi:29311
  43505. #, no-wrap
  43506. msgid "@code{partition-alignment} (default: @code{2048})"
  43507. msgstr ""
  43508. #. type: table
  43509. #: guix-git/doc/guix.texi:29313
  43510. msgid "Alignment of the partition in sectors."
  43511. msgstr ""
  43512. #. type: deffn
  43513. #: guix-git/doc/guix.texi:29316
  43514. #, no-wrap
  43515. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  43516. msgstr ""
  43517. #. type: deffn
  43518. #: guix-git/doc/guix.texi:29319
  43519. 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."
  43520. msgstr ""
  43521. #. type: deffn
  43522. #: guix-git/doc/guix.texi:29321
  43523. #, no-wrap
  43524. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  43525. msgstr ""
  43526. #. type: deffn
  43527. #: guix-git/doc/guix.texi:29324
  43528. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  43529. msgstr ""
  43530. #. type: deffn
  43531. #: guix-git/doc/guix.texi:29326
  43532. #, no-wrap
  43533. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  43534. msgstr ""
  43535. #. type: deffn
  43536. #: guix-git/doc/guix.texi:29331
  43537. 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."
  43538. msgstr ""
  43539. #. type: deffn
  43540. #: guix-git/doc/guix.texi:29333
  43541. #, no-wrap
  43542. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  43543. msgstr ""
  43544. #. type: deffn
  43545. #: guix-git/doc/guix.texi:29336
  43546. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  43547. msgstr ""
  43548. #. type: defvr
  43549. #: guix-git/doc/guix.texi:29338
  43550. #, no-wrap
  43551. msgid "{Scheme Variable} %default-debootstrap-variants"
  43552. msgstr ""
  43553. #. type: defvr
  43554. #: guix-git/doc/guix.texi:29342
  43555. 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:"
  43556. msgstr ""
  43557. #. type: lisp
  43558. #: guix-git/doc/guix.texi:29347
  43559. #, no-wrap
  43560. msgid ""
  43561. "(list (debootstrap-variant\n"
  43562. " \"default\"\n"
  43563. " (debootstrap-configuration)))\n"
  43564. msgstr ""
  43565. #. type: defvr
  43566. #: guix-git/doc/guix.texi:29350
  43567. #, no-wrap
  43568. msgid "{Scheme Variable} %default-guix-variants"
  43569. msgstr ""
  43570. #. type: defvr
  43571. #: guix-git/doc/guix.texi:29354
  43572. 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."
  43573. msgstr ""
  43574. #. type: lisp
  43575. #: guix-git/doc/guix.texi:29360
  43576. #, no-wrap
  43577. msgid ""
  43578. "(list (guix-variant\n"
  43579. " \"default\"\n"
  43580. " (file-append ganeti-instance-guix\n"
  43581. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  43582. msgstr ""
  43583. #. type: Plain text
  43584. #: guix-git/doc/guix.texi:29366
  43585. 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:"
  43586. msgstr ""
  43587. #. type: lisp
  43588. #: guix-git/doc/guix.texi:29375
  43589. #, no-wrap
  43590. msgid ""
  43591. "(ganeti-os\n"
  43592. " (name \"custom\")\n"
  43593. " (extension \".conf\")\n"
  43594. " (variants\n"
  43595. " (list (ganeti-os-variant\n"
  43596. " (name \"foo\")\n"
  43597. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  43598. msgstr ""
  43599. #. type: Plain text
  43600. #: guix-git/doc/guix.texi:29380
  43601. 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}."
  43602. msgstr ""
  43603. #. type: Plain text
  43604. #: guix-git/doc/guix.texi:29383
  43605. 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}."
  43606. msgstr ""
  43607. #. type: Plain text
  43608. #: guix-git/doc/guix.texi:29386
  43609. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  43610. msgstr ""
  43611. #. type: defvr
  43612. #: guix-git/doc/guix.texi:29387
  43613. #, no-wrap
  43614. msgid "{Scheme Variable} ganeti-noded-service-type"
  43615. msgstr ""
  43616. #. type: defvr
  43617. #: guix-git/doc/guix.texi:29391
  43618. 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."
  43619. msgstr ""
  43620. #. type: deftp
  43621. #: guix-git/doc/guix.texi:29393
  43622. #, no-wrap
  43623. msgid "{Data Type} ganeti-noded-configuration"
  43624. msgstr ""
  43625. #. type: deftp
  43626. #: guix-git/doc/guix.texi:29395
  43627. msgid "This is the configuration for the @code{ganeti-noded} service."
  43628. msgstr ""
  43629. #. type: table
  43630. #: guix-git/doc/guix.texi:29399 guix-git/doc/guix.texi:29449
  43631. #: guix-git/doc/guix.texi:29479 guix-git/doc/guix.texi:29506
  43632. #: guix-git/doc/guix.texi:29538 guix-git/doc/guix.texi:29591
  43633. #: guix-git/doc/guix.texi:29611 guix-git/doc/guix.texi:29637
  43634. #: guix-git/doc/guix.texi:29670
  43635. msgid "The @code{ganeti} package to use for this service."
  43636. msgstr ""
  43637. #. type: item
  43638. #: guix-git/doc/guix.texi:29400
  43639. #, no-wrap
  43640. msgid "@code{port} (default: @code{1811})"
  43641. msgstr ""
  43642. #. type: table
  43643. #: guix-git/doc/guix.texi:29402
  43644. msgid "The TCP port on which the node daemon listens for network requests."
  43645. msgstr ""
  43646. #. type: item
  43647. #: guix-git/doc/guix.texi:29403 guix-git/doc/guix.texi:29453
  43648. #: guix-git/doc/guix.texi:29545 guix-git/doc/guix.texi:29615
  43649. #, no-wrap
  43650. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  43651. msgstr ""
  43652. #. type: table
  43653. #: guix-git/doc/guix.texi:29406
  43654. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  43655. msgstr ""
  43656. #. type: table
  43657. #: guix-git/doc/guix.texi:29410
  43658. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  43659. msgstr ""
  43660. #. type: item
  43661. #: guix-git/doc/guix.texi:29411 guix-git/doc/guix.texi:29553
  43662. #, no-wrap
  43663. msgid "@code{max-clients} (default: @code{20})"
  43664. msgstr ""
  43665. #. type: table
  43666. #: guix-git/doc/guix.texi:29415
  43667. 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."
  43668. msgstr ""
  43669. #. type: item
  43670. #: guix-git/doc/guix.texi:29416 guix-git/doc/guix.texi:29558
  43671. #, no-wrap
  43672. msgid "@code{ssl?} (default: @code{#t})"
  43673. msgstr ""
  43674. #. type: table
  43675. #: guix-git/doc/guix.texi:29420
  43676. 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}."
  43677. msgstr ""
  43678. #. type: item
  43679. #: guix-git/doc/guix.texi:29421 guix-git/doc/guix.texi:29561
  43680. #, no-wrap
  43681. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  43682. msgstr ""
  43683. #. type: table
  43684. #: guix-git/doc/guix.texi:29423 guix-git/doc/guix.texi:29563
  43685. msgid "This can be used to provide a specific encryption key for TLS communications."
  43686. msgstr ""
  43687. #. type: item
  43688. #: guix-git/doc/guix.texi:29424 guix-git/doc/guix.texi:29564
  43689. #, no-wrap
  43690. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  43691. msgstr ""
  43692. #. type: table
  43693. #: guix-git/doc/guix.texi:29426 guix-git/doc/guix.texi:29566
  43694. msgid "This can be used to provide a specific certificate for TLS communications."
  43695. msgstr ""
  43696. #. type: table
  43697. #: guix-git/doc/guix.texi:29430 guix-git/doc/guix.texi:29570
  43698. 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."
  43699. msgstr ""
  43700. #. type: defvr
  43701. #: guix-git/doc/guix.texi:29434
  43702. #, no-wrap
  43703. msgid "{Scheme Variable} ganeti-confd-service-type"
  43704. msgstr ""
  43705. #. type: defvr
  43706. #: guix-git/doc/guix.texi:29440
  43707. 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."
  43708. msgstr ""
  43709. #. type: deftp
  43710. #: guix-git/doc/guix.texi:29443
  43711. #, no-wrap
  43712. msgid "{Data Type} ganeti-confd-configuration"
  43713. msgstr ""
  43714. #. type: deftp
  43715. #: guix-git/doc/guix.texi:29445
  43716. msgid "This is the configuration for the @code{ganeti-confd} service."
  43717. msgstr ""
  43718. #. type: item
  43719. #: guix-git/doc/guix.texi:29450
  43720. #, no-wrap
  43721. msgid "@code{port} (default: @code{1814})"
  43722. msgstr ""
  43723. #. type: table
  43724. #: guix-git/doc/guix.texi:29452
  43725. msgid "The UDP port on which to listen for network requests."
  43726. msgstr ""
  43727. #. type: table
  43728. #: guix-git/doc/guix.texi:29455
  43729. msgid "Network address that the daemon will bind to."
  43730. msgstr ""
  43731. #. type: table
  43732. #: guix-git/doc/guix.texi:29458 guix-git/doc/guix.texi:29487
  43733. #: guix-git/doc/guix.texi:29514 guix-git/doc/guix.texi:29594
  43734. #: guix-git/doc/guix.texi:29621 guix-git/doc/guix.texi:29647
  43735. msgid "When true, the daemon performs additional logging for debugging purposes."
  43736. msgstr ""
  43737. #. type: defvr
  43738. #: guix-git/doc/guix.texi:29462
  43739. #, no-wrap
  43740. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  43741. msgstr ""
  43742. #. type: defvr
  43743. #: guix-git/doc/guix.texi:29468
  43744. 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."
  43745. msgstr ""
  43746. #. type: defvr
  43747. #: guix-git/doc/guix.texi:29471
  43748. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  43749. msgstr ""
  43750. #. type: deftp
  43751. #: guix-git/doc/guix.texi:29473
  43752. #, no-wrap
  43753. msgid "{Data Type} ganeti-wconfd-configuration"
  43754. msgstr ""
  43755. #. type: deftp
  43756. #: guix-git/doc/guix.texi:29475 guix-git/doc/guix.texi:29502
  43757. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  43758. msgstr ""
  43759. #. type: item
  43760. #: guix-git/doc/guix.texi:29480 guix-git/doc/guix.texi:29507
  43761. #, no-wrap
  43762. msgid "@code{no-voting?} (default: @code{#f})"
  43763. msgstr ""
  43764. #. type: table
  43765. #: guix-git/doc/guix.texi:29484
  43766. 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)."
  43767. msgstr ""
  43768. #. type: defvr
  43769. #: guix-git/doc/guix.texi:29491
  43770. #, no-wrap
  43771. msgid "{Scheme Variable} ganeti-luxid-service-type"
  43772. msgstr ""
  43773. #. type: defvr
  43774. #: guix-git/doc/guix.texi:29496
  43775. 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."
  43776. msgstr ""
  43777. #. type: defvr
  43778. #: guix-git/doc/guix.texi:29498
  43779. msgid "It takes a @code{ganeti-luxid-configuration} object."
  43780. msgstr ""
  43781. #. type: deftp
  43782. #: guix-git/doc/guix.texi:29500
  43783. #, no-wrap
  43784. msgid "{Data Type} ganeti-luxid-configuration"
  43785. msgstr ""
  43786. #. type: table
  43787. #: guix-git/doc/guix.texi:29511
  43788. 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)."
  43789. msgstr ""
  43790. #. type: defvr
  43791. #: guix-git/doc/guix.texi:29518
  43792. #, no-wrap
  43793. msgid "{Scheme Variable} ganeti-rapi-service-type"
  43794. msgstr ""
  43795. #. type: defvr
  43796. #: guix-git/doc/guix.texi:29522
  43797. 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."
  43798. msgstr ""
  43799. #. type: defvr
  43800. #: guix-git/doc/guix.texi:29528
  43801. 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."
  43802. msgstr ""
  43803. #. type: defvr
  43804. #: guix-git/doc/guix.texi:29530
  43805. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  43806. msgstr ""
  43807. #. type: deftp
  43808. #: guix-git/doc/guix.texi:29532
  43809. #, no-wrap
  43810. msgid "{Data Type} ganeti-rapi-configuration"
  43811. msgstr ""
  43812. #. type: deftp
  43813. #: guix-git/doc/guix.texi:29534
  43814. msgid "This is the configuration for the @code{ganeti-rapi} service."
  43815. msgstr ""
  43816. #. type: item
  43817. #: guix-git/doc/guix.texi:29539
  43818. #, no-wrap
  43819. msgid "@code{require-authentication?} (default: @code{#f})"
  43820. msgstr ""
  43821. #. type: table
  43822. #: guix-git/doc/guix.texi:29541
  43823. msgid "Whether to require authentication even for read-only operations."
  43824. msgstr ""
  43825. #. type: item
  43826. #: guix-git/doc/guix.texi:29542
  43827. #, no-wrap
  43828. msgid "@code{port} (default: @code{5080})"
  43829. msgstr ""
  43830. #. type: table
  43831. #: guix-git/doc/guix.texi:29544
  43832. msgid "The TCP port on which to listen to API requests."
  43833. msgstr ""
  43834. #. type: table
  43835. #: guix-git/doc/guix.texi:29548
  43836. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  43837. msgstr ""
  43838. #. type: table
  43839. #: guix-git/doc/guix.texi:29552
  43840. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  43841. msgstr ""
  43842. #. type: table
  43843. #: guix-git/doc/guix.texi:29557
  43844. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  43845. msgstr ""
  43846. #. type: table
  43847. #: guix-git/doc/guix.texi:29560
  43848. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  43849. msgstr ""
  43850. #. type: defvr
  43851. #: guix-git/doc/guix.texi:29574
  43852. #, no-wrap
  43853. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  43854. msgstr ""
  43855. #. type: defvr
  43856. #: guix-git/doc/guix.texi:29582
  43857. 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."
  43858. msgstr ""
  43859. #. type: defvr
  43860. #: guix-git/doc/guix.texi:29584
  43861. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  43862. msgstr ""
  43863. #. type: deftp
  43864. #: guix-git/doc/guix.texi:29586
  43865. #, no-wrap
  43866. msgid "{Data Type} ganeti-kvmd-configuration"
  43867. msgstr ""
  43868. #. type: defvr
  43869. #: guix-git/doc/guix.texi:29598
  43870. #, no-wrap
  43871. msgid "{Scheme Variable} ganeti-mond-service-type"
  43872. msgstr ""
  43873. #. type: defvr
  43874. #: guix-git/doc/guix.texi:29602
  43875. 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."
  43876. msgstr ""
  43877. #. type: defvr
  43878. #: guix-git/doc/guix.texi:29604
  43879. msgid "It takes a @code{ganeti-mond-configuration} object."
  43880. msgstr ""
  43881. #. type: deftp
  43882. #: guix-git/doc/guix.texi:29606
  43883. #, no-wrap
  43884. msgid "{Data Type} ganeti-mond-configuration"
  43885. msgstr ""
  43886. #. type: item
  43887. #: guix-git/doc/guix.texi:29612
  43888. #, no-wrap
  43889. msgid "@code{port} (default: @code{1815})"
  43890. msgstr ""
  43891. #. type: table
  43892. #: guix-git/doc/guix.texi:29614 guix-git/doc/guix.texi:29640
  43893. msgid "The port on which the daemon will listen."
  43894. msgstr ""
  43895. #. type: table
  43896. #: guix-git/doc/guix.texi:29618
  43897. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  43898. msgstr ""
  43899. #. type: defvr
  43900. #: guix-git/doc/guix.texi:29625
  43901. #, no-wrap
  43902. msgid "{Scheme Variable} ganeti-metad-service-type"
  43903. msgstr ""
  43904. #. type: defvr
  43905. #: guix-git/doc/guix.texi:29628
  43906. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  43907. msgstr ""
  43908. #. type: defvr
  43909. #: guix-git/doc/guix.texi:29630
  43910. msgid "It takes a @code{ganeti-metad-configuration} object."
  43911. msgstr ""
  43912. #. type: deftp
  43913. #: guix-git/doc/guix.texi:29632
  43914. #, no-wrap
  43915. msgid "{Data Type} ganeti-metad-configuration"
  43916. msgstr ""
  43917. #. type: item
  43918. #: guix-git/doc/guix.texi:29641
  43919. #, no-wrap
  43920. msgid "@code{address} (default: @code{#f})"
  43921. msgstr ""
  43922. #. type: table
  43923. #: guix-git/doc/guix.texi:29644
  43924. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  43925. msgstr ""
  43926. #. type: defvr
  43927. #: guix-git/doc/guix.texi:29651
  43928. #, no-wrap
  43929. msgid "{Scheme Variable} ganeti-watcher-service-type"
  43930. msgstr ""
  43931. #. type: defvr
  43932. #: guix-git/doc/guix.texi:29659
  43933. 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."
  43934. msgstr ""
  43935. #. type: defvr
  43936. #: guix-git/doc/guix.texi:29661
  43937. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  43938. msgstr ""
  43939. #. type: defvr
  43940. #: guix-git/doc/guix.texi:29663
  43941. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  43942. msgstr ""
  43943. #. type: deftp
  43944. #: guix-git/doc/guix.texi:29665
  43945. #, no-wrap
  43946. msgid "{Data Type} ganeti-watcher-configuration"
  43947. msgstr ""
  43948. #. type: item
  43949. #: guix-git/doc/guix.texi:29671
  43950. #, no-wrap
  43951. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  43952. msgstr ""
  43953. #. type: table
  43954. #: guix-git/doc/guix.texi:29673
  43955. msgid "How often to run the script. The default is every five minutes."
  43956. msgstr ""
  43957. #. type: item
  43958. #: guix-git/doc/guix.texi:29674
  43959. #, no-wrap
  43960. msgid "@code{rapi-ip} (default: @code{#f})"
  43961. msgstr ""
  43962. #. type: table
  43963. #: guix-git/doc/guix.texi:29677
  43964. 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."
  43965. msgstr ""
  43966. #. type: item
  43967. #: guix-git/doc/guix.texi:29678
  43968. #, no-wrap
  43969. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  43970. msgstr ""
  43971. #. type: table
  43972. #: guix-git/doc/guix.texi:29681
  43973. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  43974. msgstr ""
  43975. #. type: item
  43976. #: guix-git/doc/guix.texi:29682
  43977. #, no-wrap
  43978. msgid "@code{verify-disks?} (default: @code{#t})"
  43979. msgstr ""
  43980. #. type: table
  43981. #: guix-git/doc/guix.texi:29686
  43982. 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."
  43983. msgstr ""
  43984. #. type: table
  43985. #: guix-git/doc/guix.texi:29689
  43986. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  43987. msgstr ""
  43988. #. type: defvr
  43989. #: guix-git/doc/guix.texi:29693
  43990. #, no-wrap
  43991. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  43992. msgstr ""
  43993. #. type: defvr
  43994. #: guix-git/doc/guix.texi:29701
  43995. 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."
  43996. msgstr ""
  43997. #. type: defvr
  43998. #: guix-git/doc/guix.texi:29703
  43999. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  44000. msgstr ""
  44001. #. type: deftp
  44002. #: guix-git/doc/guix.texi:29705
  44003. #, no-wrap
  44004. msgid "{Data Type} ganeti-cleaner-configuration"
  44005. msgstr ""
  44006. #. type: table
  44007. #: guix-git/doc/guix.texi:29710
  44008. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  44009. msgstr ""
  44010. #. type: item
  44011. #: guix-git/doc/guix.texi:29711
  44012. #, no-wrap
  44013. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  44014. msgstr ""
  44015. #. type: table
  44016. #: guix-git/doc/guix.texi:29714
  44017. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  44018. msgstr ""
  44019. #. type: item
  44020. #: guix-git/doc/guix.texi:29715
  44021. #, no-wrap
  44022. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  44023. msgstr ""
  44024. #. type: table
  44025. #: guix-git/doc/guix.texi:29718
  44026. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  44027. msgstr ""
  44028. #. type: Plain text
  44029. #: guix-git/doc/guix.texi:29732
  44030. 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}."
  44031. msgstr ""
  44032. #. type: deffn
  44033. #: guix-git/doc/guix.texi:29733
  44034. #, no-wrap
  44035. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  44036. msgstr ""
  44037. #. type: deffn
  44038. #: guix-git/doc/guix.texi:29737
  44039. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  44040. msgstr ""
  44041. #. type: deffn
  44042. #: guix-git/doc/guix.texi:29743
  44043. 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}."
  44044. msgstr ""
  44045. #. type: deftp
  44046. #: guix-git/doc/guix.texi:29746
  44047. #, no-wrap
  44048. msgid "{Data Type} git-daemon-configuration"
  44049. msgstr ""
  44050. #. type: deftp
  44051. #: guix-git/doc/guix.texi:29748
  44052. msgid "Data type representing the configuration for @code{git-daemon-service}."
  44053. msgstr ""
  44054. #. type: item
  44055. #: guix-git/doc/guix.texi:29750
  44056. #, no-wrap
  44057. msgid "@code{package} (default: @code{git})"
  44058. msgstr ""
  44059. #. type: table
  44060. #: guix-git/doc/guix.texi:29752 guix-git/doc/guix.texi:29812
  44061. msgid "Package object of the Git distributed version control system."
  44062. msgstr ""
  44063. #. type: item
  44064. #: guix-git/doc/guix.texi:29753 guix-git/doc/guix.texi:29816
  44065. #, no-wrap
  44066. msgid "@code{export-all?} (default: @code{#f})"
  44067. msgstr ""
  44068. #. type: table
  44069. #: guix-git/doc/guix.texi:29756
  44070. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  44071. msgstr ""
  44072. #. type: item
  44073. #: guix-git/doc/guix.texi:29757
  44074. #, no-wrap
  44075. msgid "@code{base-path} (default: @file{/srv/git})"
  44076. msgstr ""
  44077. #. type: table
  44078. #: guix-git/doc/guix.texi:29763
  44079. 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}."
  44080. msgstr ""
  44081. #. type: item
  44082. #: guix-git/doc/guix.texi:29764
  44083. #, no-wrap
  44084. msgid "@code{user-path} (default: @code{#f})"
  44085. msgstr ""
  44086. #. type: table
  44087. #: guix-git/doc/guix.texi:29772
  44088. 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}."
  44089. msgstr ""
  44090. #. type: item
  44091. #: guix-git/doc/guix.texi:29773
  44092. #, no-wrap
  44093. msgid "@code{listen} (default: @code{'()})"
  44094. msgstr ""
  44095. #. type: table
  44096. #: guix-git/doc/guix.texi:29776
  44097. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  44098. msgstr ""
  44099. #. type: item
  44100. #: guix-git/doc/guix.texi:29777
  44101. #, no-wrap
  44102. msgid "@code{port} (default: @code{#f})"
  44103. msgstr ""
  44104. #. type: table
  44105. #: guix-git/doc/guix.texi:29779
  44106. msgid "Whether to listen on an alternative port, which defaults to 9418."
  44107. msgstr ""
  44108. #. type: item
  44109. #: guix-git/doc/guix.texi:29780
  44110. #, no-wrap
  44111. msgid "@code{whitelist} (default: @code{'()})"
  44112. msgstr ""
  44113. #. type: table
  44114. #: guix-git/doc/guix.texi:29782
  44115. msgid "If not empty, only allow access to this list of directories."
  44116. msgstr ""
  44117. #. type: table
  44118. #: guix-git/doc/guix.texi:29786
  44119. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  44120. msgstr ""
  44121. #. type: Plain text
  44122. #: guix-git/doc/guix.texi:29800
  44123. 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."
  44124. msgstr ""
  44125. #. type: Plain text
  44126. #: guix-git/doc/guix.texi:29803
  44127. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  44128. msgstr ""
  44129. #. type: deftp
  44130. #: guix-git/doc/guix.texi:29804
  44131. #, no-wrap
  44132. msgid "{Data Type} git-http-configuration"
  44133. msgstr ""
  44134. #. type: deftp
  44135. #: guix-git/doc/guix.texi:29808
  44136. 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}."
  44137. msgstr ""
  44138. #. type: item
  44139. #: guix-git/doc/guix.texi:29810
  44140. #, no-wrap
  44141. msgid "@code{package} (default: @var{git})"
  44142. msgstr ""
  44143. #. type: item
  44144. #: guix-git/doc/guix.texi:29813
  44145. #, no-wrap
  44146. msgid "@code{git-root} (default: @file{/srv/git})"
  44147. msgstr ""
  44148. #. type: table
  44149. #: guix-git/doc/guix.texi:29815
  44150. msgid "Directory containing the Git repositories to expose to the world."
  44151. msgstr ""
  44152. #. type: table
  44153. #: guix-git/doc/guix.texi:29819
  44154. 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."
  44155. msgstr ""
  44156. #. type: item
  44157. #: guix-git/doc/guix.texi:29820
  44158. #, no-wrap
  44159. msgid "@code{uri-path} (default: @samp{/git/})"
  44160. msgstr ""
  44161. #. type: table
  44162. #: guix-git/doc/guix.texi:29825
  44163. 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."
  44164. msgstr ""
  44165. #. type: item
  44166. #: guix-git/doc/guix.texi:29826
  44167. #, no-wrap
  44168. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  44169. msgstr ""
  44170. #. type: table
  44171. #: guix-git/doc/guix.texi:29829
  44172. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  44173. msgstr ""
  44174. #. type: Plain text
  44175. #: guix-git/doc/guix.texi:29836
  44176. 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."
  44177. msgstr ""
  44178. #. type: deffn
  44179. #: guix-git/doc/guix.texi:29837
  44180. #, no-wrap
  44181. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  44182. msgstr ""
  44183. #. type: deffn
  44184. #: guix-git/doc/guix.texi:29842
  44185. 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:"
  44186. msgstr ""
  44187. #. type: lisp
  44188. #: guix-git/doc/guix.texi:29859
  44189. #, no-wrap
  44190. msgid ""
  44191. "(service nginx-service-type\n"
  44192. " (nginx-configuration\n"
  44193. " (server-blocks\n"
  44194. " (list\n"
  44195. " (nginx-server-configuration\n"
  44196. " (listen '(\"443 ssl\"))\n"
  44197. " (server-name \"git.my-host.org\")\n"
  44198. " (ssl-certificate\n"
  44199. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  44200. " (ssl-certificate-key\n"
  44201. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  44202. " (locations\n"
  44203. " (list\n"
  44204. " (git-http-nginx-location-configuration\n"
  44205. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  44206. msgstr ""
  44207. #. type: deffn
  44208. #: guix-git/doc/guix.texi:29866
  44209. 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}."
  44210. msgstr ""
  44211. #. type: subsubheading
  44212. #: guix-git/doc/guix.texi:29868
  44213. #, no-wrap
  44214. msgid "Cgit Service"
  44215. msgstr "Cgit 서비스"
  44216. #. type: cindex
  44217. #: guix-git/doc/guix.texi:29870
  44218. #, no-wrap
  44219. msgid "Cgit service"
  44220. msgstr ""
  44221. #. type: cindex
  44222. #: guix-git/doc/guix.texi:29871
  44223. #, no-wrap
  44224. msgid "Git, web interface"
  44225. msgstr ""
  44226. #. type: Plain text
  44227. #: guix-git/doc/guix.texi:29874
  44228. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  44229. msgstr ""
  44230. #. type: Plain text
  44231. #: guix-git/doc/guix.texi:29877
  44232. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  44233. msgstr ""
  44234. #. type: lisp
  44235. #: guix-git/doc/guix.texi:29880
  44236. #, no-wrap
  44237. msgid "(service cgit-service-type)\n"
  44238. msgstr ""
  44239. #. type: Plain text
  44240. #: guix-git/doc/guix.texi:29884
  44241. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  44242. msgstr ""
  44243. #. type: Plain text
  44244. #: guix-git/doc/guix.texi:29888
  44245. msgid "Available @code{cgit-configuration} fields are:"
  44246. msgstr ""
  44247. #. type: deftypevr
  44248. #: guix-git/doc/guix.texi:29889
  44249. #, no-wrap
  44250. msgid "{@code{cgit-configuration} parameter} package package"
  44251. msgstr ""
  44252. #. type: deftypevr
  44253. #: guix-git/doc/guix.texi:29891
  44254. msgid "The CGIT package."
  44255. msgstr ""
  44256. #. type: deftypevr
  44257. #: guix-git/doc/guix.texi:29894
  44258. #, no-wrap
  44259. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  44260. msgstr ""
  44261. #. type: deftypevr
  44262. #: guix-git/doc/guix.texi:29899
  44263. #, no-wrap
  44264. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  44265. msgstr ""
  44266. #. type: deftypevr
  44267. #: guix-git/doc/guix.texi:29902
  44268. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  44269. msgstr ""
  44270. #. type: deftypevr
  44271. #: guix-git/doc/guix.texi:29907
  44272. #, no-wrap
  44273. msgid "{@code{cgit-configuration} parameter} string agefile"
  44274. msgstr ""
  44275. #. type: deftypevr
  44276. #: guix-git/doc/guix.texi:29910
  44277. 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."
  44278. msgstr ""
  44279. #. type: deftypevr
  44280. #: guix-git/doc/guix.texi:29915
  44281. #, no-wrap
  44282. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  44283. msgstr ""
  44284. #. type: deftypevr
  44285. #: guix-git/doc/guix.texi:29918
  44286. msgid "Specifies a command that will be invoked for authenticating repository access."
  44287. msgstr ""
  44288. #. type: deftypevr
  44289. #: guix-git/doc/guix.texi:29923
  44290. #, no-wrap
  44291. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  44292. msgstr ""
  44293. #. type: deftypevr
  44294. #: guix-git/doc/guix.texi:29926
  44295. 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."
  44296. msgstr ""
  44297. #. type: deftypevr
  44298. #: guix-git/doc/guix.texi:29928
  44299. msgid "Defaults to @samp{\"name\"}."
  44300. msgstr ""
  44301. #. type: deftypevr
  44302. #: guix-git/doc/guix.texi:29931
  44303. #, no-wrap
  44304. msgid "{@code{cgit-configuration} parameter} string cache-root"
  44305. msgstr ""
  44306. #. type: deftypevr
  44307. #: guix-git/doc/guix.texi:29933
  44308. msgid "Path used to store the cgit cache entries."
  44309. msgstr ""
  44310. #. type: deftypevr
  44311. #: guix-git/doc/guix.texi:29935
  44312. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  44313. msgstr ""
  44314. #. type: deftypevr
  44315. #: guix-git/doc/guix.texi:29938
  44316. #, no-wrap
  44317. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  44318. msgstr ""
  44319. #. type: deftypevr
  44320. #: guix-git/doc/guix.texi:29941
  44321. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  44322. msgstr ""
  44323. #. type: deftypevr
  44324. #: guix-git/doc/guix.texi:29943 guix-git/doc/guix.texi:30386
  44325. msgid "Defaults to @samp{-1}."
  44326. msgstr ""
  44327. #. type: deftypevr
  44328. #: guix-git/doc/guix.texi:29946
  44329. #, no-wrap
  44330. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  44331. msgstr ""
  44332. #. type: deftypevr
  44333. #: guix-git/doc/guix.texi:29949
  44334. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  44335. msgstr ""
  44336. #. type: deftypevr
  44337. #: guix-git/doc/guix.texi:29954
  44338. #, no-wrap
  44339. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  44340. msgstr ""
  44341. #. type: deftypevr
  44342. #: guix-git/doc/guix.texi:29957
  44343. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  44344. msgstr ""
  44345. #. type: deftypevr
  44346. #: guix-git/doc/guix.texi:29962
  44347. #, no-wrap
  44348. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  44349. msgstr ""
  44350. #. type: deftypevr
  44351. #: guix-git/doc/guix.texi:29965
  44352. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  44353. msgstr ""
  44354. #. type: deftypevr
  44355. #: guix-git/doc/guix.texi:29970
  44356. #, no-wrap
  44357. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  44358. msgstr ""
  44359. #. type: deftypevr
  44360. #: guix-git/doc/guix.texi:29973
  44361. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  44362. msgstr ""
  44363. #. type: deftypevr
  44364. #: guix-git/doc/guix.texi:29978
  44365. #, no-wrap
  44366. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  44367. msgstr ""
  44368. #. type: deftypevr
  44369. #: guix-git/doc/guix.texi:29981
  44370. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  44371. msgstr ""
  44372. #. type: deftypevr
  44373. #: guix-git/doc/guix.texi:29986
  44374. #, no-wrap
  44375. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  44376. msgstr ""
  44377. #. type: deftypevr
  44378. #: guix-git/doc/guix.texi:29989
  44379. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  44380. msgstr ""
  44381. #. type: deftypevr
  44382. #: guix-git/doc/guix.texi:29994
  44383. #, no-wrap
  44384. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  44385. msgstr ""
  44386. #. type: deftypevr
  44387. #: guix-git/doc/guix.texi:29997
  44388. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  44389. msgstr ""
  44390. #. type: deftypevr
  44391. #: guix-git/doc/guix.texi:30002
  44392. #, no-wrap
  44393. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  44394. msgstr ""
  44395. #. type: deftypevr
  44396. #: guix-git/doc/guix.texi:30004
  44397. msgid "Sort items in the repo list case sensitively."
  44398. msgstr ""
  44399. #. type: deftypevr
  44400. #: guix-git/doc/guix.texi:30009
  44401. #, no-wrap
  44402. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  44403. msgstr ""
  44404. #. type: deftypevr
  44405. #: guix-git/doc/guix.texi:30012
  44406. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  44407. msgstr ""
  44408. #. type: deftypevr
  44409. #: guix-git/doc/guix.texi:30017
  44410. #, no-wrap
  44411. msgid "{@code{cgit-configuration} parameter} list clone-url"
  44412. msgstr ""
  44413. #. type: deftypevr
  44414. #: guix-git/doc/guix.texi:30019
  44415. msgid "List of @code{clone-url} templates."
  44416. msgstr ""
  44417. #. type: deftypevr
  44418. #: guix-git/doc/guix.texi:30024
  44419. #, no-wrap
  44420. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  44421. msgstr ""
  44422. #. type: deftypevr
  44423. #: guix-git/doc/guix.texi:30026
  44424. msgid "Command which will be invoked to format commit messages."
  44425. msgstr ""
  44426. #. type: deftypevr
  44427. #: guix-git/doc/guix.texi:30031
  44428. #, no-wrap
  44429. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  44430. msgstr ""
  44431. #. type: deftypevr
  44432. #: guix-git/doc/guix.texi:30035 guix-git/doc/guix.texi:30593
  44433. 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."
  44434. msgstr ""
  44435. #. type: deftypevr
  44436. #: guix-git/doc/guix.texi:30037
  44437. msgid "Defaults to @samp{\"git log\"}."
  44438. msgstr ""
  44439. #. type: deftypevr
  44440. #: guix-git/doc/guix.texi:30040
  44441. #, no-wrap
  44442. msgid "{@code{cgit-configuration} parameter} file-object css"
  44443. msgstr ""
  44444. #. type: deftypevr
  44445. #: guix-git/doc/guix.texi:30042
  44446. msgid "URL which specifies the css document to include in all cgit pages."
  44447. msgstr ""
  44448. #. type: deftypevr
  44449. #: guix-git/doc/guix.texi:30044
  44450. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  44451. msgstr ""
  44452. #. type: deftypevr
  44453. #: guix-git/doc/guix.texi:30047
  44454. #, no-wrap
  44455. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  44456. msgstr ""
  44457. #. type: deftypevr
  44458. #: guix-git/doc/guix.texi:30051
  44459. 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."
  44460. msgstr ""
  44461. #. type: deftypevr
  44462. #: guix-git/doc/guix.texi:30056
  44463. #, no-wrap
  44464. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  44465. msgstr ""
  44466. #. type: deftypevr
  44467. #: guix-git/doc/guix.texi:30059
  44468. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  44469. msgstr ""
  44470. #. type: deftypevr
  44471. #: guix-git/doc/guix.texi:30064
  44472. #, no-wrap
  44473. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  44474. msgstr ""
  44475. #. type: deftypevr
  44476. #: guix-git/doc/guix.texi:30068
  44477. 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."
  44478. msgstr ""
  44479. #. type: deftypevr
  44480. #: guix-git/doc/guix.texi:30073
  44481. #, no-wrap
  44482. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  44483. msgstr ""
  44484. #. type: deftypevr
  44485. #: guix-git/doc/guix.texi:30076
  44486. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  44487. msgstr ""
  44488. #. type: deftypevr
  44489. #: guix-git/doc/guix.texi:30081
  44490. #, no-wrap
  44491. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  44492. msgstr ""
  44493. #. type: deftypevr
  44494. #: guix-git/doc/guix.texi:30084
  44495. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  44496. msgstr ""
  44497. #. type: deftypevr
  44498. #: guix-git/doc/guix.texi:30089
  44499. #, no-wrap
  44500. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  44501. msgstr ""
  44502. #. type: deftypevr
  44503. #: guix-git/doc/guix.texi:30092
  44504. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  44505. msgstr ""
  44506. #. type: deftypevr
  44507. #: guix-git/doc/guix.texi:30097
  44508. #, no-wrap
  44509. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  44510. msgstr ""
  44511. #. type: deftypevr
  44512. #: guix-git/doc/guix.texi:30100
  44513. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  44514. msgstr ""
  44515. #. type: deftypevr
  44516. #: guix-git/doc/guix.texi:30105
  44517. #, no-wrap
  44518. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  44519. msgstr ""
  44520. #. type: deftypevr
  44521. #: guix-git/doc/guix.texi:30108
  44522. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  44523. msgstr ""
  44524. #. type: deftypevr
  44525. #: guix-git/doc/guix.texi:30113
  44526. #, no-wrap
  44527. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  44528. msgstr ""
  44529. #. type: deftypevr
  44530. #: guix-git/doc/guix.texi:30116
  44531. 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."
  44532. msgstr ""
  44533. #. type: deftypevr
  44534. #: guix-git/doc/guix.texi:30121
  44535. #, no-wrap
  44536. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  44537. msgstr ""
  44538. #. type: deftypevr
  44539. #: guix-git/doc/guix.texi:30124
  44540. 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."
  44541. msgstr ""
  44542. #. type: deftypevr
  44543. #: guix-git/doc/guix.texi:30129
  44544. #, no-wrap
  44545. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  44546. msgstr ""
  44547. #. type: deftypevr
  44548. #: guix-git/doc/guix.texi:30132 guix-git/doc/guix.texi:30656
  44549. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  44550. msgstr ""
  44551. #. type: deftypevr
  44552. #: guix-git/doc/guix.texi:30137
  44553. #, no-wrap
  44554. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  44555. msgstr ""
  44556. #. type: deftypevr
  44557. #: guix-git/doc/guix.texi:30141
  44558. 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."
  44559. msgstr ""
  44560. #. type: deftypevr
  44561. #: guix-git/doc/guix.texi:30146
  44562. #, no-wrap
  44563. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  44564. msgstr ""
  44565. #. type: deftypevr
  44566. #: guix-git/doc/guix.texi:30150
  44567. 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."
  44568. msgstr ""
  44569. #. type: deftypevr
  44570. #: guix-git/doc/guix.texi:30155
  44571. #, no-wrap
  44572. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  44573. msgstr ""
  44574. #. type: deftypevr
  44575. #: guix-git/doc/guix.texi:30158
  44576. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  44577. msgstr ""
  44578. #. type: deftypevr
  44579. #: guix-git/doc/guix.texi:30163
  44580. #, no-wrap
  44581. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  44582. msgstr ""
  44583. #. type: deftypevr
  44584. #: guix-git/doc/guix.texi:30166
  44585. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  44586. msgstr ""
  44587. #. type: deftypevr
  44588. #: guix-git/doc/guix.texi:30171
  44589. #, no-wrap
  44590. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  44591. msgstr ""
  44592. #. type: deftypevr
  44593. #: guix-git/doc/guix.texi:30173
  44594. msgid "URL used as link to a shortcut icon for cgit."
  44595. msgstr ""
  44596. #. type: deftypevr
  44597. #: guix-git/doc/guix.texi:30175
  44598. msgid "Defaults to @samp{\"/favicon.ico\"}."
  44599. msgstr ""
  44600. #. type: deftypevr
  44601. #: guix-git/doc/guix.texi:30178
  44602. #, no-wrap
  44603. msgid "{@code{cgit-configuration} parameter} string footer"
  44604. msgstr ""
  44605. #. type: deftypevr
  44606. #: guix-git/doc/guix.texi:30182
  44607. 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)."
  44608. msgstr ""
  44609. #. type: deftypevr
  44610. #: guix-git/doc/guix.texi:30187
  44611. #, no-wrap
  44612. msgid "{@code{cgit-configuration} parameter} string head-include"
  44613. msgstr ""
  44614. #. type: deftypevr
  44615. #: guix-git/doc/guix.texi:30190
  44616. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  44617. msgstr ""
  44618. #. type: deftypevr
  44619. #: guix-git/doc/guix.texi:30195
  44620. #, no-wrap
  44621. msgid "{@code{cgit-configuration} parameter} string header"
  44622. msgstr ""
  44623. #. type: deftypevr
  44624. #: guix-git/doc/guix.texi:30198
  44625. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  44626. msgstr ""
  44627. #. type: deftypevr
  44628. #: guix-git/doc/guix.texi:30203
  44629. #, no-wrap
  44630. msgid "{@code{cgit-configuration} parameter} file-object include"
  44631. msgstr ""
  44632. #. type: deftypevr
  44633. #: guix-git/doc/guix.texi:30206
  44634. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  44635. msgstr ""
  44636. #. type: deftypevr
  44637. #: guix-git/doc/guix.texi:30211
  44638. #, no-wrap
  44639. msgid "{@code{cgit-configuration} parameter} string index-header"
  44640. msgstr ""
  44641. #. type: deftypevr
  44642. #: guix-git/doc/guix.texi:30214
  44643. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  44644. msgstr ""
  44645. #. type: deftypevr
  44646. #: guix-git/doc/guix.texi:30219
  44647. #, no-wrap
  44648. msgid "{@code{cgit-configuration} parameter} string index-info"
  44649. msgstr ""
  44650. #. type: deftypevr
  44651. #: guix-git/doc/guix.texi:30222
  44652. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  44653. msgstr ""
  44654. #. type: deftypevr
  44655. #: guix-git/doc/guix.texi:30227
  44656. #, no-wrap
  44657. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  44658. msgstr ""
  44659. #. type: deftypevr
  44660. #: guix-git/doc/guix.texi:30230
  44661. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  44662. msgstr ""
  44663. #. type: deftypevr
  44664. #: guix-git/doc/guix.texi:30235
  44665. #, no-wrap
  44666. msgid "{@code{cgit-configuration} parameter} file-object logo"
  44667. msgstr ""
  44668. #. type: deftypevr
  44669. #: guix-git/doc/guix.texi:30238
  44670. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  44671. msgstr ""
  44672. #. type: deftypevr
  44673. #: guix-git/doc/guix.texi:30240
  44674. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  44675. msgstr ""
  44676. #. type: deftypevr
  44677. #: guix-git/doc/guix.texi:30243
  44678. #, no-wrap
  44679. msgid "{@code{cgit-configuration} parameter} string logo-link"
  44680. msgstr ""
  44681. #. type: deftypevr
  44682. #: guix-git/doc/guix.texi:30245 guix-git/doc/guix.texi:30702
  44683. msgid "URL loaded when clicking on the cgit logo image."
  44684. msgstr ""
  44685. #. type: deftypevr
  44686. #: guix-git/doc/guix.texi:30250
  44687. #, no-wrap
  44688. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  44689. msgstr ""
  44690. #. type: deftypevr
  44691. #: guix-git/doc/guix.texi:30253
  44692. msgid "Command which will be invoked to format the Owner column of the main page."
  44693. msgstr ""
  44694. #. type: deftypevr
  44695. #: guix-git/doc/guix.texi:30258
  44696. #, no-wrap
  44697. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  44698. msgstr ""
  44699. #. type: deftypevr
  44700. #: guix-git/doc/guix.texi:30260
  44701. msgid "Number of items to display in atom feeds view."
  44702. msgstr ""
  44703. #. type: deftypevr
  44704. #: guix-git/doc/guix.texi:30265
  44705. #, no-wrap
  44706. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  44707. msgstr ""
  44708. #. type: deftypevr
  44709. #: guix-git/doc/guix.texi:30267
  44710. msgid "Number of entries to list per page in \"log\" view."
  44711. msgstr ""
  44712. #. type: deftypevr
  44713. #: guix-git/doc/guix.texi:30272
  44714. #, no-wrap
  44715. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  44716. msgstr ""
  44717. #. type: deftypevr
  44718. #: guix-git/doc/guix.texi:30274
  44719. msgid "Number of commit message characters to display in \"log\" view."
  44720. msgstr ""
  44721. #. type: deftypevr
  44722. #: guix-git/doc/guix.texi:30276 guix-git/doc/guix.texi:30292
  44723. msgid "Defaults to @samp{80}."
  44724. msgstr ""
  44725. #. type: deftypevr
  44726. #: guix-git/doc/guix.texi:30279
  44727. #, no-wrap
  44728. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  44729. msgstr ""
  44730. #. type: deftypevr
  44731. #: guix-git/doc/guix.texi:30282
  44732. msgid "Specifies the number of entries to list per page on the repository index page."
  44733. msgstr ""
  44734. #. type: deftypevr
  44735. #: guix-git/doc/guix.texi:30287
  44736. #, no-wrap
  44737. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  44738. msgstr ""
  44739. #. type: deftypevr
  44740. #: guix-git/doc/guix.texi:30290
  44741. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  44742. msgstr ""
  44743. #. type: deftypevr
  44744. #: guix-git/doc/guix.texi:30295
  44745. #, no-wrap
  44746. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  44747. msgstr ""
  44748. #. type: deftypevr
  44749. #: guix-git/doc/guix.texi:30297
  44750. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  44751. msgstr ""
  44752. #. type: deftypevr
  44753. #: guix-git/doc/guix.texi:30302
  44754. #, no-wrap
  44755. msgid "{@code{cgit-configuration} parameter} string max-stats"
  44756. msgstr ""
  44757. #. type: deftypevr
  44758. #: guix-git/doc/guix.texi:30305
  44759. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  44760. msgstr ""
  44761. #. type: deftypevr
  44762. #: guix-git/doc/guix.texi:30310
  44763. #, no-wrap
  44764. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  44765. msgstr ""
  44766. #. type: deftypevr
  44767. #: guix-git/doc/guix.texi:30312
  44768. msgid "Mimetype for the specified filename extension."
  44769. msgstr ""
  44770. #. type: deftypevr
  44771. #: guix-git/doc/guix.texi:30316
  44772. 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\"))}."
  44773. msgstr ""
  44774. #. type: deftypevr
  44775. #: guix-git/doc/guix.texi:30319
  44776. #, no-wrap
  44777. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  44778. msgstr ""
  44779. #. type: deftypevr
  44780. #: guix-git/doc/guix.texi:30321
  44781. msgid "Specifies the file to use for automatic mimetype lookup."
  44782. msgstr ""
  44783. #. type: deftypevr
  44784. #: guix-git/doc/guix.texi:30326
  44785. #, no-wrap
  44786. msgid "{@code{cgit-configuration} parameter} string module-link"
  44787. msgstr ""
  44788. #. type: deftypevr
  44789. #: guix-git/doc/guix.texi:30329
  44790. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  44791. msgstr ""
  44792. #. type: deftypevr
  44793. #: guix-git/doc/guix.texi:30334
  44794. #, no-wrap
  44795. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  44796. msgstr ""
  44797. #. type: deftypevr
  44798. #: guix-git/doc/guix.texi:30336
  44799. msgid "If set to the value @samp{#t} caching will be disabled."
  44800. msgstr ""
  44801. #. type: deftypevr
  44802. #: guix-git/doc/guix.texi:30341
  44803. #, no-wrap
  44804. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  44805. msgstr ""
  44806. #. type: deftypevr
  44807. #: guix-git/doc/guix.texi:30344
  44808. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  44809. msgstr ""
  44810. #. type: deftypevr
  44811. #: guix-git/doc/guix.texi:30349
  44812. #, no-wrap
  44813. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  44814. msgstr ""
  44815. #. type: deftypevr
  44816. #: guix-git/doc/guix.texi:30352
  44817. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  44818. msgstr ""
  44819. #. type: deftypevr
  44820. #: guix-git/doc/guix.texi:30357
  44821. #, no-wrap
  44822. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  44823. msgstr ""
  44824. #. type: deftypevr
  44825. #: guix-git/doc/guix.texi:30361
  44826. 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."
  44827. msgstr ""
  44828. #. type: deftypevr
  44829. #: guix-git/doc/guix.texi:30366
  44830. #, no-wrap
  44831. msgid "{@code{cgit-configuration} parameter} file-object readme"
  44832. msgstr ""
  44833. #. type: deftypevr
  44834. #: guix-git/doc/guix.texi:30368
  44835. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  44836. msgstr ""
  44837. #. type: deftypevr
  44838. #: guix-git/doc/guix.texi:30373
  44839. #, no-wrap
  44840. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  44841. msgstr ""
  44842. #. type: deftypevr
  44843. #: guix-git/doc/guix.texi:30377
  44844. 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."
  44845. msgstr ""
  44846. #. type: deftypevr
  44847. #: guix-git/doc/guix.texi:30382
  44848. #, no-wrap
  44849. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  44850. msgstr ""
  44851. #. type: deftypevr
  44852. #: guix-git/doc/guix.texi:30384
  44853. msgid "Maximum number of files to consider when detecting renames."
  44854. msgstr ""
  44855. #. type: deftypevr
  44856. #: guix-git/doc/guix.texi:30389
  44857. #, no-wrap
  44858. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  44859. msgstr ""
  44860. #. type: deftypevr
  44861. #: guix-git/doc/guix.texi:30391
  44862. msgid "The way in which repositories in each section are sorted."
  44863. msgstr ""
  44864. #. type: deftypevr
  44865. #: guix-git/doc/guix.texi:30396
  44866. #, no-wrap
  44867. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  44868. msgstr ""
  44869. #. type: deftypevr
  44870. #: guix-git/doc/guix.texi:30398
  44871. msgid "Text used as content for the @code{robots} meta-tag."
  44872. msgstr ""
  44873. #. type: deftypevr
  44874. #: guix-git/doc/guix.texi:30400
  44875. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  44876. msgstr ""
  44877. #. type: deftypevr
  44878. #: guix-git/doc/guix.texi:30403
  44879. #, no-wrap
  44880. msgid "{@code{cgit-configuration} parameter} string root-desc"
  44881. msgstr ""
  44882. #. type: deftypevr
  44883. #: guix-git/doc/guix.texi:30405
  44884. msgid "Text printed below the heading on the repository index page."
  44885. msgstr ""
  44886. #. type: deftypevr
  44887. #: guix-git/doc/guix.texi:30407
  44888. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  44889. msgstr ""
  44890. #. type: deftypevr
  44891. #: guix-git/doc/guix.texi:30410
  44892. #, no-wrap
  44893. msgid "{@code{cgit-configuration} parameter} string root-readme"
  44894. msgstr ""
  44895. #. type: deftypevr
  44896. #: guix-git/doc/guix.texi:30413
  44897. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  44898. msgstr ""
  44899. #. type: deftypevr
  44900. #: guix-git/doc/guix.texi:30418
  44901. #, no-wrap
  44902. msgid "{@code{cgit-configuration} parameter} string root-title"
  44903. msgstr ""
  44904. #. type: deftypevr
  44905. #: guix-git/doc/guix.texi:30420
  44906. msgid "Text printed as heading on the repository index page."
  44907. msgstr ""
  44908. #. type: deftypevr
  44909. #: guix-git/doc/guix.texi:30425
  44910. #, no-wrap
  44911. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  44912. msgstr ""
  44913. #. type: deftypevr
  44914. #: guix-git/doc/guix.texi:30431
  44915. 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."
  44916. msgstr ""
  44917. #. type: deftypevr
  44918. #: guix-git/doc/guix.texi:30436
  44919. #, no-wrap
  44920. msgid "{@code{cgit-configuration} parameter} list snapshots"
  44921. msgstr ""
  44922. #. type: deftypevr
  44923. #: guix-git/doc/guix.texi:30439
  44924. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  44925. msgstr ""
  44926. #. type: deftypevr
  44927. #: guix-git/doc/guix.texi:30444
  44928. #, no-wrap
  44929. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  44930. msgstr ""
  44931. #. type: deftypevr
  44932. #: guix-git/doc/guix.texi:30447
  44933. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  44934. msgstr ""
  44935. #. type: deftypevr
  44936. #: guix-git/doc/guix.texi:30449
  44937. msgid "Defaults to @samp{\"/srv/git\"}."
  44938. msgstr ""
  44939. #. type: deftypevr
  44940. #: guix-git/doc/guix.texi:30452
  44941. #, no-wrap
  44942. msgid "{@code{cgit-configuration} parameter} string section"
  44943. msgstr ""
  44944. #. type: deftypevr
  44945. #: guix-git/doc/guix.texi:30455 guix-git/doc/guix.texi:30771
  44946. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  44947. msgstr ""
  44948. #. type: deftypevr
  44949. #: guix-git/doc/guix.texi:30460
  44950. #, no-wrap
  44951. msgid "{@code{cgit-configuration} parameter} string section-sort"
  44952. msgstr ""
  44953. #. type: deftypevr
  44954. #: guix-git/doc/guix.texi:30463
  44955. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  44956. msgstr ""
  44957. #. type: deftypevr
  44958. #: guix-git/doc/guix.texi:30468
  44959. #, no-wrap
  44960. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  44961. msgstr ""
  44962. #. type: deftypevr
  44963. #: guix-git/doc/guix.texi:30471
  44964. 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."
  44965. msgstr ""
  44966. #. type: deftypevr
  44967. #: guix-git/doc/guix.texi:30476
  44968. #, no-wrap
  44969. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  44970. msgstr ""
  44971. #. type: deftypevr
  44972. #: guix-git/doc/guix.texi:30479
  44973. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  44974. msgstr ""
  44975. #. type: deftypevr
  44976. #: guix-git/doc/guix.texi:30484
  44977. #, no-wrap
  44978. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  44979. msgstr ""
  44980. #. type: deftypevr
  44981. #: guix-git/doc/guix.texi:30487
  44982. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  44983. msgstr ""
  44984. #. type: deftypevr
  44985. #: guix-git/doc/guix.texi:30492
  44986. #, no-wrap
  44987. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  44988. msgstr ""
  44989. #. type: deftypevr
  44990. #: guix-git/doc/guix.texi:30495
  44991. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  44992. msgstr ""
  44993. #. type: deftypevr
  44994. #: guix-git/doc/guix.texi:30500
  44995. #, no-wrap
  44996. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  44997. msgstr ""
  44998. #. type: deftypevr
  44999. #: guix-git/doc/guix.texi:30503
  45000. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  45001. msgstr ""
  45002. #. type: deftypevr
  45003. #: guix-git/doc/guix.texi:30508
  45004. #, no-wrap
  45005. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  45006. msgstr ""
  45007. #. type: deftypevr
  45008. #: guix-git/doc/guix.texi:30511
  45009. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  45010. msgstr ""
  45011. #. type: deftypevr
  45012. #: guix-git/doc/guix.texi:30516
  45013. #, no-wrap
  45014. msgid "{@code{cgit-configuration} parameter} string strict-export"
  45015. msgstr ""
  45016. #. type: deftypevr
  45017. #: guix-git/doc/guix.texi:30519
  45018. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  45019. msgstr ""
  45020. #. type: deftypevr
  45021. #: guix-git/doc/guix.texi:30524
  45022. #, no-wrap
  45023. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  45024. msgstr ""
  45025. #. type: deftypevr
  45026. #: guix-git/doc/guix.texi:30526
  45027. msgid "URL which, if specified, will be used as root for all cgit links."
  45028. msgstr ""
  45029. #. type: deftypevr
  45030. #: guix-git/doc/guix.texi:30528
  45031. msgid "Defaults to @samp{\"/\"}."
  45032. msgstr ""
  45033. #. type: deftypevr
  45034. #: guix-git/doc/guix.texi:30531
  45035. #, no-wrap
  45036. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  45037. msgstr ""
  45038. #. type: deftypevr
  45039. #: guix-git/doc/guix.texi:30533
  45040. msgid "A list of @dfn{cgit-repo} records to use with config."
  45041. msgstr ""
  45042. #. type: deftypevr
  45043. #: guix-git/doc/guix.texi:30537
  45044. msgid "Available @code{repository-cgit-configuration} fields are:"
  45045. msgstr ""
  45046. #. type: deftypevr
  45047. #: guix-git/doc/guix.texi:30538
  45048. #, no-wrap
  45049. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  45050. msgstr ""
  45051. #. type: deftypevr
  45052. #: guix-git/doc/guix.texi:30541
  45053. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  45054. msgstr ""
  45055. #. type: deftypevr
  45056. #: guix-git/doc/guix.texi:30546
  45057. #, no-wrap
  45058. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  45059. msgstr ""
  45060. #. type: deftypevr
  45061. #: guix-git/doc/guix.texi:30548
  45062. msgid "Override the default @code{source-filter}."
  45063. msgstr ""
  45064. #. type: deftypevr
  45065. #: guix-git/doc/guix.texi:30553
  45066. #, no-wrap
  45067. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  45068. msgstr ""
  45069. #. type: deftypevr
  45070. #: guix-git/doc/guix.texi:30555
  45071. msgid "The relative URL used to access the repository."
  45072. msgstr ""
  45073. #. type: deftypevr
  45074. #: guix-git/doc/guix.texi:30560
  45075. #, no-wrap
  45076. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  45077. msgstr ""
  45078. #. type: deftypevr
  45079. #: guix-git/doc/guix.texi:30562
  45080. msgid "Override the default @code{about-filter}."
  45081. msgstr ""
  45082. #. type: deftypevr
  45083. #: guix-git/doc/guix.texi:30567
  45084. #, no-wrap
  45085. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  45086. msgstr ""
  45087. #. type: deftypevr
  45088. #: guix-git/doc/guix.texi:30570
  45089. 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."
  45090. msgstr ""
  45091. #. type: deftypevr
  45092. #: guix-git/doc/guix.texi:30575
  45093. #, no-wrap
  45094. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  45095. msgstr ""
  45096. #. type: deftypevr
  45097. #: guix-git/doc/guix.texi:30577
  45098. msgid "A list of URLs which can be used to clone repo."
  45099. msgstr ""
  45100. #. type: deftypevr
  45101. #: guix-git/doc/guix.texi:30582
  45102. #, no-wrap
  45103. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  45104. msgstr ""
  45105. #. type: deftypevr
  45106. #: guix-git/doc/guix.texi:30584
  45107. msgid "Override the default @code{commit-filter}."
  45108. msgstr ""
  45109. #. type: deftypevr
  45110. #: guix-git/doc/guix.texi:30589
  45111. #, no-wrap
  45112. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  45113. msgstr ""
  45114. #. type: deftypevr
  45115. #: guix-git/doc/guix.texi:30598
  45116. #, no-wrap
  45117. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  45118. msgstr ""
  45119. #. type: deftypevr
  45120. #: guix-git/doc/guix.texi:30603
  45121. 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."
  45122. msgstr ""
  45123. #. type: deftypevr
  45124. #: guix-git/doc/guix.texi:30608
  45125. #, no-wrap
  45126. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  45127. msgstr ""
  45128. #. type: deftypevr
  45129. #: guix-git/doc/guix.texi:30610
  45130. msgid "The value to show as repository description."
  45131. msgstr ""
  45132. #. type: deftypevr
  45133. #: guix-git/doc/guix.texi:30615
  45134. #, no-wrap
  45135. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  45136. msgstr ""
  45137. #. type: deftypevr
  45138. #: guix-git/doc/guix.texi:30617
  45139. msgid "The value to show as repository homepage."
  45140. msgstr ""
  45141. #. type: deftypevr
  45142. #: guix-git/doc/guix.texi:30622
  45143. #, no-wrap
  45144. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  45145. msgstr ""
  45146. #. type: deftypevr
  45147. #: guix-git/doc/guix.texi:30624
  45148. msgid "Override the default @code{email-filter}."
  45149. msgstr ""
  45150. #. type: deftypevr
  45151. #: guix-git/doc/guix.texi:30629
  45152. #, no-wrap
  45153. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  45154. msgstr ""
  45155. #. type: deftypevr
  45156. #: guix-git/doc/guix.texi:30632
  45157. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  45158. msgstr ""
  45159. #. type: deftypevr
  45160. #: guix-git/doc/guix.texi:30637
  45161. #, no-wrap
  45162. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  45163. msgstr ""
  45164. #. type: deftypevr
  45165. #: guix-git/doc/guix.texi:30640
  45166. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  45167. msgstr ""
  45168. #. type: deftypevr
  45169. #: guix-git/doc/guix.texi:30645
  45170. #, no-wrap
  45171. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  45172. msgstr ""
  45173. #. type: deftypevr
  45174. #: guix-git/doc/guix.texi:30648
  45175. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  45176. msgstr ""
  45177. #. type: deftypevr
  45178. #: guix-git/doc/guix.texi:30653
  45179. #, no-wrap
  45180. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  45181. msgstr ""
  45182. #. type: deftypevr
  45183. #: guix-git/doc/guix.texi:30661
  45184. #, no-wrap
  45185. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  45186. msgstr ""
  45187. #. type: deftypevr
  45188. #: guix-git/doc/guix.texi:30664
  45189. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  45190. msgstr ""
  45191. #. type: deftypevr
  45192. #: guix-git/doc/guix.texi:30669
  45193. #, no-wrap
  45194. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  45195. msgstr ""
  45196. #. type: deftypevr
  45197. #: guix-git/doc/guix.texi:30672
  45198. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  45199. msgstr ""
  45200. #. type: deftypevr
  45201. #: guix-git/doc/guix.texi:30677
  45202. #, no-wrap
  45203. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  45204. msgstr ""
  45205. #. type: deftypevr
  45206. #: guix-git/doc/guix.texi:30680
  45207. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  45208. msgstr ""
  45209. #. type: deftypevr
  45210. #: guix-git/doc/guix.texi:30685
  45211. #, no-wrap
  45212. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  45213. msgstr ""
  45214. #. type: deftypevr
  45215. #: guix-git/doc/guix.texi:30687
  45216. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  45217. msgstr ""
  45218. #. type: deftypevr
  45219. #: guix-git/doc/guix.texi:30692
  45220. #, no-wrap
  45221. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  45222. msgstr ""
  45223. #. type: deftypevr
  45224. #: guix-git/doc/guix.texi:30695
  45225. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  45226. msgstr ""
  45227. #. type: deftypevr
  45228. #: guix-git/doc/guix.texi:30700
  45229. #, no-wrap
  45230. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  45231. msgstr ""
  45232. #. type: deftypevr
  45233. #: guix-git/doc/guix.texi:30707
  45234. #, no-wrap
  45235. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  45236. msgstr ""
  45237. #. type: deftypevr
  45238. #: guix-git/doc/guix.texi:30709
  45239. msgid "Override the default @code{owner-filter}."
  45240. msgstr ""
  45241. #. type: deftypevr
  45242. #: guix-git/doc/guix.texi:30714
  45243. #, no-wrap
  45244. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  45245. msgstr ""
  45246. #. type: deftypevr
  45247. #: guix-git/doc/guix.texi:30718
  45248. 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."
  45249. msgstr ""
  45250. #. type: deftypevr
  45251. #: guix-git/doc/guix.texi:30723
  45252. #, no-wrap
  45253. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  45254. msgstr ""
  45255. #. type: deftypevr
  45256. #: guix-git/doc/guix.texi:30727
  45257. 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."
  45258. msgstr ""
  45259. #. type: deftypevr
  45260. #: guix-git/doc/guix.texi:30732
  45261. #, no-wrap
  45262. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  45263. msgstr ""
  45264. #. type: deftypevr
  45265. #: guix-git/doc/guix.texi:30734
  45266. msgid "Override the default maximum statistics period."
  45267. msgstr ""
  45268. #. type: deftypevr
  45269. #: guix-git/doc/guix.texi:30739
  45270. #, no-wrap
  45271. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  45272. msgstr ""
  45273. #. type: deftypevr
  45274. #: guix-git/doc/guix.texi:30741
  45275. msgid "The value to show as repository name."
  45276. msgstr ""
  45277. #. type: deftypevr
  45278. #: guix-git/doc/guix.texi:30746
  45279. #, no-wrap
  45280. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  45281. msgstr ""
  45282. #. type: deftypevr
  45283. #: guix-git/doc/guix.texi:30748
  45284. msgid "A value used to identify the owner of the repository."
  45285. msgstr ""
  45286. #. type: deftypevr
  45287. #: guix-git/doc/guix.texi:30753
  45288. #, no-wrap
  45289. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  45290. msgstr ""
  45291. #. type: deftypevr
  45292. #: guix-git/doc/guix.texi:30755
  45293. msgid "An absolute path to the repository directory."
  45294. msgstr ""
  45295. #. type: deftypevr
  45296. #: guix-git/doc/guix.texi:30760
  45297. #, no-wrap
  45298. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  45299. msgstr ""
  45300. #. type: deftypevr
  45301. #: guix-git/doc/guix.texi:30763
  45302. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  45303. msgstr ""
  45304. #. type: deftypevr
  45305. #: guix-git/doc/guix.texi:30768
  45306. #, no-wrap
  45307. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  45308. msgstr ""
  45309. #. type: deftypevr
  45310. #: guix-git/doc/guix.texi:30776
  45311. #, no-wrap
  45312. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  45313. msgstr ""
  45314. #. type: deftypevr
  45315. #: guix-git/doc/guix.texi:30778 guix-git/doc/guix.texi:30787
  45316. msgid "Extra options will be appended to cgitrc file."
  45317. msgstr ""
  45318. #. type: deftypevr
  45319. #: guix-git/doc/guix.texi:30785
  45320. #, no-wrap
  45321. msgid "{@code{cgit-configuration} parameter} list extra-options"
  45322. msgstr ""
  45323. #. type: Plain text
  45324. #: guix-git/doc/guix.texi:30799
  45325. 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."
  45326. msgstr ""
  45327. #. type: Plain text
  45328. #: guix-git/doc/guix.texi:30801
  45329. msgid "Available @code{opaque-cgit-configuration} fields are:"
  45330. msgstr ""
  45331. #. type: deftypevr
  45332. #: guix-git/doc/guix.texi:30802
  45333. #, no-wrap
  45334. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  45335. msgstr ""
  45336. #. type: deftypevr
  45337. #: guix-git/doc/guix.texi:30804
  45338. msgid "The cgit package."
  45339. msgstr ""
  45340. #. type: deftypevr
  45341. #: guix-git/doc/guix.texi:30806
  45342. #, no-wrap
  45343. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  45344. msgstr ""
  45345. #. type: deftypevr
  45346. #: guix-git/doc/guix.texi:30808
  45347. msgid "The contents of the @code{cgitrc}, as a string."
  45348. msgstr ""
  45349. #. type: Plain text
  45350. #: guix-git/doc/guix.texi:30812
  45351. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  45352. msgstr ""
  45353. #. type: lisp
  45354. #: guix-git/doc/guix.texi:30817
  45355. #, no-wrap
  45356. msgid ""
  45357. "(service cgit-service-type\n"
  45358. " (opaque-cgit-configuration\n"
  45359. " (cgitrc \"\")))\n"
  45360. msgstr ""
  45361. #. type: subsubheading
  45362. #: guix-git/doc/guix.texi:30819
  45363. #, no-wrap
  45364. msgid "Gitolite Service"
  45365. msgstr ""
  45366. #. type: cindex
  45367. #: guix-git/doc/guix.texi:30821
  45368. #, no-wrap
  45369. msgid "Gitolite service"
  45370. msgstr ""
  45371. #. type: cindex
  45372. #: guix-git/doc/guix.texi:30822
  45373. #, no-wrap
  45374. msgid "Git, hosting"
  45375. msgstr ""
  45376. #. type: Plain text
  45377. #: guix-git/doc/guix.texi:30825
  45378. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  45379. msgstr ""
  45380. #. type: Plain text
  45381. #: guix-git/doc/guix.texi:30828
  45382. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  45383. msgstr ""
  45384. #. type: Plain text
  45385. #: guix-git/doc/guix.texi:30831
  45386. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  45387. msgstr ""
  45388. #. type: lisp
  45389. #: guix-git/doc/guix.texi:30838
  45390. #, no-wrap
  45391. msgid ""
  45392. "(service gitolite-service-type\n"
  45393. " (gitolite-configuration\n"
  45394. " (admin-pubkey (plain-file\n"
  45395. " \"yourname.pub\"\n"
  45396. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  45397. msgstr ""
  45398. #. type: Plain text
  45399. #: guix-git/doc/guix.texi:30843
  45400. 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."
  45401. msgstr ""
  45402. #. type: example
  45403. #: guix-git/doc/guix.texi:30846
  45404. #, no-wrap
  45405. msgid "git clone git@@example.com:gitolite-admin\n"
  45406. msgstr ""
  45407. #. type: Plain text
  45408. #: guix-git/doc/guix.texi:30852
  45409. 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''."
  45410. msgstr ""
  45411. #. type: deftp
  45412. #: guix-git/doc/guix.texi:30853
  45413. #, no-wrap
  45414. msgid "{Data Type} gitolite-configuration"
  45415. msgstr ""
  45416. #. type: deftp
  45417. #: guix-git/doc/guix.texi:30855
  45418. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  45419. msgstr ""
  45420. #. type: item
  45421. #: guix-git/doc/guix.texi:30857
  45422. #, no-wrap
  45423. msgid "@code{package} (default: @var{gitolite})"
  45424. msgstr ""
  45425. #. type: table
  45426. #: guix-git/doc/guix.texi:30859
  45427. msgid "Gitolite package to use."
  45428. msgstr ""
  45429. #. type: item
  45430. #: guix-git/doc/guix.texi:30860
  45431. #, no-wrap
  45432. msgid "@code{user} (default: @var{git})"
  45433. msgstr ""
  45434. #. type: table
  45435. #: guix-git/doc/guix.texi:30863
  45436. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  45437. msgstr ""
  45438. #. type: item
  45439. #: guix-git/doc/guix.texi:30864
  45440. #, no-wrap
  45441. msgid "@code{group} (default: @var{git})"
  45442. msgstr ""
  45443. #. type: table
  45444. #: guix-git/doc/guix.texi:30866
  45445. msgid "Group to use for Gitolite."
  45446. msgstr ""
  45447. #. type: item
  45448. #: guix-git/doc/guix.texi:30867
  45449. #, no-wrap
  45450. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  45451. msgstr ""
  45452. #. type: table
  45453. #: guix-git/doc/guix.texi:30869
  45454. msgid "Directory in which to store the Gitolite configuration and repositories."
  45455. msgstr ""
  45456. #. type: item
  45457. #: guix-git/doc/guix.texi:30870
  45458. #, no-wrap
  45459. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  45460. msgstr ""
  45461. #. type: table
  45462. #: guix-git/doc/guix.texi:30873
  45463. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  45464. msgstr ""
  45465. #. type: item
  45466. #: guix-git/doc/guix.texi:30874
  45467. #, no-wrap
  45468. msgid "@code{admin-pubkey} (default: @var{#f})"
  45469. msgstr ""
  45470. #. type: table
  45471. #: guix-git/doc/guix.texi:30878
  45472. 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."
  45473. msgstr ""
  45474. #. type: table
  45475. #: guix-git/doc/guix.texi:30880
  45476. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  45477. msgstr ""
  45478. #. type: lisp
  45479. #: guix-git/doc/guix.texi:30883
  45480. #, no-wrap
  45481. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  45482. msgstr ""
  45483. #. type: deftp
  45484. #: guix-git/doc/guix.texi:30888
  45485. #, no-wrap
  45486. msgid "{Data Type} gitolite-rc-file"
  45487. msgstr ""
  45488. #. type: deftp
  45489. #: guix-git/doc/guix.texi:30890
  45490. msgid "Data type representing the Gitolite RC file."
  45491. msgstr ""
  45492. #. type: item
  45493. #: guix-git/doc/guix.texi:30892
  45494. #, no-wrap
  45495. msgid "@code{umask} (default: @code{#o0077})"
  45496. msgstr ""
  45497. #. type: table
  45498. #: guix-git/doc/guix.texi:30895
  45499. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  45500. msgstr ""
  45501. #. type: table
  45502. #: guix-git/doc/guix.texi:30899
  45503. 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."
  45504. msgstr ""
  45505. #. type: item
  45506. #: guix-git/doc/guix.texi:30900
  45507. #, no-wrap
  45508. msgid "@code{git-config-keys} (default: @code{\"\"})"
  45509. msgstr ""
  45510. #. type: table
  45511. #: guix-git/doc/guix.texi:30903
  45512. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  45513. msgstr ""
  45514. #. type: item
  45515. #: guix-git/doc/guix.texi:30904
  45516. #, no-wrap
  45517. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  45518. msgstr ""
  45519. #. type: table
  45520. #: guix-git/doc/guix.texi:30906
  45521. msgid "Set the role names allowed to be used by users running the perms command."
  45522. msgstr ""
  45523. #. type: item
  45524. #: guix-git/doc/guix.texi:30907
  45525. #, no-wrap
  45526. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  45527. msgstr ""
  45528. #. type: table
  45529. #: guix-git/doc/guix.texi:30909
  45530. msgid "This setting controls the commands and features to enable within Gitolite."
  45531. msgstr ""
  45532. #. type: subsubheading
  45533. #: guix-git/doc/guix.texi:30917
  45534. #, no-wrap
  45535. msgid "The Battle for Wesnoth Service"
  45536. msgstr ""
  45537. #. type: cindex
  45538. #: guix-git/doc/guix.texi:30918
  45539. #, no-wrap
  45540. msgid "wesnothd"
  45541. msgstr ""
  45542. #. type: Plain text
  45543. #: guix-git/doc/guix.texi:30922
  45544. 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)."
  45545. msgstr ""
  45546. #. type: defvar
  45547. #: guix-git/doc/guix.texi:30923
  45548. #, no-wrap
  45549. msgid "{Scheme Variable} wesnothd-service-type"
  45550. msgstr ""
  45551. #. type: defvar
  45552. #: guix-git/doc/guix.texi:30927
  45553. 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:"
  45554. msgstr ""
  45555. #. type: lisp
  45556. #: guix-git/doc/guix.texi:30930
  45557. #, no-wrap
  45558. msgid "(service wesnothd-service-type)\n"
  45559. msgstr ""
  45560. #. type: deftp
  45561. #: guix-git/doc/guix.texi:30933
  45562. #, no-wrap
  45563. msgid "{Data Type} wesnothd-configuration"
  45564. msgstr ""
  45565. #. type: deftp
  45566. #: guix-git/doc/guix.texi:30935
  45567. msgid "Data type representing the configuration of @command{wesnothd}."
  45568. msgstr ""
  45569. #. type: item
  45570. #: guix-git/doc/guix.texi:30937
  45571. #, no-wrap
  45572. msgid "@code{package} (default: @code{wesnoth-server})"
  45573. msgstr ""
  45574. #. type: table
  45575. #: guix-git/doc/guix.texi:30939
  45576. msgid "The wesnoth server package to use."
  45577. msgstr ""
  45578. #. type: item
  45579. #: guix-git/doc/guix.texi:30940
  45580. #, no-wrap
  45581. msgid "@code{port} (default: @code{15000})"
  45582. msgstr ""
  45583. #. type: table
  45584. #: guix-git/doc/guix.texi:30942
  45585. msgid "The port to bind the server to."
  45586. msgstr ""
  45587. #. type: cindex
  45588. #: guix-git/doc/guix.texi:30948
  45589. #, no-wrap
  45590. msgid "pam-mount"
  45591. msgstr ""
  45592. #. type: Plain text
  45593. #: guix-git/doc/guix.texi:30953
  45594. 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."
  45595. msgstr ""
  45596. #. type: defvar
  45597. #: guix-git/doc/guix.texi:30954
  45598. #, no-wrap
  45599. msgid "{Scheme Variable} pam-mount-service-type"
  45600. msgstr ""
  45601. #. type: defvar
  45602. #: guix-git/doc/guix.texi:30956
  45603. msgid "Service type for PAM Mount support."
  45604. msgstr ""
  45605. #. type: deftp
  45606. #: guix-git/doc/guix.texi:30958
  45607. #, no-wrap
  45608. msgid "{Data Type} pam-mount-configuration"
  45609. msgstr ""
  45610. #. type: deftp
  45611. #: guix-git/doc/guix.texi:30960
  45612. msgid "Data type representing the configuration of PAM Mount."
  45613. msgstr ""
  45614. #. type: code{#1}
  45615. #: guix-git/doc/guix.texi:30964
  45616. #, no-wrap
  45617. msgid "rules"
  45618. msgstr "규칙"
  45619. #. type: table
  45620. #: guix-git/doc/guix.texi:30967
  45621. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  45622. msgstr ""
  45623. #. type: table
  45624. #: guix-git/doc/guix.texi:30971
  45625. 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:"
  45626. msgstr ""
  45627. #. type: lisp
  45628. #: guix-git/doc/guix.texi:30986
  45629. #, no-wrap
  45630. msgid ""
  45631. "`((debug (@@ (enable \"0\")))\n"
  45632. " (mntoptions (@@ (allow ,(string-join\n"
  45633. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  45634. " \"encryption\" \"fsck\" \"nonempty\"\n"
  45635. " \"allow_root\" \"allow_other\")\n"
  45636. " \",\"))))\n"
  45637. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  45638. " (logout (@@ (wait \"0\")\n"
  45639. " (hup \"0\")\n"
  45640. " (term \"no\")\n"
  45641. " (kill \"no\")))\n"
  45642. " (mkmountpoint (@@ (enable \"1\")\n"
  45643. " (remove \"true\"))))\n"
  45644. msgstr ""
  45645. #. type: table
  45646. #: guix-git/doc/guix.texi:30992
  45647. 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:"
  45648. msgstr ""
  45649. #. type: lisp
  45650. #: guix-git/doc/guix.texi:31017
  45651. #, no-wrap
  45652. msgid ""
  45653. "(define pam-mount-rules\n"
  45654. "`((debug (@@ (enable \"0\")))\n"
  45655. " (volume (@@ (user \"alice\")\n"
  45656. " (fstype \"crypt\")\n"
  45657. " (path \"/dev/sda2\")\n"
  45658. " (mountpoint \"/home/alice\")))\n"
  45659. " (volume (@@ (user \"bob\")\n"
  45660. " (fstype \"auto\")\n"
  45661. " (path \"/dev/sdb3\")\n"
  45662. " (mountpoint \"/home/bob/data\")\n"
  45663. " (options \"defaults,autodefrag,compress\")))\n"
  45664. " (mntoptions (@@ (allow ,(string-join\n"
  45665. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  45666. " \"encryption\" \"fsck\" \"nonempty\"\n"
  45667. " \"allow_root\" \"allow_other\")\n"
  45668. " \",\"))))\n"
  45669. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  45670. " (logout (@@ (wait \"0\")\n"
  45671. " (hup \"0\")\n"
  45672. " (term \"no\")\n"
  45673. " (kill \"no\")))\n"
  45674. " (mkmountpoint (@@ (enable \"1\")\n"
  45675. " (remove \"true\")))))\n"
  45676. "\n"
  45677. msgstr ""
  45678. #. type: lisp
  45679. #: guix-git/doc/guix.texi:31021
  45680. #, no-wrap
  45681. msgid ""
  45682. "(service pam-mount-service-type\n"
  45683. " (pam-mount-configuration\n"
  45684. " (rules pam-mount-rules)))\n"
  45685. msgstr ""
  45686. #. type: table
  45687. #: guix-git/doc/guix.texi:31025
  45688. 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}."
  45689. msgstr ""
  45690. #. type: subsubheading
  45691. #: guix-git/doc/guix.texi:31032
  45692. #, no-wrap
  45693. msgid "Guix Build Coordinator"
  45694. msgstr ""
  45695. #. type: Plain text
  45696. #: guix-git/doc/guix.texi:31038
  45697. 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."
  45698. msgstr ""
  45699. #. type: quotation
  45700. #: guix-git/doc/guix.texi:31043
  45701. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  45702. msgstr ""
  45703. #. type: Plain text
  45704. #: guix-git/doc/guix.texi:31050
  45705. 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."
  45706. msgstr ""
  45707. #. type: Plain text
  45708. #: guix-git/doc/guix.texi:31054
  45709. 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."
  45710. msgstr ""
  45711. #. type: defvar
  45712. #: guix-git/doc/guix.texi:31055
  45713. #, no-wrap
  45714. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  45715. msgstr ""
  45716. #. type: defvar
  45717. #: guix-git/doc/guix.texi:31058
  45718. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  45719. msgstr ""
  45720. #. type: deftp
  45721. #: guix-git/doc/guix.texi:31060
  45722. #, no-wrap
  45723. msgid "{Data Type} guix-build-coordinator-configuration"
  45724. msgstr ""
  45725. #. type: deftp
  45726. #: guix-git/doc/guix.texi:31062
  45727. msgid "Data type representing the configuration of the Guix Build Coordinator."
  45728. msgstr ""
  45729. #. type: item
  45730. #: guix-git/doc/guix.texi:31064 guix-git/doc/guix.texi:31108
  45731. #: guix-git/doc/guix.texi:31225
  45732. #, no-wrap
  45733. msgid "@code{package} (default: @code{guix-build-coordinator})"
  45734. msgstr ""
  45735. #. type: table
  45736. #: guix-git/doc/guix.texi:31066 guix-git/doc/guix.texi:31110
  45737. #: guix-git/doc/guix.texi:31227
  45738. msgid "The Guix Build Coordinator package to use."
  45739. msgstr ""
  45740. #. type: item
  45741. #: guix-git/doc/guix.texi:31067
  45742. #, no-wrap
  45743. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  45744. msgstr ""
  45745. #. type: table
  45746. #: guix-git/doc/guix.texi:31069 guix-git/doc/guix.texi:31113
  45747. #: guix-git/doc/guix.texi:31230 guix-git/doc/guix.texi:31276
  45748. msgid "The system user to run the service as."
  45749. msgstr ""
  45750. #. type: item
  45751. #: guix-git/doc/guix.texi:31070
  45752. #, no-wrap
  45753. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  45754. msgstr ""
  45755. #. type: table
  45756. #: guix-git/doc/guix.texi:31072 guix-git/doc/guix.texi:31279
  45757. msgid "The system group to run the service as."
  45758. msgstr ""
  45759. #. type: item
  45760. #: guix-git/doc/guix.texi:31073
  45761. #, no-wrap
  45762. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  45763. msgstr ""
  45764. #. type: table
  45765. #: guix-git/doc/guix.texi:31075
  45766. msgid "The URI to use for the database."
  45767. msgstr ""
  45768. #. type: item
  45769. #: guix-git/doc/guix.texi:31076
  45770. #, no-wrap
  45771. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  45772. msgstr ""
  45773. #. type: table
  45774. #: guix-git/doc/guix.texi:31078
  45775. msgid "The URI describing how to listen to requests from agent processes."
  45776. msgstr ""
  45777. #. type: item
  45778. #: guix-git/doc/guix.texi:31079
  45779. #, no-wrap
  45780. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  45781. msgstr ""
  45782. #. type: table
  45783. #: guix-git/doc/guix.texi:31083
  45784. 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."
  45785. msgstr ""
  45786. #. type: item
  45787. #: guix-git/doc/guix.texi:31084
  45788. #, no-wrap
  45789. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  45790. msgstr ""
  45791. #. type: table
  45792. #: guix-git/doc/guix.texi:31088
  45793. 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."
  45794. msgstr ""
  45795. #. type: item
  45796. #: guix-git/doc/guix.texi:31089
  45797. #, no-wrap
  45798. msgid "@code{hooks} (default: @var{'()})"
  45799. msgstr ""
  45800. #. type: table
  45801. #: guix-git/doc/guix.texi:31092
  45802. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  45803. msgstr ""
  45804. #. type: item
  45805. #: guix-git/doc/guix.texi:31093
  45806. #, no-wrap
  45807. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  45808. msgstr ""
  45809. #. type: table
  45810. #: guix-git/doc/guix.texi:31095
  45811. msgid "The Guile package with which to run the Guix Build Coordinator."
  45812. msgstr ""
  45813. #. type: defvar
  45814. #: guix-git/doc/guix.texi:31099
  45815. #, no-wrap
  45816. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  45817. msgstr ""
  45818. #. type: defvar
  45819. #: guix-git/doc/guix.texi:31102
  45820. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  45821. msgstr ""
  45822. #. type: deftp
  45823. #: guix-git/doc/guix.texi:31104
  45824. #, no-wrap
  45825. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  45826. msgstr ""
  45827. #. type: deftp
  45828. #: guix-git/doc/guix.texi:31106
  45829. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  45830. msgstr ""
  45831. #. type: item
  45832. #: guix-git/doc/guix.texi:31111
  45833. #, no-wrap
  45834. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  45835. msgstr ""
  45836. #. type: item
  45837. #: guix-git/doc/guix.texi:31114 guix-git/doc/guix.texi:31231
  45838. #, no-wrap
  45839. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  45840. msgstr ""
  45841. #. type: table
  45842. #: guix-git/doc/guix.texi:31116 guix-git/doc/guix.texi:31233
  45843. msgid "The URI to use when connecting to the coordinator."
  45844. msgstr ""
  45845. #. type: code{#1}
  45846. #: guix-git/doc/guix.texi:31117
  45847. #, no-wrap
  45848. msgid "authentication"
  45849. msgstr "인증"
  45850. #. type: table
  45851. #: guix-git/doc/guix.texi:31120
  45852. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  45853. msgstr ""
  45854. #. type: item
  45855. #: guix-git/doc/guix.texi:31121 guix-git/doc/guix.texi:31234
  45856. #, no-wrap
  45857. msgid "@code{systems} (default: @code{#f})"
  45858. msgstr ""
  45859. #. type: table
  45860. #: guix-git/doc/guix.texi:31124
  45861. 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."
  45862. msgstr ""
  45863. #. type: item
  45864. #: guix-git/doc/guix.texi:31125
  45865. #, no-wrap
  45866. msgid "@code{max-parallel-builds} (default: @code{1})"
  45867. msgstr ""
  45868. #. type: table
  45869. #: guix-git/doc/guix.texi:31127
  45870. msgid "The number of builds to perform in parallel."
  45871. msgstr ""
  45872. #. type: item
  45873. #: guix-git/doc/guix.texi:31128
  45874. #, no-wrap
  45875. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  45876. msgstr ""
  45877. #. type: table
  45878. #: guix-git/doc/guix.texi:31131
  45879. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  45880. msgstr ""
  45881. #. type: item
  45882. #: guix-git/doc/guix.texi:31132
  45883. #, no-wrap
  45884. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  45885. msgstr ""
  45886. #. type: table
  45887. #: guix-git/doc/guix.texi:31135
  45888. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  45889. msgstr ""
  45890. #. type: deftp
  45891. #: guix-git/doc/guix.texi:31139
  45892. #, no-wrap
  45893. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  45894. msgstr ""
  45895. #. type: deftp
  45896. #: guix-git/doc/guix.texi:31142
  45897. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  45898. msgstr ""
  45899. #. type: table
  45900. #: guix-git/doc/guix.texi:31148 guix-git/doc/guix.texi:31164
  45901. 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."
  45902. msgstr ""
  45903. #. type: table
  45904. #: guix-git/doc/guix.texi:31151
  45905. msgid "The password to use when connecting to the coordinator."
  45906. msgstr ""
  45907. #. type: deftp
  45908. #: guix-git/doc/guix.texi:31155
  45909. #, no-wrap
  45910. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  45911. msgstr ""
  45912. #. type: deftp
  45913. #: guix-git/doc/guix.texi:31158
  45914. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  45915. msgstr ""
  45916. #. type: code{#1}
  45917. #: guix-git/doc/guix.texi:31165
  45918. #, no-wrap
  45919. msgid "password-file"
  45920. msgstr ""
  45921. #. type: table
  45922. #: guix-git/doc/guix.texi:31168
  45923. msgid "A file containing the password to use when connecting to the coordinator."
  45924. msgstr ""
  45925. #. type: deftp
  45926. #: guix-git/doc/guix.texi:31172
  45927. #, no-wrap
  45928. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  45929. msgstr ""
  45930. #. type: deftp
  45931. #: guix-git/doc/guix.texi:31175
  45932. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  45933. msgstr ""
  45934. #. type: code{#1}
  45935. #: guix-git/doc/guix.texi:31177 guix-git/doc/guix.texi:31194
  45936. #, no-wrap
  45937. msgid "agent-name"
  45938. msgstr ""
  45939. #. type: table
  45940. #: guix-git/doc/guix.texi:31181 guix-git/doc/guix.texi:31198
  45941. 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."
  45942. msgstr ""
  45943. #. type: code{#1}
  45944. #: guix-git/doc/guix.texi:31182
  45945. #, no-wrap
  45946. msgid "token"
  45947. msgstr "토큰"
  45948. #. type: table
  45949. #: guix-git/doc/guix.texi:31185
  45950. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  45951. msgstr ""
  45952. #. type: deftp
  45953. #: guix-git/doc/guix.texi:31189
  45954. #, no-wrap
  45955. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  45956. msgstr ""
  45957. #. type: deftp
  45958. #: guix-git/doc/guix.texi:31192
  45959. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  45960. msgstr ""
  45961. #. type: code{#1}
  45962. #: guix-git/doc/guix.texi:31199
  45963. #, no-wrap
  45964. msgid "token-file"
  45965. msgstr ""
  45966. #. type: table
  45967. #: guix-git/doc/guix.texi:31202
  45968. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  45969. msgstr ""
  45970. #. type: Plain text
  45971. #: guix-git/doc/guix.texi:31212
  45972. 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."
  45973. msgstr ""
  45974. #. type: defvar
  45975. #: guix-git/doc/guix.texi:31213
  45976. #, no-wrap
  45977. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  45978. msgstr ""
  45979. #. type: defvar
  45980. #: guix-git/doc/guix.texi:31218
  45981. 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."
  45982. msgstr ""
  45983. #. type: deftp
  45984. #: guix-git/doc/guix.texi:31220
  45985. #, no-wrap
  45986. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  45987. msgstr ""
  45988. #. type: deftp
  45989. #: guix-git/doc/guix.texi:31223
  45990. msgid "Data type representing the options to the queue builds from guix data service script."
  45991. msgstr ""
  45992. #. type: item
  45993. #: guix-git/doc/guix.texi:31228
  45994. #, no-wrap
  45995. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  45996. msgstr ""
  45997. #. type: table
  45998. #: guix-git/doc/guix.texi:31236
  45999. msgid "The systems for which to fetch derivations to build."
  46000. msgstr ""
  46001. #. type: item
  46002. #: guix-git/doc/guix.texi:31237
  46003. #, no-wrap
  46004. msgid "@code{systems-and-targets} (default: @code{#f})"
  46005. msgstr ""
  46006. #. type: table
  46007. #: guix-git/doc/guix.texi:31240
  46008. msgid "An association list of system and target pairs for which to fetch derivations to build."
  46009. msgstr ""
  46010. #. type: item
  46011. #: guix-git/doc/guix.texi:31241
  46012. #, no-wrap
  46013. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  46014. msgstr ""
  46015. #. type: table
  46016. #: guix-git/doc/guix.texi:31244
  46017. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  46018. msgstr ""
  46019. #. type: item
  46020. #: guix-git/doc/guix.texi:31245
  46021. #, no-wrap
  46022. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  46023. msgstr ""
  46024. #. type: table
  46025. #: guix-git/doc/guix.texi:31248
  46026. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  46027. msgstr ""
  46028. #. type: subsubheading
  46029. #: guix-git/doc/guix.texi:31252
  46030. #, no-wrap
  46031. msgid "Guix Data Service"
  46032. msgstr ""
  46033. #. type: Plain text
  46034. #: guix-git/doc/guix.texi:31256
  46035. 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."
  46036. msgstr ""
  46037. #. type: Plain text
  46038. #: guix-git/doc/guix.texi:31259
  46039. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  46040. msgstr ""
  46041. #. type: defvar
  46042. #: guix-git/doc/guix.texi:31260
  46043. #, no-wrap
  46044. msgid "{Scheme Variable} guix-data-service-type"
  46045. msgstr ""
  46046. #. type: defvar
  46047. #: guix-git/doc/guix.texi:31265
  46048. 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."
  46049. msgstr ""
  46050. #. type: deftp
  46051. #: guix-git/doc/guix.texi:31267
  46052. #, no-wrap
  46053. msgid "{Data Type} guix-data-service-configuration"
  46054. msgstr ""
  46055. #. type: deftp
  46056. #: guix-git/doc/guix.texi:31269
  46057. msgid "Data type representing the configuration of the Guix Data Service."
  46058. msgstr ""
  46059. #. type: item
  46060. #: guix-git/doc/guix.texi:31271
  46061. #, no-wrap
  46062. msgid "@code{package} (default: @code{guix-data-service})"
  46063. msgstr ""
  46064. #. type: table
  46065. #: guix-git/doc/guix.texi:31273
  46066. msgid "The Guix Data Service package to use."
  46067. msgstr ""
  46068. #. type: item
  46069. #: guix-git/doc/guix.texi:31274
  46070. #, no-wrap
  46071. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  46072. msgstr ""
  46073. #. type: item
  46074. #: guix-git/doc/guix.texi:31277
  46075. #, no-wrap
  46076. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  46077. msgstr ""
  46078. #. type: item
  46079. #: guix-git/doc/guix.texi:31280
  46080. #, no-wrap
  46081. msgid "@code{port} (default: @code{8765})"
  46082. msgstr ""
  46083. #. type: table
  46084. #: guix-git/doc/guix.texi:31282
  46085. msgid "The port to bind the web service to."
  46086. msgstr ""
  46087. #. type: item
  46088. #: guix-git/doc/guix.texi:31283
  46089. #, no-wrap
  46090. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  46091. msgstr ""
  46092. #. type: table
  46093. #: guix-git/doc/guix.texi:31285
  46094. msgid "The host to bind the web service to."
  46095. msgstr ""
  46096. #. type: item
  46097. #: guix-git/doc/guix.texi:31286
  46098. #, no-wrap
  46099. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  46100. msgstr ""
  46101. #. type: table
  46102. #: guix-git/doc/guix.texi:31289
  46103. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  46104. msgstr ""
  46105. #. type: item
  46106. #: guix-git/doc/guix.texi:31290
  46107. #, no-wrap
  46108. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  46109. msgstr ""
  46110. #. type: table
  46111. #: guix-git/doc/guix.texi:31294
  46112. 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."
  46113. msgstr ""
  46114. #. type: item
  46115. #: guix-git/doc/guix.texi:31295
  46116. #, no-wrap
  46117. msgid "@code{extra-options} (default: @var{'()})"
  46118. msgstr ""
  46119. #. type: table
  46120. #: guix-git/doc/guix.texi:31297
  46121. msgid "Extra command line options for @code{guix-data-service}."
  46122. msgstr ""
  46123. #. type: item
  46124. #: guix-git/doc/guix.texi:31298
  46125. #, no-wrap
  46126. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  46127. msgstr ""
  46128. #. type: table
  46129. #: guix-git/doc/guix.texi:31300
  46130. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  46131. msgstr ""
  46132. #. type: cindex
  46133. #: guix-git/doc/guix.texi:31307
  46134. #, no-wrap
  46135. msgid "oom"
  46136. msgstr ""
  46137. #. type: cindex
  46138. #: guix-git/doc/guix.texi:31308
  46139. #, no-wrap
  46140. msgid "out of memory killer"
  46141. msgstr ""
  46142. #. type: cindex
  46143. #: guix-git/doc/guix.texi:31309
  46144. #, no-wrap
  46145. msgid "earlyoom"
  46146. msgstr ""
  46147. #. type: cindex
  46148. #: guix-git/doc/guix.texi:31310
  46149. #, no-wrap
  46150. msgid "early out of memory daemon"
  46151. msgstr ""
  46152. #. type: subsubheading
  46153. #: guix-git/doc/guix.texi:31311
  46154. #, no-wrap
  46155. msgid "Early OOM Service"
  46156. msgstr ""
  46157. #. type: Plain text
  46158. #: guix-git/doc/guix.texi:31318
  46159. 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."
  46160. msgstr ""
  46161. #. type: deffn
  46162. #: guix-git/doc/guix.texi:31319
  46163. #, no-wrap
  46164. msgid "{Scheme Variable} earlyoom-service-type"
  46165. msgstr ""
  46166. #. type: deffn
  46167. #: guix-git/doc/guix.texi:31324
  46168. 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:"
  46169. msgstr ""
  46170. #. type: lisp
  46171. #: guix-git/doc/guix.texi:31327
  46172. #, no-wrap
  46173. msgid "(service earlyoom-service-type)\n"
  46174. msgstr ""
  46175. #. type: deftp
  46176. #: guix-git/doc/guix.texi:31330
  46177. #, no-wrap
  46178. msgid "{Data Type} earlyoom-configuration"
  46179. msgstr ""
  46180. #. type: deftp
  46181. #: guix-git/doc/guix.texi:31332
  46182. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  46183. msgstr ""
  46184. #. type: item
  46185. #: guix-git/doc/guix.texi:31334
  46186. #, no-wrap
  46187. msgid "@code{earlyoom} (default: @var{earlyoom})"
  46188. msgstr ""
  46189. #. type: table
  46190. #: guix-git/doc/guix.texi:31336
  46191. msgid "The Earlyoom package to use."
  46192. msgstr ""
  46193. #. type: item
  46194. #: guix-git/doc/guix.texi:31337
  46195. #, no-wrap
  46196. msgid "@code{minimum-available-memory} (default: @code{10})"
  46197. msgstr ""
  46198. #. type: table
  46199. #: guix-git/doc/guix.texi:31339
  46200. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  46201. msgstr ""
  46202. #. type: item
  46203. #: guix-git/doc/guix.texi:31340
  46204. #, no-wrap
  46205. msgid "@code{minimum-free-swap} (default: @code{10})"
  46206. msgstr ""
  46207. #. type: table
  46208. #: guix-git/doc/guix.texi:31342
  46209. msgid "The threshold for the minimum free swap memory, in percentages."
  46210. msgstr ""
  46211. #. type: item
  46212. #: guix-git/doc/guix.texi:31343
  46213. #, no-wrap
  46214. msgid "@code{prefer-regexp} (default: @code{#f})"
  46215. msgstr ""
  46216. #. type: table
  46217. #: guix-git/doc/guix.texi:31346
  46218. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  46219. msgstr ""
  46220. #. type: item
  46221. #: guix-git/doc/guix.texi:31347
  46222. #, no-wrap
  46223. msgid "@code{avoid-regexp} (default: @code{#f})"
  46224. msgstr ""
  46225. #. type: table
  46226. #: guix-git/doc/guix.texi:31350
  46227. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  46228. msgstr ""
  46229. #. type: item
  46230. #: guix-git/doc/guix.texi:31351
  46231. #, no-wrap
  46232. msgid "@code{memory-report-interval} (default: @code{0})"
  46233. msgstr ""
  46234. #. type: table
  46235. #: guix-git/doc/guix.texi:31354
  46236. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  46237. msgstr ""
  46238. #. type: item
  46239. #: guix-git/doc/guix.texi:31355
  46240. #, no-wrap
  46241. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  46242. msgstr ""
  46243. #. type: table
  46244. #: guix-git/doc/guix.texi:31358
  46245. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  46246. msgstr ""
  46247. #. type: item
  46248. #: guix-git/doc/guix.texi:31359
  46249. #, no-wrap
  46250. msgid "@code{show-debug-messages?} (default: @code{#f})"
  46251. msgstr ""
  46252. #. type: table
  46253. #: guix-git/doc/guix.texi:31362
  46254. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  46255. msgstr ""
  46256. #. type: item
  46257. #: guix-git/doc/guix.texi:31363
  46258. #, no-wrap
  46259. msgid "@code{send-notification-command} (default: @code{#f})"
  46260. msgstr ""
  46261. #. type: table
  46262. #: guix-git/doc/guix.texi:31366
  46263. msgid "This can be used to provide a custom command used for sending notifications."
  46264. msgstr ""
  46265. #. type: cindex
  46266. #: guix-git/doc/guix.texi:31369
  46267. #, no-wrap
  46268. msgid "modprobe"
  46269. msgstr ""
  46270. #. type: cindex
  46271. #: guix-git/doc/guix.texi:31370
  46272. #, no-wrap
  46273. msgid "kernel module loader"
  46274. msgstr ""
  46275. #. type: subsubheading
  46276. #: guix-git/doc/guix.texi:31371
  46277. #, no-wrap
  46278. msgid "Kernel Module Loader Service"
  46279. msgstr ""
  46280. #. type: Plain text
  46281. #: guix-git/doc/guix.texi:31377
  46282. 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}."
  46283. msgstr ""
  46284. #. type: deffn
  46285. #: guix-git/doc/guix.texi:31378
  46286. #, no-wrap
  46287. msgid "{Scheme Variable} kernel-module-loader-service-type"
  46288. msgstr ""
  46289. #. type: deffn
  46290. #: guix-git/doc/guix.texi:31384
  46291. 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:"
  46292. msgstr ""
  46293. #. type: lisp
  46294. #: guix-git/doc/guix.texi:31389
  46295. #, no-wrap
  46296. msgid ""
  46297. "(use-modules (gnu) (gnu services))\n"
  46298. "(use-package-modules linux)\n"
  46299. "(use-service-modules linux)\n"
  46300. "\n"
  46301. msgstr ""
  46302. #. type: lisp
  46303. #: guix-git/doc/guix.texi:31393
  46304. #, no-wrap
  46305. msgid ""
  46306. "(define ddcci-config\n"
  46307. " (plain-file \"ddcci.conf\"\n"
  46308. " \"options ddcci dyndbg delay=120\"))\n"
  46309. "\n"
  46310. msgstr ""
  46311. #. type: lisp
  46312. #: guix-git/doc/guix.texi:31403
  46313. #, no-wrap
  46314. msgid ""
  46315. "(operating-system\n"
  46316. " ...\n"
  46317. " (services (cons* (service kernel-module-loader-service-type\n"
  46318. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  46319. " (simple-service 'ddcci-config etc-service-type\n"
  46320. " (list `(\"modprobe.d/ddcci.conf\"\n"
  46321. " ,ddcci-config)))\n"
  46322. " %base-services))\n"
  46323. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  46324. msgstr ""
  46325. #. type: cindex
  46326. #: guix-git/doc/guix.texi:31406
  46327. #, no-wrap
  46328. msgid "zram"
  46329. msgstr ""
  46330. #. type: cindex
  46331. #: guix-git/doc/guix.texi:31407
  46332. #, no-wrap
  46333. msgid "compressed swap"
  46334. msgstr ""
  46335. #. type: cindex
  46336. #: guix-git/doc/guix.texi:31408
  46337. #, no-wrap
  46338. msgid "Compressed RAM-based block devices"
  46339. msgstr ""
  46340. #. type: subsubheading
  46341. #: guix-git/doc/guix.texi:31409
  46342. #, no-wrap
  46343. msgid "Zram Device Service"
  46344. msgstr ""
  46345. #. type: Plain text
  46346. #: guix-git/doc/guix.texi:31415
  46347. 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."
  46348. msgstr ""
  46349. #. type: deffn
  46350. #: guix-git/doc/guix.texi:31416
  46351. #, no-wrap
  46352. msgid "{Scheme Variable} zram-device-service-type"
  46353. msgstr ""
  46354. #. type: deffn
  46355. #: guix-git/doc/guix.texi:31420
  46356. 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."
  46357. msgstr ""
  46358. #. type: deftp
  46359. #: guix-git/doc/guix.texi:31421
  46360. #, no-wrap
  46361. msgid "{Data Type} zram-device-configuration"
  46362. msgstr ""
  46363. #. type: deftp
  46364. #: guix-git/doc/guix.texi:31424
  46365. msgid "This is the data type representing the configuration for the zram-device service."
  46366. msgstr ""
  46367. #. type: item
  46368. #: guix-git/doc/guix.texi:31426
  46369. #, no-wrap
  46370. msgid "@code{size} (default @code{\"1G\"})"
  46371. msgstr ""
  46372. #. type: table
  46373. #: guix-git/doc/guix.texi:31430
  46374. 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}."
  46375. msgstr ""
  46376. #. type: item
  46377. #: guix-git/doc/guix.texi:31430
  46378. #, no-wrap
  46379. msgid "@code{compression-algorithm} (default @code{'lzo})"
  46380. msgstr ""
  46381. #. type: table
  46382. #: guix-git/doc/guix.texi:31434
  46383. 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}."
  46384. msgstr ""
  46385. #. type: item
  46386. #: guix-git/doc/guix.texi:31434
  46387. #, no-wrap
  46388. msgid "@code{memory-limit} (default @code{0})"
  46389. msgstr ""
  46390. #. type: table
  46391. #: guix-git/doc/guix.texi:31441
  46392. 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\"}."
  46393. msgstr ""
  46394. #. type: item
  46395. #: guix-git/doc/guix.texi:31441
  46396. #, no-wrap
  46397. msgid "@code{priority} (default @code{-1})"
  46398. msgstr ""
  46399. #. type: table
  46400. #: guix-git/doc/guix.texi:31446
  46401. 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."
  46402. msgstr ""
  46403. #. type: defvr
  46404. #: guix-git/doc/guix.texi:31454
  46405. #, no-wrap
  46406. msgid "{Scheme Variable} hurd-console-service-type"
  46407. msgstr ""
  46408. #. type: defvr
  46409. #: guix-git/doc/guix.texi:31456
  46410. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  46411. msgstr ""
  46412. #. type: defvr
  46413. #: guix-git/doc/guix.texi:31458
  46414. msgid "The service's value is a @code{hurd-console-configuration} record."
  46415. msgstr ""
  46416. #. type: deftp
  46417. #: guix-git/doc/guix.texi:31460
  46418. #, no-wrap
  46419. msgid "{Data Type} hurd-console-configuration"
  46420. msgstr ""
  46421. #. type: deftp
  46422. #: guix-git/doc/guix.texi:31463
  46423. msgid "This is the data type representing the configuration for the hurd-console-service."
  46424. msgstr ""
  46425. #. type: item
  46426. #: guix-git/doc/guix.texi:31465 guix-git/doc/guix.texi:31481
  46427. #, no-wrap
  46428. msgid "@code{hurd} (default: @var{hurd})"
  46429. msgstr ""
  46430. #. type: table
  46431. #: guix-git/doc/guix.texi:31467 guix-git/doc/guix.texi:31483
  46432. msgid "The Hurd package to use."
  46433. msgstr ""
  46434. #. type: defvr
  46435. #: guix-git/doc/guix.texi:31470
  46436. #, no-wrap
  46437. msgid "{Scheme Variable} hurd-getty-service-type"
  46438. msgstr ""
  46439. #. type: defvr
  46440. #: guix-git/doc/guix.texi:31472
  46441. msgid "This service starts a tty using the Hurd @code{getty} program."
  46442. msgstr ""
  46443. #. type: defvr
  46444. #: guix-git/doc/guix.texi:31474
  46445. msgid "The service's value is a @code{hurd-getty-configuration} record."
  46446. msgstr ""
  46447. #. type: deftp
  46448. #: guix-git/doc/guix.texi:31476
  46449. #, no-wrap
  46450. msgid "{Data Type} hurd-getty-configuration"
  46451. msgstr ""
  46452. #. type: deftp
  46453. #: guix-git/doc/guix.texi:31479
  46454. msgid "This is the data type representing the configuration for the hurd-getty-service."
  46455. msgstr ""
  46456. #. type: table
  46457. #: guix-git/doc/guix.texi:31486
  46458. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  46459. msgstr ""
  46460. #. type: item
  46461. #: guix-git/doc/guix.texi:31487
  46462. #, no-wrap
  46463. msgid "@code{baud-rate} (default: @code{38400})"
  46464. msgstr ""
  46465. #. type: table
  46466. #: guix-git/doc/guix.texi:31489
  46467. msgid "An integer specifying the baud rate of the tty."
  46468. msgstr ""
  46469. #. type: cindex
  46470. #: guix-git/doc/guix.texi:31496
  46471. #, no-wrap
  46472. msgid "fingerprint"
  46473. msgstr "지문"
  46474. #. type: subsubheading
  46475. #: guix-git/doc/guix.texi:31497
  46476. #, no-wrap
  46477. msgid "Fingerprint Service"
  46478. msgstr ""
  46479. #. type: Plain text
  46480. #: guix-git/doc/guix.texi:31501
  46481. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  46482. msgstr ""
  46483. #. type: defvr
  46484. #: guix-git/doc/guix.texi:31502
  46485. #, no-wrap
  46486. msgid "{Scheme Variable} fprintd-service-type"
  46487. msgstr ""
  46488. #. type: defvr
  46489. #: guix-git/doc/guix.texi:31505
  46490. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  46491. msgstr ""
  46492. #. type: lisp
  46493. #: guix-git/doc/guix.texi:31508
  46494. #, no-wrap
  46495. msgid "(service fprintd-service-type)\n"
  46496. msgstr ""
  46497. #. type: cindex
  46498. #: guix-git/doc/guix.texi:31511
  46499. #, no-wrap
  46500. msgid "sysctl"
  46501. msgstr ""
  46502. #. type: subsubheading
  46503. #: guix-git/doc/guix.texi:31512
  46504. #, no-wrap
  46505. msgid "System Control Service"
  46506. msgstr ""
  46507. #. type: Plain text
  46508. #: guix-git/doc/guix.texi:31516
  46509. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  46510. msgstr ""
  46511. #. type: defvr
  46512. #: guix-git/doc/guix.texi:31517
  46513. #, no-wrap
  46514. msgid "{Scheme Variable} sysctl-service-type"
  46515. msgstr ""
  46516. #. type: defvr
  46517. #: guix-git/doc/guix.texi:31521
  46518. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  46519. msgstr ""
  46520. #. type: lisp
  46521. #: guix-git/doc/guix.texi:31526
  46522. #, no-wrap
  46523. msgid ""
  46524. "(service sysctl-service-type\n"
  46525. " (sysctl-configuration\n"
  46526. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  46527. msgstr ""
  46528. #. type: defvr
  46529. #: guix-git/doc/guix.texi:31533
  46530. 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}})."
  46531. msgstr ""
  46532. #. type: lisp
  46533. #: guix-git/doc/guix.texi:31540
  46534. #, no-wrap
  46535. msgid ""
  46536. "(modify-services %base-services\n"
  46537. " (sysctl-service-type config =>\n"
  46538. " (sysctl-configuration\n"
  46539. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  46540. " %default-sysctl-settings)))))\n"
  46541. msgstr ""
  46542. #. type: deftp
  46543. #: guix-git/doc/guix.texi:31544
  46544. #, no-wrap
  46545. msgid "{Data Type} sysctl-configuration"
  46546. msgstr ""
  46547. #. type: deftp
  46548. #: guix-git/doc/guix.texi:31546
  46549. msgid "The data type representing the configuration of @command{sysctl}."
  46550. msgstr ""
  46551. #. type: item
  46552. #: guix-git/doc/guix.texi:31548
  46553. #, no-wrap
  46554. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  46555. msgstr ""
  46556. #. type: table
  46557. #: guix-git/doc/guix.texi:31550
  46558. msgid "The @command{sysctl} executable to use."
  46559. msgstr ""
  46560. #. type: item
  46561. #: guix-git/doc/guix.texi:31551
  46562. #, no-wrap
  46563. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  46564. msgstr ""
  46565. #. type: table
  46566. #: guix-git/doc/guix.texi:31553
  46567. msgid "An association list specifies kernel parameters and their values."
  46568. msgstr ""
  46569. #. type: defvr
  46570. #: guix-git/doc/guix.texi:31556
  46571. #, no-wrap
  46572. msgid "{Scheme Variable} %default-sysctl-settings"
  46573. msgstr ""
  46574. #. type: defvr
  46575. #: guix-git/doc/guix.texi:31559
  46576. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  46577. msgstr ""
  46578. #. type: cindex
  46579. #: guix-git/doc/guix.texi:31561
  46580. #, no-wrap
  46581. msgid "pcscd"
  46582. msgstr ""
  46583. #. type: subsubheading
  46584. #: guix-git/doc/guix.texi:31562
  46585. #, no-wrap
  46586. msgid "PC/SC Smart Card Daemon Service"
  46587. msgstr ""
  46588. #. type: Plain text
  46589. #: guix-git/doc/guix.texi:31569
  46590. 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."
  46591. msgstr ""
  46592. #. type: defvr
  46593. #: guix-git/doc/guix.texi:31570
  46594. #, no-wrap
  46595. msgid "{Scheme Variable} pcscd-service-type"
  46596. msgstr ""
  46597. #. type: defvr
  46598. #: guix-git/doc/guix.texi:31574
  46599. 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:"
  46600. msgstr ""
  46601. #. type: lisp
  46602. #: guix-git/doc/guix.texi:31577
  46603. #, no-wrap
  46604. msgid "(service pcscd-service-type)\n"
  46605. msgstr ""
  46606. #. type: deftp
  46607. #: guix-git/doc/guix.texi:31580
  46608. #, no-wrap
  46609. msgid "{Data Type} pcscd-configuration"
  46610. msgstr ""
  46611. #. type: deftp
  46612. #: guix-git/doc/guix.texi:31582
  46613. msgid "The data type representing the configuration of @command{pcscd}."
  46614. msgstr ""
  46615. #. type: item
  46616. #: guix-git/doc/guix.texi:31584
  46617. #, no-wrap
  46618. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  46619. msgstr ""
  46620. #. type: table
  46621. #: guix-git/doc/guix.texi:31586
  46622. msgid "The pcsc-lite package that provides pcscd."
  46623. msgstr ""
  46624. #. type: item
  46625. #: guix-git/doc/guix.texi:31586
  46626. #, no-wrap
  46627. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  46628. msgstr ""
  46629. #. type: table
  46630. #: guix-git/doc/guix.texi:31589
  46631. 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."
  46632. msgstr ""
  46633. #. type: cindex
  46634. #: guix-git/doc/guix.texi:31592
  46635. #, no-wrap
  46636. msgid "lirc"
  46637. msgstr ""
  46638. #. type: subsubheading
  46639. #: guix-git/doc/guix.texi:31593
  46640. #, no-wrap
  46641. msgid "Lirc Service"
  46642. msgstr ""
  46643. #. type: Plain text
  46644. #: guix-git/doc/guix.texi:31596
  46645. msgid "The @code{(gnu services lirc)} module provides the following service."
  46646. msgstr ""
  46647. #. type: deffn
  46648. #: guix-git/doc/guix.texi:31597
  46649. #, no-wrap
  46650. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  46651. msgstr ""
  46652. #. type: deffn
  46653. #: guix-git/doc/guix.texi:31602
  46654. 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."
  46655. msgstr ""
  46656. #. type: deffn
  46657. #: guix-git/doc/guix.texi:31606
  46658. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  46659. msgstr ""
  46660. #. type: deffn
  46661. #: guix-git/doc/guix.texi:31609
  46662. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  46663. msgstr ""
  46664. #. type: cindex
  46665. #: guix-git/doc/guix.texi:31611
  46666. #, no-wrap
  46667. msgid "spice"
  46668. msgstr ""
  46669. #. type: subsubheading
  46670. #: guix-git/doc/guix.texi:31612
  46671. #, no-wrap
  46672. msgid "Spice Service"
  46673. msgstr ""
  46674. #. type: Plain text
  46675. #: guix-git/doc/guix.texi:31615
  46676. msgid "The @code{(gnu services spice)} module provides the following service."
  46677. msgstr ""
  46678. #. type: deffn
  46679. #: guix-git/doc/guix.texi:31616
  46680. #, no-wrap
  46681. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  46682. msgstr ""
  46683. #. type: deffn
  46684. #: guix-git/doc/guix.texi:31620
  46685. 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."
  46686. msgstr ""
  46687. #. type: cindex
  46688. #: guix-git/doc/guix.texi:31622
  46689. #, no-wrap
  46690. msgid "inputattach"
  46691. msgstr ""
  46692. #. type: subsubheading
  46693. #: guix-git/doc/guix.texi:31623
  46694. #, no-wrap
  46695. msgid "inputattach Service"
  46696. msgstr ""
  46697. #. type: cindex
  46698. #: guix-git/doc/guix.texi:31625
  46699. #, no-wrap
  46700. msgid "tablet input, for Xorg"
  46701. msgstr ""
  46702. #. type: cindex
  46703. #: guix-git/doc/guix.texi:31626
  46704. #, no-wrap
  46705. msgid "touchscreen input, for Xorg"
  46706. msgstr ""
  46707. #. type: Plain text
  46708. #: guix-git/doc/guix.texi:31630
  46709. 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."
  46710. msgstr ""
  46711. #. type: deffn
  46712. #: guix-git/doc/guix.texi:31631
  46713. #, no-wrap
  46714. msgid "{Scheme Variable} inputattach-service-type"
  46715. msgstr ""
  46716. #. type: deffn
  46717. #: guix-git/doc/guix.texi:31634
  46718. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  46719. msgstr ""
  46720. #. type: deftp
  46721. #: guix-git/doc/guix.texi:31636
  46722. #, no-wrap
  46723. msgid "{Data Type} inputattach-configuration"
  46724. msgstr ""
  46725. #. type: item
  46726. #: guix-git/doc/guix.texi:31638
  46727. #, no-wrap
  46728. msgid "@code{device-type} (default: @code{\"wacom\"})"
  46729. msgstr ""
  46730. #. type: table
  46731. #: guix-git/doc/guix.texi:31641
  46732. 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."
  46733. msgstr ""
  46734. #. type: item
  46735. #: guix-git/doc/guix.texi:31642
  46736. #, no-wrap
  46737. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  46738. msgstr ""
  46739. #. type: table
  46740. #: guix-git/doc/guix.texi:31644
  46741. msgid "The device file to connect to the device."
  46742. msgstr ""
  46743. #. type: table
  46744. #: guix-git/doc/guix.texi:31648
  46745. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  46746. msgstr ""
  46747. #. type: item
  46748. #: guix-git/doc/guix.texi:31649
  46749. #, no-wrap
  46750. msgid "@code{log-file} (default: @code{#f})"
  46751. msgstr ""
  46752. #. type: table
  46753. #: guix-git/doc/guix.texi:31651
  46754. msgid "If true, this must be the name of a file to log messages to."
  46755. msgstr ""
  46756. #. type: subsubheading
  46757. #: guix-git/doc/guix.texi:31654
  46758. #, no-wrap
  46759. msgid "Dictionary Service"
  46760. msgstr ""
  46761. #. type: cindex
  46762. #: guix-git/doc/guix.texi:31655
  46763. #, no-wrap
  46764. msgid "dictionary"
  46765. msgstr "사전"
  46766. #. type: Plain text
  46767. #: guix-git/doc/guix.texi:31657
  46768. msgid "The @code{(gnu services dict)} module provides the following service:"
  46769. msgstr ""
  46770. #. type: defvr
  46771. #: guix-git/doc/guix.texi:31658
  46772. #, no-wrap
  46773. msgid "{Scheme Variable} dicod-service-type"
  46774. msgstr ""
  46775. #. type: defvr
  46776. #: guix-git/doc/guix.texi:31661
  46777. 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})."
  46778. msgstr ""
  46779. #. type: deffn
  46780. #: guix-git/doc/guix.texi:31663
  46781. #, no-wrap
  46782. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  46783. msgstr ""
  46784. #. type: deffn
  46785. #: guix-git/doc/guix.texi:31666
  46786. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  46787. msgstr ""
  46788. #. type: deffn
  46789. #: guix-git/doc/guix.texi:31670
  46790. 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."
  46791. msgstr ""
  46792. #. type: deffn
  46793. #: guix-git/doc/guix.texi:31674
  46794. 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})."
  46795. msgstr ""
  46796. #. type: deftp
  46797. #: guix-git/doc/guix.texi:31676
  46798. #, no-wrap
  46799. msgid "{Data Type} dicod-configuration"
  46800. msgstr ""
  46801. #. type: deftp
  46802. #: guix-git/doc/guix.texi:31678
  46803. msgid "Data type representing the configuration of dicod."
  46804. msgstr ""
  46805. #. type: item
  46806. #: guix-git/doc/guix.texi:31680
  46807. #, no-wrap
  46808. msgid "@code{dico} (default: @var{dico})"
  46809. msgstr ""
  46810. #. type: table
  46811. #: guix-git/doc/guix.texi:31682
  46812. msgid "Package object of the GNU Dico dictionary server."
  46813. msgstr ""
  46814. #. type: item
  46815. #: guix-git/doc/guix.texi:31683
  46816. #, no-wrap
  46817. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  46818. msgstr ""
  46819. #. type: table
  46820. #: guix-git/doc/guix.texi:31687
  46821. 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})."
  46822. msgstr ""
  46823. #. type: item
  46824. #: guix-git/doc/guix.texi:31688
  46825. #, no-wrap
  46826. msgid "@code{handlers} (default: @var{'()})"
  46827. msgstr ""
  46828. #. type: table
  46829. #: guix-git/doc/guix.texi:31690
  46830. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  46831. msgstr ""
  46832. #. type: item
  46833. #: guix-git/doc/guix.texi:31691
  46834. #, no-wrap
  46835. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  46836. msgstr ""
  46837. #. type: table
  46838. #: guix-git/doc/guix.texi:31693
  46839. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  46840. msgstr ""
  46841. #. type: deftp
  46842. #: guix-git/doc/guix.texi:31696
  46843. #, no-wrap
  46844. msgid "{Data Type} dicod-handler"
  46845. msgstr ""
  46846. #. type: deftp
  46847. #: guix-git/doc/guix.texi:31698
  46848. msgid "Data type representing a dictionary handler (module instance)."
  46849. msgstr ""
  46850. #. type: table
  46851. #: guix-git/doc/guix.texi:31702
  46852. msgid "Name of the handler (module instance)."
  46853. msgstr ""
  46854. #. type: item
  46855. #: guix-git/doc/guix.texi:31703
  46856. #, no-wrap
  46857. msgid "@code{module} (default: @var{#f})"
  46858. msgstr ""
  46859. #. type: table
  46860. #: guix-git/doc/guix.texi:31707
  46861. 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})."
  46862. msgstr ""
  46863. #. type: table
  46864. #: guix-git/doc/guix.texi:31710
  46865. msgid "List of strings or gexps representing the arguments for the module handler"
  46866. msgstr ""
  46867. #. type: deftp
  46868. #: guix-git/doc/guix.texi:31713
  46869. #, no-wrap
  46870. msgid "{Data Type} dicod-database"
  46871. msgstr ""
  46872. #. type: deftp
  46873. #: guix-git/doc/guix.texi:31715
  46874. msgid "Data type representing a dictionary database."
  46875. msgstr ""
  46876. #. type: table
  46877. #: guix-git/doc/guix.texi:31719
  46878. msgid "Name of the database, will be used in DICT commands."
  46879. msgstr ""
  46880. #. type: code{#1}
  46881. #: guix-git/doc/guix.texi:31720
  46882. #, no-wrap
  46883. msgid "handler"
  46884. msgstr ""
  46885. #. type: table
  46886. #: guix-git/doc/guix.texi:31723
  46887. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  46888. msgstr ""
  46889. #. type: item
  46890. #: guix-git/doc/guix.texi:31724
  46891. #, no-wrap
  46892. msgid "@code{complex?} (default: @var{#f})"
  46893. msgstr ""
  46894. #. type: table
  46895. #: guix-git/doc/guix.texi:31727
  46896. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  46897. msgstr ""
  46898. #. type: table
  46899. #: guix-git/doc/guix.texi:31731
  46900. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  46901. msgstr ""
  46902. #. type: defvr
  46903. #: guix-git/doc/guix.texi:31734
  46904. #, no-wrap
  46905. msgid "{Scheme Variable} %dicod-database:gcide"
  46906. msgstr ""
  46907. #. type: defvr
  46908. #: guix-git/doc/guix.texi:31737
  46909. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  46910. msgstr ""
  46911. #. type: Plain text
  46912. #: guix-git/doc/guix.texi:31740
  46913. msgid "The following is an example @code{dicod-service} configuration."
  46914. msgstr ""
  46915. #. type: lisp
  46916. #: guix-git/doc/guix.texi:31755
  46917. #, no-wrap
  46918. msgid ""
  46919. "(dicod-service #:config\n"
  46920. " (dicod-configuration\n"
  46921. " (handlers (list (dicod-handler\n"
  46922. " (name \"wordnet\")\n"
  46923. " (module \"dictorg\")\n"
  46924. " (options\n"
  46925. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  46926. " (databases (list (dicod-database\n"
  46927. " (name \"wordnet\")\n"
  46928. " (complex? #t)\n"
  46929. " (handler \"wordnet\")\n"
  46930. " (options '(\"database=wn\")))\n"
  46931. " %dicod-database:gcide))))\n"
  46932. msgstr ""
  46933. #. type: cindex
  46934. #: guix-git/doc/guix.texi:31757
  46935. #, no-wrap
  46936. msgid "Docker"
  46937. msgstr ""
  46938. #. type: subsubheading
  46939. #: guix-git/doc/guix.texi:31758
  46940. #, no-wrap
  46941. msgid "Docker Service"
  46942. msgstr ""
  46943. #. type: Plain text
  46944. #: guix-git/doc/guix.texi:31761
  46945. msgid "The @code{(gnu services docker)} module provides the following services."
  46946. msgstr ""
  46947. #. type: defvr
  46948. #: guix-git/doc/guix.texi:31762
  46949. #, no-wrap
  46950. msgid "{Scheme Variable} docker-service-type"
  46951. msgstr ""
  46952. #. type: defvr
  46953. #: guix-git/doc/guix.texi:31767
  46954. 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."
  46955. msgstr ""
  46956. #. type: deftp
  46957. #: guix-git/doc/guix.texi:31770
  46958. #, no-wrap
  46959. msgid "{Data Type} docker-configuration"
  46960. msgstr ""
  46961. #. type: deftp
  46962. #: guix-git/doc/guix.texi:31772
  46963. msgid "This is the data type representing the configuration of Docker and Containerd."
  46964. msgstr ""
  46965. #. type: item
  46966. #: guix-git/doc/guix.texi:31775
  46967. #, no-wrap
  46968. msgid "@code{package} (default: @code{docker})"
  46969. msgstr ""
  46970. #. type: table
  46971. #: guix-git/doc/guix.texi:31777
  46972. msgid "The Docker daemon package to use."
  46973. msgstr ""
  46974. #. type: item
  46975. #: guix-git/doc/guix.texi:31778
  46976. #, no-wrap
  46977. msgid "@code{package} (default: @code{docker-cli})"
  46978. msgstr ""
  46979. #. type: table
  46980. #: guix-git/doc/guix.texi:31780
  46981. msgid "The Docker client package to use."
  46982. msgstr ""
  46983. #. type: item
  46984. #: guix-git/doc/guix.texi:31781
  46985. #, no-wrap
  46986. msgid "@code{containerd} (default: @var{containerd})"
  46987. msgstr ""
  46988. #. type: table
  46989. #: guix-git/doc/guix.texi:31783
  46990. msgid "The Containerd package to use."
  46991. msgstr ""
  46992. #. type: item
  46993. #: guix-git/doc/guix.texi:31784
  46994. #, no-wrap
  46995. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  46996. msgstr ""
  46997. #. type: table
  46998. #: guix-git/doc/guix.texi:31786
  46999. msgid "The Docker user-land networking proxy package to use."
  47000. msgstr ""
  47001. #. type: item
  47002. #: guix-git/doc/guix.texi:31787
  47003. #, no-wrap
  47004. msgid "@code{enable-proxy?} (default @code{#t})"
  47005. msgstr ""
  47006. #. type: table
  47007. #: guix-git/doc/guix.texi:31789
  47008. msgid "Enable or disable the use of the Docker user-land networking proxy."
  47009. msgstr ""
  47010. #. type: item
  47011. #: guix-git/doc/guix.texi:31790
  47012. #, no-wrap
  47013. msgid "@code{debug?} (default @code{#f})"
  47014. msgstr ""
  47015. #. type: table
  47016. #: guix-git/doc/guix.texi:31792
  47017. msgid "Enable or disable debug output."
  47018. msgstr ""
  47019. #. type: item
  47020. #: guix-git/doc/guix.texi:31793
  47021. #, no-wrap
  47022. msgid "@code{enable-iptables?} (default @code{#t})"
  47023. msgstr ""
  47024. #. type: table
  47025. #: guix-git/doc/guix.texi:31795
  47026. msgid "Enable or disable the addition of iptables rules."
  47027. msgstr ""
  47028. #. type: cindex
  47029. #: guix-git/doc/guix.texi:31799
  47030. #, no-wrap
  47031. msgid "Singularity, container service"
  47032. msgstr ""
  47033. #. type: defvr
  47034. #: guix-git/doc/guix.texi:31800
  47035. #, no-wrap
  47036. msgid "{Scheme Variable} singularity-service-type"
  47037. msgstr ""
  47038. #. type: defvr
  47039. #: guix-git/doc/guix.texi:31805
  47040. 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."
  47041. msgstr ""
  47042. #. type: defvr
  47043. #: guix-git/doc/guix.texi:31809
  47044. 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."
  47045. msgstr ""
  47046. #. type: cindex
  47047. #: guix-git/doc/guix.texi:31811
  47048. #, no-wrap
  47049. msgid "Audit"
  47050. msgstr "감사"
  47051. #. type: subsubheading
  47052. #: guix-git/doc/guix.texi:31812
  47053. #, no-wrap
  47054. msgid "Auditd Service"
  47055. msgstr ""
  47056. #. type: Plain text
  47057. #: guix-git/doc/guix.texi:31815
  47058. msgid "The @code{(gnu services auditd)} module provides the following service."
  47059. msgstr ""
  47060. #. type: defvr
  47061. #: guix-git/doc/guix.texi:31816
  47062. #, no-wrap
  47063. msgid "{Scheme Variable} auditd-service-type"
  47064. msgstr ""
  47065. #. type: defvr
  47066. #: guix-git/doc/guix.texi:31821
  47067. 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."
  47068. msgstr ""
  47069. #. type: defvr
  47070. #: guix-git/doc/guix.texi:31823
  47071. msgid "Examples of things that can be tracked:"
  47072. msgstr ""
  47073. #. type: enumerate
  47074. #: guix-git/doc/guix.texi:31827
  47075. msgid "File accesses"
  47076. msgstr ""
  47077. #. type: enumerate
  47078. #: guix-git/doc/guix.texi:31829
  47079. msgid "System calls"
  47080. msgstr ""
  47081. #. type: enumerate
  47082. #: guix-git/doc/guix.texi:31831
  47083. msgid "Invoked commands"
  47084. msgstr ""
  47085. #. type: enumerate
  47086. #: guix-git/doc/guix.texi:31833
  47087. msgid "Failed login attempts"
  47088. msgstr ""
  47089. #. type: enumerate
  47090. #: guix-git/doc/guix.texi:31835
  47091. msgid "Firewall filtering"
  47092. msgstr ""
  47093. #. type: enumerate
  47094. #: guix-git/doc/guix.texi:31837
  47095. msgid "Network access"
  47096. msgstr ""
  47097. #. type: defvr
  47098. #: guix-git/doc/guix.texi:31848
  47099. 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}."
  47100. msgstr ""
  47101. #. type: deftp
  47102. #: guix-git/doc/guix.texi:31851
  47103. #, no-wrap
  47104. msgid "{Data Type} auditd-configuration"
  47105. msgstr ""
  47106. #. type: deftp
  47107. #: guix-git/doc/guix.texi:31853
  47108. msgid "This is the data type representing the configuration of auditd."
  47109. msgstr ""
  47110. #. type: item
  47111. #: guix-git/doc/guix.texi:31856
  47112. #, no-wrap
  47113. msgid "@code{audit} (default: @code{audit})"
  47114. msgstr ""
  47115. #. type: table
  47116. #: guix-git/doc/guix.texi:31858
  47117. msgid "The audit package to use."
  47118. msgstr ""
  47119. #. type: item
  47120. #: guix-git/doc/guix.texi:31859
  47121. #, no-wrap
  47122. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  47123. msgstr ""
  47124. #. type: table
  47125. #: guix-git/doc/guix.texi:31863
  47126. 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."
  47127. msgstr ""
  47128. #. type: cindex
  47129. #: guix-git/doc/guix.texi:31867
  47130. #, no-wrap
  47131. msgid "rshiny"
  47132. msgstr ""
  47133. #. type: subsubheading
  47134. #: guix-git/doc/guix.texi:31868
  47135. #, no-wrap
  47136. msgid "R-Shiny service"
  47137. msgstr ""
  47138. #. type: Plain text
  47139. #: guix-git/doc/guix.texi:31871
  47140. msgid "The @code{(gnu services science)} module provides the following service."
  47141. msgstr ""
  47142. #. type: defvr
  47143. #: guix-git/doc/guix.texi:31872
  47144. #, no-wrap
  47145. msgid "{Scheme Variable} rshiny-service-type"
  47146. msgstr ""
  47147. #. type: defvr
  47148. #: guix-git/doc/guix.texi:31877
  47149. 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}."
  47150. msgstr ""
  47151. #. type: deftp
  47152. #: guix-git/doc/guix.texi:31878
  47153. #, no-wrap
  47154. msgid "{Data Type} rshiny-configuration"
  47155. msgstr ""
  47156. #. type: deftp
  47157. #: guix-git/doc/guix.texi:31880
  47158. msgid "This is the data type representing the configuration of rshiny."
  47159. msgstr ""
  47160. #. type: item
  47161. #: guix-git/doc/guix.texi:31883
  47162. #, no-wrap
  47163. msgid "@code{package} (default: @code{r-shiny})"
  47164. msgstr ""
  47165. #. type: table
  47166. #: guix-git/doc/guix.texi:31885
  47167. msgid "The package to use."
  47168. msgstr ""
  47169. #. type: item
  47170. #: guix-git/doc/guix.texi:31886
  47171. #, no-wrap
  47172. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  47173. msgstr ""
  47174. #. type: table
  47175. #: guix-git/doc/guix.texi:31889
  47176. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  47177. msgstr ""
  47178. #. type: table
  47179. #: guix-git/doc/guix.texi:31891
  47180. msgid "The common way to create this file is as follows:"
  47181. msgstr ""
  47182. #. type: lisp
  47183. #: guix-git/doc/guix.texi:31909
  47184. #, no-wrap
  47185. msgid ""
  47186. "@dots{}\n"
  47187. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  47188. " (targetdir (string-append out \"/share/\" ,name))\n"
  47189. " (app (string-append out \"/bin/\" ,name))\n"
  47190. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  47191. " \"/bin/Rscript\")))\n"
  47192. " ;; @dots{}\n"
  47193. " (mkdir-p (string-append out \"/bin\"))\n"
  47194. " (call-with-output-file app\n"
  47195. " (lambda (port)\n"
  47196. " (format port\n"
  47197. "\"#!~a\n"
  47198. "library(shiny)\n"
  47199. "setwd(\\\"~a\\\")\n"
  47200. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  47201. " Rbin targetdir))))\n"
  47202. msgstr ""
  47203. #. type: cindex
  47204. #: guix-git/doc/guix.texi:31915
  47205. #, no-wrap
  47206. msgid "Nix"
  47207. msgstr ""
  47208. #. type: subsubheading
  47209. #: guix-git/doc/guix.texi:31916
  47210. #, no-wrap
  47211. msgid "Nix service"
  47212. msgstr ""
  47213. #. type: Plain text
  47214. #: guix-git/doc/guix.texi:31919
  47215. msgid "The @code{(gnu services nix)} module provides the following service."
  47216. msgstr ""
  47217. #. type: defvr
  47218. #: guix-git/doc/guix.texi:31920
  47219. #, no-wrap
  47220. msgid "{Scheme Variable} nix-service-type"
  47221. msgstr ""
  47222. #. type: defvr
  47223. #: guix-git/doc/guix.texi:31925
  47224. 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:"
  47225. msgstr ""
  47226. #. type: lisp
  47227. #: guix-git/doc/guix.texi:31930
  47228. #, no-wrap
  47229. msgid ""
  47230. "(use-modules (gnu))\n"
  47231. "(use-service-modules nix)\n"
  47232. "(use-package-modules package-management)\n"
  47233. "\n"
  47234. msgstr ""
  47235. #. type: lisp
  47236. #: guix-git/doc/guix.texi:31935
  47237. #, no-wrap
  47238. msgid ""
  47239. "(operating-system\n"
  47240. " ;; @dots{}\n"
  47241. " (packages (append (list nix)\n"
  47242. " %base-packages))\n"
  47243. "\n"
  47244. msgstr ""
  47245. #. type: lisp
  47246. #: guix-git/doc/guix.texi:31938
  47247. #, no-wrap
  47248. msgid ""
  47249. " (services (append (list (service nix-service-type))\n"
  47250. " %base-services)))\n"
  47251. msgstr ""
  47252. #. type: defvr
  47253. #: guix-git/doc/guix.texi:31941
  47254. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  47255. msgstr ""
  47256. #. type: item
  47257. #: guix-git/doc/guix.texi:31943
  47258. #, no-wrap
  47259. msgid "Add a Nix channel and update it. See"
  47260. msgstr ""
  47261. #. type: itemize
  47262. #: guix-git/doc/guix.texi:31945
  47263. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  47264. msgstr ""
  47265. #. type: item
  47266. #: guix-git/doc/guix.texi:31946
  47267. #, no-wrap
  47268. msgid "Create a symlink to your profile and activate Nix profile:"
  47269. msgstr ""
  47270. #. type: example
  47271. #: guix-git/doc/guix.texi:31952
  47272. #, no-wrap
  47273. msgid ""
  47274. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  47275. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  47276. msgstr ""
  47277. #. type: deftp
  47278. #: guix-git/doc/guix.texi:31956
  47279. #, no-wrap
  47280. msgid "{Data Type} nix-configuration"
  47281. msgstr ""
  47282. #. type: deftp
  47283. #: guix-git/doc/guix.texi:31958
  47284. msgid "This data type represents the configuration of the Nix daemon."
  47285. msgstr ""
  47286. #. type: item
  47287. #: guix-git/doc/guix.texi:31960
  47288. #, no-wrap
  47289. msgid "@code{nix} (default: @code{nix})"
  47290. msgstr ""
  47291. #. type: table
  47292. #: guix-git/doc/guix.texi:31962
  47293. msgid "The Nix package to use."
  47294. msgstr ""
  47295. #. type: item
  47296. #: guix-git/doc/guix.texi:31963
  47297. #, no-wrap
  47298. msgid "@code{sandbox} (default: @code{#t})"
  47299. msgstr ""
  47300. #. type: table
  47301. #: guix-git/doc/guix.texi:31965
  47302. msgid "Specifies whether builds are sandboxed by default."
  47303. msgstr ""
  47304. #. type: item
  47305. #: guix-git/doc/guix.texi:31966
  47306. #, no-wrap
  47307. msgid "@code{build-sandbox-items} (default: @code{'()})"
  47308. msgstr ""
  47309. #. type: table
  47310. #: guix-git/doc/guix.texi:31969
  47311. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  47312. msgstr ""
  47313. #. type: table
  47314. #: guix-git/doc/guix.texi:31977
  47315. msgid "Extra command line options for @code{nix-service-type}."
  47316. msgstr ""
  47317. #. type: cindex
  47318. #: guix-git/doc/guix.texi:31983
  47319. #, no-wrap
  47320. msgid "setuid programs"
  47321. msgstr ""
  47322. #. type: Plain text
  47323. #: guix-git/doc/guix.texi:31993
  47324. 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)."
  47325. msgstr ""
  47326. #. type: Plain text
  47327. #: guix-git/doc/guix.texi:32000
  47328. 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."
  47329. msgstr ""
  47330. #. type: Plain text
  47331. #: guix-git/doc/guix.texi:32006
  47332. 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}):"
  47333. msgstr ""
  47334. #. type: example
  47335. #: guix-git/doc/guix.texi:32009
  47336. #, no-wrap
  47337. msgid "#~(string-append #$shadow \"/bin/passwd\")\n"
  47338. msgstr ""
  47339. #. type: Plain text
  47340. #: guix-git/doc/guix.texi:32013
  47341. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  47342. msgstr ""
  47343. #. type: defvr
  47344. #: guix-git/doc/guix.texi:32014
  47345. #, no-wrap
  47346. msgid "{Scheme Variable} %setuid-programs"
  47347. msgstr ""
  47348. #. type: defvr
  47349. #: guix-git/doc/guix.texi:32016
  47350. msgid "A list of G-expressions denoting common programs that are setuid-root."
  47351. msgstr ""
  47352. #. type: defvr
  47353. #: guix-git/doc/guix.texi:32019
  47354. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  47355. msgstr ""
  47356. #. type: Plain text
  47357. #: guix-git/doc/guix.texi:32025
  47358. 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."
  47359. msgstr ""
  47360. #. type: cindex
  47361. #: guix-git/doc/guix.texi:32029
  47362. #, no-wrap
  47363. msgid "HTTPS, certificates"
  47364. msgstr ""
  47365. #. type: cindex
  47366. #: guix-git/doc/guix.texi:32030
  47367. #, no-wrap
  47368. msgid "X.509 certificates"
  47369. msgstr ""
  47370. #. type: cindex
  47371. #: guix-git/doc/guix.texi:32031
  47372. #, no-wrap
  47373. msgid "TLS"
  47374. msgstr ""
  47375. #. type: Plain text
  47376. #: guix-git/doc/guix.texi:32038
  47377. 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."
  47378. msgstr ""
  47379. #. type: Plain text
  47380. #: guix-git/doc/guix.texi:32042
  47381. 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."
  47382. msgstr ""
  47383. #. type: Plain text
  47384. #: guix-git/doc/guix.texi:32046
  47385. 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."
  47386. msgstr ""
  47387. #. type: Plain text
  47388. #: guix-git/doc/guix.texi:32053
  47389. 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."
  47390. msgstr ""
  47391. #. type: Plain text
  47392. #: guix-git/doc/guix.texi:32058
  47393. 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."
  47394. msgstr ""
  47395. #. type: Plain text
  47396. #: guix-git/doc/guix.texi:32068
  47397. 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:"
  47398. msgstr ""
  47399. #. type: example
  47400. #: guix-git/doc/guix.texi:32074
  47401. #, no-wrap
  47402. msgid ""
  47403. "guix install nss-certs\n"
  47404. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  47405. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  47406. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  47407. msgstr ""
  47408. #. type: Plain text
  47409. #: guix-git/doc/guix.texi:32079
  47410. 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:"
  47411. msgstr ""
  47412. #. type: example
  47413. #: guix-git/doc/guix.texi:32083
  47414. #, no-wrap
  47415. msgid ""
  47416. "guix install nss-certs\n"
  47417. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  47418. msgstr ""
  47419. #. type: Plain text
  47420. #: guix-git/doc/guix.texi:32087
  47421. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  47422. msgstr ""
  47423. #. type: cindex
  47424. #: guix-git/doc/guix.texi:32092
  47425. #, no-wrap
  47426. msgid "name service switch"
  47427. msgstr ""
  47428. #. type: cindex
  47429. #: guix-git/doc/guix.texi:32093
  47430. #, no-wrap
  47431. msgid "NSS"
  47432. msgstr ""
  47433. #. type: Plain text
  47434. #: guix-git/doc/guix.texi:32102
  47435. 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})."
  47436. msgstr ""
  47437. #. type: Plain text
  47438. #: guix-git/doc/guix.texi:32109
  47439. 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}})."
  47440. msgstr ""
  47441. #. type: cindex
  47442. #: guix-git/doc/guix.texi:32110
  47443. #, no-wrap
  47444. msgid "nss-mdns"
  47445. msgstr ""
  47446. #. type: cindex
  47447. #: guix-git/doc/guix.texi:32111
  47448. #, no-wrap
  47449. msgid ".local, host name lookup"
  47450. msgstr ""
  47451. #. type: Plain text
  47452. #: guix-git/doc/guix.texi:32116
  47453. 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}:"
  47454. msgstr ""
  47455. #. type: lisp
  47456. #: guix-git/doc/guix.texi:32120
  47457. #, no-wrap
  47458. msgid ""
  47459. "(name-service-switch\n"
  47460. " (hosts (list %files ;first, check /etc/hosts\n"
  47461. "\n"
  47462. msgstr ""
  47463. #. type: lisp
  47464. #: guix-git/doc/guix.texi:32125
  47465. #, no-wrap
  47466. msgid ""
  47467. " ;; If the above did not succeed, try\n"
  47468. " ;; with 'mdns_minimal'.\n"
  47469. " (name-service\n"
  47470. " (name \"mdns_minimal\")\n"
  47471. "\n"
  47472. msgstr ""
  47473. #. type: lisp
  47474. #: guix-git/doc/guix.texi:32131
  47475. #, no-wrap
  47476. msgid ""
  47477. " ;; 'mdns_minimal' is authoritative for\n"
  47478. " ;; '.local'. When it returns \"not found\",\n"
  47479. " ;; no need to try the next methods.\n"
  47480. " (reaction (lookup-specification\n"
  47481. " (not-found => return))))\n"
  47482. "\n"
  47483. msgstr ""
  47484. #. type: lisp
  47485. #: guix-git/doc/guix.texi:32135
  47486. #, no-wrap
  47487. msgid ""
  47488. " ;; Then fall back to DNS.\n"
  47489. " (name-service\n"
  47490. " (name \"dns\"))\n"
  47491. "\n"
  47492. msgstr ""
  47493. #. type: lisp
  47494. #: guix-git/doc/guix.texi:32139
  47495. #, no-wrap
  47496. msgid ""
  47497. " ;; Finally, try with the \"full\" 'mdns'.\n"
  47498. " (name-service\n"
  47499. " (name \"mdns\")))))\n"
  47500. msgstr ""
  47501. #. type: Plain text
  47502. #: guix-git/doc/guix.texi:32144
  47503. 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."
  47504. msgstr ""
  47505. #. type: Plain text
  47506. #: guix-git/doc/guix.texi:32152
  47507. 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}})."
  47508. msgstr ""
  47509. #. type: Plain text
  47510. #: guix-git/doc/guix.texi:32155
  47511. msgid "For convenience, the following variables provide typical NSS configurations."
  47512. msgstr ""
  47513. #. type: defvr
  47514. #: guix-git/doc/guix.texi:32156
  47515. #, no-wrap
  47516. msgid "{Scheme Variable} %default-nss"
  47517. msgstr ""
  47518. #. type: defvr
  47519. #: guix-git/doc/guix.texi:32159
  47520. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  47521. msgstr ""
  47522. #. type: defvr
  47523. #: guix-git/doc/guix.texi:32161
  47524. #, no-wrap
  47525. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  47526. msgstr ""
  47527. #. type: defvr
  47528. #: guix-git/doc/guix.texi:32164
  47529. 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}."
  47530. msgstr ""
  47531. #. type: Plain text
  47532. #: guix-git/doc/guix.texi:32174
  47533. 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}."
  47534. msgstr ""
  47535. #. type: deftp
  47536. #: guix-git/doc/guix.texi:32175
  47537. #, no-wrap
  47538. msgid "{Data Type} name-service-switch"
  47539. msgstr ""
  47540. #. type: deftp
  47541. #: guix-git/doc/guix.texi:32180
  47542. 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."
  47543. msgstr ""
  47544. #. type: item
  47545. #: guix-git/doc/guix.texi:32182
  47546. #, no-wrap
  47547. msgid "aliases"
  47548. msgstr ""
  47549. #. type: itemx
  47550. #: guix-git/doc/guix.texi:32183
  47551. #, no-wrap
  47552. msgid "ethers"
  47553. msgstr ""
  47554. #. type: itemx
  47555. #: guix-git/doc/guix.texi:32185
  47556. #, no-wrap
  47557. msgid "gshadow"
  47558. msgstr ""
  47559. #. type: itemx
  47560. #: guix-git/doc/guix.texi:32186
  47561. #, no-wrap
  47562. msgid "hosts"
  47563. msgstr "호스트"
  47564. #. type: itemx
  47565. #: guix-git/doc/guix.texi:32187
  47566. #, no-wrap
  47567. msgid "initgroups"
  47568. msgstr ""
  47569. #. type: itemx
  47570. #: guix-git/doc/guix.texi:32188
  47571. #, no-wrap
  47572. msgid "netgroup"
  47573. msgstr ""
  47574. #. type: itemx
  47575. #: guix-git/doc/guix.texi:32189
  47576. #, no-wrap
  47577. msgid "networks"
  47578. msgstr "네트워크"
  47579. #. type: itemx
  47580. #: guix-git/doc/guix.texi:32192
  47581. #, no-wrap
  47582. msgid "rpc"
  47583. msgstr ""
  47584. #. type: itemx
  47585. #: guix-git/doc/guix.texi:32194
  47586. #, no-wrap
  47587. msgid "shadow"
  47588. msgstr ""
  47589. #. type: table
  47590. #: guix-git/doc/guix.texi:32197
  47591. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  47592. msgstr ""
  47593. #. type: deftp
  47594. #: guix-git/doc/guix.texi:32200
  47595. #, no-wrap
  47596. msgid "{Data Type} name-service"
  47597. msgstr ""
  47598. #. type: deftp
  47599. #: guix-git/doc/guix.texi:32204
  47600. msgid "This is the data type representing an actual name service and the associated lookup action."
  47601. msgstr ""
  47602. #. type: table
  47603. #: guix-git/doc/guix.texi:32209
  47604. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  47605. msgstr ""
  47606. #. type: table
  47607. #: guix-git/doc/guix.texi:32214
  47608. 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}})."
  47609. msgstr ""
  47610. #. type: item
  47611. #: guix-git/doc/guix.texi:32215
  47612. #, no-wrap
  47613. msgid "reaction"
  47614. msgstr ""
  47615. #. type: table
  47616. #: guix-git/doc/guix.texi:32219
  47617. 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:"
  47618. msgstr ""
  47619. #. type: lisp
  47620. #: guix-git/doc/guix.texi:32223
  47621. #, no-wrap
  47622. msgid ""
  47623. "(lookup-specification (unavailable => continue)\n"
  47624. " (success => return))\n"
  47625. msgstr ""
  47626. #. type: Plain text
  47627. #: guix-git/doc/guix.texi:32237
  47628. 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."
  47629. msgstr ""
  47630. #. type: Plain text
  47631. #: guix-git/doc/guix.texi:32246
  47632. 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:"
  47633. msgstr ""
  47634. #. type: lisp
  47635. #: guix-git/doc/guix.texi:32251
  47636. #, no-wrap
  47637. msgid ""
  47638. "(operating-system\n"
  47639. " ;; @dots{}\n"
  47640. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  47641. msgstr ""
  47642. #. type: defvr
  47643. #: guix-git/doc/guix.texi:32253
  47644. #, no-wrap
  47645. msgid "{Scheme Variable} %base-initrd-modules"
  47646. msgstr ""
  47647. #. type: defvr
  47648. #: guix-git/doc/guix.texi:32255
  47649. msgid "This is the list of kernel modules included in the initrd by default."
  47650. msgstr ""
  47651. #. type: Plain text
  47652. #: guix-git/doc/guix.texi:32263
  47653. 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."
  47654. msgstr ""
  47655. #. type: Plain text
  47656. #: guix-git/doc/guix.texi:32268
  47657. 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:"
  47658. msgstr ""
  47659. #. type: lisp
  47660. #: guix-git/doc/guix.texi:32276
  47661. #, no-wrap
  47662. msgid ""
  47663. "(initrd (lambda (file-systems . rest)\n"
  47664. " ;; Create a standard initrd but set up networking\n"
  47665. " ;; with the parameters QEMU expects by default.\n"
  47666. " (apply base-initrd file-systems\n"
  47667. " #:qemu-networking? #t\n"
  47668. " rest)))\n"
  47669. msgstr ""
  47670. #. type: Plain text
  47671. #: guix-git/doc/guix.texi:32281
  47672. 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."
  47673. msgstr ""
  47674. #. type: Plain text
  47675. #: guix-git/doc/guix.texi:32288
  47676. 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."
  47677. msgstr ""
  47678. #. type: Plain text
  47679. #: guix-git/doc/guix.texi:32293
  47680. 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:"
  47681. msgstr ""
  47682. #. type: item
  47683. #: guix-git/doc/guix.texi:32295
  47684. #, no-wrap
  47685. msgid "--load=@var{boot}"
  47686. msgstr ""
  47687. #. type: table
  47688. #: guix-git/doc/guix.texi:32298
  47689. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  47690. msgstr ""
  47691. #. type: table
  47692. #: guix-git/doc/guix.texi:32302
  47693. 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."
  47694. msgstr ""
  47695. #. type: item
  47696. #: guix-git/doc/guix.texi:32303
  47697. #, no-wrap
  47698. msgid "--root=@var{root}"
  47699. msgstr ""
  47700. #. type: table
  47701. #: guix-git/doc/guix.texi:32308
  47702. 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."
  47703. msgstr ""
  47704. #. type: table
  47705. #: guix-git/doc/guix.texi:32312
  47706. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  47707. msgstr ""
  47708. #. type: item
  47709. #: guix-git/doc/guix.texi:32313
  47710. #, no-wrap
  47711. msgid "modprobe.blacklist=@var{modules}@dots{}"
  47712. msgstr ""
  47713. #. type: cindex
  47714. #: guix-git/doc/guix.texi:32314
  47715. #, no-wrap
  47716. msgid "module, black-listing"
  47717. msgstr ""
  47718. #. type: cindex
  47719. #: guix-git/doc/guix.texi:32315
  47720. #, no-wrap
  47721. msgid "black list, of kernel modules"
  47722. msgstr ""
  47723. #. type: table
  47724. #: guix-git/doc/guix.texi:32320
  47725. 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}."
  47726. msgstr ""
  47727. #. type: item
  47728. #: guix-git/doc/guix.texi:32321
  47729. #, no-wrap
  47730. msgid "--repl"
  47731. msgstr ""
  47732. #. type: table
  47733. #: guix-git/doc/guix.texi:32327
  47734. 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."
  47735. msgstr ""
  47736. #. type: Plain text
  47737. #: guix-git/doc/guix.texi:32333
  47738. 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."
  47739. msgstr ""
  47740. #. type: deffn
  47741. #: guix-git/doc/guix.texi:32336
  47742. #, no-wrap
  47743. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  47744. msgstr ""
  47745. #. type: deffn
  47746. #: guix-git/doc/guix.texi:32350
  47747. 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."
  47748. msgstr ""
  47749. #. type: deffn
  47750. #: guix-git/doc/guix.texi:32356 guix-git/doc/guix.texi:32380
  47751. 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."
  47752. msgstr ""
  47753. #. type: deffn
  47754. #: guix-git/doc/guix.texi:32360
  47755. 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."
  47756. msgstr ""
  47757. #. type: deffn
  47758. #: guix-git/doc/guix.texi:32363
  47759. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  47760. msgstr ""
  47761. #. type: deffn
  47762. #: guix-git/doc/guix.texi:32365
  47763. #, no-wrap
  47764. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  47765. msgstr ""
  47766. #. type: deffn
  47767. #: guix-git/doc/guix.texi:32374
  47768. 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."
  47769. msgstr ""
  47770. #. type: deffn
  47771. #: guix-git/doc/guix.texi:32382
  47772. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  47773. msgstr ""
  47774. #. type: deffn
  47775. #: guix-git/doc/guix.texi:32387
  47776. 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."
  47777. msgstr ""
  47778. #. type: Plain text
  47779. #: guix-git/doc/guix.texi:32394
  47780. 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."
  47781. msgstr ""
  47782. #. type: deffn
  47783. #: guix-git/doc/guix.texi:32395
  47784. #, no-wrap
  47785. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  47786. msgstr ""
  47787. #. type: deffn
  47788. #: guix-git/doc/guix.texi:32401
  47789. 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."
  47790. msgstr ""
  47791. #. type: cindex
  47792. #: guix-git/doc/guix.texi:32407
  47793. #, no-wrap
  47794. msgid "boot loader"
  47795. msgstr ""
  47796. #. type: Plain text
  47797. #: guix-git/doc/guix.texi:32414
  47798. 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."
  47799. msgstr ""
  47800. #. type: Plain text
  47801. #: guix-git/doc/guix.texi:32419
  47802. 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."
  47803. msgstr ""
  47804. #. type: deftp
  47805. #: guix-git/doc/guix.texi:32420
  47806. #, no-wrap
  47807. msgid "{Data Type} bootloader-configuration"
  47808. msgstr ""
  47809. #. type: deftp
  47810. #: guix-git/doc/guix.texi:32422
  47811. msgid "The type of a bootloader configuration declaration."
  47812. msgstr ""
  47813. #. type: cindex
  47814. #: guix-git/doc/guix.texi:32426
  47815. #, no-wrap
  47816. msgid "EFI, bootloader"
  47817. msgstr ""
  47818. #. type: cindex
  47819. #: guix-git/doc/guix.texi:32427
  47820. #, no-wrap
  47821. msgid "UEFI, bootloader"
  47822. msgstr ""
  47823. #. type: cindex
  47824. #: guix-git/doc/guix.texi:32428
  47825. #, no-wrap
  47826. msgid "BIOS, bootloader"
  47827. msgstr ""
  47828. #. type: table
  47829. #: guix-git/doc/guix.texi:32433
  47830. 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."
  47831. msgstr ""
  47832. #. type: cindex
  47833. #: guix-git/doc/guix.texi:32434
  47834. #, no-wrap
  47835. msgid "ARM, bootloaders"
  47836. msgstr ""
  47837. #. type: cindex
  47838. #: guix-git/doc/guix.texi:32435
  47839. #, no-wrap
  47840. msgid "AArch64, bootloaders"
  47841. msgstr ""
  47842. #. type: table
  47843. #: guix-git/doc/guix.texi:32440
  47844. 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}."
  47845. msgstr ""
  47846. #. type: table
  47847. #: guix-git/doc/guix.texi:32446
  47848. 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."
  47849. msgstr ""
  47850. #. type: table
  47851. #: guix-git/doc/guix.texi:32450
  47852. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  47853. msgstr ""
  47854. #. type: vindex
  47855. #: guix-git/doc/guix.texi:32451
  47856. #, no-wrap
  47857. msgid "grub-efi-netboot-bootloader"
  47858. msgstr ""
  47859. #. type: table
  47860. #: guix-git/doc/guix.texi:32455
  47861. 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."
  47862. msgstr ""
  47863. #. type: table
  47864. #: guix-git/doc/guix.texi:32461
  47865. 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."
  47866. msgstr ""
  47867. #. type: table
  47868. #: guix-git/doc/guix.texi:32470
  47869. 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}."
  47870. msgstr ""
  47871. #. type: table
  47872. #: guix-git/doc/guix.texi:32478
  47873. 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."
  47874. msgstr ""
  47875. #. type: table
  47876. #: guix-git/doc/guix.texi:32483
  47877. 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."
  47878. msgstr ""
  47879. #. type: table
  47880. #: guix-git/doc/guix.texi:32487
  47881. 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}."
  47882. msgstr ""
  47883. #. type: table
  47884. #: guix-git/doc/guix.texi:32492
  47885. 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."
  47886. msgstr ""
  47887. #. type: table
  47888. #: guix-git/doc/guix.texi:32497
  47889. 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}."
  47890. msgstr ""
  47891. #. type: table
  47892. #: guix-git/doc/guix.texi:32501
  47893. msgid "This is a string denoting the target onto which to install the bootloader."
  47894. msgstr ""
  47895. #. type: table
  47896. #: guix-git/doc/guix.texi:32510
  47897. 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."
  47898. msgstr ""
  47899. #. type: item
  47900. #: guix-git/doc/guix.texi:32511
  47901. #, no-wrap
  47902. msgid "@code{menu-entries} (default: @code{()})"
  47903. msgstr ""
  47904. #. type: table
  47905. #: guix-git/doc/guix.texi:32515
  47906. 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."
  47907. msgstr ""
  47908. #. type: item
  47909. #: guix-git/doc/guix.texi:32516
  47910. #, no-wrap
  47911. msgid "@code{default-entry} (default: @code{0})"
  47912. msgstr ""
  47913. #. type: table
  47914. #: guix-git/doc/guix.texi:32519
  47915. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  47916. msgstr ""
  47917. #. type: item
  47918. #: guix-git/doc/guix.texi:32520
  47919. #, no-wrap
  47920. msgid "@code{timeout} (default: @code{5})"
  47921. msgstr ""
  47922. #. type: table
  47923. #: guix-git/doc/guix.texi:32523
  47924. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  47925. msgstr ""
  47926. #. type: cindex
  47927. #: guix-git/doc/guix.texi:32524
  47928. #, no-wrap
  47929. msgid "keyboard layout, for the bootloader"
  47930. msgstr ""
  47931. #. type: table
  47932. #: guix-git/doc/guix.texi:32528
  47933. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  47934. msgstr ""
  47935. #. type: table
  47936. #: guix-git/doc/guix.texi:32531
  47937. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  47938. msgstr ""
  47939. #. type: quotation
  47940. #: guix-git/doc/guix.texi:32535
  47941. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  47942. msgstr ""
  47943. #. type: item
  47944. #: guix-git/doc/guix.texi:32537
  47945. #, no-wrap
  47946. msgid "@code{theme} (default: @var{#f})"
  47947. msgstr ""
  47948. #. type: table
  47949. #: guix-git/doc/guix.texi:32541
  47950. 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."
  47951. msgstr ""
  47952. #. type: item
  47953. #: guix-git/doc/guix.texi:32542
  47954. #, no-wrap
  47955. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  47956. msgstr ""
  47957. #. type: table
  47958. #: guix-git/doc/guix.texi:32549
  47959. 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})."
  47960. msgstr ""
  47961. #. type: item
  47962. #: guix-git/doc/guix.texi:32550
  47963. #, no-wrap
  47964. msgid "@code{terminal-inputs} (default: @code{'()})"
  47965. msgstr ""
  47966. #. type: table
  47967. #: guix-git/doc/guix.texi:32558
  47968. 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})."
  47969. msgstr ""
  47970. #. type: item
  47971. #: guix-git/doc/guix.texi:32559
  47972. #, no-wrap
  47973. msgid "@code{serial-unit} (default: @code{#f})"
  47974. msgstr ""
  47975. #. type: table
  47976. #: guix-git/doc/guix.texi:32563
  47977. 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})."
  47978. msgstr ""
  47979. #. type: item
  47980. #: guix-git/doc/guix.texi:32564
  47981. #, no-wrap
  47982. msgid "@code{serial-speed} (default: @code{#f})"
  47983. msgstr ""
  47984. #. type: table
  47985. #: guix-git/doc/guix.texi:32568
  47986. 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})."
  47987. msgstr ""
  47988. #. type: cindex
  47989. #: guix-git/doc/guix.texi:32572
  47990. #, no-wrap
  47991. msgid "dual boot"
  47992. msgstr ""
  47993. #. type: cindex
  47994. #: guix-git/doc/guix.texi:32573
  47995. #, no-wrap
  47996. msgid "boot menu"
  47997. msgstr ""
  47998. #. type: Plain text
  47999. #: guix-git/doc/guix.texi:32579
  48000. 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:"
  48001. msgstr ""
  48002. #. type: lisp
  48003. #: guix-git/doc/guix.texi:32586
  48004. #, no-wrap
  48005. msgid ""
  48006. "(menu-entry\n"
  48007. " (label \"The Other Distro\")\n"
  48008. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  48009. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  48010. " (initrd \"/boot/old/initrd\"))\n"
  48011. msgstr ""
  48012. #. type: Plain text
  48013. #: guix-git/doc/guix.texi:32589
  48014. msgid "Details below."
  48015. msgstr ""
  48016. #. type: deftp
  48017. #: guix-git/doc/guix.texi:32590
  48018. #, no-wrap
  48019. msgid "{Data Type} menu-entry"
  48020. msgstr ""
  48021. #. type: deftp
  48022. #: guix-git/doc/guix.texi:32592
  48023. msgid "The type of an entry in the bootloader menu."
  48024. msgstr ""
  48025. #. type: table
  48026. #: guix-git/doc/guix.texi:32597
  48027. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  48028. msgstr ""
  48029. #. type: item
  48030. #: guix-git/doc/guix.texi:32598
  48031. #, no-wrap
  48032. msgid "@code{linux} (default: @code{#f})"
  48033. msgstr ""
  48034. #. type: table
  48035. #: guix-git/doc/guix.texi:32600
  48036. msgid "The Linux kernel image to boot, for example:"
  48037. msgstr ""
  48038. #. type: lisp
  48039. #: guix-git/doc/guix.texi:32603
  48040. #, no-wrap
  48041. msgid "(file-append linux-libre \"/bzImage\")\n"
  48042. msgstr ""
  48043. #. type: table
  48044. #: guix-git/doc/guix.texi:32608
  48045. 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:"
  48046. msgstr ""
  48047. #. type: example
  48048. #: guix-git/doc/guix.texi:32611
  48049. #, no-wrap
  48050. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  48051. msgstr ""
  48052. #. type: table
  48053. #: guix-git/doc/guix.texi:32615
  48054. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  48055. msgstr ""
  48056. #. type: item
  48057. #: guix-git/doc/guix.texi:32616
  48058. #, no-wrap
  48059. msgid "@code{linux-arguments} (default: @code{()})"
  48060. msgstr ""
  48061. #. type: table
  48062. #: guix-git/doc/guix.texi:32619
  48063. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  48064. msgstr ""
  48065. #. type: item
  48066. #: guix-git/doc/guix.texi:32620
  48067. #, no-wrap
  48068. msgid "@code{initrd} (default: @code{#f})"
  48069. msgstr ""
  48070. #. type: table
  48071. #: guix-git/doc/guix.texi:32623
  48072. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  48073. msgstr ""
  48074. #. type: item
  48075. #: guix-git/doc/guix.texi:32624
  48076. #, no-wrap
  48077. msgid "@code{device} (default: @code{#f})"
  48078. msgstr ""
  48079. #. type: table
  48080. #: guix-git/doc/guix.texi:32627
  48081. 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})."
  48082. msgstr ""
  48083. #. type: table
  48084. #: guix-git/doc/guix.texi:32633
  48085. 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}."
  48086. msgstr ""
  48087. #. type: item
  48088. #: guix-git/doc/guix.texi:32634
  48089. #, no-wrap
  48090. msgid "@code{multiboot-kernel} (default: @code{#f})"
  48091. msgstr ""
  48092. #. type: table
  48093. #: guix-git/doc/guix.texi:32638
  48094. 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:"
  48095. msgstr ""
  48096. #. type: lisp
  48097. #: guix-git/doc/guix.texi:32641
  48098. #, no-wrap
  48099. msgid "(file-append mach \"/boot/gnumach\")\n"
  48100. msgstr ""
  48101. #. type: item
  48102. #: guix-git/doc/guix.texi:32643
  48103. #, no-wrap
  48104. msgid "@code{multiboot-arguments} (default: @code{()})"
  48105. msgstr ""
  48106. #. type: table
  48107. #: guix-git/doc/guix.texi:32645
  48108. msgid "The list of extra command-line arguments for the multiboot-kernel."
  48109. msgstr ""
  48110. #. type: item
  48111. #: guix-git/doc/guix.texi:32646
  48112. #, no-wrap
  48113. msgid "@code{multiboot-modules} (default: @code{()})"
  48114. msgstr ""
  48115. #. type: table
  48116. #: guix-git/doc/guix.texi:32648
  48117. msgid "The list of commands for loading Multiboot modules. For example:"
  48118. msgstr ""
  48119. #. type: lisp
  48120. #: guix-git/doc/guix.texi:32654
  48121. #, no-wrap
  48122. msgid ""
  48123. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  48124. " @dots{})\n"
  48125. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  48126. " @dots{}))\n"
  48127. msgstr ""
  48128. #. type: cindex
  48129. #: guix-git/doc/guix.texi:32659 guix-git/doc/guix.texi:32718
  48130. #, no-wrap
  48131. msgid "HDPI"
  48132. msgstr ""
  48133. #. type: cindex
  48134. #: guix-git/doc/guix.texi:32660 guix-git/doc/guix.texi:32719
  48135. #, no-wrap
  48136. msgid "HiDPI"
  48137. msgstr ""
  48138. #. type: cindex
  48139. #: guix-git/doc/guix.texi:32661 guix-git/doc/guix.texi:32720
  48140. #, no-wrap
  48141. msgid "resolution"
  48142. msgstr "해상도"
  48143. #. type: Plain text
  48144. #: guix-git/doc/guix.texi:32665
  48145. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  48146. msgstr ""
  48147. #. type: deftp
  48148. #: guix-git/doc/guix.texi:32666
  48149. #, no-wrap
  48150. msgid "{Data Type} grub-theme"
  48151. msgstr ""
  48152. #. type: deftp
  48153. #: guix-git/doc/guix.texi:32668
  48154. msgid "Data type representing the configuration of the GRUB theme."
  48155. msgstr ""
  48156. #. type: item
  48157. #: guix-git/doc/guix.texi:32670
  48158. #, no-wrap
  48159. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  48160. msgstr ""
  48161. #. type: table
  48162. #: guix-git/doc/guix.texi:32673
  48163. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  48164. msgstr ""
  48165. #. type: deffn
  48166. #: guix-git/doc/guix.texi:32676
  48167. #, no-wrap
  48168. msgid "{Scheme Procedure} grub-theme"
  48169. msgstr ""
  48170. #. type: deffn
  48171. #: guix-git/doc/guix.texi:32680
  48172. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  48173. msgstr ""
  48174. #. type: deffn
  48175. #: guix-git/doc/guix.texi:32683
  48176. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  48177. msgstr ""
  48178. #. type: Plain text
  48179. #: guix-git/doc/guix.texi:32687
  48180. msgid "For example, to override the default resolution, you may use something like"
  48181. msgstr ""
  48182. #. type: lisp
  48183. #: guix-git/doc/guix.texi:32695
  48184. #, no-wrap
  48185. msgid ""
  48186. "(bootloader\n"
  48187. " (bootloader-configuration\n"
  48188. " ;; @dots{}\n"
  48189. " (theme (grub-theme\n"
  48190. " (inherit (grub-theme))\n"
  48191. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  48192. msgstr ""
  48193. #. type: section
  48194. #: guix-git/doc/guix.texi:32698
  48195. #, no-wrap
  48196. msgid "Invoking @code{guix system}"
  48197. msgstr ""
  48198. #. type: Plain text
  48199. #: guix-git/doc/guix.texi:32703
  48200. 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:"
  48201. msgstr ""
  48202. #. type: example
  48203. #: guix-git/doc/guix.texi:32706
  48204. #, no-wrap
  48205. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  48206. msgstr ""
  48207. #. type: Plain text
  48208. #: guix-git/doc/guix.texi:32712
  48209. 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:"
  48210. msgstr ""
  48211. #. type: item
  48212. #: guix-git/doc/guix.texi:32714
  48213. #, no-wrap
  48214. msgid "search"
  48215. msgstr "검색"
  48216. #. type: table
  48217. #: guix-git/doc/guix.texi:32717
  48218. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  48219. msgstr ""
  48220. #. type: example
  48221. #: guix-git/doc/guix.texi:32739
  48222. #, no-wrap
  48223. msgid ""
  48224. "$ guix system search console\n"
  48225. "name: console-fonts\n"
  48226. "location: gnu/services/base.scm:806:2\n"
  48227. "extends: shepherd-root\n"
  48228. "description: Install the given fonts on the specified ttys (fonts are per\n"
  48229. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  48230. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  48231. "+ package or any valid argument to `setfont', as in this example:\n"
  48232. "+\n"
  48233. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  48234. "+ (\"tty2\" . (file-append\n"
  48235. "+ font-tamzen\n"
  48236. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  48237. "+ (\"tty3\" . (file-append\n"
  48238. "+ font-terminus\n"
  48239. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  48240. "relevance: 9\n"
  48241. "\n"
  48242. msgstr ""
  48243. #. type: example
  48244. #: guix-git/doc/guix.texi:32745
  48245. #, no-wrap
  48246. msgid ""
  48247. "name: mingetty\n"
  48248. "location: gnu/services/base.scm:1190:2\n"
  48249. "extends: shepherd-root\n"
  48250. "description: Provide console login using the `mingetty' program.\n"
  48251. "relevance: 2\n"
  48252. "\n"
  48253. msgstr ""
  48254. #. type: example
  48255. #: guix-git/doc/guix.texi:32752
  48256. #, no-wrap
  48257. msgid ""
  48258. "name: login\n"
  48259. "location: gnu/services/base.scm:860:2\n"
  48260. "extends: pam\n"
  48261. "description: Provide a console log-in service as specified by its\n"
  48262. "+ configuration value, a `login-configuration' object.\n"
  48263. "relevance: 2\n"
  48264. "\n"
  48265. msgstr ""
  48266. #. type: example
  48267. #: guix-git/doc/guix.texi:32754
  48268. #, no-wrap
  48269. msgid "@dots{}\n"
  48270. msgstr ""
  48271. #. type: table
  48272. #: guix-git/doc/guix.texi:32759
  48273. 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})."
  48274. msgstr ""
  48275. #. type: item
  48276. #: guix-git/doc/guix.texi:32760
  48277. #, no-wrap
  48278. msgid "reconfigure"
  48279. msgstr ""
  48280. #. type: table
  48281. #: guix-git/doc/guix.texi:32765
  48282. 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.}."
  48283. msgstr ""
  48284. #. type: quotation
  48285. #: guix-git/doc/guix.texi:32773
  48286. 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."
  48287. msgstr ""
  48288. #. type: table
  48289. #: guix-git/doc/guix.texi:32781
  48290. 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})."
  48291. msgstr ""
  48292. #. type: table
  48293. #: guix-git/doc/guix.texi:32787
  48294. 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})."
  48295. msgstr ""
  48296. #. type: table
  48297. #: guix-git/doc/guix.texi:32792
  48298. 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."
  48299. msgstr ""
  48300. #. type: cindex
  48301. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:33118
  48302. #: guix-git/doc/guix.texi:34066
  48303. #, no-wrap
  48304. msgid "provenance tracking, of the operating system"
  48305. msgstr ""
  48306. #. type: table
  48307. #: guix-git/doc/guix.texi:32798
  48308. 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:"
  48309. msgstr ""
  48310. #. type: example
  48311. #: guix-git/doc/guix.texi:32801
  48312. #, no-wrap
  48313. msgid "guix system describe\n"
  48314. msgstr ""
  48315. #. type: table
  48316. #: guix-git/doc/guix.texi:32807
  48317. 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:"
  48318. msgstr ""
  48319. #. type: example
  48320. #: guix-git/doc/guix.texi:32813
  48321. #, no-wrap
  48322. msgid ""
  48323. "guix time-machine \\\n"
  48324. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  48325. " system reconfigure \\\n"
  48326. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  48327. msgstr ""
  48328. #. type: table
  48329. #: guix-git/doc/guix.texi:32819
  48330. 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."
  48331. msgstr ""
  48332. #. type: table
  48333. #: guix-git/doc/guix.texi:32825
  48334. 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}."
  48335. msgstr ""
  48336. #. type: item
  48337. #: guix-git/doc/guix.texi:32826
  48338. #, no-wrap
  48339. msgid "switch-generation"
  48340. msgstr ""
  48341. #. type: table
  48342. #: guix-git/doc/guix.texi:32835
  48343. 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."
  48344. msgstr ""
  48345. #. type: table
  48346. #: guix-git/doc/guix.texi:32839
  48347. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  48348. msgstr ""
  48349. #. type: table
  48350. #: guix-git/doc/guix.texi:32843
  48351. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  48352. msgstr ""
  48353. #. type: example
  48354. #: guix-git/doc/guix.texi:32846
  48355. #, no-wrap
  48356. msgid "guix system switch-generation 7\n"
  48357. msgstr ""
  48358. #. type: table
  48359. #: guix-git/doc/guix.texi:32854
  48360. 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:"
  48361. msgstr ""
  48362. #. type: example
  48363. #: guix-git/doc/guix.texi:32857
  48364. #, no-wrap
  48365. msgid "guix system switch-generation -- -1\n"
  48366. msgstr ""
  48367. #. type: table
  48368. #: guix-git/doc/guix.texi:32865
  48369. 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."
  48370. msgstr ""
  48371. #. type: table
  48372. #: guix-git/doc/guix.texi:32867
  48373. msgid "This action will fail if the specified generation does not exist."
  48374. msgstr ""
  48375. #. type: item
  48376. #: guix-git/doc/guix.texi:32868
  48377. #, no-wrap
  48378. msgid "roll-back"
  48379. msgstr ""
  48380. #. type: table
  48381. #: guix-git/doc/guix.texi:32874
  48382. 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}."
  48383. msgstr ""
  48384. #. type: table
  48385. #: guix-git/doc/guix.texi:32878
  48386. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  48387. msgstr ""
  48388. #. type: item
  48389. #: guix-git/doc/guix.texi:32879
  48390. #, no-wrap
  48391. msgid "delete-generations"
  48392. msgstr ""
  48393. #. type: cindex
  48394. #: guix-git/doc/guix.texi:32880
  48395. #, no-wrap
  48396. msgid "deleting system generations"
  48397. msgstr ""
  48398. #. type: cindex
  48399. #: guix-git/doc/guix.texi:32881
  48400. #, no-wrap
  48401. msgid "saving space"
  48402. msgstr ""
  48403. #. type: table
  48404. #: guix-git/doc/guix.texi:32885
  48405. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  48406. msgstr ""
  48407. #. type: table
  48408. #: guix-git/doc/guix.texi:32889
  48409. 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:"
  48410. msgstr ""
  48411. #. type: example
  48412. #: guix-git/doc/guix.texi:32892
  48413. #, no-wrap
  48414. msgid "guix system delete-generations\n"
  48415. msgstr ""
  48416. #. type: table
  48417. #: guix-git/doc/guix.texi:32896
  48418. 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:"
  48419. msgstr ""
  48420. #. type: example
  48421. #: guix-git/doc/guix.texi:32899
  48422. #, no-wrap
  48423. msgid "guix system delete-generations 2m\n"
  48424. msgstr ""
  48425. #. type: table
  48426. #: guix-git/doc/guix.texi:32904
  48427. 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."
  48428. msgstr ""
  48429. #. type: table
  48430. #: guix-git/doc/guix.texi:32909
  48431. 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."
  48432. msgstr ""
  48433. #. type: item
  48434. #: guix-git/doc/guix.texi:32910
  48435. #, no-wrap
  48436. msgid "init"
  48437. msgstr ""
  48438. #. type: table
  48439. #: guix-git/doc/guix.texi:32914
  48440. 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:"
  48441. msgstr ""
  48442. #. type: example
  48443. #: guix-git/doc/guix.texi:32917
  48444. #, no-wrap
  48445. msgid "guix system init my-os-config.scm /mnt\n"
  48446. msgstr ""
  48447. #. type: table
  48448. #: guix-git/doc/guix.texi:32924
  48449. 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."
  48450. msgstr ""
  48451. #. type: table
  48452. #: guix-git/doc/guix.texi:32928
  48453. msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  48454. msgstr ""
  48455. #. type: item
  48456. #: guix-git/doc/guix.texi:32929
  48457. #, no-wrap
  48458. msgid "vm"
  48459. msgstr "vm"
  48460. #. type: cindex
  48461. #: guix-git/doc/guix.texi:32930 guix-git/doc/guix.texi:33491
  48462. #, no-wrap
  48463. msgid "virtual machine"
  48464. msgstr "가상 장비"
  48465. #. type: cindex
  48466. #: guix-git/doc/guix.texi:32931
  48467. #, no-wrap
  48468. msgid "VM"
  48469. msgstr ""
  48470. #. type: anchor{#1}
  48471. #: guix-git/doc/guix.texi:32935
  48472. msgid "guix system vm"
  48473. msgstr ""
  48474. #. type: table
  48475. #: guix-git/doc/guix.texi:32935
  48476. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  48477. msgstr ""
  48478. #. type: quotation
  48479. #: guix-git/doc/guix.texi:32943
  48480. 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})."
  48481. msgstr ""
  48482. #. type: table
  48483. #: guix-git/doc/guix.texi:32948
  48484. 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:"
  48485. msgstr ""
  48486. #. type: example
  48487. #: guix-git/doc/guix.texi:32951
  48488. #, no-wrap
  48489. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -net user,model=virtio-net-pci\n"
  48490. msgstr ""
  48491. #. type: table
  48492. #: guix-git/doc/guix.texi:32954
  48493. msgid "The VM shares its store with the host system."
  48494. msgstr ""
  48495. #. type: table
  48496. #: guix-git/doc/guix.texi:32959
  48497. 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."
  48498. msgstr ""
  48499. #. type: table
  48500. #: guix-git/doc/guix.texi:32963
  48501. 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:"
  48502. msgstr ""
  48503. #. type: example
  48504. #: guix-git/doc/guix.texi:32967
  48505. #, no-wrap
  48506. msgid ""
  48507. "guix system vm my-config.scm \\\n"
  48508. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  48509. msgstr ""
  48510. #. type: table
  48511. #: guix-git/doc/guix.texi:32972
  48512. 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."
  48513. msgstr ""
  48514. #. type: table
  48515. #: guix-git/doc/guix.texi:32978
  48516. 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."
  48517. msgstr ""
  48518. #. type: cindex
  48519. #: guix-git/doc/guix.texi:32979
  48520. #, no-wrap
  48521. msgid "System images, creation in various formats"
  48522. msgstr ""
  48523. #. type: cindex
  48524. #: guix-git/doc/guix.texi:32980
  48525. #, no-wrap
  48526. msgid "Creating system images in various formats"
  48527. msgstr ""
  48528. #. type: item
  48529. #: guix-git/doc/guix.texi:32981
  48530. #, no-wrap
  48531. msgid "image"
  48532. msgstr "이미지"
  48533. #. type: itemx
  48534. #: guix-git/doc/guix.texi:32982
  48535. #, no-wrap
  48536. msgid "docker-image"
  48537. msgstr ""
  48538. #. type: table
  48539. #: guix-git/doc/guix.texi:32990
  48540. 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}."
  48541. msgstr ""
  48542. #. type: cindex
  48543. #: guix-git/doc/guix.texi:32991
  48544. #, no-wrap
  48545. msgid "image, creating disk images"
  48546. msgstr ""
  48547. #. type: table
  48548. #: guix-git/doc/guix.texi:33003
  48549. 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:"
  48550. msgstr ""
  48551. #. type: example
  48552. #: guix-git/doc/guix.texi:33011
  48553. #, no-wrap
  48554. msgid ""
  48555. "image=$(guix system image --image-type=qcow2 \\\n"
  48556. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  48557. "cp $image /tmp/my-image.qcow2\n"
  48558. "chmod +w /tmp/my-image.qcow2\n"
  48559. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  48560. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  48561. msgstr ""
  48562. #. type: table
  48563. #: guix-git/doc/guix.texi:33017
  48564. 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:"
  48565. msgstr ""
  48566. #. type: example
  48567. #: guix-git/doc/guix.texi:33020
  48568. #, no-wrap
  48569. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  48570. msgstr ""
  48571. #. type: table
  48572. #: guix-git/doc/guix.texi:33024
  48573. msgid "The @code{--list-image-types} command lists all the available image types."
  48574. msgstr ""
  48575. #. type: cindex
  48576. #: guix-git/doc/guix.texi:33025
  48577. #, no-wrap
  48578. msgid "creating virtual machine images"
  48579. msgstr ""
  48580. #. type: table
  48581. #: guix-git/doc/guix.texi:33034
  48582. 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)."
  48583. msgstr ""
  48584. #. type: cindex
  48585. #: guix-git/doc/guix.texi:33035
  48586. #, no-wrap
  48587. msgid "docker-image, creating docker images"
  48588. msgstr ""
  48589. #. type: table
  48590. #: guix-git/doc/guix.texi:33041
  48591. 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:"
  48592. msgstr ""
  48593. #. type: example
  48594. #: guix-git/doc/guix.texi:33046
  48595. #, no-wrap
  48596. msgid ""
  48597. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  48598. "container_id=\"$(docker create $image_id)\"\n"
  48599. "docker start $container_id\n"
  48600. msgstr ""
  48601. #. type: table
  48602. #: guix-git/doc/guix.texi:33053
  48603. 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}:"
  48604. msgstr ""
  48605. #. type: example
  48606. #: guix-git/doc/guix.texi:33056
  48607. #, no-wrap
  48608. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  48609. msgstr ""
  48610. #. type: table
  48611. #: guix-git/doc/guix.texi:33063
  48612. 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}."
  48613. msgstr ""
  48614. #. type: table
  48615. #: guix-git/doc/guix.texi:33067
  48616. 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."
  48617. msgstr ""
  48618. #. type: table
  48619. #: guix-git/doc/guix.texi:33075
  48620. 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."
  48621. msgstr ""
  48622. #. type: table
  48623. #: guix-git/doc/guix.texi:33079
  48624. 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."
  48625. msgstr ""
  48626. #. type: table
  48627. #: guix-git/doc/guix.texi:33083
  48628. 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:"
  48629. msgstr ""
  48630. #. type: example
  48631. #: guix-git/doc/guix.texi:33087
  48632. #, no-wrap
  48633. msgid ""
  48634. "guix system container my-config.scm \\\n"
  48635. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  48636. msgstr ""
  48637. #. type: quotation
  48638. #: guix-git/doc/guix.texi:33091
  48639. msgid "This option requires Linux-libre 3.19 or newer."
  48640. msgstr ""
  48641. #. type: Plain text
  48642. #: guix-git/doc/guix.texi:33098
  48643. 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:"
  48644. msgstr ""
  48645. #. type: table
  48646. #: guix-git/doc/guix.texi:33107
  48647. 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})."
  48648. msgstr ""
  48649. #. type: table
  48650. #: guix-git/doc/guix.texi:33112
  48651. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  48652. msgstr ""
  48653. #. type: table
  48654. #: guix-git/doc/guix.texi:33117
  48655. msgid "Return the derivation file name of the given operating system without building anything."
  48656. msgstr ""
  48657. #. type: table
  48658. #: guix-git/doc/guix.texi:33126
  48659. 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:"
  48660. msgstr ""
  48661. #. type: example
  48662. #: guix-git/doc/guix.texi:33129
  48663. #, no-wrap
  48664. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  48665. msgstr ""
  48666. #. type: table
  48667. #: guix-git/doc/guix.texi:33136
  48668. 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."
  48669. msgstr ""
  48670. #. type: item
  48671. #: guix-git/doc/guix.texi:33137
  48672. #, no-wrap
  48673. msgid "--image-type=@var{type}"
  48674. msgstr ""
  48675. #. type: table
  48676. #: guix-git/doc/guix.texi:33140
  48677. msgid "For the @code{image} action, create an image with given @var{type}."
  48678. msgstr ""
  48679. #. type: table
  48680. #: guix-git/doc/guix.texi:33143
  48681. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  48682. msgstr ""
  48683. #. type: cindex
  48684. #: guix-git/doc/guix.texi:33144
  48685. #, no-wrap
  48686. msgid "ISO-9660 format"
  48687. msgstr ""
  48688. #. type: cindex
  48689. #: guix-git/doc/guix.texi:33145
  48690. #, no-wrap
  48691. msgid "CD image format"
  48692. msgstr ""
  48693. #. type: cindex
  48694. #: guix-git/doc/guix.texi:33146
  48695. #, no-wrap
  48696. msgid "DVD image format"
  48697. msgstr ""
  48698. #. type: table
  48699. #: guix-git/doc/guix.texi:33149
  48700. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  48701. msgstr ""
  48702. #. type: item
  48703. #: guix-git/doc/guix.texi:33150
  48704. #, no-wrap
  48705. msgid "--image-size=@var{size}"
  48706. msgstr ""
  48707. #. type: table
  48708. #: guix-git/doc/guix.texi:33155
  48709. 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})."
  48710. msgstr ""
  48711. #. type: table
  48712. #: guix-git/doc/guix.texi:33159
  48713. 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}."
  48714. msgstr ""
  48715. #. type: table
  48716. #: guix-git/doc/guix.texi:33164
  48717. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  48718. msgstr ""
  48719. #. type: item
  48720. #: guix-git/doc/guix.texi:33170
  48721. #, no-wrap
  48722. msgid "--skip-checks"
  48723. msgstr ""
  48724. #. type: table
  48725. #: guix-git/doc/guix.texi:33172
  48726. msgid "Skip pre-installation safety checks."
  48727. msgstr ""
  48728. #. type: table
  48729. #: guix-git/doc/guix.texi:33179
  48730. 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."
  48731. msgstr ""
  48732. #. type: table
  48733. #: guix-git/doc/guix.texi:33182
  48734. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  48735. msgstr ""
  48736. #. type: table
  48737. #: guix-git/doc/guix.texi:33190
  48738. 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."
  48739. msgstr ""
  48740. #. type: cindex
  48741. #: guix-git/doc/guix.texi:33196
  48742. #, no-wrap
  48743. msgid "on-error"
  48744. msgstr ""
  48745. #. type: cindex
  48746. #: guix-git/doc/guix.texi:33197
  48747. #, no-wrap
  48748. msgid "on-error strategy"
  48749. msgstr ""
  48750. #. type: cindex
  48751. #: guix-git/doc/guix.texi:33198
  48752. #, no-wrap
  48753. msgid "error strategy"
  48754. msgstr ""
  48755. #. type: item
  48756. #: guix-git/doc/guix.texi:33199
  48757. #, no-wrap
  48758. msgid "--on-error=@var{strategy}"
  48759. msgstr ""
  48760. #. type: table
  48761. #: guix-git/doc/guix.texi:33202
  48762. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  48763. msgstr ""
  48764. #. type: item
  48765. #: guix-git/doc/guix.texi:33204
  48766. #, no-wrap
  48767. msgid "nothing-special"
  48768. msgstr ""
  48769. #. type: table
  48770. #: guix-git/doc/guix.texi:33206
  48771. msgid "Report the error concisely and exit. This is the default strategy."
  48772. msgstr ""
  48773. #. type: item
  48774. #: guix-git/doc/guix.texi:33207
  48775. #, no-wrap
  48776. msgid "backtrace"
  48777. msgstr ""
  48778. #. type: table
  48779. #: guix-git/doc/guix.texi:33209
  48780. msgid "Likewise, but also display a backtrace."
  48781. msgstr ""
  48782. #. type: item
  48783. #: guix-git/doc/guix.texi:33210
  48784. #, no-wrap
  48785. msgid "debug"
  48786. msgstr "디버그"
  48787. #. type: table
  48788. #: guix-git/doc/guix.texi:33216
  48789. 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."
  48790. msgstr ""
  48791. #. type: Plain text
  48792. #: guix-git/doc/guix.texi:33223
  48793. 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:"
  48794. msgstr ""
  48795. #. type: item
  48796. #: guix-git/doc/guix.texi:33226
  48797. #, no-wrap
  48798. msgid "describe"
  48799. msgstr ""
  48800. #. type: table
  48801. #: guix-git/doc/guix.texi:33229
  48802. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  48803. msgstr ""
  48804. #. type: item
  48805. #: guix-git/doc/guix.texi:33230
  48806. #, no-wrap
  48807. msgid "list-generations"
  48808. msgstr ""
  48809. #. type: table
  48810. #: guix-git/doc/guix.texi:33235
  48811. 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})."
  48812. msgstr ""
  48813. #. type: table
  48814. #: guix-git/doc/guix.texi:33240
  48815. 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:"
  48816. msgstr ""
  48817. #. type: example
  48818. #: guix-git/doc/guix.texi:33243
  48819. #, no-wrap
  48820. msgid "$ guix system list-generations 10d\n"
  48821. msgstr ""
  48822. #. type: Plain text
  48823. #: guix-git/doc/guix.texi:33250
  48824. 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:"
  48825. msgstr ""
  48826. #. type: anchor{#1}
  48827. #: guix-git/doc/guix.texi:33252
  48828. msgid "system-extension-graph"
  48829. msgstr ""
  48830. #. type: item
  48831. #: guix-git/doc/guix.texi:33254
  48832. #, no-wrap
  48833. msgid "extension-graph"
  48834. msgstr ""
  48835. #. type: table
  48836. #: guix-git/doc/guix.texi:33261
  48837. 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}}):"
  48838. msgstr ""
  48839. #. type: table
  48840. #: guix-git/doc/guix.texi:33263
  48841. msgid "The command:"
  48842. msgstr ""
  48843. #. type: example
  48844. #: guix-git/doc/guix.texi:33266
  48845. #, no-wrap
  48846. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  48847. msgstr ""
  48848. #. type: table
  48849. #: guix-git/doc/guix.texi:33269
  48850. msgid "shows the extension relations among services."
  48851. msgstr ""
  48852. #. type: anchor{#1}
  48853. #: guix-git/doc/guix.texi:33271
  48854. msgid "system-shepherd-graph"
  48855. msgstr ""
  48856. #. type: item
  48857. #: guix-git/doc/guix.texi:33271
  48858. #, no-wrap
  48859. msgid "shepherd-graph"
  48860. msgstr ""
  48861. #. type: table
  48862. #: guix-git/doc/guix.texi:33276
  48863. 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."
  48864. msgstr ""
  48865. #. type: table
  48866. #: guix-git/doc/guix.texi:33279
  48867. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  48868. msgstr ""
  48869. #. type: section
  48870. #: guix-git/doc/guix.texi:33283
  48871. #, no-wrap
  48872. msgid "Invoking @code{guix deploy}"
  48873. msgstr ""
  48874. #. type: Plain text
  48875. #: guix-git/doc/guix.texi:33291
  48876. 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''."
  48877. msgstr ""
  48878. #. type: quotation
  48879. #: guix-git/doc/guix.texi:33296
  48880. 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}!"
  48881. msgstr ""
  48882. #. type: example
  48883. #: guix-git/doc/guix.texi:33300
  48884. #, no-wrap
  48885. msgid "guix deploy @var{file}\n"
  48886. msgstr ""
  48887. #. type: Plain text
  48888. #: guix-git/doc/guix.texi:33304
  48889. 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:"
  48890. msgstr ""
  48891. #. type: lisp
  48892. #: guix-git/doc/guix.texi:33311
  48893. #, no-wrap
  48894. msgid ""
  48895. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  48896. ";; no X11 display server, to a machine with an SSH daemon\n"
  48897. ";; listening on localhost:2222. A configuration such as this\n"
  48898. ";; may be appropriate for virtual machine with ports\n"
  48899. ";; forwarded to the host's loopback interface.\n"
  48900. "\n"
  48901. msgstr ""
  48902. #. type: lisp
  48903. #: guix-git/doc/guix.texi:33314
  48904. #, no-wrap
  48905. msgid ""
  48906. "(use-service-modules networking ssh)\n"
  48907. "(use-package-modules bootloaders)\n"
  48908. "\n"
  48909. msgstr ""
  48910. #. type: lisp
  48911. #: guix-git/doc/guix.texi:33335
  48912. #, no-wrap
  48913. msgid ""
  48914. "(define %system\n"
  48915. " (operating-system\n"
  48916. " (host-name \"gnu-deployed\")\n"
  48917. " (timezone \"Etc/UTC\")\n"
  48918. " (bootloader (bootloader-configuration\n"
  48919. " (bootloader grub-bootloader)\n"
  48920. " (target \"/dev/vda\")\n"
  48921. " (terminal-outputs '(console))))\n"
  48922. " (file-systems (cons (file-system\n"
  48923. " (mount-point \"/\")\n"
  48924. " (device \"/dev/vda1\")\n"
  48925. " (type \"ext4\"))\n"
  48926. " %base-file-systems))\n"
  48927. " (services\n"
  48928. " (append (list (service dhcp-client-service-type)\n"
  48929. " (service openssh-service-type\n"
  48930. " (openssh-configuration\n"
  48931. " (permit-root-login #t)\n"
  48932. " (allow-empty-passwords? #t))))\n"
  48933. " %base-services))))\n"
  48934. "\n"
  48935. msgstr ""
  48936. #. type: lisp
  48937. #: guix-git/doc/guix.texi:33345
  48938. #, no-wrap
  48939. msgid ""
  48940. "(list (machine\n"
  48941. " (operating-system %system)\n"
  48942. " (environment managed-host-environment-type)\n"
  48943. " (configuration (machine-ssh-configuration\n"
  48944. " (host-name \"localhost\")\n"
  48945. " (system \"x86_64-linux\")\n"
  48946. " (user \"alice\")\n"
  48947. " (identity \"./id_rsa\")\n"
  48948. " (port 2222)))))\n"
  48949. msgstr ""
  48950. #. type: Plain text
  48951. #: guix-git/doc/guix.texi:33358
  48952. 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."
  48953. msgstr ""
  48954. #. type: Plain text
  48955. #: guix-git/doc/guix.texi:33363
  48956. 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:"
  48957. msgstr ""
  48958. #. type: Plain text
  48959. #: guix-git/doc/guix.texi:33371
  48960. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  48961. msgstr ""
  48962. #. type: example
  48963. #: guix-git/doc/guix.texi:33374
  48964. #, no-wrap
  48965. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  48966. msgstr ""
  48967. #. type: Plain text
  48968. #: guix-git/doc/guix.texi:33385
  48969. 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:"
  48970. msgstr ""
  48971. #. type: lisp
  48972. #: guix-git/doc/guix.texi:33389
  48973. #, no-wrap
  48974. msgid ""
  48975. "(use-modules ...\n"
  48976. " (gnu system)) ;for %sudoers-specification\n"
  48977. "\n"
  48978. msgstr ""
  48979. #. type: lisp
  48980. #: guix-git/doc/guix.texi:33391
  48981. #, no-wrap
  48982. msgid ""
  48983. "(define %user \"username\")\n"
  48984. "\n"
  48985. msgstr ""
  48986. #. type: lisp
  48987. #: guix-git/doc/guix.texi:33399
  48988. #, no-wrap
  48989. msgid ""
  48990. "(operating-system\n"
  48991. " ...\n"
  48992. " (sudoers-file\n"
  48993. " (plain-file \"sudoers\"\n"
  48994. " (string-append (plain-file-content %sudoers-specification)\n"
  48995. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  48996. " %user)))))\n"
  48997. "\n"
  48998. msgstr ""
  48999. #. type: Plain text
  49000. #: guix-git/doc/guix.texi:33404
  49001. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  49002. msgstr ""
  49003. #. type: deftp
  49004. #: guix-git/doc/guix.texi:33405
  49005. #, no-wrap
  49006. msgid "{Data Type} machine"
  49007. msgstr ""
  49008. #. type: deftp
  49009. #: guix-git/doc/guix.texi:33408
  49010. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  49011. msgstr ""
  49012. #. type: table
  49013. #: guix-git/doc/guix.texi:33412
  49014. msgid "The object of the operating system configuration to deploy."
  49015. msgstr ""
  49016. #. type: code{#1}
  49017. #: guix-git/doc/guix.texi:33413
  49018. #, no-wrap
  49019. msgid "environment"
  49020. msgstr "환경"
  49021. #. type: table
  49022. #: guix-git/doc/guix.texi:33415
  49023. msgid "An @code{environment-type} describing how the machine should be provisioned."
  49024. msgstr ""
  49025. #. type: item
  49026. #: guix-git/doc/guix.texi:33416
  49027. #, no-wrap
  49028. msgid "@code{configuration} (default: @code{#f})"
  49029. msgstr ""
  49030. #. type: table
  49031. #: guix-git/doc/guix.texi:33421
  49032. 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."
  49033. msgstr ""
  49034. #. type: deftp
  49035. #: guix-git/doc/guix.texi:33424
  49036. #, no-wrap
  49037. msgid "{Data Type} machine-ssh-configuration"
  49038. msgstr ""
  49039. #. type: deftp
  49040. #: guix-git/doc/guix.texi:33427
  49041. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  49042. msgstr ""
  49043. #. type: item
  49044. #: guix-git/doc/guix.texi:33430
  49045. #, no-wrap
  49046. msgid "@code{build-locally?} (default: @code{#t})"
  49047. msgstr ""
  49048. #. type: table
  49049. #: guix-git/doc/guix.texi:33432
  49050. msgid "If false, system derivations will be built on the machine being deployed to."
  49051. msgstr ""
  49052. #. type: code{#1}
  49053. #: guix-git/doc/guix.texi:33432
  49054. #, no-wrap
  49055. msgid "system"
  49056. msgstr "시스템"
  49057. #. type: table
  49058. #: guix-git/doc/guix.texi:33435
  49059. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  49060. msgstr ""
  49061. #. type: item
  49062. #: guix-git/doc/guix.texi:33435
  49063. #, no-wrap
  49064. msgid "@code{authorize?} (default: @code{#t})"
  49065. msgstr ""
  49066. #. type: table
  49067. #: guix-git/doc/guix.texi:33438
  49068. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  49069. msgstr ""
  49070. #. type: item
  49071. #: guix-git/doc/guix.texi:33439
  49072. #, no-wrap
  49073. msgid "@code{user} (default: @code{\"root\"})"
  49074. msgstr ""
  49075. #. type: item
  49076. #: guix-git/doc/guix.texi:33440
  49077. #, no-wrap
  49078. msgid "@code{identity} (default: @code{#f})"
  49079. msgstr ""
  49080. #. type: table
  49081. #: guix-git/doc/guix.texi:33443
  49082. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  49083. msgstr ""
  49084. #. type: item
  49085. #: guix-git/doc/guix.texi:33444
  49086. #, no-wrap
  49087. msgid "@code{host-key} (default: @code{#f})"
  49088. msgstr ""
  49089. #. type: table
  49090. #: guix-git/doc/guix.texi:33446
  49091. msgid "This should be the SSH host key of the machine, which looks like this:"
  49092. msgstr ""
  49093. #. type: example
  49094. #: guix-git/doc/guix.texi:33449
  49095. #, no-wrap
  49096. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  49097. msgstr ""
  49098. #. type: table
  49099. #: guix-git/doc/guix.texi:33454
  49100. 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."
  49101. msgstr ""
  49102. #. type: item
  49103. #: guix-git/doc/guix.texi:33455
  49104. #, no-wrap
  49105. msgid "@code{allow-downgrades?} (default: @code{#f})"
  49106. msgstr ""
  49107. #. type: table
  49108. #: guix-git/doc/guix.texi:33457
  49109. msgid "Whether to allow potential downgrades."
  49110. msgstr ""
  49111. #. type: table
  49112. #: guix-git/doc/guix.texi:33465
  49113. 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."
  49114. msgstr ""
  49115. #. type: deftp
  49116. #: guix-git/doc/guix.texi:33468
  49117. #, no-wrap
  49118. msgid "{Data Type} digital-ocean-configuration"
  49119. msgstr ""
  49120. #. type: deftp
  49121. #: guix-git/doc/guix.texi:33471
  49122. 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}."
  49123. msgstr ""
  49124. #. type: code{#1}
  49125. #: guix-git/doc/guix.texi:33473
  49126. #, no-wrap
  49127. msgid "ssh-key"
  49128. msgstr "ssh 키"
  49129. #. type: table
  49130. #: guix-git/doc/guix.texi:33476
  49131. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  49132. msgstr ""
  49133. #. type: code{#1}
  49134. #: guix-git/doc/guix.texi:33476
  49135. #, no-wrap
  49136. msgid "tags"
  49137. msgstr ""
  49138. #. type: table
  49139. #: guix-git/doc/guix.texi:33479
  49140. 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."
  49141. msgstr ""
  49142. #. type: code{#1}
  49143. #: guix-git/doc/guix.texi:33479
  49144. #, no-wrap
  49145. msgid "region"
  49146. msgstr "지역"
  49147. #. type: table
  49148. #: guix-git/doc/guix.texi:33481
  49149. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  49150. msgstr ""
  49151. #. type: table
  49152. #: guix-git/doc/guix.texi:33483
  49153. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  49154. msgstr ""
  49155. #. type: code{#1}
  49156. #: guix-git/doc/guix.texi:33483
  49157. #, no-wrap
  49158. msgid "enable-ipv6?"
  49159. msgstr ""
  49160. #. type: table
  49161. #: guix-git/doc/guix.texi:33485
  49162. msgid "Whether or not the droplet should be created with IPv6 networking."
  49163. msgstr ""
  49164. #. type: section
  49165. #: guix-git/doc/guix.texi:33489
  49166. #, no-wrap
  49167. msgid "Running Guix in a Virtual Machine"
  49168. msgstr ""
  49169. #. type: Plain text
  49170. #: guix-git/doc/guix.texi:33498
  49171. 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)."
  49172. msgstr ""
  49173. #. type: Plain text
  49174. #: guix-git/doc/guix.texi:33505
  49175. 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})."
  49176. msgstr ""
  49177. #. type: Plain text
  49178. #: guix-git/doc/guix.texi:33510
  49179. 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."
  49180. msgstr ""
  49181. #. type: cindex
  49182. #: guix-git/doc/guix.texi:33511
  49183. #, no-wrap
  49184. msgid "QEMU"
  49185. msgstr ""
  49186. #. type: Plain text
  49187. #: guix-git/doc/guix.texi:33518
  49188. 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:"
  49189. msgstr ""
  49190. #. type: example
  49191. #: guix-git/doc/guix.texi:33525
  49192. #, no-wrap
  49193. msgid ""
  49194. "$ qemu-system-x86_64 \\\n"
  49195. " -nic user,model=virtio-net-pci \\\n"
  49196. " -enable-kvm -m 1024 \\\n"
  49197. " -device virtio-blk,drive=myhd \\\n"
  49198. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  49199. msgstr ""
  49200. #. type: Plain text
  49201. #: guix-git/doc/guix.texi:33528
  49202. msgid "Here is what each of these options means:"
  49203. msgstr ""
  49204. #. type: item
  49205. #: guix-git/doc/guix.texi:33530
  49206. #, no-wrap
  49207. msgid "qemu-system-x86_64"
  49208. msgstr ""
  49209. #. type: table
  49210. #: guix-git/doc/guix.texi:33533
  49211. msgid "This specifies the hardware platform to emulate. This should match the host."
  49212. msgstr ""
  49213. #. type: item
  49214. #: guix-git/doc/guix.texi:33534
  49215. #, no-wrap
  49216. msgid "-nic user,model=virtio-net-pci"
  49217. msgstr ""
  49218. #. type: table
  49219. #: guix-git/doc/guix.texi:33542
  49220. 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}."
  49221. msgstr ""
  49222. #. type: item
  49223. #: guix-git/doc/guix.texi:33543
  49224. #, no-wrap
  49225. msgid "-enable-kvm"
  49226. msgstr ""
  49227. #. type: table
  49228. #: guix-git/doc/guix.texi:33547
  49229. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  49230. msgstr ""
  49231. #. type: item
  49232. #: guix-git/doc/guix.texi:33549
  49233. #, no-wrap
  49234. msgid "-m 1024"
  49235. msgstr ""
  49236. #. type: table
  49237. #: guix-git/doc/guix.texi:33552
  49238. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  49239. msgstr ""
  49240. #. type: item
  49241. #: guix-git/doc/guix.texi:33553
  49242. #, no-wrap
  49243. msgid "-device virtio-blk,drive=myhd"
  49244. msgstr ""
  49245. #. type: table
  49246. #: guix-git/doc/guix.texi:33558
  49247. 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."
  49248. msgstr ""
  49249. #. type: item
  49250. #: guix-git/doc/guix.texi:33559
  49251. #, no-wrap
  49252. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  49253. msgstr ""
  49254. #. type: table
  49255. #: guix-git/doc/guix.texi:33562
  49256. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  49257. msgstr ""
  49258. #. type: Plain text
  49259. #: guix-git/doc/guix.texi:33572
  49260. 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}."
  49261. msgstr ""
  49262. #. type: subsection
  49263. #: guix-git/doc/guix.texi:33573
  49264. #, no-wrap
  49265. msgid "Connecting Through SSH"
  49266. msgstr ""
  49267. #. type: Plain text
  49268. #: guix-git/doc/guix.texi:33581
  49269. 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"
  49270. msgstr ""
  49271. #. type: example
  49272. #: guix-git/doc/guix.texi:33584
  49273. #, no-wrap
  49274. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  49275. msgstr ""
  49276. #. type: Plain text
  49277. #: guix-git/doc/guix.texi:33587
  49278. msgid "To connect to the VM you can run"
  49279. msgstr ""
  49280. #. type: example
  49281. #: guix-git/doc/guix.texi:33590
  49282. #, no-wrap
  49283. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  49284. msgstr ""
  49285. #. type: Plain text
  49286. #: guix-git/doc/guix.texi:33597
  49287. 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."
  49288. msgstr ""
  49289. #. type: subsection
  49290. #: guix-git/doc/guix.texi:33598
  49291. #, no-wrap
  49292. msgid "Using @command{virt-viewer} with Spice"
  49293. msgstr ""
  49294. #. type: Plain text
  49295. #: guix-git/doc/guix.texi:33604
  49296. 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."
  49297. msgstr ""
  49298. #. type: Plain text
  49299. #: guix-git/doc/guix.texi:33607
  49300. 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}:"
  49301. msgstr ""
  49302. #. type: example
  49303. #: guix-git/doc/guix.texi:33613
  49304. #, no-wrap
  49305. msgid ""
  49306. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  49307. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  49308. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  49309. "name=com.redhat.spice.0\n"
  49310. msgstr ""
  49311. #. type: Plain text
  49312. #: guix-git/doc/guix.texi:33617
  49313. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  49314. msgstr ""
  49315. #. type: Plain text
  49316. #: guix-git/doc/guix.texi:33624
  49317. 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?"
  49318. msgstr ""
  49319. #. type: cindex
  49320. #: guix-git/doc/guix.texi:33636
  49321. #, no-wrap
  49322. msgid "daemons"
  49323. msgstr ""
  49324. #. type: Plain text
  49325. #: guix-git/doc/guix.texi:33649
  49326. 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."
  49327. msgstr ""
  49328. #. type: cindex
  49329. #: guix-git/doc/guix.texi:33650
  49330. #, no-wrap
  49331. msgid "service extensions"
  49332. msgstr ""
  49333. #. type: Plain text
  49334. #: guix-git/doc/guix.texi:33662
  49335. 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})."
  49336. msgstr ""
  49337. #. type: Plain text
  49338. #: guix-git/doc/guix.texi:33666
  49339. 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:"
  49340. msgstr ""
  49341. #. type: Plain text
  49342. #: guix-git/doc/guix.texi:33668
  49343. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  49344. msgstr ""
  49345. #. type: cindex
  49346. #: guix-git/doc/guix.texi:33669
  49347. #, no-wrap
  49348. msgid "system service"
  49349. msgstr "시스템 서비스"
  49350. #. type: Plain text
  49351. #: guix-git/doc/guix.texi:33677
  49352. 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."
  49353. msgstr ""
  49354. #. type: cindex
  49355. #: guix-git/doc/guix.texi:33678
  49356. #, no-wrap
  49357. msgid "service types"
  49358. msgstr ""
  49359. #. type: Plain text
  49360. #: guix-git/doc/guix.texi:33684
  49361. 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."
  49362. msgstr ""
  49363. #. type: Plain text
  49364. #: guix-git/doc/guix.texi:33687
  49365. msgid "The following section describes the programming interface for service types and services."
  49366. msgstr ""
  49367. #. type: Plain text
  49368. #: guix-git/doc/guix.texi:33694
  49369. 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}):"
  49370. msgstr ""
  49371. #. type: lisp
  49372. #: guix-git/doc/guix.texi:33704
  49373. #, no-wrap
  49374. msgid ""
  49375. "(define guix-service-type\n"
  49376. " (service-type\n"
  49377. " (name 'guix)\n"
  49378. " (extensions\n"
  49379. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  49380. " (service-extension account-service-type guix-accounts)\n"
  49381. " (service-extension activation-service-type guix-activation)))\n"
  49382. " (default-value (guix-configuration))))\n"
  49383. msgstr ""
  49384. #. type: Plain text
  49385. #: guix-git/doc/guix.texi:33708
  49386. msgid "It defines three things:"
  49387. msgstr ""
  49388. #. type: enumerate
  49389. #: guix-git/doc/guix.texi:33712
  49390. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  49391. msgstr ""
  49392. #. type: enumerate
  49393. #: guix-git/doc/guix.texi:33717
  49394. 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."
  49395. msgstr ""
  49396. #. type: enumerate
  49397. #: guix-git/doc/guix.texi:33720
  49398. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  49399. msgstr ""
  49400. #. type: enumerate
  49401. #: guix-git/doc/guix.texi:33723
  49402. msgid "Optionally, a default value for instances of this type."
  49403. msgstr ""
  49404. #. type: Plain text
  49405. #: guix-git/doc/guix.texi:33726
  49406. msgid "In this example, @code{guix-service-type} extends three services:"
  49407. msgstr ""
  49408. #. type: item
  49409. #: guix-git/doc/guix.texi:33728
  49410. #, no-wrap
  49411. msgid "shepherd-root-service-type"
  49412. msgstr ""
  49413. #. type: table
  49414. #: guix-git/doc/guix.texi:33733
  49415. 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})."
  49416. msgstr ""
  49417. #. type: item
  49418. #: guix-git/doc/guix.texi:33734
  49419. #, no-wrap
  49420. msgid "account-service-type"
  49421. msgstr ""
  49422. #. type: table
  49423. #: guix-git/doc/guix.texi:33739
  49424. 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})."
  49425. msgstr ""
  49426. #. type: item
  49427. #: guix-git/doc/guix.texi:33740
  49428. #, no-wrap
  49429. msgid "activation-service-type"
  49430. msgstr ""
  49431. #. type: table
  49432. #: guix-git/doc/guix.texi:33744
  49433. 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."
  49434. msgstr ""
  49435. #. type: Plain text
  49436. #: guix-git/doc/guix.texi:33747
  49437. msgid "A service of this type is instantiated like this:"
  49438. msgstr ""
  49439. #. type: lisp
  49440. #: guix-git/doc/guix.texi:33753
  49441. #, no-wrap
  49442. msgid ""
  49443. "(service guix-service-type\n"
  49444. " (guix-configuration\n"
  49445. " (build-accounts 5)\n"
  49446. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  49447. msgstr ""
  49448. #. type: Plain text
  49449. #: guix-git/doc/guix.texi:33761
  49450. 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:"
  49451. msgstr ""
  49452. #. type: lisp
  49453. #: guix-git/doc/guix.texi:33764
  49454. #, no-wrap
  49455. msgid "(service guix-service-type)\n"
  49456. msgstr ""
  49457. #. type: Plain text
  49458. #: guix-git/doc/guix.texi:33768
  49459. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  49460. msgstr ""
  49461. #. type: Plain text
  49462. #: guix-git/doc/guix.texi:33772
  49463. msgid "The service type for an @emph{extensible} service looks like this:"
  49464. msgstr ""
  49465. #. type: lisp
  49466. #: guix-git/doc/guix.texi:33779
  49467. #, no-wrap
  49468. msgid ""
  49469. "(define udev-service-type\n"
  49470. " (service-type (name 'udev)\n"
  49471. " (extensions\n"
  49472. " (list (service-extension shepherd-root-service-type\n"
  49473. " udev-shepherd-service)))\n"
  49474. "\n"
  49475. msgstr ""
  49476. #. type: lisp
  49477. #: guix-git/doc/guix.texi:33787
  49478. #, no-wrap
  49479. msgid ""
  49480. " (compose concatenate) ;concatenate the list of rules\n"
  49481. " (extend (lambda (config rules)\n"
  49482. " (match config\n"
  49483. " (($ <udev-configuration> udev initial-rules)\n"
  49484. " (udev-configuration\n"
  49485. " (udev udev) ;the udev package to use\n"
  49486. " (rules (append initial-rules rules)))))))))\n"
  49487. msgstr ""
  49488. #. type: Plain text
  49489. #: guix-git/doc/guix.texi:33793
  49490. 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:"
  49491. msgstr ""
  49492. #. type: item
  49493. #: guix-git/doc/guix.texi:33795
  49494. #, no-wrap
  49495. msgid "compose"
  49496. msgstr ""
  49497. #. type: table
  49498. #: guix-git/doc/guix.texi:33798
  49499. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  49500. msgstr ""
  49501. #. type: table
  49502. #: guix-git/doc/guix.texi:33801
  49503. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  49504. msgstr ""
  49505. #. type: item
  49506. #: guix-git/doc/guix.texi:33802
  49507. #, no-wrap
  49508. msgid "extend"
  49509. msgstr ""
  49510. #. type: table
  49511. #: guix-git/doc/guix.texi:33805
  49512. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  49513. msgstr ""
  49514. #. type: table
  49515. #: guix-git/doc/guix.texi:33810
  49516. 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."
  49517. msgstr ""
  49518. #. type: table
  49519. #: guix-git/doc/guix.texi:33816
  49520. 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})."
  49521. msgstr ""
  49522. #. type: Plain text
  49523. #: guix-git/doc/guix.texi:33821
  49524. 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."
  49525. msgstr ""
  49526. #. type: Plain text
  49527. #: guix-git/doc/guix.texi:33824
  49528. msgid "Still here? The next section provides a reference of the programming interface for services."
  49529. msgstr ""
  49530. #. type: Plain text
  49531. #: guix-git/doc/guix.texi:33832
  49532. 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."
  49533. msgstr ""
  49534. #. type: deffn
  49535. #: guix-git/doc/guix.texi:33833
  49536. #, no-wrap
  49537. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  49538. msgstr ""
  49539. #. type: deffn
  49540. #: guix-git/doc/guix.texi:33837
  49541. 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."
  49542. msgstr ""
  49543. #. type: deffn
  49544. #: guix-git/doc/guix.texi:33841
  49545. 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."
  49546. msgstr ""
  49547. #. type: deffn
  49548. #: guix-git/doc/guix.texi:33843
  49549. msgid "For instance, this:"
  49550. msgstr ""
  49551. #. type: lisp
  49552. #: guix-git/doc/guix.texi:33846
  49553. #, no-wrap
  49554. msgid "(service openssh-service-type)\n"
  49555. msgstr ""
  49556. #. type: deffn
  49557. #: guix-git/doc/guix.texi:33850
  49558. msgid "is equivalent to this:"
  49559. msgstr ""
  49560. #. type: lisp
  49561. #: guix-git/doc/guix.texi:33854
  49562. #, no-wrap
  49563. msgid ""
  49564. "(service openssh-service-type\n"
  49565. " (openssh-configuration))\n"
  49566. msgstr ""
  49567. #. type: deffn
  49568. #: guix-git/doc/guix.texi:33858
  49569. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  49570. msgstr ""
  49571. #. type: deffn
  49572. #: guix-git/doc/guix.texi:33860
  49573. #, no-wrap
  49574. msgid "{Scheme Procedure} service? @var{obj}"
  49575. msgstr ""
  49576. #. type: deffn
  49577. #: guix-git/doc/guix.texi:33862
  49578. msgid "Return true if @var{obj} is a service."
  49579. msgstr ""
  49580. #. type: deffn
  49581. #: guix-git/doc/guix.texi:33864
  49582. #, no-wrap
  49583. msgid "{Scheme Procedure} service-kind @var{service}"
  49584. msgstr ""
  49585. #. type: deffn
  49586. #: guix-git/doc/guix.texi:33866
  49587. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  49588. msgstr ""
  49589. #. type: deffn
  49590. #: guix-git/doc/guix.texi:33868
  49591. #, no-wrap
  49592. msgid "{Scheme Procedure} service-value @var{service}"
  49593. msgstr ""
  49594. #. type: deffn
  49595. #: guix-git/doc/guix.texi:33871
  49596. msgid "Return the value associated with @var{service}. It represents its parameters."
  49597. msgstr ""
  49598. #. type: Plain text
  49599. #: guix-git/doc/guix.texi:33874
  49600. msgid "Here is an example of how a service is created and manipulated:"
  49601. msgstr ""
  49602. #. type: lisp
  49603. #: guix-git/doc/guix.texi:33883
  49604. #, no-wrap
  49605. msgid ""
  49606. "(define s\n"
  49607. " (service nginx-service-type\n"
  49608. " (nginx-configuration\n"
  49609. " (nginx nginx)\n"
  49610. " (log-directory log-directory)\n"
  49611. " (run-directory run-directory)\n"
  49612. " (file config-file))))\n"
  49613. "\n"
  49614. msgstr ""
  49615. #. type: lisp
  49616. #: guix-git/doc/guix.texi:33886
  49617. #, no-wrap
  49618. msgid ""
  49619. "(service? s)\n"
  49620. "@result{} #t\n"
  49621. "\n"
  49622. msgstr ""
  49623. #. type: lisp
  49624. #: guix-git/doc/guix.texi:33889
  49625. #, no-wrap
  49626. msgid ""
  49627. "(eq? (service-kind s) nginx-service-type)\n"
  49628. "@result{} #t\n"
  49629. msgstr ""
  49630. #. type: Plain text
  49631. #: guix-git/doc/guix.texi:33899
  49632. 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."
  49633. msgstr ""
  49634. #. type: deffn
  49635. #: guix-git/doc/guix.texi:33900
  49636. #, no-wrap
  49637. msgid "{Scheme Syntax} modify-services @var{services} @"
  49638. msgstr ""
  49639. #. type: deffn
  49640. #: guix-git/doc/guix.texi:33902
  49641. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  49642. msgstr ""
  49643. #. type: deffn
  49644. #: guix-git/doc/guix.texi:33905
  49645. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  49646. msgstr ""
  49647. #. type: example
  49648. #: guix-git/doc/guix.texi:33908
  49649. #, no-wrap
  49650. msgid "(@var{type} @var{variable} => @var{body})\n"
  49651. msgstr ""
  49652. #. type: deffn
  49653. #: guix-git/doc/guix.texi:33915
  49654. 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}."
  49655. msgstr ""
  49656. #. type: deffn
  49657. #: guix-git/doc/guix.texi:33922
  49658. 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."
  49659. msgstr ""
  49660. #. type: deffn
  49661. #: guix-git/doc/guix.texi:33924
  49662. msgid "@xref{Using the Configuration System}, for example usage."
  49663. msgstr ""
  49664. #. type: Plain text
  49665. #: guix-git/doc/guix.texi:33931
  49666. 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."
  49667. msgstr ""
  49668. #. type: deftp
  49669. #: guix-git/doc/guix.texi:33932
  49670. #, no-wrap
  49671. msgid "{Data Type} service-type"
  49672. msgstr ""
  49673. #. type: cindex
  49674. #: guix-git/doc/guix.texi:33933
  49675. #, no-wrap
  49676. msgid "service type"
  49677. msgstr "서비스 유형"
  49678. #. type: deftp
  49679. #: guix-git/doc/guix.texi:33936
  49680. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  49681. msgstr ""
  49682. #. type: table
  49683. #: guix-git/doc/guix.texi:33940
  49684. msgid "This is a symbol, used only to simplify inspection and debugging."
  49685. msgstr ""
  49686. #. type: code{#1}
  49687. #: guix-git/doc/guix.texi:33941
  49688. #, no-wrap
  49689. msgid "extensions"
  49690. msgstr "확장"
  49691. #. type: table
  49692. #: guix-git/doc/guix.texi:33943
  49693. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  49694. msgstr ""
  49695. #. type: item
  49696. #: guix-git/doc/guix.texi:33944
  49697. #, no-wrap
  49698. msgid "@code{compose} (default: @code{#f})"
  49699. msgstr ""
  49700. #. type: table
  49701. #: guix-git/doc/guix.texi:33948
  49702. 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."
  49703. msgstr ""
  49704. #. type: table
  49705. #: guix-git/doc/guix.texi:33952
  49706. 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."
  49707. msgstr ""
  49708. #. type: item
  49709. #: guix-git/doc/guix.texi:33953
  49710. #, no-wrap
  49711. msgid "@code{extend} (default: @code{#f})"
  49712. msgstr ""
  49713. #. type: table
  49714. #: guix-git/doc/guix.texi:33955
  49715. msgid "If this is @code{#f}, services of this type cannot be extended."
  49716. msgstr ""
  49717. #. type: table
  49718. #: guix-git/doc/guix.texi:33961
  49719. 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."
  49720. msgstr ""
  49721. #. type: table
  49722. #: guix-git/doc/guix.texi:33967
  49723. 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})."
  49724. msgstr ""
  49725. #. type: item
  49726. #: guix-git/doc/guix.texi:33968
  49727. #, no-wrap
  49728. msgid "@code{default-value} (default: @code{&no-default-value})"
  49729. msgstr ""
  49730. #. type: table
  49731. #: guix-git/doc/guix.texi:33971
  49732. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  49733. msgstr ""
  49734. #. type: lisp
  49735. #: guix-git/doc/guix.texi:33974
  49736. #, no-wrap
  49737. msgid "(service @var{type})\n"
  49738. msgstr ""
  49739. #. type: table
  49740. #: guix-git/doc/guix.texi:33978
  49741. msgid "The returned service in this case has the default value specified by @var{type}."
  49742. msgstr ""
  49743. #. type: deftp
  49744. #: guix-git/doc/guix.texi:33981
  49745. msgid "@xref{Service Types and Services}, for examples."
  49746. msgstr ""
  49747. #. type: deffn
  49748. #: guix-git/doc/guix.texi:33983
  49749. #, no-wrap
  49750. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  49751. msgstr ""
  49752. #. type: deffn
  49753. #: guix-git/doc/guix.texi:33989
  49754. 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."
  49755. msgstr ""
  49756. #. type: deffn
  49757. #: guix-git/doc/guix.texi:33991
  49758. #, no-wrap
  49759. msgid "{Scheme Procedure} service-extension? @var{obj}"
  49760. msgstr ""
  49761. #. type: deffn
  49762. #: guix-git/doc/guix.texi:33993
  49763. msgid "Return true if @var{obj} is a service extension."
  49764. msgstr ""
  49765. #. type: Plain text
  49766. #: guix-git/doc/guix.texi:33999
  49767. 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."
  49768. msgstr ""
  49769. #. type: deffn
  49770. #: guix-git/doc/guix.texi:34000
  49771. #, no-wrap
  49772. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  49773. msgstr ""
  49774. #. type: deffn
  49775. #: guix-git/doc/guix.texi:34004
  49776. 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."
  49777. msgstr ""
  49778. #. type: deffn
  49779. #: guix-git/doc/guix.texi:34007
  49780. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  49781. msgstr ""
  49782. #. type: lisp
  49783. #: guix-git/doc/guix.texi:34011
  49784. #, no-wrap
  49785. msgid ""
  49786. "(simple-service 'my-mcron-job mcron-service-type\n"
  49787. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  49788. msgstr ""
  49789. #. type: Plain text
  49790. #: guix-git/doc/guix.texi:34021
  49791. 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."
  49792. msgstr ""
  49793. #. type: deffn
  49794. #: guix-git/doc/guix.texi:34022
  49795. #, no-wrap
  49796. msgid "{Scheme Procedure} fold-services @var{services} @"
  49797. msgstr ""
  49798. #. type: deffn
  49799. #: guix-git/doc/guix.texi:34026
  49800. 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."
  49801. msgstr ""
  49802. #. type: Plain text
  49803. #: guix-git/doc/guix.texi:34030
  49804. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  49805. msgstr ""
  49806. #. type: defvr
  49807. #: guix-git/doc/guix.texi:34031
  49808. #, no-wrap
  49809. msgid "{Scheme Variable} system-service-type"
  49810. msgstr ""
  49811. #. type: defvr
  49812. #: guix-git/doc/guix.texi:34034
  49813. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  49814. msgstr ""
  49815. #. type: defvr
  49816. #: guix-git/doc/guix.texi:34036
  49817. #, no-wrap
  49818. msgid "{Scheme Variable} boot-service-type"
  49819. msgstr ""
  49820. #. type: defvr
  49821. #: guix-git/doc/guix.texi:34039
  49822. 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."
  49823. msgstr ""
  49824. #. type: defvr
  49825. #: guix-git/doc/guix.texi:34041
  49826. #, no-wrap
  49827. msgid "{Scheme Variable} etc-service-type"
  49828. msgstr ""
  49829. #. type: defvr
  49830. #: guix-git/doc/guix.texi:34045
  49831. 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:"
  49832. msgstr ""
  49833. #. type: lisp
  49834. #: guix-git/doc/guix.texi:34048
  49835. #, no-wrap
  49836. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  49837. msgstr ""
  49838. #. type: defvr
  49839. #: guix-git/doc/guix.texi:34052
  49840. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  49841. msgstr ""
  49842. #. type: defvr
  49843. #: guix-git/doc/guix.texi:34054
  49844. #, no-wrap
  49845. msgid "{Scheme Variable} setuid-program-service-type"
  49846. msgstr ""
  49847. #. type: defvr
  49848. #: guix-git/doc/guix.texi:34058
  49849. 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})."
  49850. msgstr ""
  49851. #. type: defvr
  49852. #: guix-git/doc/guix.texi:34060
  49853. #, no-wrap
  49854. msgid "{Scheme Variable} profile-service-type"
  49855. msgstr ""
  49856. #. type: defvr
  49857. #: guix-git/doc/guix.texi:34064
  49858. 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."
  49859. msgstr ""
  49860. #. type: anchor{#1}
  49861. #: guix-git/doc/guix.texi:34068
  49862. msgid "provenance-service-type"
  49863. msgstr ""
  49864. #. type: defvr
  49865. #: guix-git/doc/guix.texi:34068
  49866. #, no-wrap
  49867. msgid "{Scheme Variable} provenance-service-type"
  49868. msgstr ""
  49869. #. type: defvr
  49870. #: guix-git/doc/guix.texi:34072
  49871. 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}:"
  49872. msgstr ""
  49873. #. type: item
  49874. #: guix-git/doc/guix.texi:34074
  49875. #, no-wrap
  49876. msgid "channels.scm"
  49877. msgstr ""
  49878. #. type: table
  49879. #: guix-git/doc/guix.texi:34079
  49880. 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})."
  49881. msgstr ""
  49882. #. type: item
  49883. #: guix-git/doc/guix.texi:34080
  49884. #, no-wrap
  49885. msgid "configuration.scm"
  49886. msgstr ""
  49887. #. type: table
  49888. #: guix-git/doc/guix.texi:34085
  49889. 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."
  49890. msgstr ""
  49891. #. type: item
  49892. #: guix-git/doc/guix.texi:34086
  49893. #, no-wrap
  49894. msgid "provenance"
  49895. msgstr ""
  49896. #. type: table
  49897. #: guix-git/doc/guix.texi:34089
  49898. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  49899. msgstr ""
  49900. #. type: defvr
  49901. #: guix-git/doc/guix.texi:34093
  49902. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  49903. msgstr ""
  49904. #. type: quotation
  49905. #: guix-git/doc/guix.texi:34094
  49906. #, no-wrap
  49907. msgid "Caveats"
  49908. msgstr ""
  49909. #. type: quotation
  49910. #: guix-git/doc/guix.texi:34101
  49911. 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."
  49912. msgstr ""
  49913. #. type: quotation
  49914. #: guix-git/doc/guix.texi:34109
  49915. 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."
  49916. msgstr ""
  49917. #. type: defvr
  49918. #: guix-git/doc/guix.texi:34114
  49919. 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}."
  49920. msgstr ""
  49921. #. type: cindex
  49922. #: guix-git/doc/guix.texi:34119
  49923. #, no-wrap
  49924. msgid "shepherd services"
  49925. msgstr ""
  49926. #. type: cindex
  49927. #: guix-git/doc/guix.texi:34120
  49928. #, no-wrap
  49929. msgid "PID 1"
  49930. msgstr ""
  49931. #. type: cindex
  49932. #: guix-git/doc/guix.texi:34121
  49933. #, no-wrap
  49934. msgid "init system"
  49935. msgstr ""
  49936. #. type: Plain text
  49937. #: guix-git/doc/guix.texi:34127
  49938. 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})."
  49939. msgstr ""
  49940. #. type: Plain text
  49941. #: guix-git/doc/guix.texi:34133
  49942. 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:"
  49943. msgstr ""
  49944. #. type: Plain text
  49945. #: guix-git/doc/guix.texi:34135
  49946. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  49947. msgstr ""
  49948. #. type: Plain text
  49949. #: guix-git/doc/guix.texi:34139
  49950. 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}})."
  49951. msgstr ""
  49952. #. type: Plain text
  49953. #: guix-git/doc/guix.texi:34143
  49954. 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."
  49955. msgstr ""
  49956. #. type: deftp
  49957. #: guix-git/doc/guix.texi:34144
  49958. #, no-wrap
  49959. msgid "{Data Type} shepherd-service"
  49960. msgstr ""
  49961. #. type: deftp
  49962. #: guix-git/doc/guix.texi:34146
  49963. msgid "The data type representing a service managed by the Shepherd."
  49964. msgstr ""
  49965. #. type: code{#1}
  49966. #: guix-git/doc/guix.texi:34148
  49967. #, no-wrap
  49968. msgid "provision"
  49969. msgstr ""
  49970. #. type: table
  49971. #: guix-git/doc/guix.texi:34150
  49972. msgid "This is a list of symbols denoting what the service provides."
  49973. msgstr ""
  49974. #. type: table
  49975. #: guix-git/doc/guix.texi:34155
  49976. 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."
  49977. msgstr ""
  49978. #. type: item
  49979. #: guix-git/doc/guix.texi:34156
  49980. #, no-wrap
  49981. msgid "@code{requirement} (default: @code{'()})"
  49982. msgstr ""
  49983. #. type: table
  49984. #: guix-git/doc/guix.texi:34158
  49985. msgid "List of symbols denoting the Shepherd services this one depends on."
  49986. msgstr ""
  49987. #. type: cindex
  49988. #: guix-git/doc/guix.texi:34159
  49989. #, no-wrap
  49990. msgid "one-shot services, for the Shepherd"
  49991. msgstr ""
  49992. #. type: table
  49993. #: guix-git/doc/guix.texi:34164
  49994. 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."
  49995. msgstr ""
  49996. #. type: item
  49997. #: guix-git/doc/guix.texi:34165
  49998. #, no-wrap
  49999. msgid "@code{respawn?} (default: @code{#t})"
  50000. msgstr ""
  50001. #. type: table
  50002. #: guix-git/doc/guix.texi:34168
  50003. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  50004. msgstr ""
  50005. #. type: code{#1}
  50006. #: guix-git/doc/guix.texi:34169
  50007. #, no-wrap
  50008. msgid "start"
  50009. msgstr "시작"
  50010. #. type: itemx
  50011. #: guix-git/doc/guix.texi:34170
  50012. #, no-wrap
  50013. msgid "@code{stop} (default: @code{#~(const #f)})"
  50014. msgstr ""
  50015. #. type: table
  50016. #: guix-git/doc/guix.texi:34176
  50017. 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})."
  50018. msgstr ""
  50019. #. type: item
  50020. #: guix-git/doc/guix.texi:34177
  50021. #, no-wrap
  50022. msgid "@code{actions} (default: @code{'()})"
  50023. msgstr ""
  50024. #. type: cindex
  50025. #: guix-git/doc/guix.texi:34178
  50026. #, no-wrap
  50027. msgid "actions, of Shepherd services"
  50028. msgstr ""
  50029. #. type: table
  50030. #: guix-git/doc/guix.texi:34183
  50031. 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:"
  50032. msgstr ""
  50033. #. type: example
  50034. #: guix-git/doc/guix.texi:34186
  50035. #, no-wrap
  50036. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  50037. msgstr ""
  50038. #. type: item
  50039. #: guix-git/doc/guix.texi:34188
  50040. #, no-wrap
  50041. msgid "@code{auto-start?} (default: @code{#t})"
  50042. msgstr ""
  50043. #. type: table
  50044. #: guix-git/doc/guix.texi:34191
  50045. 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}."
  50046. msgstr ""
  50047. #. type: table
  50048. #: guix-git/doc/guix.texi:34194
  50049. msgid "A documentation string, as shown when running:"
  50050. msgstr ""
  50051. #. type: example
  50052. #: guix-git/doc/guix.texi:34197
  50053. #, no-wrap
  50054. msgid "herd doc @var{service-name}\n"
  50055. msgstr ""
  50056. #. type: table
  50057. #: guix-git/doc/guix.texi:34201
  50058. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  50059. msgstr ""
  50060. #. type: item
  50061. #: guix-git/doc/guix.texi:34202
  50062. #, no-wrap
  50063. msgid "@code{modules} (default: @code{%default-modules})"
  50064. msgstr ""
  50065. #. type: table
  50066. #: guix-git/doc/guix.texi:34205
  50067. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  50068. msgstr ""
  50069. #. type: Plain text
  50070. #: guix-git/doc/guix.texi:34213
  50071. 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}):"
  50072. msgstr ""
  50073. #. type: example
  50074. #: guix-git/doc/guix.texi:34225
  50075. #, no-wrap
  50076. msgid ""
  50077. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  50078. " (shepherd-service\n"
  50079. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  50080. " (provision '(syslogd))\n"
  50081. " (requirement '(user-processes))\n"
  50082. " (start #~(make-forkexec-constructor\n"
  50083. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  50084. " \"--rcfile\" #$config)\n"
  50085. " #:pid-file \"/var/run/syslog.pid\"))\n"
  50086. " (stop #~(make-kill-destructor))))\n"
  50087. msgstr ""
  50088. #. type: Plain text
  50089. #: guix-git/doc/guix.texi:34240
  50090. 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})."
  50091. msgstr ""
  50092. #. type: deftp
  50093. #: guix-git/doc/guix.texi:34241
  50094. #, no-wrap
  50095. msgid "{Data Type} shepherd-action"
  50096. msgstr ""
  50097. #. type: deftp
  50098. #: guix-git/doc/guix.texi:34244
  50099. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  50100. msgstr ""
  50101. #. type: table
  50102. #: guix-git/doc/guix.texi:34248
  50103. msgid "Symbol naming the action."
  50104. msgstr ""
  50105. #. type: table
  50106. #: guix-git/doc/guix.texi:34251
  50107. msgid "This is a documentation string for the action. It can be viewed by running:"
  50108. msgstr ""
  50109. #. type: example
  50110. #: guix-git/doc/guix.texi:34254
  50111. #, no-wrap
  50112. msgid "herd doc @var{service} action @var{action}\n"
  50113. msgstr ""
  50114. #. type: item
  50115. #: guix-git/doc/guix.texi:34256
  50116. #, no-wrap
  50117. msgid "procedure"
  50118. msgstr ""
  50119. #. type: table
  50120. #: guix-git/doc/guix.texi:34260
  50121. 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})."
  50122. msgstr ""
  50123. #. type: deftp
  50124. #: guix-git/doc/guix.texi:34264
  50125. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  50126. msgstr ""
  50127. #. type: lisp
  50128. #: guix-git/doc/guix.texi:34273
  50129. #, no-wrap
  50130. msgid ""
  50131. "(shepherd-action\n"
  50132. " (name 'say-hello)\n"
  50133. " (documentation \"Say hi!\")\n"
  50134. " (procedure #~(lambda (running . args)\n"
  50135. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  50136. " args)\n"
  50137. " #t)))\n"
  50138. msgstr ""
  50139. #. type: deftp
  50140. #: guix-git/doc/guix.texi:34276
  50141. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  50142. msgstr ""
  50143. #. type: example
  50144. #: guix-git/doc/guix.texi:34282
  50145. #, no-wrap
  50146. msgid ""
  50147. "# herd say-hello example\n"
  50148. "Hello, friend! arguments: ()\n"
  50149. "# herd say-hello example a b c\n"
  50150. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  50151. msgstr ""
  50152. #. type: deftp
  50153. #: guix-git/doc/guix.texi:34287
  50154. 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."
  50155. msgstr ""
  50156. #. type: defvr
  50157. #: guix-git/doc/guix.texi:34289
  50158. #, no-wrap
  50159. msgid "{Scheme Variable} shepherd-root-service-type"
  50160. msgstr ""
  50161. #. type: defvr
  50162. #: guix-git/doc/guix.texi:34291
  50163. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  50164. msgstr ""
  50165. #. type: defvr
  50166. #: guix-git/doc/guix.texi:34296
  50167. 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."
  50168. msgstr ""
  50169. #. type: deftp
  50170. #: guix-git/doc/guix.texi:34298
  50171. #, no-wrap
  50172. msgid "{Data Type} shepherd-configuration"
  50173. msgstr ""
  50174. #. type: deftp
  50175. #: guix-git/doc/guix.texi:34300
  50176. msgid "This data type represents the Shepherd's configuration."
  50177. msgstr ""
  50178. #. type: item
  50179. #: guix-git/doc/guix.texi:34302
  50180. #, no-wrap
  50181. msgid "shepherd (default: @code{shepherd})"
  50182. msgstr ""
  50183. #. type: table
  50184. #: guix-git/doc/guix.texi:34304
  50185. msgid "The Shepherd package to use."
  50186. msgstr ""
  50187. #. type: item
  50188. #: guix-git/doc/guix.texi:34305
  50189. #, no-wrap
  50190. msgid "services (default: @code{'()})"
  50191. msgstr ""
  50192. #. type: table
  50193. #: guix-git/doc/guix.texi:34309
  50194. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  50195. msgstr ""
  50196. #. type: Plain text
  50197. #: guix-git/doc/guix.texi:34314
  50198. msgid "The following example specifies the Shepherd package for the operating system:"
  50199. msgstr ""
  50200. #. type: lisp
  50201. #: guix-git/doc/guix.texi:34329
  50202. #, no-wrap
  50203. msgid ""
  50204. "(operating-system\n"
  50205. " ;; ...\n"
  50206. " (services (append (list openssh-service-type))\n"
  50207. " ;; ...\n"
  50208. " %desktop-services)\n"
  50209. " ;; ...\n"
  50210. " ;; Use own Shepherd package.\n"
  50211. " (essential-services\n"
  50212. " (modify-services (operating-system-default-essential-services\n"
  50213. " this-operating-system)\n"
  50214. " (shepherd-root-service-type config => (shepherd-configuration\n"
  50215. " (inherit config)\n"
  50216. " (shepherd my-shepherd))))))\n"
  50217. msgstr ""
  50218. #. type: defvr
  50219. #: guix-git/doc/guix.texi:34331
  50220. #, no-wrap
  50221. msgid "{Scheme Variable} %shepherd-root-service"
  50222. msgstr ""
  50223. #. type: defvr
  50224. #: guix-git/doc/guix.texi:34333
  50225. msgid "This service represents PID@tie{}1."
  50226. msgstr ""
  50227. #. type: cindex
  50228. #: guix-git/doc/guix.texi:34339
  50229. #, no-wrap
  50230. msgid "documentation, searching for"
  50231. msgstr ""
  50232. #. type: cindex
  50233. #: guix-git/doc/guix.texi:34340
  50234. #, no-wrap
  50235. msgid "searching for documentation"
  50236. msgstr ""
  50237. #. type: cindex
  50238. #: guix-git/doc/guix.texi:34341
  50239. #, no-wrap
  50240. msgid "Info, documentation format"
  50241. msgstr ""
  50242. #. type: cindex
  50243. #: guix-git/doc/guix.texi:34342
  50244. #, no-wrap
  50245. msgid "man pages"
  50246. msgstr ""
  50247. #. type: cindex
  50248. #: guix-git/doc/guix.texi:34343
  50249. #, no-wrap
  50250. msgid "manual pages"
  50251. msgstr ""
  50252. #. type: Plain text
  50253. #: guix-git/doc/guix.texi:34350
  50254. 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}."
  50255. msgstr ""
  50256. #. type: Plain text
  50257. #: guix-git/doc/guix.texi:34354
  50258. 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:"
  50259. msgstr ""
  50260. #. type: example
  50261. #: guix-git/doc/guix.texi:34362
  50262. #, no-wrap
  50263. msgid ""
  50264. "$ info -k TLS\n"
  50265. "\"(emacs)Network Security\" -- STARTTLS\n"
  50266. "\"(emacs)Network Security\" -- TLS\n"
  50267. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  50268. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  50269. "@dots{}\n"
  50270. msgstr ""
  50271. #. type: Plain text
  50272. #: guix-git/doc/guix.texi:34366
  50273. msgid "The command below searches for the same keyword in man pages:"
  50274. msgstr ""
  50275. #. type: example
  50276. #: guix-git/doc/guix.texi:34372
  50277. #, no-wrap
  50278. msgid ""
  50279. "$ man -k TLS\n"
  50280. "SSL (7) - OpenSSL SSL/TLS library\n"
  50281. "certtool (1) - GnuTLS certificate tool\n"
  50282. "@dots {}\n"
  50283. msgstr ""
  50284. #. type: Plain text
  50285. #: guix-git/doc/guix.texi:34378
  50286. 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."
  50287. msgstr ""
  50288. #. type: Plain text
  50289. #: guix-git/doc/guix.texi:34381
  50290. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  50291. msgstr ""
  50292. #. type: example
  50293. #: guix-git/doc/guix.texi:34384
  50294. #, no-wrap
  50295. msgid "$ info \"(gnutls)Core TLS API\"\n"
  50296. msgstr ""
  50297. #. type: Plain text
  50298. #: guix-git/doc/guix.texi:34388
  50299. msgid "or:"
  50300. msgstr ""
  50301. #. type: example
  50302. #: guix-git/doc/guix.texi:34391
  50303. #, no-wrap
  50304. msgid "$ man certtool\n"
  50305. msgstr ""
  50306. #. type: Plain text
  50307. #: guix-git/doc/guix.texi:34399
  50308. 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."
  50309. msgstr ""
  50310. #. type: cindex
  50311. #: guix-git/doc/guix.texi:34403
  50312. #, no-wrap
  50313. msgid "debugging files"
  50314. msgstr ""
  50315. #. type: Plain text
  50316. #: guix-git/doc/guix.texi:34409
  50317. 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."
  50318. msgstr ""
  50319. #. type: Plain text
  50320. #: guix-git/doc/guix.texi:34413
  50321. 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."
  50322. msgstr ""
  50323. #. type: Plain text
  50324. #: guix-git/doc/guix.texi:34429
  50325. 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})."
  50326. msgstr ""
  50327. #. type: Plain text
  50328. #: guix-git/doc/guix.texi:34436
  50329. 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})."
  50330. msgstr ""
  50331. #. type: Plain text
  50332. #: guix-git/doc/guix.texi:34444
  50333. 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:"
  50334. msgstr ""
  50335. #. type: example
  50336. #: guix-git/doc/guix.texi:34447
  50337. #, no-wrap
  50338. msgid "guix install glibc:debug guile:debug\n"
  50339. msgstr ""
  50340. #. type: Plain text
  50341. #: guix-git/doc/guix.texi:34453
  50342. 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}):"
  50343. msgstr ""
  50344. #. type: example
  50345. #: guix-git/doc/guix.texi:34456
  50346. #, no-wrap
  50347. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  50348. msgstr ""
  50349. #. type: Plain text
  50350. #: guix-git/doc/guix.texi:34460
  50351. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  50352. msgstr ""
  50353. #. type: Plain text
  50354. #: guix-git/doc/guix.texi:34467
  50355. 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})."
  50356. msgstr ""
  50357. #. type: Plain text
  50358. #: guix-git/doc/guix.texi:34475
  50359. 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})."
  50360. msgstr ""
  50361. #. type: Plain text
  50362. #: guix-git/doc/guix.texi:34477
  50363. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  50364. msgstr ""
  50365. #. type: Plain text
  50366. #: guix-git/doc/guix.texi:34489
  50367. 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."
  50368. msgstr ""
  50369. #. type: Plain text
  50370. #: guix-git/doc/guix.texi:34494
  50371. 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:"
  50372. msgstr ""
  50373. #. type: example
  50374. #: guix-git/doc/guix.texi:34505
  50375. #, no-wrap
  50376. msgid ""
  50377. "(gdb) bt\n"
  50378. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  50379. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  50380. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  50381. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  50382. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  50383. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  50384. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  50385. " at dl-init.c:118\n"
  50386. msgstr ""
  50387. #. type: Plain text
  50388. #: guix-git/doc/guix.texi:34509
  50389. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  50390. msgstr ""
  50391. #. type: Plain text
  50392. #: guix-git/doc/guix.texi:34515
  50393. msgid "This time, debugging will be a whole lot nicer:"
  50394. msgstr ""
  50395. #. type: example
  50396. #: guix-git/doc/guix.texi:34533
  50397. #, no-wrap
  50398. msgid ""
  50399. "$ gdb --args sh -c 'exec inkscape'\n"
  50400. "@dots{}\n"
  50401. "(gdb) b g_getenv\n"
  50402. "Function \"g_getenv\" not defined.\n"
  50403. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  50404. "Breakpoint 1 (g_getenv) pending.\n"
  50405. "(gdb) r\n"
  50406. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  50407. "@dots{}\n"
  50408. "(gdb) bt\n"
  50409. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  50410. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  50411. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  50412. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  50413. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  50414. "@dots{}\n"
  50415. msgstr ""
  50416. #. type: Plain text
  50417. #: guix-git/doc/guix.texi:34536
  50418. msgid "Much better!"
  50419. msgstr ""
  50420. #. type: Plain text
  50421. #: guix-git/doc/guix.texi:34540
  50422. 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."
  50423. msgstr ""
  50424. #. type: cindex
  50425. #: guix-git/doc/guix.texi:34544
  50426. #, no-wrap
  50427. msgid "security updates"
  50428. msgstr "보안 최신화"
  50429. #. type: Plain text
  50430. #: guix-git/doc/guix.texi:34553
  50431. 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:"
  50432. msgstr ""
  50433. #. type: smallexample
  50434. #: guix-git/doc/guix.texi:34560
  50435. #, no-wrap
  50436. msgid ""
  50437. "$ guix lint -c cve\n"
  50438. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  50439. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  50440. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  50441. "@dots{}\n"
  50442. msgstr ""
  50443. #. type: Plain text
  50444. #: guix-git/doc/guix.texi:34563
  50445. msgid "@xref{Invoking guix lint}, for more information."
  50446. msgstr ""
  50447. #. type: Plain text
  50448. #: guix-git/doc/guix.texi:34572
  50449. 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."
  50450. msgstr ""
  50451. #. type: cindex
  50452. #: guix-git/doc/guix.texi:34573
  50453. #, no-wrap
  50454. msgid "grafts"
  50455. msgstr ""
  50456. #. type: Plain text
  50457. #: guix-git/doc/guix.texi:34581
  50458. 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."
  50459. msgstr ""
  50460. #. type: cindex
  50461. #: guix-git/doc/guix.texi:34582
  50462. #, no-wrap
  50463. msgid "replacements of packages, for grafts"
  50464. msgstr ""
  50465. #. type: Plain text
  50466. #: guix-git/doc/guix.texi:34588
  50467. 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:"
  50468. msgstr ""
  50469. #. type: lisp
  50470. #: guix-git/doc/guix.texi:34595
  50471. #, no-wrap
  50472. msgid ""
  50473. "(define bash\n"
  50474. " (package\n"
  50475. " (name \"bash\")\n"
  50476. " ;; @dots{}\n"
  50477. " (replacement bash-fixed)))\n"
  50478. msgstr ""
  50479. #. type: Plain text
  50480. #: guix-git/doc/guix.texi:34605
  50481. 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."
  50482. msgstr ""
  50483. #. type: Plain text
  50484. #: guix-git/doc/guix.texi:34613
  50485. 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."
  50486. msgstr ""
  50487. #. type: Plain text
  50488. #: guix-git/doc/guix.texi:34617
  50489. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  50490. msgstr ""
  50491. #. type: example
  50492. #: guix-git/doc/guix.texi:34620
  50493. #, no-wrap
  50494. msgid "guix build bash --no-grafts\n"
  50495. msgstr ""
  50496. #. type: Plain text
  50497. #: guix-git/doc/guix.texi:34624
  50498. msgid "returns the store file name of the original Bash, whereas:"
  50499. msgstr ""
  50500. #. type: example
  50501. #: guix-git/doc/guix.texi:34627
  50502. #, no-wrap
  50503. msgid "guix build bash\n"
  50504. msgstr ""
  50505. #. type: Plain text
  50506. #: guix-git/doc/guix.texi:34632
  50507. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  50508. msgstr ""
  50509. #. type: Plain text
  50510. #: guix-git/doc/guix.texi:34635
  50511. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  50512. msgstr ""
  50513. #. type: example
  50514. #: guix-git/doc/guix.texi:34638
  50515. #, no-wrap
  50516. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  50517. msgstr ""
  50518. #. type: Plain text
  50519. #: guix-git/doc/guix.texi:34643
  50520. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  50521. msgstr ""
  50522. #. type: example
  50523. #: guix-git/doc/guix.texi:34646
  50524. #, no-wrap
  50525. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  50526. msgstr ""
  50527. #. type: Plain text
  50528. #: guix-git/doc/guix.texi:34650
  50529. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  50530. msgstr ""
  50531. #. type: example
  50532. #: guix-git/doc/guix.texi:34653
  50533. #, no-wrap
  50534. msgid "lsof | grep /gnu/store/.*bash\n"
  50535. msgstr ""
  50536. #. type: cindex
  50537. #: guix-git/doc/guix.texi:34661
  50538. #, no-wrap
  50539. msgid "bootstrapping"
  50540. msgstr ""
  50541. #. type: Plain text
  50542. #: guix-git/doc/guix.texi:34668
  50543. 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?"
  50544. msgstr ""
  50545. #. type: Plain text
  50546. #: guix-git/doc/guix.texi:34676
  50547. 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."
  50548. msgstr ""
  50549. #. type: cindex
  50550. #: guix-git/doc/guix.texi:34677 guix-git/doc/guix.texi:34889
  50551. #, no-wrap
  50552. msgid "bootstrap binaries"
  50553. msgstr ""
  50554. #. type: Plain text
  50555. #: guix-git/doc/guix.texi:34687
  50556. 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}."
  50557. msgstr ""
  50558. #. type: Plain text
  50559. #: guix-git/doc/guix.texi:34691
  50560. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  50561. msgstr ""
  50562. #. type: section
  50563. #: guix-git/doc/guix.texi:34698
  50564. #, no-wrap
  50565. msgid "The Reduced Binary Seed Bootstrap"
  50566. msgstr ""
  50567. #. type: Plain text
  50568. #: guix-git/doc/guix.texi:34705
  50569. 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.''"
  50570. msgstr ""
  50571. #. type: Plain text
  50572. #: guix-git/doc/guix.texi:34711
  50573. 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."
  50574. msgstr ""
  50575. #. type: Plain text
  50576. #: guix-git/doc/guix.texi:34716
  50577. 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.}."
  50578. msgstr ""
  50579. #. type: Plain text
  50580. #: guix-git/doc/guix.texi:34722
  50581. 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)."
  50582. msgstr ""
  50583. #. type: Plain text
  50584. #: guix-git/doc/guix.texi:34727
  50585. 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."
  50586. msgstr ""
  50587. #. type: Plain text
  50588. #: guix-git/doc/guix.texi:34735
  50589. 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."
  50590. msgstr ""
  50591. #. type: Plain text
  50592. #: guix-git/doc/guix.texi:34745
  50593. 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."
  50594. msgstr ""
  50595. #. type: Plain text
  50596. #: guix-git/doc/guix.texi:34749
  50597. 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."
  50598. msgstr ""
  50599. #. type: Plain text
  50600. #: guix-git/doc/guix.texi:34752
  50601. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  50602. msgstr ""
  50603. #. type: Plain text
  50604. #: guix-git/doc/guix.texi:34759
  50605. 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.}."
  50606. msgstr ""
  50607. #. type: Plain text
  50608. #: guix-git/doc/guix.texi:34762
  50609. 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}."
  50610. msgstr ""
  50611. #. type: Plain text
  50612. #: guix-git/doc/guix.texi:34767
  50613. 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."
  50614. msgstr ""
  50615. #. type: Plain text
  50616. #: guix-git/doc/guix.texi:34771
  50617. 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}."
  50618. msgstr ""
  50619. #. type: Plain text
  50620. #: guix-git/doc/guix.texi:34778
  50621. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  50622. msgstr ""
  50623. #. type: Plain text
  50624. #: guix-git/doc/guix.texi:34783
  50625. 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:"
  50626. msgstr ""
  50627. #. type: example
  50628. #: guix-git/doc/guix.texi:34788
  50629. #, no-wrap
  50630. msgid ""
  50631. "guix graph -t derivation \\\n"
  50632. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  50633. " | dot -Tps > gcc.ps\n"
  50634. msgstr ""
  50635. #. type: Plain text
  50636. #: guix-git/doc/guix.texi:34791
  50637. msgid "or, for the further Reduced Binary Seed bootstrap"
  50638. msgstr ""
  50639. #. type: example
  50640. #: guix-git/doc/guix.texi:34796
  50641. #, no-wrap
  50642. msgid ""
  50643. "guix graph -t derivation \\\n"
  50644. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  50645. " | dot -Tps > mes.ps\n"
  50646. msgstr ""
  50647. #. type: Plain text
  50648. #: guix-git/doc/guix.texi:34805
  50649. 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})."
  50650. msgstr ""
  50651. #. type: Plain text
  50652. #: guix-git/doc/guix.texi:34814
  50653. 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."
  50654. msgstr ""
  50655. #. type: Plain text
  50656. #: guix-git/doc/guix.texi:34826
  50657. 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})."
  50658. msgstr ""
  50659. #. type: Plain text
  50660. #: guix-git/doc/guix.texi:34831
  50661. 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."
  50662. msgstr ""
  50663. #. type: unnumberedsec
  50664. #: guix-git/doc/guix.texi:34832
  50665. #, no-wrap
  50666. msgid "Building the Build Tools"
  50667. msgstr ""
  50668. #. type: Plain text
  50669. #: guix-git/doc/guix.texi:34841
  50670. 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."
  50671. msgstr ""
  50672. #. type: Plain text
  50673. #: guix-git/doc/guix.texi:34848
  50674. 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:"
  50675. msgstr ""
  50676. #. type: example
  50677. #: guix-git/doc/guix.texi:34853
  50678. #, no-wrap
  50679. msgid ""
  50680. "guix graph -t bag \\\n"
  50681. " -e '(@@@@ (gnu packages commencement)\n"
  50682. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  50683. msgstr ""
  50684. #. type: Plain text
  50685. #: guix-git/doc/guix.texi:34860
  50686. 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."
  50687. msgstr ""
  50688. #. type: Plain text
  50689. #: guix-git/doc/guix.texi:34862
  50690. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  50691. msgstr ""
  50692. #. type: Plain text
  50693. #: guix-git/doc/guix.texi:34868
  50694. 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."
  50695. msgstr ""
  50696. #. type: Plain text
  50697. #: guix-git/doc/guix.texi:34873
  50698. 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."
  50699. msgstr ""
  50700. #. type: Plain text
  50701. #: guix-git/doc/guix.texi:34879
  50702. 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."
  50703. msgstr ""
  50704. #. type: Plain text
  50705. #: guix-git/doc/guix.texi:34885
  50706. 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}})."
  50707. msgstr ""
  50708. #. type: unnumberedsec
  50709. #: guix-git/doc/guix.texi:34887
  50710. #, no-wrap
  50711. msgid "Building the Bootstrap Binaries"
  50712. msgstr ""
  50713. #. type: Plain text
  50714. #: guix-git/doc/guix.texi:34894
  50715. 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."
  50716. msgstr ""
  50717. #. type: Plain text
  50718. #: guix-git/doc/guix.texi:34900
  50719. 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):"
  50720. msgstr ""
  50721. #. type: example
  50722. #: guix-git/doc/guix.texi:34903
  50723. #, no-wrap
  50724. msgid "guix build bootstrap-tarballs\n"
  50725. msgstr ""
  50726. #. type: Plain text
  50727. #: guix-git/doc/guix.texi:34908
  50728. 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."
  50729. msgstr ""
  50730. #. type: Plain text
  50731. #: guix-git/doc/guix.texi:34914
  50732. 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."
  50733. msgstr ""
  50734. #. type: unnumberedsec
  50735. #: guix-git/doc/guix.texi:34915
  50736. #, no-wrap
  50737. msgid "Reducing the Set of Bootstrap Binaries"
  50738. msgstr ""
  50739. #. type: Plain text
  50740. #: guix-git/doc/guix.texi:34923
  50741. 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}."
  50742. msgstr ""
  50743. #. type: Plain text
  50744. #: guix-git/doc/guix.texi:34929
  50745. 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."
  50746. msgstr ""
  50747. #. type: Plain text
  50748. #: guix-git/doc/guix.texi:34935
  50749. 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."
  50750. msgstr ""
  50751. #. type: Plain text
  50752. #: guix-git/doc/guix.texi:34944
  50753. 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."
  50754. msgstr ""
  50755. #. type: Plain text
  50756. #: guix-git/doc/guix.texi:34947
  50757. 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!"
  50758. msgstr ""
  50759. #. type: chapter
  50760. #: guix-git/doc/guix.texi:34949
  50761. #, no-wrap
  50762. msgid "Porting to a New Platform"
  50763. msgstr ""
  50764. #. type: Plain text
  50765. #: guix-git/doc/guix.texi:34958
  50766. 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."
  50767. msgstr ""
  50768. #. type: Plain text
  50769. #: guix-git/doc/guix.texi:34963
  50770. 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:"
  50771. msgstr ""
  50772. #. type: example
  50773. #: guix-git/doc/guix.texi:34966
  50774. #, no-wrap
  50775. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  50776. msgstr ""
  50777. #. type: Plain text
  50778. #: guix-git/doc/guix.texi:34973
  50779. 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."
  50780. msgstr ""
  50781. #. type: Plain text
  50782. #: guix-git/doc/guix.texi:34982
  50783. 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."
  50784. msgstr ""
  50785. #. type: Plain text
  50786. #: guix-git/doc/guix.texi:34991
  50787. 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."
  50788. msgstr ""
  50789. #. type: include
  50790. #: guix-git/doc/guix.texi:34993
  50791. #, no-wrap
  50792. msgid "contributing.texi"
  50793. msgstr "contributing.ko.texi"
  50794. #. type: Plain text
  50795. #: guix-git/doc/guix.texi:35006
  50796. 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."
  50797. msgstr ""
  50798. #. type: Plain text
  50799. #: guix-git/doc/guix.texi:35009
  50800. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  50801. msgstr ""
  50802. #. type: Plain text
  50803. #: guix-git/doc/guix.texi:35015
  50804. 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!"
  50805. msgstr ""
  50806. #. type: cindex
  50807. #: guix-git/doc/guix.texi:35020
  50808. #, no-wrap
  50809. msgid "license, GNU Free Documentation License"
  50810. msgstr ""
  50811. #. type: include
  50812. #: guix-git/doc/guix.texi:35021
  50813. #, no-wrap
  50814. msgid "fdl-1.3.texi"
  50815. msgstr ""