ChangeLog.old 627 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930
  1. 2009-03-02 Guillem Jover <guillem@debian.org>
  2. * configure.ac: Release 1.15.0.
  3. 2009-03-02 Guillem Jover <guillem@debian.org>
  4. * scripts/t/900_update_alternatives.t: Do not use $srcdir for t.tmp,
  5. it's actually located in builddir.
  6. 2009-03-02 Guillem Jover <guillem@debian.org>
  7. * scripts/update-alternatives.pl (load): Print an actual error on open
  8. instead of an empty string.
  9. 2009-03-02 Guillem Jover <guillem@debian.org>
  10. * scripts/update-alternatives.pl: Do not use non-ASCII strings on C
  11. locale.
  12. (version): Likewise.
  13. 2009-03-02 Guillem Jover <guillem@debian.org>
  14. * po/POTFILES.in: Remove reference to cleanup-info.pl.
  15. * scripts/.gitignore: Likewise.
  16. 2009-02-27 Raphaël Hertzog <hertzog@debian.org>
  17. * scripts/update-alternatives.pl: Avoid logging too many
  18. useless messages about status change.
  19. 2009-02-27 Raphaël Hertzog <hertzog@debian.org>
  20. * scripts/Dpkg/Shlibs/SymbolFile.pm (save, dump): Add new
  21. parameter asking that #PACKAGE# be replaced on the fly.
  22. * scripts/dpkg-gensymbols.pl: Replace #PACKAGE# while outputting
  23. symbols files.
  24. * man/dpkg-gensymbols.1: Document the new feature.
  25. * scripts/t/200_Dpkg_Shlibs.t,
  26. scripts/t/200_Dpkg_Shlibs/symbols.fake-2: Add test-case for
  27. replacement of #PACKAGE# on the fly (together with test of dump).
  28. 2009-02-27 Raphaël Hertzog <hertzog@debian.org>
  29. * scripts/update-alternatives.pl: Add one more sanity check
  30. verifying that <link> and <path> are different (cf #509667 for a
  31. sample).
  32. 2009-02-27 Raphaël Hertzog <hertzog@debian.org>
  33. * scripts/update-alternatives.pl: Improve output messages
  34. by identifying their origin and by being more consistent.
  35. * scripts/t/900_update_alternatives.t: Adjust test suite
  36. for one error message that's now on standard error instead
  37. of standard output.
  38. 2009-02-27 Guillem Jover <guillem@debian.org>
  39. * lib/tarfn.c (get_prefix_name): New function.
  40. (DecodeTarHeader): On tar_format_ustar and if Prefix is not empty
  41. call get_prefix_name instead of aborting.
  42. * man/deb.5: Document that ustar format is now properly supported.
  43. 2009-02-27 Guillem Jover <guillem@debian.org>
  44. * lib/tarfn.h (enum tar_format): New type.
  45. (struct TarInfo): Add new format member.
  46. * lib/tarfn.c (TAR_MAGIC_USTAR, TAR_MAGIC_GNU): New macros.
  47. (struct TarHeader): Add new Prefix member.
  48. (DecodeTarHeader): Detect tar formats based on the magic values.
  49. Abort on tar_format_ustar and an non-empty Prefix.
  50. 2009-02-27 Guillem Jover <guillem@debian.org>
  51. * lib/fields.c (f_boolean): Use PKGPFIELD to assign to the correct
  52. member instead of hardcoding to the essential member.
  53. 2009-02-27 Guillem Jover <guillem@debian.org>
  54. * lib/fields.c (f_boolean): Return if value is an empty string.
  55. 2009-02-26 Chris Coulson <chrisccoulson@googlemail.com>,
  56. Guillem Jover <guillem@debian.org>
  57. * configure.ac (AC_CHECK_HEADERS): Add 'sys/syscall.h'.
  58. * man/start-stop-daemon.8: Document new option --iosched.
  59. * utils/start-stop-daemon.c [HAVE_SYS_SYSCALL_H]: Include
  60. <sys/syscall.h>.
  61. (HAVE_IOPRIO_SET) [SYS_ioprio_set, linux]: New macro.
  62. (IOPRIO_CLASS_NONE, IOPRIO_CLASS_RT): New anonymous enum.
  63. (IOPRIO_CLASS_BE, IOPRIO_CLASS_IDLE): Likewise.
  64. (IOPRIO_WHO_PROCESS, IOPRIO_WHO_PGRP, IOPRIO_WHO_USER): Likewise.
  65. (IOPRIO_CLASS_SHIFT, IOPRIO_PRIO_VALUE, IO_SCHED_PRIO_MIN)
  66. (IO_SCHED_PRIO_MAX): New macros.
  67. (io_sched): New variable.
  68. (do_help): Document --iosched.
  69. (ioprio_set) [HAVE_IOPRIO_SET]: New function.
  70. (parse_io_schedule, set_io_schedule): Likewise.
  71. (parse_options): Add 'iosched' to longopts. Add 'I:' to getopt_long
  72. call. Handle 'I' as getopt_long return value. Call parse_io_schedule
  73. if io_schedule_str is not NULL.
  74. (main): Print io_sched values if --test is used. Call set_io_schedule
  75. if io_sched is not NULL.
  76. 2009-02-26 Romain Francoise <rfrancoise@debian.org>,
  77. Guillem Jover <guillem@debian.org>
  78. * src/filesdb.c: Include 'progress.h'.
  79. (ensure_allinstfiles_available): Call progress_init instead of
  80. directly printing. Call progress_step if needing to print on each
  81. package iteration. And call progress_done if needing to print when
  82. finished.
  83. 2009-02-26 Romain Francoise <rfrancoise@debian.org>,
  84. Guillem Jover <guillem@debian.org>
  85. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'progress.h' and
  86. 'progress.c'.
  87. * lib/progress.h: New file.
  88. * lib/progress.c: Likewise.
  89. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  90. * scripts/update-alternatives.pl: Add new option --log to
  91. log to another file than /var/log/dpkg.log.
  92. * man/update-alternatives.8: Document the new option.
  93. * scripts/t/900_update_alternatives.t: Call update-alternatives
  94. with --log /dev/null since the test suite can be run with fakeroot
  95. and it would try to write to /var/log/dpkg.log because fakeroot
  96. makes it believe that it is writable.
  97. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  98. * scripts/update-alternatives.pl: update-alternatives should not
  99. replace real files by symlinks. When --install is called, the
  100. alternative link should either not exist or already be a link. It
  101. that's not the case, it will simply skip installing that link and
  102. display a warning. However if --force is given, it will (try to)
  103. replace the file.
  104. * man/update-alternatives.8: Document this behaviour.
  105. * scripts/t/900_update_alternatives.t: Add corresponding tests in
  106. the test suite.
  107. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  108. * man/update-alternatives.8: Document how --all can be used to
  109. repair all alternatives on the system in a single command.
  110. * scripts/update-alternatives.pl: Ensure the above explanation
  111. is true by ensuring that --config does something sensible when
  112. no alternative is currently selected and when the user input is
  113. empty: it will auto-select the best alternative.
  114. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  115. * scripts/update-alternatives.pl: Implement --set-selections.
  116. It's the counterpart of --get-selections, it reads
  117. configuration on standard input and reconfigures alternatives
  118. accordingly.
  119. * man/update-alternatives.8: Document this option.
  120. * scripts/t/900_update_alternatives.t: Add corresponding tests in
  121. the test suite.
  122. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  123. * scripts/update-alternatives.pl: Implement --get-selections.
  124. The new option lists all master alternatives and their status in a
  125. format simple to parse.
  126. * man/update-alternatives.8: Document this option.
  127. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  128. * scripts/update-alternatives.pl: Installation of a slave
  129. alternative link is only done if the corresponding slave file is
  130. available.
  131. * man/update-alternatives.8: Document this behaviour.
  132. * scripts/t/900_update_alternatives.t: Add corresponding tests in
  133. the test suite.
  134. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  135. * scripts/update-alternatives.pl: Add more sanity check for
  136. --install: ensure alternative path and links are absolute, ensure
  137. master alternative path exists, forbid / and spaces in alternative
  138. names.
  139. * scripts/t/900_update_alternatives.t: Add corresponding tests in
  140. the test suite.
  141. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  142. * scripts/update-alternatives.pl: Checks that --install does not
  143. reuse alternatives or links in a way that is not compatible with
  144. the current setup.
  145. * scripts/t/900_update_alternatives.t: Add corresponding tests in
  146. the test suite.
  147. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  148. * scripts/update-alternatives.pl: Add logging to
  149. /var/log/dpkg.log.
  150. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  151. * man/update-alternatives.8: The vocabulary used was misleading
  152. and not really uniform. Try to standardize and make it match with
  153. the vocabulary used in the source code too.
  154. Includes minor fixes to make it match the behaviour of the current
  155. implementation.
  156. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  157. * scripts/update-alternatives.pl: Rewrite it entirely in a more
  158. object-oriented way. The only behaviour changes concern --config:
  159. the output is nicer and sorted, it accets a path as well as the
  160. index of the choice.
  161. * scripts/t/900_update_alternatives.t: Test suite adjusted to the
  162. --config change.
  163. 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
  164. * scripts/dpkg-gencontrol.pl, scripts/dpkg-gensymbols.pl: Reset
  165. umask to 0022 to ensure that files created in the DEBIAN directory
  166. have sane permissions.
  167. 2009-02-13 Guillem Jover <guillem@debian.org>
  168. * src/query.c: Remove bogus comment about '--yet-to-unpack'.
  169. 2009-02-11 Raphaël Hertzog <hertzog@debian.org>
  170. * scripts/Makefile.am: Drop cleanup-info.pl script.
  171. * man/Makefile.am, man/po/po4a.cfg: Drop cleanup-info(8) manual page.
  172. * README.feature-removal-schedule: Update information accordingly.
  173. 2009-02-11 Raphaël Hertzog <hertzog@debian.org>
  174. * scripts/Makefile.am: Move update-alternatives, dpkg-divert and
  175. dpkg-statoverride to /usr/bin as they can be useful to users since
  176. they have --display or --list options that do not require
  177. administrative rights.
  178. * Makefile.am (EXTRA_DIST): Add debian/dpkg.links.
  179. 2009-02-11 Raphaël Hertzog <hertzog@debian.org>
  180. * scripts/dpkg-buildpackage.pl: Add new option --target/-T to
  181. allow a specific debian/rules target to be run. The new --as-root
  182. option forces the target to be run with root rights.
  183. Add support for the two common syntaxes for long
  184. options ("--admindir=…" and "--admindir …").
  185. * man/dpkg-buildpackage.1: Update documentation accordingly.
  186. 2009-02-11 Raphaël Hertzog <hertzog@debian.org>
  187. * man/dpkg-buildpackage.1: Fix name of binary target in default
  188. case.
  189. 2009-02-10 Guillem Jover <guillem@debian.org>
  190. * src/enquiry.c (assert_version_support): Rename verrev_buf argument
  191. to version.
  192. 2009-02-10 Guillem Jover <guillem@debian.org>
  193. * src/enquiry.c (assert_version_support): Add new feature_name
  194. argument, and use it when printing the output messages. Fix all
  195. callers.
  196. 2009-02-10 Guillem Jover <guillem@debian.org>
  197. * src/enquiry.c (assert_version_support): Remove reqversion argument.
  198. Do not initialize verrev_buf from reqversion, when the epoch is ~0UL.
  199. (assertpredep): Pass a fully constructed versionrevision to
  200. assert_version_support, rename versionrevision variable to version
  201. and remove static keyword.
  202. (assertepoch): Likewise.
  203. (assertlongfilenames): Likewise.
  204. (assertmulticonrep): Likewise.
  205. 2009-02-10 Guillem Jover <guillem@debian.org>
  206. * src/enquiry.c (assertversion): Rename to ...
  207. (assert_version_support): ... this.
  208. 2009-02-08 Guillem Jover <guillem@debian.org>
  209. * lib/dpkg.h (ohshitvb): Remove function prototype.
  210. * lib/ehandle.c (ohshitvb): Remove function definition.
  211. 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
  212. * scripts/t/900_update_alternatives.t: New test-suite for
  213. update-alternatives.
  214. * scripts/Makefile.am: Add the previous file.
  215. 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
  216. * scripts/update-alternatives.pl: Deal with empty
  217. files in the administrative directory by ignoring them.
  218. 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
  219. * scripts/update-alternatives.pl: Ensure that a non-existent
  220. alternative result in automatic mode configuration.
  221. 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
  222. * scripts/update-alternatives.pl: Change set_links() to
  223. also reset the main alternative link. Add a parameter to
  224. make it quiet.
  225. When --install reinstalls the current and manually selected entry,
  226. let it recreate the symlinks in case something has gone wrong.
  227. 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
  228. * scripts/update-alternatives.pl: Remove the alternative when
  229. the last choice is removed, even if we are in manual mode.
  230. * man/update-alternatives.8: Update the documentation
  231. accordingly to not be as strong about not touching links in manual
  232. mode.
  233. 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
  234. * scripts/update-alternatives.pl (set_links): Remove slavelinks
  235. if needed as well. We create slave links automatically, we should
  236. remove them in the same way. Otherwise --config or --set will let
  237. dangling symlinks on the system.
  238. 2009-02-06 Guillem Jover <guillem@debian.org>
  239. * man/deb.5: Add detailed information of the currently supported
  240. format.
  241. 2009-02-06 Guillem Jover <guillem@debian.org>
  242. * ostable: Add gnu-kopensolaris.
  243. * triplettable: Add gnu-kopensolaris to kopensolaris mapping.
  244. 2009-02-06 Guillem Jover <guillem@debian.org>
  245. * ostable: Reindent to make room for longer os names.
  246. 2009-02-05 Raphaël Hertzog <hertzog@debian.org>
  247. * scripts/update-alternatives.pl (rename_mv): Integrate logic to
  248. not fail if ENOENT is the reason why the rename failed.
  249. 2009-02-05 Raphaël Hertzog <hertzog@debian.org>
  250. * scripts/update-alternatives.pl: Ensure that a broken link
  251. in automatic mode doesn't lead to the alternative being set
  252. on manual mode. Also displays by default (and not only
  253. when --verbose is given) the message that indicates that
  254. an alternative is switched to manual mode.
  255. 2009-02-05 Raphaël Hertzog <hertzog@debian.org>
  256. Osamu Aoki <osamu@debian.org>
  257. * scripts/update-alternatives.pl: Allow --config to continue when
  258. the currently selected alternative doesn't match the only existing
  259. one. Useful to be able to recover from a broken configuration.
  260. Also offer the choice in --config mode to go back the automatic
  261. mode. Add a new --skip-auto option to combine with --all and
  262. easily review manual and broken alternatives.
  263. * man/update-alternatives.8: Update the documentation accordingly.
  264. 2009-02-04 Raphaël Hertzog <hertzog@debian.org>
  265. * scripts/Dpkg/Vendor/Ubuntu.pm: Ubuntu vendor object implementing
  266. lookup of launchpad bugs in changelogs and a safety-check for
  267. Maintainer fields of forked packages (launched during source
  268. build).
  269. * scripts/Makefile.am (EXTRA_DIST): Add
  270. 'scripts/Dpkg/Vendor/Ubuntu.pm'.
  271. * scripts/po/POTFILES.in: Add 'scripts/Dpkg/Vendor/Ubuntu.pm'.
  272. 2009-02-04 Raphaël Hertzog <hertzog@debian.org>
  273. * scripts/Dpkg/Vendor/Default.pm: Generic vendor object that will
  274. be used to hook vendor-specific behaviour in multiple places.
  275. * scripts/Dpkg/Vendor/Debian.pm: Debian variant of that object.
  276. * scripts/Dpkg/Vendor.pm (get_vendor_object, run_vendor_hook):
  277. New functions to retrieve the current vendor object and run
  278. vendor-specific code.
  279. * scripts/dpkg-source.pl, scripts/dpkg-genchanges.pl: Add first
  280. vendor hooks to be used by Ubuntu.
  281. * scripts/Makefile.am (EXTRA_DIST): Add
  282. 'scripts/Dpkg/Vendor/Default.pm' and
  283. 'scripts/Dpkg/Vendor/Debian.pm'.
  284. 2009-01-29 Guillem Jover <guillem@debian.org>
  285. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-test.h'.
  286. * libcompat/Makefile.am (libcompat_a_SOURCES): Add 'compat.h'.
  287. * man/Makefile.am (EXTRA_DIST): Add 'po/ChangeLog'.
  288. 2009-01-27 Raphaël Hertzog <hertzog@debian.org>
  289. * scripts/t/900_Dpkg_Version.t: Renamed into...
  290. * scripts/t/100_Dpkg_Version.t: and merged test cases previously
  291. provided by this file so that there's no loss of tests. Also
  292. adjusted test cases to match the change below.
  293. * scripts/Dpkg/Version.pm (compare_versions): Handle "<" like "<="
  294. and ">" like ">=" in order to be consistent with dpkg
  295. --compare-versions. Emit warnings when they are used as they are
  296. deprecated.
  297. * scripts/Makefile.am: Drop scripts/t/900_Dpkg_Version.t from the
  298. set of extra files to distribute.
  299. * scripts/dpkg-genchanges.pl: Use "<<" instead of ambiguous "<" in
  300. version comparison.
  301. 2009-01-22 Guillem Jover <guillem@debian.org>
  302. * lib/log.c (statusfd_send): Use varbufsubstc to replace new lines
  303. with spaces.
  304. 2009-01-22 Guillem Jover <guillem@debian.org>
  305. * lib/dpkg-db.h (varbufsubstc): New function prototype.
  306. * lib/varbuf.c (varbufsubstc): New function definition.
  307. * lib/test/t-varbuf.c (test_varbuf_substc): New function.
  308. (test): Call test_varbuf_substc.
  309. 2009-01-22 Guillem Jover <guillem@debian.org>
  310. * configure.ac (AC_CONFIG_FILES): Add 'lib/test/Makefile'.
  311. * lib/Makefile.am (SUBDIRS): New variable.
  312. * lib/dpkg-test.h: New file.
  313. * lib/test/Makefile.am: Likewise.
  314. * lib/test/t-macros.c: Likewise.
  315. * lib/test/t-path.c: Likewise.
  316. * lib/test/t-pkginfo.c: Likewise.
  317. * lib/test/t-string.c: Likewise.
  318. * lib/test/t-test.c: Likewise.
  319. * lib/test/t-varbuf.c: Likewise.
  320. * lib/test/t-version.c: Likewise.
  321. 2009-01-20 Guillem Jover <guillem@debian.org>
  322. * lib/dpkg-db.h (varbufaddbuf): Rename argument l to size.
  323. * lib/nfmalloc.c (nfstrnsave): Likewise.
  324. * lib/varbuf.c (varbufaddbuf): Likewise.
  325. 2009-01-20 Guillem Jover <guillem@debian.org>
  326. * lib/dpkg-db.h (varbufdupc): Use size_t instead of ssize_t.
  327. (varbufaddbuf): Use size_t instead of const int.
  328. (nfstrnsave): Use size_t instead of int.
  329. 2009-01-14 Guillem Jover <guillem@debian.org>
  330. * man/start-stop-daemon.8: Document new option --procsched.
  331. * utils/start-stop-daemon.c [_POSIX_PRIORITY_SCHEDULING]: Include
  332. <sched.h>.
  333. [!_POSIX_PRIORITY_SCHEDULING]: Define SCHED_OTHER, SCHED_FIFO and
  334. SCHED_RR with dummy values.
  335. (struct res_schedule): New type.
  336. (proc_sched): New variable.
  337. (do_help): Document --procsched.
  338. (parse_proc_schedule, set_proc_schedule): New functions.
  339. (parse_options): Add 'procsched' to longopts. Add 'P:' to getopt_long
  340. call. Handle 'P' as getopt_long return value. Call parse_proc_schedule
  341. if proc_schedule_str is not NULL.
  342. (main): Print proc_sched values if --test is used. Call
  343. set_proc_schedule if proc_sched is not NULL.
  344. 2009-01-14 Guillem Jover <guillem@debian.org>
  345. * utils/start-stop-daemon.c (xstrdup): New function.
  346. (parse_options): Use xstrdup instead of strdup.
  347. 2009-01-10 Guillem Jover <guillem@debian.org>
  348. * utils/start-stop-daemon.c (main): If changeuser is a uid, call
  349. getpwuid to get the passwd entry and do the same setup as if it is
  350. a username.
  351. 2009-01-07 Guillem Jover <guillem@debian.org>
  352. * man/dpkg-deb.1: Document that -x will modify the extraction
  353. directory permissions.
  354. 2009-01-05 Guillem Jover <guillem@debian.org>
  355. * src/main.c (setobsolete): Use warning instead of fprintf call.
  356. (setforce): Likewise.
  357. 2009-01-05 Guillem Jover <guillem@debian.org>
  358. * man/start-stop-daemon.8: Clarify that the signal sent by default
  359. is TERM not KILL.
  360. 2009-01-04 Guillem Jover <guillem@debian.org>
  361. * utils/start-stop-daemon.c (signal_nr): Initialize with SIGTERM
  362. instead of literal 15.
  363. * man/start-stop-daemon.8: Refer to signal as TERM instead of
  364. literal 15.
  365. 2009-01-04 Guillem Jover <guillem@debian.org>
  366. * lib/dpkg.h (LOCALLIBDIR): Move macro to ...
  367. * dselect/Makefile.am (INCLUDES): ... here, as a -D argument.
  368. * lib/dpkg.h (DSELECT): Move macro to ...
  369. * dselect/dselect.h: ... here.
  370. * lib/dpkg.h (SPLITVERSION, SPLITPARTDEFMAX): Move macros to ...
  371. * dpkg-split/dpkg-split.h: ... here.
  372. * lib/dpkg.h (ARCHIVEVERSION, BUILDCONTROLDIR, EXTRACTCONTROLDIR)
  373. (BUILDOLDPKGFORMAT, OLDARCHIVEVERSION, OLDDEBDIR, OLDOLDDEBDIR)
  374. (MAXFIELDNAME, INTERPRETER_MAX): Move macros to ...
  375. * dpkg-deb/dpkg-deb.h: ... here.
  376. 2009-01-04 Guillem Jover <guillem@debian.org>
  377. * lib/dpkg.h (printforhelp): Move declaration to ...
  378. * lib/myopt.h: ... here.
  379. 2009-01-04 Guillem Jover <guillem@debian.org>
  380. * lib/dpkg-db.h (trig_note_pend_core, trig_note_pend): Make trig
  381. argument const.
  382. * lib/triglib.c (trig_record_activation): Likewise.
  383. (trig_file_activate): Remove now unneeded cast in
  384. trig_record_activation call.
  385. 2009-01-04 Guillem Jover <guillem@debian.org>
  386. * lib/myopt.h (MAX_CONFIG_LINE): New macro.
  387. * lib/myopt.c (myfileopt): Use MAX_CONFIG_LINE instead of
  388. MAXDIVERTFILENAME.
  389. 2009-01-04 Guillem Jover <guillem@debian.org>
  390. * lib/dpkg.h (SHELL, SHELLENVIR): Remove unused macros.
  391. * src/main.h (check_libver): Remove unused prototype.
  392. 2009-01-04 Guillem Jover <guillem@debian.org>
  393. * dselect/main.cc (findintable, dme, refreshmenu): Make static.
  394. * dselect/method.cc (sthfailed): Likewise.
  395. * dselect/pkgtop.cc (pkgprioritystring): Likewise.
  396. 2008-12-30 Guillem Jover <guillem@debian.org>
  397. * lib/ehandle.c (badusage): Move function to ...
  398. * lib/myopt.c: ... here. Include <stdarg.h>.
  399. * lib/dpkg.h (badusage): Move declaration to ...
  400. * lib/myopt.h: ... here.
  401. * dpkg-split/split.c: Include <myopt.h>.
  402. 2008-12-30 Colin Watson <cjwatson@ubuntu.com>
  403. * src/help.c (preexecscript): Call chdir after chroot.
  404. 2008-12-23 Guillem Jover <guillem@debian.org>
  405. * lib/log.c (statusfd_send): Pass to write the remaining data, not
  406. the same initial buffer.
  407. 2008-12-08 Raphaël Hertzog <hertzog@debian.org>
  408. * scripts/Dpkg/Changelog.pm, scripts/dpkg-buildpackage.pl,
  409. scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
  410. scripts/dpkg-source.pl: Also import the default exported functions
  411. of Dpkg::ErrorHandling and not only the unusual ones.
  412. 2008-12-08 Guillem Jover <guillem@debian.org>
  413. * dpkg-deb/build.c (do_build): Mark strings for translation.
  414. * dpkg-deb/extract.c (extracthalf): Likewise.
  415. * dpkg-split/info.c (read_info): Likewise.
  416. * dpkg-split/join.c (reassemble): Likewise.
  417. * dpkg-split/queue.c (do_queue): Likewise.
  418. * dselect/pkglist.cc (packagelist::packagelist): Likewise.
  419. (packagelist::display): Likewise.
  420. * lib/log.c (statusfd_send): Likewise.
  421. * scripts/Dpkg/Source/Package/V1.pm (do_build): Likewise.
  422. * src/filesdb.c (ensure_packagefiles_available): Likewise.
  423. (ensure_statoverrides): Likewise.
  424. 2008-12-08 Guillem Jover <guillem@debian.org>
  425. * dpkg-deb/extract.c (extracthalf): Improve internerr strings, and add
  426. the invalid value provoking the call.
  427. * dpkg-split/queue.c (discardsome): Likewise.
  428. * lib/dbmodify.c (modstatdb_init): Likewise.
  429. * lib/dump.c (varbufdependency): Likewise.
  430. * lib/parsehelp.c (varbufversion): Likewise.
  431. * lib/vercmp.c (versionsatisfied3): Likewise.
  432. * scripts/Dpkg/Source/Archive.pm (_add_entry): Likewise.
  433. * src/archives.c (tarobject, archivefiles): Likewise.
  434. * src/configure.c (deferred_configure, promptconfaction): Likewise.
  435. * src/depcon.c (describedepcon, depisok): Likewise.
  436. * src/enquiry.c (yettobeunpacked): Likewise.
  437. * src/packages.c (packages, process_queue, dependencies_ok): Likewise.
  438. * src/query.c (enqperpackage): Likewise.
  439. * src/update.c (updateavailable): Likewise.
  440. 2008-12-08 Guillem Jover <guillem@debian.org>
  441. * scripts/Dpkg/Deps.pm (implies): Do not mark internerr strings for
  442. translation.
  443. * scripts/Dpkg/Fields.pm (output): Likewise.
  444. * scripts/Dpkg/Source/Package.pm (add_file): Likewise.
  445. 2008-12-08 Guillem Jover <guillem@debian.org>
  446. * scripts/Dpkg/Deps.pm (parse): Do not use sprintf for warning.
  447. (implies): Do not use sprintf for internerr.
  448. 2008-12-08 Guillem Jover <guillem@debian.org>
  449. * dpkg-deb/build.c (do_build): Use internerr instead of ohshit. Do not
  450. mark the string for translation.
  451. * src/trigcmd.c (do_check): Use internerr instead of abort.
  452. * lib/dump.c (w_status): Likewise.
  453. * lib/triglib.c (trig_incorporate): Likewise. Remove <stdlib.h>
  454. include.
  455. * scripts/Dpkg/IPC.pm (_sanity_check_opts): Use internerr instead of
  456. error.
  457. (fork_and_exec): Likewise. Do not mark the string for translation.
  458. (wait_child): Likewise.
  459. * scripts/Dpkg/Source/Archive.pm: Use internerr instead of error from
  460. Dpkg::ErrorHandling.
  461. (_add_entry, add_file, add_directory): Likewise.
  462. * scripts/Dpkg/Source/CompressedFile.pm: Likewise.
  463. (get_filename): Likewise.
  464. * scripts/Dpkg/Source/Compressor.pm: Likewise.
  465. (_sanity_check): Likewise.
  466. * scripts/Dpkg/Source/Package.p (do_extract, do_build): Likewise.
  467. * scripts/Dpkg/Source/Patch.pm (add_diff_file): Use error instead of
  468. internerr.
  469. 2008-12-08 Guillem Jover <guillem@debian.org>
  470. * lib/dpkg.h (do_internerr): Reorder arguments. Support format
  471. strings.
  472. (internerr): Likewise.
  473. * lib/ehandle.c (do_internerr): Likewise.
  474. 2008-12-08 Guillem Jover <guillem@debian.org>
  475. * scripts/Dpkg/ErrorHandling.pm (@EXPORT): Remove 'failure'.
  476. (failure): Remove function.
  477. (syserr): Rename 'failure' string to 'error'.
  478. (subprocerr): Use error instead of failure.
  479. * scripts/Dpkg/Checksums.pm (extractchecksum): Likewise.
  480. * scripts/Dpkg/Source/Functions.pm (erasedir): Likewise.
  481. * scripts/changelog/debian.pl: Likewise.
  482. * scripts/dpkg-gencontrol.pl: Likewise.
  483. * scripts/dpkg-shlibdeps.pl: Likewise.
  484. * scripts/dpkg-buildpackage.pl: Use syserr instead of failure.
  485. 2008-12-08 Guillem Jover <guillem@debian.org>
  486. * scripts/Dpkg/ErrorHandling.pm (@EXPORT_OK): Move info, warning,
  487. warnerror, error, errormsg, failure, syserr, internerr, subprocerr,
  488. usageerr and syntaxerr to ...
  489. (@EXPORT): ... here. Fix all users.
  490. 2008-12-08 Modestas Vainius <modestas@vainius.eu>
  491. Raphaël Hertzog <hertzog@debian.org>
  492. * scripts/Dpkg/Shlibs/Objdump.pm (parse): Split into add_object()
  493. and parse().
  494. * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_object_from_symfile):
  495. New function to reintegrate symbols from previous symfiles.
  496. * scripts/dpkg-shlibdeps.pl: Optimizes it by caching parsed
  497. symbols files and objdump objects. This way neither of the
  498. libraries or symbols files are parsed more than once.
  499. 2008-12-05 Guillem Jover <guillem@debian.org>
  500. * lib/mlib.c: Remove <sys/wait.h> include.
  501. (checksubprocerr, waitsubproc): Move to ...
  502. * lib/subproc.c (checksubprocerr, waitsubproc): ... here.
  503. Include <sys/types.h> and <sys/wait.h>.
  504. 2008-12-05 Guillem Jover <guillem@debian.org>
  505. * lib/mlib.c (checksubprocerr): Split unrelated conditionals for n
  506. and PROCPIPE.
  507. 2008-12-05 Guillem Jover <guillem@debian.org>
  508. * lib/mlib.c (checksubprocerr): Return an explicit 0 instead of n.
  509. 2008-12-05 Guillem Jover <guillem@debian.org>
  510. * lib/ehandle.c (warning): Print the current program name and a
  511. 'warning' string.
  512. * lib/mlib.c (checksubprocerr): Use warning() instead of a print
  513. function.
  514. * src/archives.c (try_deconfigure_can): Likewise.
  515. (check_breaks): Likewise.
  516. (check_conflict): Likewise.
  517. (wanttoinstall): Likewise.
  518. * src/configure.c (deferred_configure): Likewise.
  519. (conffderef): Likewise.
  520. (md5hash): Likewise.
  521. * src/errors.c (forcibleerr): Likewise.
  522. * src/filesdb.c (ensure_packagefiles_available): Likewise.
  523. * src/help.c (maintainer_script_alternative): Likewise.
  524. * src/processarc.c (process_archive): Likewise.
  525. * src/remove.c (deferred_remove): Likewise.
  526. (removal_bulk_remove_leftover_dirs): Likewise.
  527. * dpkg-deb/build.c (do_build): Likewise.
  528. 2008-12-05 Guillem Jover <guillem@debian.org>
  529. * lib/ehandle.c (warning): Do not implicitly print the errno string.
  530. * lib/myopt.c (myfileopt): Print the errno string in the warning.
  531. 2008-12-05 Guillem Jover <guillem@debian.org>
  532. * lib/dpkg.h (warningf): Rename to ...
  533. (warning): ... this. Fix all callers.
  534. 2008-11-19 Raphaël Hertzog <hertzog@debian.org>
  535. * scripts/Dpkg/Source/Functions.pm (fixperms): Fix chmod call to
  536. also work when POSIXLY_CORRECT is set.
  537. 2008-11-11 Guillem Jover <guillem@debian.org>
  538. * scripts/dpkg-architecture.pl: Use new style functions calls.
  539. * scripts/dpkg-distaddfile.pl: Likewise.
  540. * scripts/dpkg-divert.pl: Likewise.
  541. * scripts/dpkg-genchanges.pl: Likewise.
  542. * scripts/dpkg-gencontrol.pl: Likewise.
  543. * scripts/dpkg-gensymbols.pl: Likewise.
  544. * scripts/dpkg-scanpackages.pl: Likewise.
  545. * scripts/dpkg-statoverride.pl: Likewise.
  546. * scripts/update-alternatives.pl: Likewise.
  547. 2008-11-08 Raphaël Hertzog <hertzog@debian.org>
  548. * scripts/Dpkg/Shlibs/Objdump.pm (_parse): Support RUNPATH exactly
  549. like RPATH but taking precedence over it.
  550. 2008-10-22 Guillem Jover <guillem@debian.org>
  551. * lib/ehandle.c (error_unwind): Remove unused cleanupentry code.
  552. 2008-10-15 Guillem Jover <guillem@debian.org>
  553. * lib/dbmodify.c (modstatdb_shutdown): Use importanttmpfile on unlink
  554. instead of constructing the file name again.
  555. 2008-10-15 Guillem Jover <guillem@debian.org>
  556. * src/Makefile.am (dpkg_query_SOURCES): Remove 'errors.c'.
  557. * src/main.h (nerrs): Remove declaration.
  558. * src/errors.c (nerrs): Change from extern to static.
  559. * src/query.c (failures): New variable.
  560. (errabort): Remove variable.
  561. (listpackages): Use failures instead of nerrs.
  562. (searchfiles): Likewise.
  563. (showpackages): Likewise.
  564. (enqperpackage): Likewise. Do not define nor initialize failures.
  565. (main): Use failures variable instead of reportbroken_retexitstatus.
  566. 2008-09-14 Guillem Jover <guillem@debian.org>
  567. * libcompat/scandir.c (scandir): Handle case when filter and cmp
  568. function arguments are NULL.
  569. 2008-09-14 Guillem Jover <guillem@debian.org>
  570. * libcompat/compat.h (scandir): Rename arguments from select to
  571. filter and compar to cmp.
  572. * libcompat/scandir.c (scandir): Likewise.
  573. 2008-09-14 Guillem Jover <guillem@debian.org>
  574. * libcompat/compat.h (alphasort): Change argument types to match
  575. modern system ones (the current ones were missing one indirection
  576. anyway).
  577. * libcompat/alphasort.c (alphasort): Likewise. Properly dereference
  578. arguments.
  579. * libcompat/scandir.c (scandir_comparfn): Remove static function
  580. variable.
  581. (scandir_compar): Remove function.
  582. (scandir): Pass compar function directly to qsort.
  583. 2008-09-14 Guillem Jover <guillem@debian.org>
  584. * libcompat/strerror.c (strerror): Change string for unknown value.
  585. * libcompat/strsignal.c (strsignal): Likewise.
  586. 2008-09-14 Guillem Jover <guillem@debian.org>
  587. * libcompat/strsignal.c (strsignal): Do not return a string for
  588. signal 0.
  589. 2008-09-14 Guillem Jover <guillem@debian.org>
  590. * libcompat/strsignal.c (sys_siglist): Insert a NULL entry at the
  591. beginning.
  592. 2008-09-14 Guillem Jover <guillem@debian.org>
  593. * libcompat/strsignal.c (sys_siglist): Remove array size from
  594. declaration. Remove unknown signal names.
  595. (strsignal): Use sizeof to compute the array size instead of NSIG.
  596. 2008-09-14 Guillem Jover <guillem@debian.org>
  597. * libcompat/vsnprintf.c (vsnprintf): Use SEEK_SET instead of a 0
  598. literal on fseek.
  599. 2008-09-14 Guillem Jover <guillem@debian.org>
  600. * libcompat/vsnprintf.c (vsnprintf): Change size and nr types from
  601. unsigled long to size_t. Always return the amount that would be
  602. written regardless of any truncation. Do not read one byte less from
  603. the temporary file.
  604. 2008-09-14 Guillem Jover <guillem@debian.org>
  605. * libcompat/vsnprintf.c (vsnprintf): Use the return value from
  606. vfprintf as the formatted string size instead of using fstat to get
  607. the file size.
  608. 2008-09-14 Guillem Jover <guillem@debian.org>
  609. * libcompat/vsnprintf.c (vsnprintf): Check for negative return error
  610. values instead of just EOF.
  611. 2008-09-14 Guillem Jover <guillem@debian.org>
  612. * libcompat/snprintf.c (snprintf): Use vsnprintf instead of vsprintf.
  613. 2008-09-14 Guillem Jover <guillem@debian.org>
  614. * libcompat/vsnprintf.c (vsnprintf): Use '\0' instead of NULL to
  615. terminate the string.
  616. 2008-09-14 Guillem Jover <guillem@debian.org>
  617. * libcompat/compat.h (unsetenv): Change return type from void to int.
  618. * libcompat/unsetenv.c (unsetenv): Likewise. Return -1 on error, or
  619. pass through the status code from putenv.
  620. 2008-09-14 Guillem Jover <guillem@debian.org>
  621. * dselect/methkeys.cc: Remove unused headers <stdio.h>, <string.h>,
  622. <assert.h> and <dpkg.h>.
  623. * dselect/pkgkeys.cc: Likewise.
  624. * dselect/basetop.cc: Likewise. Remove unused header <ctype.h>.
  625. * dselect/curkeys.cc: Remove unused header <dpkg.h>.
  626. * dselect/helpmsgs.h: Likewise.
  627. * dselect/pkgcmds.cc: Likewise.
  628. * dselect/pkgdisplay.cc: Likewise.
  629. * dselect/pkginfo.cc: Likewise.
  630. * lib/compression.c: Likewise.
  631. * lib/dpkg-db.h: Remove unused header <string.h>. Include
  632. <sys/types.h>.
  633. * lib/md5.c: Remove unused header <netinet/in.h>.
  634. 2008-09-14 Guillem Jover <guillem@debian.org>
  635. * src/main.c (commandfd): Remove left over debug printf.
  636. 2008-09-14 Guillem Jover <guillem@debian.org>
  637. * lib/dpkg.h (IMPORTANTFMT): Remove out of sync comment.
  638. 2008-09-14 Guillem Jover <guillem@debian.org>
  639. * lib/dpkg.h (standard_startup): Do not take prog, loadcfg and
  640. cmdinfos as arguments, and do not call loadcfgfile. Fix all callers.
  641. * src/main.c: Call loadcfgfile directly.
  642. 2008-09-14 Guillem Jover <guillem@debian.org>
  643. * lib/dpkg.h: Do not include <myopt.h>.
  644. (standard_startup): Do not take argc and argv as arguments, and do
  645. not call myopt. Fix all callers.
  646. * lib/myopt-util.c: Include <myopt.h>.
  647. * dpkg-deb/build.c: Likewise.
  648. * dpkg-split/info.c: Likewise.
  649. * dpkg-split/join.c: Likewise.
  650. * dpkg-split/queue.c: Likewise.
  651. * src/select.c: Likewise.
  652. * dpkg-deb/main.c (main): Call myopt directly.
  653. * dpkg-split/main.c: Likewise.
  654. * src/main.c: Likewise.
  655. * src/query.c: Likewise.
  656. * src/trigcmd.c: Likewise.
  657. 2008-09-14 Guillem Jover <guillem@debian.org>
  658. * lib/dpkg.h (standard_shutdown): Remove unused freemem argument,
  659. and do not call nffreeall. Fix all callers.
  660. 2008-09-14 Guillem Jover <guillem@debian.org>
  661. * lib/dpkg-db.h: Move <stdlib.h> inclusion to ...
  662. * dselect/pkglist.cc: ... here.
  663. * lib/database.c: Likewise.
  664. * lib/dump.c: Likewise.
  665. * lib/parse.c: Likewise.
  666. * lib/parsehelp.c: Likewise.
  667. * lib/triglib.c: Likewise.
  668. * src/filesdb.c: Likewise.
  669. * src/help.c: Likewise.
  670. * src/select.c: Likewise.
  671. * src/trigproc.c: Likewise.
  672. 2008-09-14 Guillem Jover <guillem@debian.org>
  673. * configure.ac (AC_CHECK_FUNCS): Move 'vsnprintf', 'snprintf',
  674. 'strerror', 'strsignal', 'scandir', 'alphasort' and 'unsetenv' to ...
  675. (DPKG_CHECK_COMPAT_FUNCS): ... here.
  676. * lib/Makefile.am (libdpkg_a_SOURCES): Remove 'compat.c'.
  677. * lib/dpkg.h (strerror, strsignal, scandir, alphasort, unsetenv)
  678. (offsetof, strtoul, va_copy, WCOREDUMP): Move declarations to ...
  679. * libcompat/compat.h: ... here.
  680. * libcompat/Makefile.am (libcompat_a_SOURCES): Add 'strerror.c',
  681. 'strsignal.c', 'snprintf.c', 'vsnprintf.c', 'alphasort.c',
  682. 'scandir.c' and 'unsetenv.c'.
  683. * po/POTFILES.in: Remove 'lib/compat.c'.
  684. * lib/compat.c: Split into ...
  685. * libcompat/alphasort.c: ... here. New file.
  686. * libcompat/scandir.c: Likewise.
  687. * libcompat/snprintf.c: Likewise.
  688. * libcompat/strerror.c: Likewise.
  689. * libcompat/strsignal.c: Likewise.
  690. * libcompat/unsetenv.c: Likewise.
  691. * libcompat/vsnprintf.c: Likewise.
  692. 2008-09-14 Guillem Jover <guillem@debian.org>
  693. * lib/compat.c: Do not include <dpkg.h> anymore.
  694. (vsnprintf): Return negative on error instead of ohshite.
  695. 2008-09-14 Guillem Jover <guillem@debian.org>
  696. * libcompat/compat.h: New file.
  697. * dpkg-deb/build.c: Include <compat.h>.
  698. * dpkg-deb/extract.c: Likewise.
  699. * dpkg-deb/info.c: Likewise.
  700. * dpkg-deb/main.c: Likewise.
  701. * dpkg-split/info.c: Likewise.
  702. * dpkg-split/join.c: Likewise.
  703. * dpkg-split/main.c: Likewise.
  704. * dpkg-split/queue.c: Likewise.
  705. * dpkg-split/split.c: Likewise.
  706. * dselect/basecmds.cc: Likewise.
  707. * dselect/baselist.cc: Likewise.
  708. * dselect/basetop.cc: Likewise.
  709. * dselect/bindings.cc: Likewise.
  710. * dselect/curkeys.cc: Likewise.
  711. * dselect/helpmsgs.cc: Likewise.
  712. * dselect/main.cc: Likewise.
  713. * dselect/methkeys.cc: Likewise.
  714. * dselect/methlist.cc: Likewise.
  715. * dselect/method.cc: Likewise.
  716. * dselect/methparse.cc: Likewise.
  717. * dselect/pkgcmds.cc: Likewise.
  718. * dselect/pkgdepcon.cc: Likewise.
  719. * dselect/pkgdisplay.cc: Likewise.
  720. * dselect/pkginfo.cc: Likewise.
  721. * dselect/pkgkeys.cc: Likewise.
  722. * dselect/pkglist.cc: Likewise.
  723. * dselect/pkgsublist.cc: Likewise.
  724. * dselect/pkgtop.cc: Likewise.
  725. * lib/cleanup.c: Likewise.
  726. * lib/compression.c: Likewise.
  727. * lib/database.c: Likewise.
  728. * lib/dbmodify.c: Likewise.
  729. * lib/dump.c: Likewise.
  730. * lib/ehandle.c: Likewise.
  731. * lib/lock.c: Likewise.
  732. * lib/log.c: Likewise.
  733. * lib/md5.c: Likewise.
  734. * lib/mlib.c: Likewise.
  735. * lib/myopt-util.c: Likewise.
  736. * lib/myopt.c: Likewise.
  737. * lib/nfmalloc.c: Likewise.
  738. * lib/parse.c: Likewise.
  739. * lib/parsehelp.c: Likewise.
  740. * lib/path.c: Likewise.
  741. * lib/showpkg.c: Likewise.
  742. * lib/string.c: Likewise.
  743. * lib/subproc.c: Likewise.
  744. * lib/triglib.c: Likewise.
  745. * lib/utils.c: Likewise.
  746. * lib/varbuf.c: Likewise.
  747. * lib/vercmp.c: Likewise.
  748. * src/archives.c: Likewise.
  749. * src/cleanup.c: Likewise.
  750. * src/configure.c: Likewise.
  751. * src/depcon.c: Likewise.
  752. * src/enquiry.c: Likewise.
  753. * src/errors.c: Likewise.
  754. * src/filesdb.c: Likewise.
  755. * src/help.c: Likewise.
  756. * src/main.c: Likewise.
  757. * src/packages.c: Likewise.
  758. * src/pkg-list.c: Likewise.
  759. * src/pkg-show.c: Likewise.
  760. * src/processarc.c: Likewise.
  761. * src/query.c: Likewise.
  762. * src/remove.c: Likewise.
  763. * src/select.c: Likewise.
  764. * src/trigcmd.c: Likewise.
  765. * src/trigproc.c: Likewise.
  766. * src/update.c: Likewise.
  767. * lib/fields.c: Likewise. Do not include "strnlen.h", now implicitly
  768. included by <compat.h>.
  769. * lib/tarfn.c: Likewise.
  770. 2008-09-14 Guillem Jover <guillem@debian.org>
  771. * lib/dpkg.h: Move <locale.h> inclusion and standard_startup locale
  772. setup to ...
  773. * dpkg-deb/main.c (main): ... here.
  774. * dpkg-split/main.c (main): Likewise.
  775. * dselect/main.cc (main): Likewise.
  776. * src/main.c (main): Likewise.
  777. * src/query.c (main): Likewise.
  778. * src/trigcmd.c (main): Likewise.
  779. 2008-09-14 Guillem Jover <guillem@debian.org>
  780. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-i18n.h'.
  781. * lib/dpkg.h: Move <gettext.h> inclusion and ...
  782. (_, N_): ... macros to ...
  783. * lib/dpkg-i18n.h: ... here. New file.
  784. * dpkg-deb/build.c: Include <dpkg-i18n.h>.
  785. * dpkg-deb/extract.c: Likewise.
  786. * dpkg-deb/info.c: Likewise.
  787. * dpkg-deb/main.c: Likewise.
  788. * dpkg-split/info.c: Likewise.
  789. * dpkg-split/join.c: Likewise.
  790. * dpkg-split/main.c: Likewise.
  791. * dpkg-split/queue.c: Likewise.
  792. * dpkg-split/split.c: Likewise.
  793. * dselect/basecmds.cc: Likewise.
  794. * dselect/baselist.cc: Likewise.
  795. * dselect/bindings.cc: Likewise.
  796. * dselect/helpmsgs.cc: Likewise.
  797. * dselect/main.cc: Likewise.
  798. * dselect/methlist.cc: Likewise.
  799. * dselect/method.cc: Likewise.
  800. * dselect/methparse.cc: Likewise.
  801. * dselect/pkgdisplay.cc: Likewise.
  802. * dselect/pkginfo.cc: Likewise.
  803. * dselect/pkglist.cc: Likewise.
  804. * dselect/pkgsublist.cc: Likewise.
  805. * dselect/pkgtop.cc: Likewise.
  806. * lib/compression.c: Likewise.
  807. * lib/database.c: Likewise.
  808. * lib/dbmodify.c: Likewise.
  809. * lib/dump.c: Likewise.
  810. * lib/ehandle.c: Likewise.
  811. * lib/fields.c: Likewise.
  812. * lib/lock.c: Likewise.
  813. * lib/log.c: Likewise.
  814. * lib/mlib.c: Likewise.
  815. * lib/myopt-util.c: Likewise.
  816. * lib/myopt.c: Likewise.
  817. * lib/nfmalloc.c: Likewise.
  818. * lib/parse.c: Likewise.
  819. * lib/parsehelp.c: Likewise.
  820. * lib/showpkg.c: Likewise.
  821. * lib/subproc.c: Likewise.
  822. * lib/trigdeferred.l: Likewise.
  823. * lib/triglib.c: Likewise.
  824. * lib/utils.c: Likewise.
  825. * src/archives.c: Likewise.
  826. * src/cleanup.c: Likewise.
  827. * src/configure.c: Likewise.
  828. * src/depcon.c: Likewise.
  829. * src/enquiry.c: Likewise.
  830. * src/errors.c: Likewise.
  831. * src/filesdb.c: Likewise.
  832. * src/help.c: Likewise.
  833. * src/main.c: Likewise.
  834. * src/packages.c: Likewise.
  835. * src/pkg-show.c: Likewise.
  836. * src/processarc.c: Likewise.
  837. * src/query.c: Likewise.
  838. * src/remove.c: Likewise.
  839. * src/select.c: Likewise.
  840. * src/trigcmd.c: Likewise.
  841. * src/trigproc.c: Likewise.
  842. * src/update.c: Likewise
  843. 2008-09-14 Guillem Jover <guillem@debian.org>
  844. * dselect/baselist.cc (baselist::startdisplay): Unmark debug message
  845. for translation.
  846. * dselect/methlist.cc (methodlist::display): Likewise.
  847. * dselect/pkgdepcon.cc (packagelist::resolvedepcon): Likewise.
  848. * dselect/pkglist.cc (packagelist::addheading): Likewise.
  849. * dselect/pkgsublist.cc (packagelist::add): Likewise.
  850. 2009-02-03 Guillem Jover <guillem@debian.org>
  851. * configure.ac: Release 1.14.25.
  852. 2009-02-02 Guillem Jover <guillem@debian.org>
  853. * src/archives.c (tarobject): Do not call ensure_pathname_nonexisting
  854. for .dpkg-tmp and .dpkg-new if we are going to return due to already
  855. existing directory or a file to be skept.
  856. 2008-02-02 Raphaël Hertzog <hertzog@debian.org>
  857. * dpkg-deb/build.c: Ensure that data.tar and control.tar
  858. archives created inside a .deb use the GNU format that is compatible
  859. with dpkg itself. And remove TAR_OPTIONS from environment to
  860. avoid unexpected user customizations of the resulting archives.
  861. 2008-12-29 Guillem Jover <guillem@debian.org>
  862. * configure.ac: Bump version to 1.14.25~.
  863. 2008-12-29 Guillem Jover <guillem@debian.org>
  864. * configure.ac: Release 1.14.24.
  865. 2008-12-20 Guillem Jover <guillem@debian.org>
  866. * src/archives.c (tarobject): Move a 'continue' inside a conditional
  867. checking if the conffile to take over was obsolete on the other
  868. package by adding missing bracese.
  869. 2008-12-01 Raphaël Hertzog <hertzog@debian.org>
  870. * scripts/Dpkg/Source/Archive.pm (extract): Do not create the temp
  871. directory in the current directory but in the parent directory of
  872. the target directory. Otherwise the code would fail when called
  873. from a non-writable dir and rename could fail due to filesystem
  874. boundaries beetwen the current dir and the target one.
  875. 2008-12-01 Modestas Vainius <modestas@vainius.eu>
  876. * scripts/dpkg-shlibdeps.pl: Don't merge all dependency templates
  877. into the generated dependency when Build-Depends-Package is
  878. used in the symbols file. Instead simply modify the minimal
  879. version on any pre-existing dependency.
  880. 2008-11-19 Raphaël Hertzog <hertzog@debian.org>
  881. * scripts/Dpkg/Shlibs/Objdump.pm (parse_dynamic_symbol): Fix the
  882. regular expression to not require two space between alignment and
  883. symbol name.
  884. * scripts/t/200_Dpkg_Shlibs.t,
  885. scripts/t/200_Dpkg_Shlibs/objdump.ls: Add a non-regression test
  886. corresponding to the above case.
  887. 2008-11-18 Guillem Jover <guillem@debian.org>
  888. * configure.ac: Bump version to 1.14.24~.
  889. 2008-11-18 Guillem Jover <guillem@debian.org>
  890. * configure.ac: Release 1.14.23.
  891. 2008-11-14 Guillem Jover <guillem@debian.org>
  892. * lib/ehandle.c (run_error_handler): In case of onerr_abort print an
  893. error message and exit, otherwise longjmp.
  894. 2008-11-14 Guillem Jover <guillem@debian.org>
  895. * src/main.h (abort_processing): New variable declaration.
  896. * src/errors.c (abort_processing): New variable definition.
  897. * src/archives.c (print_error_perpackage): Use abort_processing
  898. instead of onerr_abort for non fatal errors.
  899. (reportbroken_retexitstatus): Likewise. Do not check onerr_abort
  900. for the exit value as it should not have reached this function.
  901. * src/packages.c (process_queue): Likewise. Return on entering if
  902. it should abort processing.
  903. 2008-11-14 Guillem Jover <guillem@debian.org>
  904. * lib/ehandle.c (run_error_handler): New function.
  905. (push_error_handler): Use run_error_handler instead of directly
  906. calling longjmp.
  907. (ohshit): Likewise.
  908. (ohshitvb): Likewise.
  909. (ohshitv): Likewise.
  910. (ohshite): Likewise.
  911. 2008-11-07 Raphaël Hertzog <hertzog@debian.org>
  912. * scripts/Dpkg/Version.pm: Synchronize code with version used by
  913. debbugs (add some bugfixes).
  914. * scripts/t/900_Dpkg_Version.t: Add non-regression tests for
  915. version comparison code.
  916. * scripts/Makefile.am: Add new file in the dist tarball.
  917. 2008-10-20 Raphaël Hertzog <hertzog@debian.org>
  918. * scripts/Dpkg/Shlibs/SymbolFile.pm (load): Let the recursively
  919. nested calls to load() modify the name of the current object so
  920. that the header can be set in an included file (like it's already
  921. documented).
  922. 2008-09-26 Thiemo Seufer <ths@debian.org>
  923. * scripts/Dpkg/Shlibs/SymbolFile.pm: add "__gnu_local_gp" symbol
  924. to the blacklist (mips/mipsel specific symbol that appeared with
  925. GCC 4.3).
  926. 2008-09-05 Raphaël Hertzog <hertzog@debian.org>
  927. * configure.ac: Bump version to 1.14.23~.
  928. 2008-09-05 Raphaël Hertzog <hertzog@debian.org>
  929. * configure.ac: Release 1.14.22.
  930. 2008-08-29 Raphaël Hertzog <hertzog@debian.org>
  931. * scripts/dpkg-gensymbols.pl: It was already skipping symlinks
  932. within the package build tree. Now it also skips real
  933. directories accessed through a symlink contained in the package
  934. build tree. Package like libc6-386 had symlinks usr/lib32
  935. pointing to some directories outside of the build tree and
  936. the LD_LIBRARY_PATH set by fakeroot led contained
  937. /usr/lib32/libfakeroot which made dpkg-gensymbols scan this
  938. directory and add libfakeroot to the libc6-386 symbols file!
  939. 2008-08-29 Raphaël Hertzog <hertzog@debian.org>
  940. * scripts/Dpkg/Source/Package/V3/quilt.pm: run_quilt() can be run
  941. when no quilt series file exist yet. In that case we have to
  942. provide the name of the series file that we want to create (as the
  943. quilt command might create it). Up to now
  944. File::Spec->rel2abs(undef) returned the name of the current
  945. directory and we improperly used that as value of QUILT_SERIES.
  946. * scripts/Dpkg/Source/Package/V2.pm (do_build): Change permissions
  947. of the automatically generated patch which is initially created
  948. 0600 with tempfile().
  949. 2008-08-26 Guillem Jover <guillem@debian.org>
  950. * configure.ac: Bump version to 1.14.22~.
  951. 2008-08-26 Guillem Jover <guillem@debian.org>
  952. * lib/gettext.h: Move to ..
  953. * libcompat/gettext.h: ... here.
  954. * lib/Makefile.am (libdpkg_a_SOURCES): Remove 'gettext.h'.
  955. * libcompat/Makefile.am (libcompat_a_SOURCES): Add 'gettext.h'
  956. 2008-08-24 Guillem Jover <guillem@debian.org>
  957. * lib/dpkg-priv.h [HAVE_STDDEF_H]: Conditionalize <stddef.h> inclusion.
  958. 2008-08-24 Guillem Jover <guillem@debian.org>
  959. * lib/dpkg-def.h (DPKG_BEGIN_DECLS, DPKG_END_DECLS): New macros.
  960. * lib/dpkg.h: Surround declarations with DPKG_BEGIN_DECLS and
  961. DPKG_END_DECLS.
  962. * lib/myopt.h: Likewise.
  963. * lib/dpkg-db.h: Likewise. Include <dpkg-def.h>.
  964. * lib/dpkg-priv.h: Include <dpkg-def.h>. Replace extern "C" context
  965. with DPKG_BEGIN_DECLS and DPKG_END_DECLS.
  966. * dselect/basecmds.cc: Remove surrounding extern "C" context from
  967. header files.
  968. * dselect/baselist.cc: Likewise.
  969. * dselect/basetop.cc: Likewise.
  970. * dselect/bindings.cc: Likewise.
  971. * dselect/curkeys.cc: Likewise.
  972. * dselect/helpmsgs.h: Likewise.
  973. * dselect/main.cc: Likewise.
  974. * dselect/methkeys.cc: Likewise.
  975. * dselect/methlist.cc: Likewise.
  976. * dselect/method.cc: Likewise.
  977. * dselect/methparse.cc: Likewise.
  978. * dselect/pkgcmds.cc: Likewise.
  979. * dselect/pkgdepcon.cc: Likewise.
  980. * dselect/pkgdisplay.cc: Likewise.
  981. * dselect/pkginfo.cc: Likewise.
  982. * dselect/pkgkeys.cc: Likewise.
  983. * dselect/pkglist.cc: Likewise.
  984. * dselect/pkgsublist.cc: Likewise.
  985. * dselect/pkgtop.cc: Likewise.
  986. 2008-08-24 Guillem Jover <guillem@debian.org>
  987. * lib/dpkg-def.h: Do not include <config.h>.
  988. * dselect/helpmsgs.h: Likewise.
  989. * dselect/helpmsgs.cc: Include <config.h>.
  990. * lib/cleanup.c: Likewise.
  991. * lib/md5.c: Include <config.h> instead of "config.h".
  992. * lib/mlib.c: Likewise.
  993. * utils/start-stop-daemon.c: Likewise.
  994. 2008-08-22 Raphaël Hertzog <hertzog@debian.org>
  995. * man/dpkg-source.1: Clarify two points concerning the behaviour
  996. of the new 3.0 (quilt) source format.
  997. 2008-08-18 Guillem Jover <guillem@debian.org>
  998. * lib/dpkg.h (ARCHBINFMT): Remove unused macro.
  999. 2008-08-18 Guillem Jover <guillem@debian.org>
  1000. * src/query.c: Remove left-over description from header comment.
  1001. * src/remove.c: Remove partial change log from header comment.
  1002. 2008-08-18 Guillem Jover <guillem@debian.org>
  1003. * lib/dpkg.h (CMETHOPTFILE, METHLOCKFILE, METHODSDIR)
  1004. (IMETHODMAXLEN, IOPTIONMAXLEN, METHODOPTIONSFILE)
  1005. (METHODSETUPSCRIPT, METHODUPDATESCRIPT, METHODINSTALLSCRIPT)
  1006. (OPTIONSDESCPFX, OPTIONINDEXMAXLEN): Move macros ...
  1007. * dselect/method.h: ... here.
  1008. * dselect/methparse.cc: Include "method.h".
  1009. 2008-08-18 Guillem Jover <guillem@debian.org>
  1010. * man/dpkg-trigger.1: Mark program names in bold.
  1011. 2008-08-18 Guillem Jover <guillem@debian.org>
  1012. * man/cleanup-info.8: Use a troff special character for the copyright
  1013. symbol.
  1014. * man/deb-substvars.5: Likewise.
  1015. * man/deb-version.5: Likewise.
  1016. * man/dpkg-buildpackage.1: Likewise.
  1017. * man/dpkg-checkbuilddeps.1: Likewise.
  1018. * man/dpkg-deb.1: Likewise.
  1019. * man/dpkg-distaddfile.1: Likewise.
  1020. * man/dpkg-divert.8: Likewise.
  1021. * man/dpkg-genchanges.1: Likewise.
  1022. * man/dpkg-gencontrol.1: Likewise.
  1023. * man/dpkg-gensymbols.1: Likewise.
  1024. * man/dpkg-name.1: Likewise.
  1025. * man/dpkg-parsechangelog.1: Likewise.
  1026. * man/dpkg-query.1: Likewise.
  1027. * man/dpkg-shlibdeps.1: Likewise.
  1028. * man/dpkg-source.1: Likewise.
  1029. * man/dpkg-split.1: Likewise.
  1030. * man/dpkg-statoverride.8: Likewise.
  1031. * man/install-info.8: Likewise.
  1032. * man/update-alternatives.8: Likewise.
  1033. 2008-08-15 Guillem Jover <guillem@debian.org>
  1034. * man/dpkg-deb.1 (BUGS): Improve comment about missing authentication
  1035. and checksum support in .deb files.
  1036. 2008-08-05 Guillem Jover <guillem@debian.org>
  1037. * lib/ehandle.c: Include <dpkg-priv.h>.
  1038. (push_cleanup): Use sizeof_array instead of ad-hoc calculation.
  1039. 2008-08-05 Guillem Jover <guillem@debian.org>
  1040. * scripts/dpkg-scanpackages.pl: Use usageerr instead of embedded code.
  1041. 2008-08-05 Guillem Jover <guillem@debian.org>
  1042. * scripts/dpkg-distaddfile.pl: Use _g() instead of wrong and typoed
  1043. gettetx().
  1044. 2008-08-03 Guillem Jover <guillem@debian.org>
  1045. * src/processarc.c (process_archive): Use blankpackageperfile instead
  1046. of manually blanking the members.
  1047. * src/remove.c (removal_bulk): Likewise.
  1048. 2008-08-03 Guillem Jover <guillem@debian.org>
  1049. * utils/start-stop-daemon.c (pid_is_running) [!OSHURD]: Reimplement
  1050. using kill instead of less-portable /proc.
  1051. 2008-08-03 Guillem Jover <guillem@debian.org>
  1052. * utils/start-stop-daemon.c (check) [HAVE_KVM_H]: Call pid_is_exec.
  1053. 2008-08-03 Guillem Jover <guillem@debian.org>
  1054. * src/pkg-show.c (limiteddescription): Assign directly to l_r instead
  1055. of a temporary variable.
  1056. 2008-08-03 Guillem Jover <guillem@debian.org>
  1057. * utils/start-stop-daemon.c: Move the different implementations
  1058. of the same function for different operating systems together.
  1059. 2008-08-03 Guillem Jover <guillem@debian.org>
  1060. * utils/start-stop-daemon.c (MIN_POLL_INTERVAL): Use proper UTF-8 mu
  1061. symbol for the unit in the comment.
  1062. 2008-07-26 Guillem Jover <guillem@debian.org>
  1063. * src/Makefile.am (dpkg_SOURCES): Add 'pkg-show.c'.
  1064. (dpkg_query_SOURCES): Likewise.
  1065. * src/main.h (limiteddescription): New function prototype.
  1066. * src/enquiry.c (limiteddescription): Move function to ...
  1067. * src/pkg-show.c: ... here. New file.
  1068. * src/query.c (limiteddescription): Remove duplicate function.
  1069. 2008-07-26 Guillem Jover <guillem@debian.org>
  1070. * lib/showpkg.c (parseformat): Do not set cur->type to field, as
  1071. that's set in parsefield.
  1072. 2008-07-22 Guillem Jover <guillem@debian.org>
  1073. * src/Makefile.am (dpkg_SOURCES): Add 'pkg-list.c'.
  1074. (dpkg_query_SOURCES): Likewise.
  1075. * src/enquiry.c (pkglistqsortcmp): Move function to ...
  1076. * src/pkg-list.c: ... here. New file.
  1077. * src/query.c (pkglistqsortcmp): Remove duplicate function.
  1078. 2008-07-22 Guillem Jover <guillem@debian.org>
  1079. * src/main.h (struct pkg_deconf_list): Move declaration ...
  1080. * src/archives.h: ... here.
  1081. 2008-07-22 Guillem Jover <guillem@debian.org>
  1082. * src/main.h (struct packageinlist): Rename to ...
  1083. (struct pkg_deconf_list): ... this. Fix all users.
  1084. 2008-07-22 Guillem Jover <guillem@debian.org>
  1085. * src/main.h (struct packageinlist): Change 'void *xinfo' member to
  1086. 'struct pkginfo *pkg_removal'. Fix all users.
  1087. 2008-07-22 Guillem Jover <guillem@debian.org>
  1088. * src/main.h (ignoredependss): Change type to 'struct pkginqueue'.
  1089. * src/main.c (ignoredependss): Likewise.
  1090. (ignoredepends): Change type for variable 'ni' to 'struct pkginqueue'.
  1091. * src/help.c (ignore_depends): Likewise.
  1092. 2008-07-22 Guillem Jover <guillem@debian.org>
  1093. * src/query.c (ignoredependss): Remove unused variable.
  1094. 2008-07-10 Raphaël Hertzog <hertzog@debian.org>
  1095. * man/dpkg-buildpackage.1: Give a detailed explanation of what the
  1096. command does. Drop any duplicate information contained in the
  1097. dpkg-genchanges/dpkg-source manual pages.
  1098. * man/dpkg-genchanges.1: Document the -A option (was missing).
  1099. 2008-07-10 Guillem Jover <guillem@debian.org>
  1100. * lib/dpkg-priv.h (min, max): New macros.
  1101. * lib/tarfn.c: Include <dpkg-priv.h>.
  1102. * src/configure.c: Likewise.
  1103. * src/enquiry.c: Likewise.
  1104. * src/configure.c (conffderef): Use max instead of hardcoded test.
  1105. * lib/tarfn.c (TarExtractor): Use min instead of hardcoded test.
  1106. * lib/fields.c (conffvalue_lastword): Likewise.
  1107. * src/enquiry.c (limiteddescription): Likewise.
  1108. * src/main.c (setforce): Likewise.
  1109. * src/query.c (limiteddescription): Likewise.
  1110. 2008-07-10 Guillem Jover <guillem@debian.org>,
  1111. Timothy G Abbott <tabbott@mega-man.mit.edu>
  1112. * src/configure.c (deferred_configure): Call namenodetouse to handle
  1113. diverted conffiles. Use trig_file_activate on usenode, instead of
  1114. trig_file_activate_byname, to activate the correct file trigger for
  1115. the diverted conffile.
  1116. 2008-07-06 Guillem Jover <guillem@debian.org>
  1117. * src/main.h: Remove comment about side effect in namenodetouse.
  1118. * src/help.c (namenodetouse): Move call to trig_file_activate to ...
  1119. * src/archives.c (tarobject): ... here.
  1120. * src/processarc.c (process_archive): Likewise.
  1121. * src/remove.c (removal_bulk_remove_files): Likewise.
  1122. (removal_bulk_remove_leftover_dirs): Likewise.
  1123. 2008-07-06 Michel Lespinasse <walken@zoy.org>
  1124. * dselect/baselist.cc (baselist::startdisplay): Create the
  1125. pad with the list of the size of the display and not of the
  1126. size of the list content itself.
  1127. * dselect/basetop.cc (baselist::refreshlist): The part to
  1128. display is always at the top of the pad.
  1129. (baselist::redrawitemsrange): Simplified to redraw the real
  1130. range only.
  1131. * dselect/pkglist.cc (packagelist::sortmakeheads): No need to reallocate
  1132. the pad when the list changes.
  1133. * dselect/pkgtop.cc (packagelist::redraw1itemsel): The line
  1134. of the item in the infopad doesn't correspond to its index in
  1135. the list any more. Adjust accordingly.
  1136. 2008-07-05 Guillem Jover <guillem@debian.org>
  1137. * src/archives.c (filesavespackage): Do not mark debug message for
  1138. translation.
  1139. 2008-07-04 Raphaël Hertzog <hertzog@debian.org>
  1140. Bruce Sass <bmsass@shaw.ca>
  1141. * dselect/pkginfo.cc (packagelist::itd_description), dselect/pkgtop.cc
  1142. (packagelist::redraw1itemsel): Use description of installed
  1143. package as a fallback if the package is not more listed in the
  1144. available list.
  1145. 2008-07-02 Guillem Jover <guillem@debian.org>
  1146. * lib/fields.c (convert_string): Remove unneeded variable assignments.
  1147. Get rid this way of an int variable.
  1148. 2008-07-02 Guillem Jover <guillem@debian.org>
  1149. * lib/fields.c (convert_string): Change nvip to be const and use a
  1150. proper assignment instead of a sneaky cast through memcpy. Remove
  1151. unneeded length caching as all current namevalue arrays have it
  1152. precomputed.
  1153. 2008-07-02 Guillem Jover <guillem@debian.org>
  1154. * lib/fields.c (convert_string): Use a capped string length instead
  1155. of using last namevalue length member when printing the disallowed
  1156. value.
  1157. 2008-07-02 Guillem Jover <guillem@debian.org>
  1158. * src/query.c (limiteddescription): Use NULL instead of 0.
  1159. (list1package, searchfiles, enqperpackage, main): Likewise.
  1160. (cipaction, ignoredependss, cmdinfos): Likewise.
  1161. (ACTION, OBSOLETE): Likewise.
  1162. * src/select.c (setselections): Likewise.
  1163. * src/trigcmd.c (cmdinfos): Likewise.
  1164. 2008-07-02 Guillem Jover <guillem@debian.org>
  1165. * src/remove.c (removal_bulk_remove_configfiles): Remove wrong comment
  1166. not matching the code.
  1167. 2008-07-02 Guillem Jover <guillem@debian.org>
  1168. * src/archives.c (tarfile_skip_one_forward): Make static.
  1169. 2008-07-02 Guillem Jover <guillem@debian.org>
  1170. * lib/dpkg-priv.h: Include <stddef.h>.
  1171. * lib/string.c: Include <config.h> and <dpkg-priv.h>.
  1172. 2008-07-02 Guillem Jover <guillem@debian.org>
  1173. * dselect/Makefile.am (curkeys.h): Use '$(CPP)' instead of '$(CC) -E'.
  1174. 2008-07-01 Guillem Jover <guillem@debian.org>
  1175. * src/depcon.c (findbreakcyclerecursive): Use the debug function
  1176. instead of reimplementing its logic.
  1177. * src/help.c (preexecscript): Likewise.
  1178. 2008-07-01 Egmont Koblinger <egmont@uhulinux.hu>
  1179. * src/processarc.c (process_archive): Properly lstat the correct
  1180. file on upgrade when using --root.
  1181. 2008-07-01 Guillem Jover <guillem@debian.org>
  1182. * src/processarc.c (process_archive): Do not allocate a struct stat
  1183. when lstat fails, instead assign a pointer to a static empty stat
  1184. variable that will mark it as such.
  1185. 2008-06-30 Guillem Jover <guillem@debian.org>
  1186. * lib/showpkg.c (parsefield): Remove unneeded 'const char *' cast.
  1187. 2008-06-30 Guillem Jover <guillem@debian.org>
  1188. * lib/dpkg-db.h (struct arbitraryfield): Make all 'char *' members
  1189. 'const'.
  1190. (struct filedetails): Likewise.
  1191. (struct pkginfoperfile): Likewise.
  1192. (struct trigpend): Likewise.
  1193. * lib/parse.c (parsedb): Remove now unneeded 'const char **' casts.
  1194. * src/processarc.c (process_archive): Change size variable before
  1195. assigning the pointer.
  1196. 2008-06-30 Guillem Jover <guillem@debian.org>
  1197. * dselect/baselist.cc (baselist::wordwrapinfo): Surround expression
  1198. with parenthesis.
  1199. * dselect/pkgcmds.cc (packagelist::affectedmatches): Likewise.
  1200. (packagelist::affectedrange): Switch a for with an empty body into a
  1201. while.
  1202. * dselect/basecmds.cc (baselist::displayhelp): Likewise.
  1203. * dselect/bindings.cc (keybindings::bind, keybindings::find)
  1204. (keybindings::operator(), keybindings::key2name)
  1205. (keybindings::name2key): Likewise.
  1206. * dselect/main.cc (urq_menu, main): Likewise.
  1207. * dselect/methparse.cc (readmethods, getcurrentopt): Likewise.
  1208. * dselect/pkgdepcon.cc (packagelist::resolvedepcon): Likewise.
  1209. * dselect/pkgsublist.cc (packagelist::alreadydone): Likewise.
  1210. 2008-06-30 Guillem Jover <guillem@debian.org>
  1211. * lib/trigdeferred.l: Define YY_NO_INPUT to make flex not include
  1212. the unused input() in the resulting object.
  1213. 2008-06-29 Guillem Jover <guillem@debian.org>
  1214. * lib/parsedump.h (parseerr, parsemustfield): Remove prototypes.
  1215. (parse_error, parse_warn): New prototypes.
  1216. (parse_must_have_field, parse_ensure_have_field): Likewise.
  1217. * lib/parsehelp.c (parseerr): Split into ...
  1218. (parse_error_msg, parse_error, parse_warn): ... these. New functions.
  1219. Fix all callers.
  1220. (parsemustfield): Split into ...
  1221. (parse_must_have_field, parse_ensure_have_field): ... there. New
  1222. functions. Fix all callers.
  1223. * lib/fields.c (convert_string): Remove now unused warning related
  1224. arguments. Fix all callers.
  1225. (conffvalue_lastword): Likewise.
  1226. 2008-06-29 Guillem Jover <guillem@debian.org>
  1227. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'string.c'.
  1228. * lib/dpkg-priv.h (str_escape_fmt): New prototype.
  1229. * lib/parsehelp.c: Include <dpkg-priv.h>.
  1230. (parseerr): Refactor string format escaping to ,,,
  1231. * lib/string.c (str_escape_fmt): ... here. New file.
  1232. 2008-06-28 Guillem Jover <guillem@debian.org>
  1233. * lib/parsedump.h (parseerr, parsemustfield): Remove unused 'file'
  1234. argument. Fix all callers.
  1235. * lib/parsehelp.c (parseerr): Remove checks on 'file'.
  1236. 2008-06-28 Tollef Fog Heen <tfheen@err.no>
  1237. * src/archives.c (tarobject): Refactor tarfile object skipping to ...
  1238. (tarfile_skip_one_forward): ... here. New function.
  1239. 2008-06-28 Guillem Jover <guillem@debian.org>
  1240. * lib/dpkg-db.h (skip_slash_dotslash): Move declaration ...
  1241. * lib/dpkg-priv.h: ... here.
  1242. * lib/parsehelp.c (skip_slash_dotslash): Move definition ...
  1243. * lib/path.c: ... here.
  1244. * lib/fields.c: Include <dpkg-priv.h>.
  1245. * src/filesdb.c: Likewise.
  1246. 2008-06-28 Guillem Jover <guillem@debian.org>
  1247. * lib/dpkg.h (onerr_abort): Move declaration to the ehandle.c section.
  1248. * lib/mlib.c (onerr_abort): Move definition ...
  1249. * lib/ehandle.c: ... here.
  1250. 2008-06-28 Guillem Jover <guillem@debian.org>
  1251. * lib/mlib.c (checksubprocerr): Move the PROCNOERR check before
  1252. the reporting, and exit directly instead in case of error.
  1253. 2008-06-28 Guillem Jover <guillem@debian.org>
  1254. * lib/ehandle.c (badusage): Use ohshit instead of its own error
  1255. handling.
  1256. 2008-06-28 Guillem Jover <guillem@debian.org>
  1257. * src/query.c (printforhelp): Remove trailing newlines.
  1258. 2008-06-27 Guillem Jover <guillem@debian.org>
  1259. * dpkg-deb/build.c (do_build): Move string translation markers outside
  1260. of the string.
  1261. * src/help.c (ensure_pathname_nonexisting): Localize the 'failed'
  1262. variable instead of expecting gettext to magically infer the formatted
  1263. string.
  1264. * src/processarc.c (process_archive): Likewise.
  1265. 2008-06-27 Raphaël Hertzog <hertzog@debian.org>
  1266. * scripts/install-info.pl: Improve error message when the
  1267. info file doesn't exist.
  1268. 2008-06-27 Raphaël Hertzog <hertzog@debian.org>
  1269. * man/dpkg-query.1: Document the origin of the various fields and
  1270. warn that they are not always available.
  1271. 2008-06-23 Raphaël Hertzog <hertzog@debian.org>
  1272. * scripts/dpkg-source.pl: New option --require-valid-signature.
  1273. * scripts/Dpkg/Source/Package.pm (check_signature): Updated to use
  1274. Dpkg::IPC and to implement the checks related to
  1275. --require-valid-signature.
  1276. * man/dpkg-source.1: Document the new option.
  1277. 2008-06-23 Raphaël Hertzog <hertzog@debian.org>
  1278. * scripts/Dpkg/IPC.pm (fork_and_exec): New nocheck option that is
  1279. forwarded to wait_child().
  1280. 2008-06-23 Timothy G Abbott <tabbott@MIT.EDU>
  1281. * scripts/dpkg-divert.pl: Add new option --listpackage to
  1282. dpkg-divert.
  1283. * man/dpkg-divert.1: Document new option.
  1284. 2008-06-22 Raphaël Hertzog <hertzog@debian.org>
  1285. * man/dpkg.1, man/dpkg-query.1: Document the fact that the available
  1286. file is mostly useful for dselect users and that the related commands
  1287. are useless for APT users.
  1288. 2008-06-22 Raphaël Hertzog <hertzog@debian.org>
  1289. * man/dpkg-buildpackage.1: Document -A option.
  1290. 2008-06-22 Raphaël Hertzog <hertzog@debian.org>
  1291. * man/dpkg.1, man/dpkg-query.1: Clarify lisf of packages displayed
  1292. in dpkg --get-selections and dpkg-query -l.
  1293. 2008-06-21 Raphaël Hertzog <hertzog@debian.org>
  1294. * scripts/dpkg-shlibdeps.pl: If the binary analyzed is a library on a
  1295. non-public path, assume it's likely a plugin and reduce the number of
  1296. warnings displayed about symbols not found. Also use a different,
  1297. hopefully less confusing message.
  1298. * man/dpkg-shlibdeps.1: Document the above changes.
  1299. 2008-06-21 Raphaël Hertzog <hertzog@debian.org>
  1300. * scripts/Dpkg/Vendor.pm: Provide simple parser for vendor-specific
  1301. information stored in /etc/dpkg/origins/. The current vendor can
  1302. be identified through get_current_vendor() and get_vendor_info()
  1303. retrieves the information stores within those files.
  1304. * scripts/dpkg-buildpackage.pl: Setup the DEB_VENDOR environment
  1305. variable if possible.
  1306. * man/dpkg-buildpackage.1: Document the above changes.
  1307. * scripts/Dpkg/Source/Package/V3/quilt.pm (get_series_file): Use
  1308. get_current_vendor() to decide the name of the vendor-specific
  1309. series file that should be used.
  1310. * scripts/Makefile.am, scripts/po/POTFILES.in: Include the new
  1311. module in the dist tarball and in the list of files containing
  1312. translatable strings.
  1313. 2008-06-19 Guillem Jover <guillem@debian.org>
  1314. * lib/varbuf.c (varbufdupc): Store the old used size instead of the
  1315. precomputed address, as varbufextend might change the buffer from
  1316. under us.
  1317. 2008-06-17 Guillem Jover <guillem@debian.org>
  1318. * scripts/dpkg-divert.pl: Do not silently force --rename on --remove.
  1319. 2008-06-17 Juergen Kreileder <jk@blackdown.de>,
  1320. Guillem Jover <guillem@debian.org>
  1321. * scripts/dpkg-divert.pl (rename_mv): New function.
  1322. (dorename): Use rename_mv instead of rename.
  1323. 2008-06-10 Guillem Jover <guillem@debian.org>
  1324. * lib/varbuf.c (varbufvprintf): Call va_end when done with the va_list
  1325. variable from va_copy.
  1326. 2008-06-10 Guillem Jover <guillem@debian.org>
  1327. * lib/varbuf.c (varbufprintf): Use varbufvprintf instead of
  1328. reimplementing it.
  1329. 2008-06-09 Raphaël Hertzog <hertzog@debian.org>
  1330. * scripts/Dpkg/BuildOptions.pm (parse, set): Use space as the
  1331. official separator in DEB_BUILD_OPTIONS. Check for validity of
  1332. flags and print a warning if a bad option is detected. Rewrote
  1333. the logic of set() to avoid adding options twice in non-overwrite
  1334. mode.
  1335. * scripts/t/300_Dpkg_BuildOptions.t: Adjust the test suite
  1336. accordingly.
  1337. 2008-06-09 Guillem Jover <guillem@debian.org>
  1338. * scripts/Dpkg/Source/Package.pm ($diff_ignore_default_regexp): Add
  1339. '.hgignore'.
  1340. (@tar_ignore_default_pattern): Likewise.
  1341. 2008-06-09 Guillem Jover <guillem@debian.org>
  1342. * src/query.c (searchfiles): Use VARBUF_INIT to initialize path
  1343. instead of vb.
  1344. 2008-06-04 Guillem Jover <guillem@debian.org>
  1345. * src/main.c (setpipe): Set file descriptors to close on exec.
  1346. 2008-06-04 Guillem Jover <guillem@debian.org>
  1347. * dpkg-deb/build.c (getfi): Use m_realloc instead of realloc.
  1348. * dpkg-deb/info.c (info_spew): Likewise.
  1349. * lib/fields.c (f_dependency): Likewise.
  1350. * lib/parse.c (parsedb): Likewise.
  1351. * lib/varbuf.c (varbufextend): Likewise.
  1352. * src/main.c (commandfd): Likewise.
  1353. 2008-06-04 Guillem Jover <guillem@debian.org>
  1354. * lib/dpkg-db.h (varbufinit): Add a size argument, fix all callers.
  1355. (varbuf::init): Add an optional size argument.
  1356. (varbuf::varbuf): Likewise.
  1357. * lib/varbuf.c (varbufinit): Allocate a buffer if size is not zero.
  1358. * lib/dbmodify.c (modstatdb_init): Use varbufinit instead of its
  1359. own initialization.
  1360. 2008-06-04 Guillem Jover <guillem@debian.org>
  1361. * lib/dpkg-db.h (VARBUF_INIT): New macro.
  1362. * lib/compression.c (decompress_cat, compress_cat): Use VARBUF_INIT
  1363. instead of varbufinit to initialize the variables.
  1364. * lib/dump.c (writerecord, writedb): Likewise.
  1365. * lib/mlib.c (buffer_copy_setup_dual): Likewise.
  1366. * lib/showpkg.c (show1package): Likewise.
  1367. * src/archives.c (check_breaks, check_conflict): Likewise.
  1368. * src/configure.c (deferred_configure): Likewise.
  1369. * src/depcon.c (describedepcon): Likewise.
  1370. * src/main.c (commandfd): Likewise.
  1371. * src/packages.c (breaks_check_one, dependencies_ok): Likewise.
  1372. * src/query.c (searchfiles): Likewise.
  1373. * src/remove.c (deferred_remove): Likewise.
  1374. * src/select.c (setselections): Likewise.
  1375. 2008-06-04 Guillem Jover <guillem@debian.org>
  1376. * src/archives.c (archivefiles): Use varbufreset instead of varbufinit
  1377. to avoid possible leaks if this function is called more than once.
  1378. 2008-06-04 Guillem Jover <guillem@debian.org>
  1379. * lib/log.c (log_message): Switch log from a pointer to struct varbuf
  1380. to just struct varbuf.
  1381. 2008-06-04 Guillem Jover <guillem@debian.org>
  1382. * src/main.c (setpipe): Fix the setting of more than one pipef.
  1383. 2008-06-04 Guillem Jover <guillem@debian.org>
  1384. * src/select.c (setselections): Free varbuf variables.
  1385. 2008-06-04 Guillem Jover <guillem@debian.org>
  1386. * lib/subproc.c (catch_signals): Remove array sentinel.
  1387. 2008-06-01 Guillem Jover <guillem@debian.org>
  1388. * lib/varbuf.c (varbufdupc): Use memset instead of ad-hoc operation.
  1389. 2008-06-01 Guillem Jover <guillem@debian.org>
  1390. * lib/subproc.c (setup_subproc_signals): Use size_t instead of int
  1391. for the index, to fix a warning.
  1392. (cu_subproc_signals): Likewise.
  1393. 2008-06-01 Guillem Jover <guillem@debian.org>
  1394. * src/query.c (searchfiles): Use strpbrk instead of strcspn and
  1395. strlen.
  1396. 2008-06-01 Guillem Jover <guillem@debian.org>
  1397. * src/query.c: Include <dpkg-priv.h>.
  1398. (searchfiles): Trim trailing '/' and '/.' from file searches only
  1399. on path names, but not patterns.
  1400. 2008-06-01 Guillem Jover <guillem@debian.org>
  1401. * lib/dpkg-priv.h (rtrim_slash_slashdot): Return the string size.
  1402. 2008-06-01 Raphaël Hertzog <hertzog@debian.org>
  1403. * scripts/Dpkg/Control.pm (parse, parse_fh, new): Add a new function
  1404. parse_fh() to be able to parse the control file from an arbitrary
  1405. file handle. Change parse() to use it and modify new() to parse
  1406. STDIN instead of a real file if the parameter is "-".
  1407. 2008-06-01 Daniel Hahler <debian-bugs@thequod.de>
  1408. * src/archives.c (tarobject): Improve error message stating that
  1409. dpkg is unable to create a file so that it also refers to the real
  1410. filename instead of the non-diverted name only.
  1411. 2008-05-31 Raphaël Hertzog <hertzog@debian.org>
  1412. * man/dpkg.1: Use the term conffile for a configuration file handled
  1413. by dpkg. Drop reference to hamm. Updated description of values
  1414. supported by -D to include those which are trigger related.
  1415. 2008-05-29 Colin Watson <cjwatson@debian.org>
  1416. * lib/dbmodify.c (modstatdb_note): Add a comment around obscure bits
  1417. of trigger handling code.
  1418. * src/trigproc.c (trigproc): Likewise.
  1419. 2008-05-29 Colin Watson <cjwatson@debian.org>
  1420. * lib/triglib.c (trig_incorporate): Fix typo in comment.
  1421. 2008-05-24 Guillem Jover <guillem@debian.org>
  1422. * dpkg-deb/build.c (do_build): Move argument name into a parameter to
  1423. coalesce similar strings for translation.
  1424. * dpkg-split/info.c (do_info): Likewise.
  1425. * dpkg-split/join.c (do_join): Likewise.
  1426. * dpkg-split/queue.c (do_queue): Likewise.
  1427. * src/enquiry.c (audit, unpackchk, assertversion, predeppackage)
  1428. (printarch): Likewise.
  1429. * src/select.c (setselections, clearselections): Likewise.
  1430. 2008-05-24 Guillem Jover <guillem@debian.org>
  1431. * dpkg-deb/main.c: Include <dpkg-priv.h>.
  1432. (setaction): Use sizeof_array instead of ad-hoc calculation.
  1433. * dpkg-split/main.c: Include <dpkg-priv.h>.
  1434. (setaction): Use sizeof_array instead of ad-hoc calculation.
  1435. 2008-05-24 Guillem Jover <guillem@debian.org>
  1436. * src/trigcmd.c (main): Remove duplicate program name from badusage.
  1437. 2008-05-19 Martin Koeppe <mkoeppe@gmx.de>,
  1438. Guillem Jover <guillem@debian.org>
  1439. * dpkg-deb/Makefile.am (dpkg_deb_LDADD): Move 'libcompat.a' and
  1440. '$(LIBINTL)' after 'libdpkg.a'.
  1441. * dpkg-split/Makefile.am (dpkg_split_LDADD): Likewise.
  1442. * dselect/Makefile.am (dselect_LDADD): Likewise.
  1443. * /src/Makefile.am (dpkg_LDADD): Likewise.
  1444. (dpkg_query_LDADD): Likewise.
  1445. (dpkg_trigger_LDADD): Likewise.
  1446. 2008-05-19 Guillem Jover <guillem@debian.org>
  1447. * scripts/Dpkg/Source/Package.pm ($diff_ignore_default_regexp): Add
  1448. '.be'.
  1449. (@tar_ignore_default_pattern): Likewise.
  1450. 2008-05-12 Guillem Jover <guillem@debian.org>
  1451. * scripts/dpkg-gencontrol.pl ($package_type): Rename to ...
  1452. ($pkg_type): ... this, for uniformity.
  1453. 2008-05-12 Guillem Jover <guillem@debian.org>
  1454. * src/help.c (do_script): Expand 'maint' to 'maintainer' in string.
  1455. (vmaintainer_script_installed): Mark string for translation. Change
  1456. strings so that they get merged by gettext with similar ones.
  1457. (maintainer_script_new): Likewise.
  1458. 2008-05-12 Guillem Jover <guillem@debian.org>
  1459. * lib/dpkg-priv.h (sizeof_array): New macro.
  1460. * lib/parse.c: Include <dpkg-priv.h>.
  1461. (NFIELDS): Remove macro.
  1462. (nfields): Use sizeof_array instead of NFIELDS.
  1463. (parsedb): Likewise.
  1464. * lib/subproc.c (NCATCHSIGNALS): Remove macro.
  1465. (uncatch_signals): Use sizeof_array instead of NCATCHSIGNALS.
  1466. (setup_subproc_signals): Likewise.
  1467. (cu_subproc_signals): Likewise.
  1468. 2008-05-12 Guillem Jover <guillem@debian.org>
  1469. * dselect/method.cc: Include <dpkg-priv.h>. Use setup_subproc_signals
  1470. and cu_subproc_signals instead of cu_restoresignals and duped code
  1471. in falliblesubprocess.
  1472. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'subproc.c'.
  1473. * ib/dpkg-priv.h (setup_subproc_signals): New prototype.
  1474. (cu_subproc_signals): Likewise.
  1475. * src/help.c: Include <dpkg-priv.h> and stop including <signal.h>.
  1476. (cu_restorescriptsignals, script_catchsignals): Move to ...
  1477. * lib/subproc.c (cu_subproc_signals, setup_subproc_signals): ... here.
  1478. New file.
  1479. 2008-05-12 Guillem Jover <guillem@debian.org>
  1480. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-priv.h' and 'path.c'.
  1481. * lib/dpkg-priv.h: New file.
  1482. * lib/path.c: Likewise.
  1483. 2008-05-11 Raphaël Hertzog <hertzog@debian.org>
  1484. * man/dpkg-source.1: Properly escape hyphen in -i option.
  1485. 2008-05-11 Pierre Habouzit <madcoder@debian.org>
  1486. * lib/showpkg.c (show1package): Use %zd instead of %d in sprintf()
  1487. call with a size_t parameter.
  1488. 2008-05-11 Pierre Habouzit <madcoder@debian.org>
  1489. * scripts/update-alternatives.pl: Add a --query option that works
  1490. like --display but outputs a machine parseable rfc822-like output.
  1491. * man/update-alternatives.8: Document that new option, and the
  1492. associated format.
  1493. 2008-05-05 Raphaël Hertzog <hertzog@debian.org>
  1494. * man/dpkg-source.1: Improve explanation of -i when used with
  1495. VCS-based source packages.
  1496. 2008-05-05 Raphaël Hertzog <hertzog@debian.org>
  1497. * scripts/dpkg-gensymbols.pl: Do not accept empty parameters for
  1498. -v, -P and -e.
  1499. 2008-05-05 Raphaël Hertzog <hertzog@debian.org>
  1500. * scripts/dpkg-shlibdeps.pl: Include the format of the desired
  1501. library in the "library not found" error message.
  1502. 2008-05-02 Guillem Jover <guillem@debian.org>
  1503. * scripts/update-alternatives.pl: Do not suggest manually changing
  1504. the alternative symlinks on verbose mode.
  1505. 2008-04-29 Guillem Jover <guillem@debian.org>
  1506. * configure.ac: Bump version to 1.15.0~.
  1507. 2008-08-26 Guillem Jover <guillem@debian.org>
  1508. * configure.ac: Release 1.14.21.
  1509. 2008-08-26 Guillem Jover <guillem@debian.org>
  1510. * man/dpkg.1: Escape hyphen in apt-get command.
  1511. 2008-08-17 Guillem Jover <guillem@debian.org>
  1512. * man/dpkg.1: Change reference to dselect as being the preferred
  1513. fron-end to aptitude. And 'apt-get dselect-upgrade' to be used to
  1514. act on the current package selections. Add references to aptitude
  1515. and apt man pages in 'SEE ALSO'.
  1516. 2008-08-16 Guillem Jover <guillem@debian.org>
  1517. * src/main.c (setpipe): Set file descriptors to close on exec.
  1518. 2008-08-15 Guillem Jover <guillem@debian.org>
  1519. * scripts/dpkg-buildpackage.pl (usage): Fix description of -si option.
  1520. * man/dpkg-buildpackage.1: Match description of -si option with the
  1521. one from dpkg-genchanges.1.
  1522. 2008-08-15 Raphaël Hertzog <hertzog@debian.org>
  1523. * Dpkg/Source/Package.pm (new): Call init_options() only if
  1524. initialize() has been called as it's supposed to be called
  1525. only after the object has been upgraded to its target type.
  1526. (init_options): add a comment that explains that this function is
  1527. not called by Dpkg::Source::Package::V1::init_options() and
  1528. render the function more robust.
  1529. 2008-08-15 Ian Jackson <ian@davenant.greenend.org.uk>
  1530. * src/packages.c (process_queue): When onerr_abort is bigger than 0
  1531. return instead of breaking out of the loop, to avoid wrongly
  1532. asserting that !queue.length.
  1533. 2008-08-15 Guillem Jover <guillem@debian.org>
  1534. * lib/dbmodify.c (modstatdb_note): Do not call modstatdb_note_core if
  1535. cstatus does not allow writing. Move the core functionality to ...
  1536. (modstatdb_note_core): ... here. New function.
  1537. * src/help.c (post_postinst_tasks_core): Do not call trig_incorporate
  1538. if running under --no-act.
  1539. * src/trigproc.c (trigproc): Do not call maintainer_script_postinst
  1540. if running under --no-act.
  1541. (trig_transitional_activate): Do not call trig_file_interests_save
  1542. if cstatus does not allow writing.
  1543. 2008-08-15 Guillem Jover <guillem@debian.org>
  1544. * lib/dpkg-db.h (trig_enqueue_awaited_pend): New function prototype.
  1545. (trig_fixup_awaiters): Likewise.
  1546. * lib/dbmodify.c (modstatdb_init): Call trig_fixup_awaiters.
  1547. * lib/fields.c (f_trigaw): Call trig_enqueue_awaited_pend.
  1548. * lib/triglib.c (struct pkg_list): New type.
  1549. (trig_awaited_pend_head): New variable.
  1550. (trig_enqueue_awaited_pend): New function definition.
  1551. (trig_fixup_awaiters): Likewise.
  1552. 2008-06-24 Raphaël Hertzog <hertzog@debian.org>
  1553. * debian/archtable: Add armel.
  1554. 2008-06-21 Raphaël Hertzog <hertzog@debian.org>
  1555. * scripts/dpkg-buildpackage.pl, scripts/dpkg-genchanges.pl: Treat
  1556. debian.tar.gz files (used by 3.0 (quilt) source packages) like
  1557. diff.gz files when it comes to detection of the kind of upload.
  1558. 2008-06-21 Raphaël Hertzog <hertzog@debian.org>
  1559. * scripts/Dpkg/Source/Package/V3/quilt.pm: Define QUILT_SERIES
  1560. when running quilt in order to be able to use quilt series with
  1561. non-standard names (like debian.series or ubuntu.series).
  1562. 2008-06-18 Raphaël Hertzog <hertzog@debian.org>
  1563. * configure.ac: Bump version to 1.14.21~.
  1564. 2008-06-18 Raphaël Hertzog <hertzog@debian.org>
  1565. * configure.ac: Release 1.14.20.
  1566. 2008-06-16 Guillem Jover <guillem@debian.org>
  1567. * lib/triglib.c (trig_file_interests_ensure): Pass the proper mask
  1568. to push_cleanup to make sure pop_cleanup closes the file.
  1569. 2008-06-15 Guillem Jover <guillem@debian.org>
  1570. * scripts/dpkg-divert.pl (checkrename): Do not check the target file
  1571. if the source does not exist and dorename was thus disabled.
  1572. 2008-06-09 Raphaël Hertzog <hertzog@debian.org>
  1573. * scripts/dpkg-divert.pl, scripts/update-alternatives.pl,
  1574. scripts/install-info.pl, scripts/dpkg-statoverride.pl: Set
  1575. PERL_DL_NONLAZY to 1 so that the usage of Locale::Gettext doesn't
  1576. cause run-time failures when this perl binary module is not
  1577. compiled for the corresponding perl version (and this happens in
  1578. configuration scripts, in particular preinst, during upgrades).
  1579. 2008-06-08 Raphaël Hertzog <hertzog@debian.org>
  1580. * scripts/Dpkg/Source/Patch.pm (analyze): Be less strict in
  1581. filenames accepted on ---/+++ lines. Don't blow up on absolute
  1582. filenames if the other one is fine. Make sure to use the one that
  1583. is relative and that corresponds to a real file when possible.
  1584. 2008-06-08 Raphaël Hertzog <hertzog@debian.org>
  1585. * scripts/Dpkg/Source/Package/V3/quilt.pm: Use absolute path names
  1586. when giving directories and filenames to quilt to avoid any
  1587. problems due to quilt's feature of trying relative paths in parent
  1588. directories too.
  1589. 2008-06-07 Raphaël Hertzog <hertzog@debian.org>
  1590. * scripts/Dpkg/Source/Patch.pm (analyze): Accept unexpected
  1591. end-of-file in patches if we're missing no more than 2 lines
  1592. of context. Output a warning instead.
  1593. 2008-06-07 Raphaël Hertzog <hertzog@debian.org>
  1594. * scripts/Dpkg/Source/Package/V3/quilt.pm (register_autopatch):
  1595. Register the newly created patch with quilt only if quilt has
  1596. already been used to apply the existing patches (or if we don't
  1597. have any patch yet), otherwise register it manually at the end of
  1598. the series.
  1599. 2008-06-05 Raphaël Hertzog <hertzog@debian.org>
  1600. * scripts/Dpkg/Source/Patch.pm (add_diff_directory): If option
  1601. use_dev_null is set, then the label of the "old" file will be
  1602. '/dev/null' if we're creating a new file (instead of using the
  1603. name of the created file, like it's currently done in .diff
  1604. of version "1.0" source packages).
  1605. * scripts/Dpkg/Source/Package/V2.pm (prepare_build): Use the new
  1606. option "use_dev_null" when creating the automatic patch.
  1607. 2008-06-05 Raphaël Hertzog <hertzog@debian.org>
  1608. * scripts/Dpkg/Source/Package/V3/quilt.pm (get_patches): Really
  1609. skip all comments in the series files.
  1610. 2008-06-04 Raphaël Hertzog <hertzog@debian.org>
  1611. * scripts/Dpkg/Source/Patch.pm (analyze): Enhance function to
  1612. parse correctly many more patches that are accepted by the patch
  1613. utility itself:
  1614. - ignore/strip carriage return of patches with Windows end of lines
  1615. - accept empty lines as contextual lines (instead of the expected " ")
  1616. - accept spaces as separator between filename and timestamp if
  1617. there's no tab
  1618. - accept a name that differs on the +++ line if the name in --- is
  1619. correct, and use the name in +++ if this one exists while the one
  1620. on --- doesn't.
  1621. 2008-05-28 Raphaël Hertzog <hertzog@debian.org>
  1622. * scripts/Dpkg/Source/Package.pm (extract): If we extract a
  1623. source package that uses a non-standard (!= 1.0) source package
  1624. then we create debian/source/format to remember it.
  1625. * scripts/dpkg-source.pl: Use debian/source/format as a new source
  1626. of format to try when building the package. Prioritize it lower than
  1627. command line and debian/control but higher than the default build
  1628. formats.
  1629. * man/dpkg-source.1: Document the above changes.
  1630. 2008-05-28 Raphaël Hertzog <hertzog@debian.org>
  1631. * scripts/Dpkg/Source/Package/V3/quilt.pm: Factorize calls to
  1632. quilt in a new run_quilt() function. And check only once
  1633. if quilt is available while setting the default value of
  1634. without_quilt option. Last but not least, register properly the
  1635. automatically generated patch with quilt import.
  1636. 2008-05-28 Raphaël Hertzog <hertzog@debian.org>
  1637. * scripts/Dpkg/Source/Patch.pm (check_apply): New function to
  1638. verify if a patch will successfully apply on top of a given
  1639. directory.
  1640. * scripts/Dpkg/Source/Package/V3/quilt.pm (check_patches_applied):
  1641. Don't trust debian/patches/.dpkg-source-applied blindly. Get a
  1642. list of (supposedly unapplied) patches and verify if the first
  1643. patch applies or not. If yes, then apply the patch series,
  1644. otherwise do not (and assume that the patch series is already
  1645. applied).
  1646. 2008-05-26 Helge Kreutzmann <debian@helgefjell.de>
  1647. * man/dselect.1: Fixed a typo and regenerated all po(t) files,
  1648. including updating the German one.
  1649. 2008-05-23 Raphaël Hertzog <hertzog@debian.org>
  1650. * scripts/Dpkg/Source/Package/V2.pm (do_build): Display a
  1651. message when local modifications are stored in a new
  1652. automatic patch. This messages includes a list of
  1653. modified files.
  1654. 2008-05-23 Raphaël Hertzog <hertzog@debian.org>
  1655. * scripts/Dpkg/Source/Package/V3/quilt.pm: Remove the .diff
  1656. from the name of the automatically generated patch. It will
  1657. facilitate the switch to this format: packages using
  1658. patch system that apply debian/patches/*.{patch,diff}
  1659. will not be bothered by the presence of the quilt series
  1660. created by dpkg-source itself.
  1661. * man/dpkg-source.1: Update the documentation accordingly.
  1662. 2008-05-22 Raphaël Hertzog <hertzog@debian.org>
  1663. * scripts/Dpkg/Source/Package/V3/quilt.pm: Add missing "use
  1664. File::Path" for mkpath().
  1665. 2008-05-13 Guillem Jover <guillem@debian.org>
  1666. * src/main.c (setforce): Add help output for '--force-breaks'.
  1667. 2008-05-13 Sven Joachim <svenjoac@gmx.de>
  1668. * man/dpkg.1: Document triggers --debug values.
  1669. 2008-05-13 Guillem Jover <guillem@debian.org>
  1670. * man/deb-version.5: Change '©' to '(C)'.
  1671. 2008-05-12 Guillem Jover <guillem@debian.org>
  1672. * configure.ac: Bump version to 1.14.20~.
  1673. 2008-05-12 Guillem Jover <guillem@debian.org>
  1674. * configure.ac: Release 1.14.19.
  1675. 2008-05-12 Guillem Jover <guillem@debian.org>
  1676. * scripts/dpkg-gencontrol.pl: Get Package-Type field value also from
  1677. custom field.
  1678. 2008-05-11 Raphaël Hertzog <hertzog@debian.org>
  1679. * src/processarc.c (process_archive): While removing files that
  1680. disappeared, move the call to namenodetouse before the test
  1681. that skips directory shared with other packages. This is required
  1682. because namenodetouse() handles trigger activation and we really
  1683. want directories containing (only) removed files to activate the
  1684. corresponding triggers.
  1685. 2008-05-08 Raphaël Hertzog <hertzog@debian.org>
  1686. * scripts/Dpkg/Source/Package/V2.pm,
  1687. scripts/Dpkg/Source/Package/V3/quilt.pm: Ensure the
  1688. .dpkg-source-applied stamp file is created when an automatic patch
  1689. is created so that a second build doesn't try to mistakenly
  1690. reapply it.
  1691. 2008-05-08 Raphaël Hertzog <hertzog@debian.org>
  1692. * scripts/Dpkg/Source/Functions.pm (is_binary): New function
  1693. to check if a file is binary by using diff against it.
  1694. * scripts/Dpkg/Source/Package/V2.pm: Check that all files from the
  1695. debian sub-directory are non-binary and only allow whitelisted
  1696. binary files.
  1697. * man/dpkg-source.1: Document this behaviour.
  1698. 2008-05-08 Raphaël Hertzog <hertzog@debian.org>
  1699. * scripts/Dpkg/Changelog/Debian.pm (parse): Bugfix in creation of
  1700. an unexpected new changelog entry that lacks an header line.
  1701. 2008-05-04 Marco d'Itri <md@linux.it>
  1702. * scripts/Dpkg/Source/Patch.pm: Add missing import of internerr.
  1703. 2008-04-26 Raphaël Hertzog <hertzog@debian.org>
  1704. * scripts/Dpkg/Source/Package.pm (upgrade_object_type): Instead
  1705. of using the full Format: version to deduce the perl object name
  1706. use only the major part of the version. The minor part is under
  1707. control of the corresponding object, that way they can evolve
  1708. and indicate that the source package has changed in a backwards
  1709. compatible way. See
  1710. https://lists.debian.org/debian-dpkg/2008/04/msg00045.html
  1711. Also add a new parameter to disable update of the minor version in
  1712. the Format field.
  1713. (initialize): Don't let the Format field be updated by
  1714. upgrade_object_type() as this function only loads information from
  1715. the .dsc into the object.
  1716. * scripts/Dpkg/Source/Package/**: Rename V1_0.pm into V1.pm,
  1717. V2_0.pm into V2.pm and V3_0/ into V3/. Fix perl package names
  1718. accordingly. Integrated a $CURRENT_MINOR_VERSION set to "0"
  1719. in all packages.
  1720. * scripts/Makefile.am, scripts/po/POTFILES.in: Update the lists
  1721. according to above file renames.
  1722. 2008-04-25 Raphaël Hertzog <hertzog@debian.org>
  1723. * scripts/Dpkg/Source/Package/V3_0/quilt.pm: Parse correctly
  1724. series files with patch options and warn if something else than
  1725. -p1 is used.
  1726. * man/dpkg-source.1: Document how dpkg-source handles those patch
  1727. options in series files.
  1728. 2008-04-25 Raphaël Hertzog <hertzog@debian.org>
  1729. * scripts/Dpkg/Source/Package/V3_0/native.pm: Fix permissions of
  1730. generated tarball to "666 & ~umask()".
  1731. 2008-04-21 Helge Kreutzmann <debian@helgefjell.de>
  1732. * man/dpkg-shlibdeps.1: Fix a typo.
  1733. * man/dpkg-source.1: Improve a sentence (with agreement from Raphäel).
  1734. 2008-04-14 Raphaël Hertzog <hertzog@debian.org>
  1735. * scripts/Dpkg/Fields.pm (find_custom_field, get_custom_field):
  1736. New function to handle custom fields (X[SBC]*-*).
  1737. * scripts/dpkg-genchanges.pl: Use Package-Type control field to
  1738. decide if a package is an udeb instead of relying on the file
  1739. extension of a generated package since that doesn't work when
  1740. generating source-only uploads for example.
  1741. 2008-04-14 Raphaël Hertzog <hertzog@debian.org>
  1742. * scripts/Dpkg/Source/Patch.pm (_fail_not_same_type): Fix
  1743. inversion between new/old filetype.
  1744. 2008-04-12 Raphaël Hertzog <hertzog@debian.org>
  1745. * scripts/Dpkg/Path.pm (check_files_are_the_same): Add a new
  1746. parameter so that we can use stat() instead of lstat() and
  1747. compare if pointed files are the same.
  1748. * scripts/Dpkg/Source/Package.pm: Resolve symlinks before deciding
  1749. if both original tarballs are the same or not. Use the new
  1750. parameter of check_files_are_the_same() for this.
  1751. * scripts/Dpkg/Source/Package/V1_0.pm: Remove useless import of
  1752. check_files_are_the_same.
  1753. 2008-04-12 Sven Joachim <svenjoac@gmx.de>
  1754. * scripts/Dpkg/Source/Package.pm: Add missing import of
  1755. subprocerr.
  1756. 2008-04-12 Russell Coker <russell@coker.com.au>,
  1757. Guillem Jover <guillem@debian.org>
  1758. * src/archives.c (tarobject): Set scontext to NULL after freecon.
  1759. 2008-04-10 Sven Joachim <svenjoac@gmx.de>
  1760. * src/trigcmd.c: Fix typo.
  1761. 2008-04-09 Sven Joachim <svenjoac@gmx.de>
  1762. * THANKS: Update my e-mail address.
  1763. 2008-04-09 Helge Kreutzmann <debian@helgefjell.de>
  1764. * man/deb-triggers.5: Fix typos.
  1765. * man/dpkg-trigger.1: Likewise.
  1766. 2008-04-08 Guillem Jover <guillem@debian.org>
  1767. * configure.ac: Bump version to 1.14.19~.
  1768. 2008-04-08 Guillem Jover <guillem@debian.org>
  1769. * configure.ac: Release 1.14.18.
  1770. 2008-04-08 Guillem Jover <guillem@debian.org>
  1771. * doc/triggers.txt: Fix wrong dpkg trigger related option names.
  1772. 2008-04-08 Guillem Jover <guillem@debian.org>
  1773. * doc/triggers.txt: Move parts of the document into proper man pages.
  1774. Add references to those.
  1775. 2008-04-08 Guillem Jover <guillem@debian.org>
  1776. * man/dpkg.1: Document new trigger statuses, and new --triggers-only,
  1777. --no-triggers and --triggers options.
  1778. * man/deb-triggers.5: New file.
  1779. * man/dpkg-trigger.1: Likewise.
  1780. * man/Makefile.am (dist_man_MANS): Likewise.
  1781. 2008-04-08 Guillem Jover <guillem@debian.org>
  1782. * man/dpkg.1: Sort package states.
  1783. 2008-04-05 Raphaël Hertzog <hertzog@debian.org>
  1784. * scripts/Dpkg/Source/Package/V1_0.pm: Do not use
  1785. diff -p to generate patches as dpkg-source of sarge doesn't accept
  1786. data after the @@.
  1787. 2008-04-04 Raphaël Hertzog <hertzog@debian.org>
  1788. * scripts/Dpkg/Shlibs/SymbolFile.pm (get_smallest_version): New
  1789. function to retrieve the smallest "minver" of all symbols of a
  1790. given library.
  1791. * scripts/dpkg-shlibdeps.pl: Do not initialize dependencies of
  1792. libraries with symbols files as unversioned, instead use the
  1793. smallest minimal version returned by the function above. This
  1794. is required because the library might not have always been
  1795. available in the package and the unversioned dependency thus
  1796. doesn't ensure his presence.
  1797. * scripts/t/800_Dpkg_IPC.t: Remove temporary files used by the
  1798. tests.
  1799. 2008-04-03 Peter Karlsson <peterk@debian.org>
  1800. * man/dpkg-source.1: Corrected English.
  1801. 2008-04-02 Sven Joachim <svenjoac@gmx.de>
  1802. * lib/triglib.c (trk_unknown_interest_change): Fix typo.
  1803. * dselect/helpmsgs.cc (hlp_displayexplain1): Ditto.
  1804. 2008-04-02 Raphaël Hertzog <hertzog@debian.org>
  1805. * scripts/Dpkg/Source/Package.pm, scripts/dpkg-genchanges.pl:
  1806. Explicitly put Checksums-* fields before the Files field so that
  1807. the Files field is last. This is a work-around for some braindead
  1808. dsc parsers (dupload and sbuild for instance, see #473518 and
  1809. #470440).
  1810. 2008-04-01 Raphaël Hertzog <hertzog@debian.org>
  1811. * scripts/Dpkg/Source/Package/V2_0.pm: Add the option
  1812. --skip-patches to not apply patches at the end of the source
  1813. package extraction. Also works for Format: 3.0 (quilt).
  1814. * man/dpkg-source.1: Document the above change.
  1815. 2008-04-01 Raphaël Hertzog <hertzog@debian.org>
  1816. * scripts/Dpkg/Source/Package/V2_0.pm (do_extract): Create
  1817. debian/patches/.dpkg-source-applied containing the list of patches
  1818. applied during extraction.
  1819. (prepare_build): apply patches before trying to build a source package
  1820. when it's clear that they have not been applied because
  1821. debian/patches/.dpkg-source-applied doesn't exist.
  1822. * scripts/Dpkg/Source/Package/V3_0/quilt.pm: Likewise. If a .pc
  1823. directory is present, then use "quilt unapplied" to check if all
  1824. patches have been applied.
  1825. * man/dpkg-source.1: Document the above changes.
  1826. 2008-04-01 Raphaël Hertzog <hertzog@debian.org>
  1827. * scripts/Dpkg/IPC.pm (fork_and_exec): Handle redirection
  1828. of STDERR with new options error_to_{file,pipe,string,handle}.
  1829. 2008-04-01 Guillem Jover <guillem@debian.org>
  1830. * lib/trigdeferred.l (trigdef_update_start): Use TRIGGERSLOCKFILE
  1831. instead of literal string.
  1832. 2008-04-01 Guillem Jover <guillem@debian.org>
  1833. * src/enquiry.c (badstatinfos): Fix typos (processesing -> processing).
  1834. 2008-03-30 Raphaël Hertzog <hertzog@debian.org>
  1835. * man/dpkg-source.1: Make it clear that Format: 2.0 is not really
  1836. meant to be widely used by moving all the explanations in the
  1837. section describing the format "3.0 (quilt)".
  1838. 2008-03-30 Guillem Jover <guillem@debian.org>
  1839. * configure.ac: Bump version to 1.14.18~.
  1840. 2008-03-30 Guillem Jover <guillem@debian.org>
  1841. * configure.ac: Release 1.14.17.
  1842. 2008-03-30 Guillem Jover <guillem@debian.org>
  1843. * dselect/main.cc: Use <ncursesw/term.h> instead of <term.h>.
  1844. * dselect/dselect.h: Use <ncursesw/curses.h> instead of <curses.h>.
  1845. * dselect/Makefile.am (curkeys.h): Likewise.
  1846. 2008-03-30 Guillem Jover <guillem@debian.org>
  1847. * po/POTFILES.in: Add 'lib/cleanup.c', 'lib/log.c', 'lib/myopt-util.c'
  1848. and remove 'lib/showcright.c'.
  1849. * scripts/Makefile.am (EXTRA_DIST): Add
  1850. 't/600_Dpkg_Changelog/regressions'.
  1851. 2008-03-30 Ian Jackson <ian@davenant.greenend.org.uk>,
  1852. Guillem Jover <guillem@debian.org>
  1853. * doc/triggers.txt: New file.
  1854. * lib/dlist.h: Likewise.
  1855. * lib/trigdeferred.l: Likewise.
  1856. * lib/triglib.c: Likewise.
  1857. * src/trigcmd.c: Likewise.
  1858. * src/trigproc.c: Likewise.
  1859. * configure.ac: Use AC_PROG_LEX.
  1860. * Makefile.am (EXTRA_DIST): Add 'doc/triggers.txt'.
  1861. * po/POTFILES.in: Add 'lib/trigdeferred.c', 'lib/triglib.c',
  1862. 'src/trigcmd.c' and 'src/trigproc.c'.
  1863. * dselect/helpmsgs.cc (hlp_displayexplain1): Document the new trigger
  1864. statuses.
  1865. * dselect/pkgdepcon.cc (packagelist::useavailable): Treat the trigger
  1866. statuses in the same way as installed status.
  1867. (packagelist::deppossatisfied): Likewise.
  1868. * dselect/pkgdisplay.cc (statusstrings): Add trigger statuses
  1869. descriptions.
  1870. (statuschars): Likewise.
  1871. * dselect/pkglist.cc (packagelist::ensurestatsortinfo): Mark trigger
  1872. status as broken.
  1873. * lib/.gitignore: Add 'trigdeferred.c'.
  1874. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dlist.h', 'triglib.c' and
  1875. 'trigdeferred.l'.
  1876. * lib/database.c (blankpackage): Initialize trigaw.head, trigaw.tail,
  1877. othertrigaw_head and trigpend_head members.
  1878. * lib/dbmodify.c (triggersdir, triggersfilefile): New variables.
  1879. (triggersnewfilefile): Likewise.
  1880. (fnis): Add 'TRIGGERSDIR', 'TRIGGERSDIR "/File"' and
  1881. 'TIGGERSDIR "/File.new"' entries.
  1882. (modstatdb_init): Incorporate triggers.
  1883. (modstatdb_note): Reset trigpend_head if status is not a trigger one.
  1884. Remove awaited triggers if status is <= than configfiles. Clear
  1885. awaiters.
  1886. * lib/dpkg-db.h (struct trigpend, struct trigaw): New types.
  1887. (enum trigdef_updateflags, struct trigdefmeths): Likewise.
  1888. (struct trigfileint, struct trig_hooks): Likewise.
  1889. (enum pkgstatus): Add stat_triggersawaited and stat_triggerspending.
  1890. (struct pkginfo): Add new trigaw, othertrigaw_head and trigpend_head
  1891. members.
  1892. (triggersdir, triggersfilefile, triggersnewfilefile): New variables.
  1893. (trigdef, trig_new_deferred, trigh): Likewise.
  1894. (trigdef_update_start, trigdef_yylex, trigdef_process_done): New
  1895. functions prototypes.
  1896. (trig_note_pend_core, trig_note_pend, trig_note_aw): Likewise.
  1897. (trig_clear_awaiters, trig_incorporate): Likewise.
  1898. (trig_file_activate_byname, trig_file_activate): Likewise.
  1899. (trig_file_interests_ensure, trig_file_interests_save): Likewise.
  1900. (trig_cicb_interest_delete, trig_cicb_interest_add): Likewise.
  1901. (trig_cicb_statuschange_activate, trig_parse_ci): Likewise.
  1902. (illegal_triggername): Likewise.
  1903. (trig_parse_cicb): New function typedef.
  1904. (TRIGHOOKS_DEFINE_NAMENODE_ACCESSORS): New macro.
  1905. * lib/dpkg.h (TRIGGERSCIFILE, TRIGGERSDIR, TRIGGERSFILEFILE)
  1906. (TRIGGERSDEFERREDFILE, TRIGGERSLOCKFILE, MAINTSCRIPTPKGENVVAR)
  1907. (MAINTSCRIPTDPKGENVVAR, MAXTRIGDIRECTIVE): New macros.
  1908. (MAXUPDATES): Set to 250.
  1909. * lib/dump.c (w_configversion): Do not write the field if on trigger
  1910. statuses either.
  1911. (w_status): Abort on unknown status. Assert the presence or not
  1912. of awaited and pending triggers depending on the status.
  1913. (w_trigpend, w_trigaw): New functions.
  1914. * lib/fields.c (scan_word, f_trigpend, f_trigaw): Likewise.
  1915. * lib/parse.c: Include <assert.h>.
  1916. (fieldinfos): Add 'Triggers-Pending' and 'Triggers-Awaited' fields.
  1917. (parsedb): Add new variable aw. Check for consistency between the
  1918. triggers lists and the status. Initialize trigpend_head and trigaw.
  1919. * lib/parsedump.h (f_trigpend, f_trigaw, w_trigpend, w_trigaw): New
  1920. function prototypes.
  1921. * lib/parsehelp.c (statusinfos): Add 'triggers-awaited' and
  1922. 'triggers-pending'.
  1923. * src/Makefile.am (bin_PROGRAMS): Add 'dpkg-trigger'.
  1924. (dpkg_SOURCES): Add 'trigproc.c'.
  1925. (dpkg_trigger_SOURCES, dpkg_trigger_LDADD): New variables.
  1926. * src/archives.c (check_conflict): Treat trigger statuses the same way
  1927. as installed.
  1928. (archivefiles): Install trigger hooks. Make act_triggers perform
  1929. process_queue. Do a deferred triggers process run.
  1930. (wanttoinstall): Treat trigger statuses the same way as installed.
  1931. Remove duped check about package being installed on forced
  1932. skip-same-version.
  1933. * src/configure.c (deferred_configure): Activate file triggers on
  1934. conffile changes.
  1935. * src/depcon.c (depisok): Treat trigger statuses the same way as
  1936. installed for the dependency and for breaks or conflicts. For depends,
  1937. predepends, recommends and suggests treat triggerspending as installed
  1938. and triggersawaited as halfconfigured.
  1939. * src/enquiry.c (badstatinfos): Add stat_triggerspending and
  1940. stat_triggersawaited entries.
  1941. (yettobeunpacked): Treat trigger statuses as unpacked.
  1942. (assertversion): Treat triggerspending the same way as installed,
  1943. and triggersawaited as not fully installed.
  1944. * src/filesdb.h (enum fnnflags): Add new fnn_nonew item.
  1945. (struct filenamenode): Add new trig_interested member.
  1946. * src/filesdb.c (ensure_package_clientdata): Initialize
  1947. clientdata->trigprocdeferred.
  1948. (findnamenode): Return NULL if flags has fnn_nonew and there is no
  1949. match before creating a new one. Initialize trig_interested when
  1950. creating a newnode.
  1951. * src/help.c (statusstrings): Add trigger statuses descriptions.
  1952. (namenodetouse): Activate a file trigger before returning.
  1953. (post_postinst_tasks): Initialize trigpend_head to NULL. Set status
  1954. to stat_triggersawaited if trigaw.head otherwise to new_status.
  1955. Call post_postinst_tasks_core. Move call to modstatdb_note to ...
  1956. (post_postinst_tasks_core): ... here. New function. Incorporate
  1957. triggers.
  1958. (post_script_tasks): Incorportate triggers.
  1959. (do_script): Set MAINTSCRIPTPKGENVVAR and MAINTSCRIPTDPKGENVVAR
  1960. environment variables.
  1961. * src/main.h (struct perpackagestate): Add new trigprocdeferred
  1962. member.
  1963. (enum action): Add new act_triggers item.
  1964. (f_triggers): New variable definition.
  1965. (namenodetouse): Add a comment about its new side effects.
  1966. (post_postinst_tasks_core): Likewise. New prototype.
  1967. (enum debugflags): Add dbg_triggers, dbg_triggersdetail and
  1968. dbg_triggersstupid items.
  1969. (trigproc_install_hooks, trigproc_run_deferred): New prototypes.
  1970. (trigproc_reset_cycle, trigproc): Likewise.
  1971. (trig_activate_packageprocessing): Likewise.
  1972. * src/main.c (usage): Document '--triggers-only' and
  1973. '--[no-]triggers'.
  1974. (f_triggers): New variable declaration
  1975. (setdebug): Document new triggers debug flags.
  1976. (cmdinfos): Add triggers-only, triggers and no-triggers entries.
  1977. (main): Disable f_triggers when --triggers-only has been specified.
  1978. * src/packages.c (progress_bytrigproc): New variable.
  1979. (packages): Install trigger hooks. On act_configure skip the package
  1980. also if trigpend_head is not valid. Handle act_triggers. Do a
  1981. deferred triggers process run.
  1982. (process_queue): New action_todo variable. Set the same value for
  1983. istobe as on act_triggers as for act_configure. Print the same message
  1984. when erasing the queue entry on act_triggers as for act_configure.
  1985. Add packages which can be fixed by means of processing their triggers
  1986. to the queue and set the action to act_configure. On act_triggers
  1987. ohshit if trigpend_head is NULL, otherwise fall through to
  1988. act_install. On act_configure call trigproc if there's pending
  1989. triggers or call deferred_configure.
  1990. (deppossi_ok_found): Add a new fixbytrig argument, fix all callers.
  1991. Treat trigger statuses the same way as installed. Handle dependee
  1992. trigger statuses.
  1993. (dependencies_ok): Handle packages which can be fixed by means of
  1994. processing their triggers.
  1995. * src/processarc.c (process_archive): Ensure file triggers intersts.
  1996. Activate trigger package processing. Parse package triggers control
  1997. file before reading the conffiles. Treat trigger statuses the same
  1998. way as installed. Activate trigger package processing for the package
  1999. being deconfigured and for conflictors. Parse package control file
  2000. to delete the package and parse it again to re-add it and then save
  2001. the file triggers interests. Activate trigger package processing for
  2002. disappearing packages.
  2003. * src/query.c (list1package): Add trigger statuses to the listing
  2004. header and to the one letter statuses.
  2005. * src/remove.c (checkforremoval): Treat trigger statuses in the same
  2006. way as installed.
  2007. (deferred_remove): Activate trigger package processing. Operate on
  2008. packages with halfconfigured or higher status.
  2009. (removal_bulk_remove_configfiles): Activate trigger package processing.
  2010. 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>
  2011. * src/packages.c (deppossi_ok_found): Refactor returning code.
  2012. 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>
  2013. * src/depcon.c (depisok): Improve whynot message by stating when a
  2014. package is installed with 'is present'.
  2015. 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>
  2016. * src/help.c (cu_post_script_tasks): New function.
  2017. (do_script): Install cu_post_script_tasks as a cleanup handler.
  2018. (maintainer_script_alternative): Call post_script_tasks if the
  2019. first do_script invocation fails instead of it succeeding.
  2020. 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>,
  2021. Guillem Jover <guillem@debian.org>
  2022. * src/main.h (maintainer_script_postinst): New prototype.
  2023. * src/help.c (post_script_tasks): New function.
  2024. (maintainer_script_installed): Renamed to ...
  2025. (vmaintainer_script_installed): ... this. Dot not call
  2026. ensure_diversions.
  2027. (maintainer_script_installed): New function.
  2028. (maintainer_script_postinst): Likewise.
  2029. (maintainer_script_new): Call post_script_tasks instead of directly
  2030. calling ensure_diversions.
  2031. (maintainer_script_alternative): Likewise.
  2032. * src/cleanup.c (cu_prermupgrade): Use maintainer_script_postinst
  2033. instead of maintainer_script_installed.
  2034. (cu_prermdeconfigure): Likewise.
  2035. (cu_prerminfavour): Likewise.
  2036. (cu_prermremove): Likewise.
  2037. (deferred_configure): Likewise.
  2038. * src/configure.c (deferred_configure): Likewise.
  2039. 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>,
  2040. Guillem Jover <guillem@debian.org>
  2041. * src/main.h (post_postinst_tasks): New prototype.
  2042. * src/help.c (post_postinst_tasks): New function.
  2043. * src/cleanup.c (cu_prermupgrade): Use post_postinst_tasks instead of
  2044. duplicate code.
  2045. (cu_prermdeconfigure): Likewise.
  2046. (cu_prerminfavour): Likewise.
  2047. (cu_prermremove): Likewise.
  2048. * src/configure.c (deferred_configure): Likewise.
  2049. 2008-03-28 Guillem Jover <guillem@debian.org>
  2050. * src/packages.c (process_queue): Fix typo in comment.
  2051. 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>
  2052. * src/help.c (statusstrings): Improve Breaks message by saying that
  2053. it can be in that status due to a failed installation.
  2054. 2008-03-29 Raphaël Hertzog <hertzog@debian.org>
  2055. * scripts/dpkg-buildpackage.pl: If the user request a cross-compilation,
  2056. then define PKG_CONFIG_LIBDIR so that it will look in directories
  2057. specidic to the target architecture.
  2058. * man/dpkg-buildpackage.1: Document this change and also the -t option.
  2059. 2008-03-28 Raphaël Hertzog <hertzog@debian.org>
  2060. * scripts/dpkg-buildpackage.pl: LDFLAGS now defaults to an empty
  2061. value instead of "-Wl,-Bsymbolic-functions". The latter can break
  2062. some libraries at run-time and such a change is best done
  2063. at the beginning of a release cycle.
  2064. 2008-03-28 Raphaël Hertzog <hertzog@debian.org>
  2065. * man/dpkg-source.1: Move a paragraph at its right place and some
  2066. other presentation fixes.
  2067. 2008-03-27 Raphaël Hertzog <hertzog@debian.org>
  2068. * scripts/Dpkg/Shlibs.pm: Support cross-compilation by adding
  2069. directories containing libraries for the architecture that is
  2070. being crossbuilt.
  2071. 2008-03-27 Raphaël Hertzog <hertzog@debian.org>
  2072. Frank Lichtenheld <djpig@debian.org>
  2073. Joey Hess <joeyh@debian.org>
  2074. Colin Watson <cjwatson@debian.org>
  2075. * Merge branch 'sourcev3'. It contains an extensive refactoring of
  2076. dpkg-source around many new modules in scripts/Dpkg/Source/.
  2077. General purpose changes:
  2078. * scripts/Dpkg/IPC.pm: New module offering fork_and_exec() to
  2079. conveniently execute any program in a child process. It hides
  2080. all the error checking and lets you easily redirect input and
  2081. output streams.
  2082. * scripts/t/800_Dpkg_IPC.t: Non-regression tests for the module
  2083. above.
  2084. * scripts/Dpkg/Exit.pm: New module to register functions
  2085. that would be called if the process was interrupted by a signal.
  2086. Useful to cleanup temporary files if we're interrupted while doing
  2087. some heavy I/O operation (as dpkg-source can do).
  2088. * scripts/Dpkg/ErrorHandling.pm (info, errormsg): info() reports
  2089. informational notices on STDOUT and errormsg() displays an error
  2090. message on STDERR without dying. Use it only when you will die
  2091. later on but want to display all errors before doing so.
  2092. * scripts/dpkg-source.pl: Heavy rewrite/refactoring based on
  2093. all the modules listed below.
  2094. * man/dpkg-source.1: Update the manual page to document all the
  2095. source package formats and the associated options.
  2096. Dpkg::Source::* infrastructural modules:
  2097. * scripts/Dpkg/Source/Compressor.pm: Compress and uncompress a
  2098. stream of data.
  2099. * scripts/Dpkg/Source/CompressedFile.pm: Base class used to
  2100. provide on-the-fly compression and decompression of any file.
  2101. Dpkg::Source::Archive and Dpkg::Source::Patch inherit from it.
  2102. * scripts/Dpkg/Source/Archive.pm: Create and manipulate tar files.
  2103. * scripts/Dpkg/Source/Patch.pm: Create and manipulate patch files.
  2104. * scripts/Dpkg/Source/Functions.pm: Misc helper functions.
  2105. erasedir() removes recursively a directory in a safe manner.
  2106. fixperms() make sure the permissions of all files in a tree
  2107. are sane.
  2108. Source package formats:
  2109. * scripts/Dpkg/Source/Package.pm: Base class implementing the
  2110. functions common to all source package formats.
  2111. * scripts/Dpkg/Source/Package/V1_0.pm: Implement the actual
  2112. "Format: 1.0" source package format.
  2113. * scripts/Dpkg/Source/Package/V2_0.pm: Implement the wig&pen
  2114. format as specified in http://www.dpkg.org/dpkg/NewSourceFormat.
  2115. * scripts/Dpkg/Source/Package/V3_0/native.pm: Native source
  2116. packages (single tarball) that supports all compressions
  2117. methods. Compatible with "Format: 1.0" if gzip compression is
  2118. used.
  2119. * scripts/Dpkg/Source/Package/V3_0/quilt.pm: Next generation
  2120. source package format based on wig&pen. It supports multiple
  2121. .orig.tar files and all compressions schemes (gzip, bzip2, lzma).
  2122. It uses quilt to apply patches at unpack time and is able to add
  2123. a new patch at the end of the series if changes are present
  2124. at build-time.
  2125. * scripts/Dpkg/Source/Package/V3_0/bzr.pm: Experimental format
  2126. based on a bzr repository. Contributed by Colin Watson.
  2127. * scripts/Dpkg/Source/Package/V3_0/git.pm: Experimental format
  2128. based on a git repository. Contributed by Joey Hess.
  2129. * scripts/Dpkg/Source/Package/V3_0/custom.pm: Special purpose
  2130. format that can be used to create source packages with arbitrary
  2131. files. Useful for helper tools (like git-buildpackage) which can
  2132. generate source files by themselves.
  2133. 2008-03-25 Raphaël Hertzog <hertzog@debian.org>
  2134. * scripts/dpkg-shlibdeps.pl: Let the user configure the set of
  2135. wanted warnings. Add a new warning for useless libraries
  2136. on all binaries analyzed. Disable by default the warning that
  2137. does the same but individually, for each binary analyzed.
  2138. * man/dpkg-shlibdeps.1: Update manual page accordingly.
  2139. 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>
  2140. * lib/dpkg-db.h (modstatdb_note_ifwrite): New prototype.
  2141. * ib/dbmodify.c (modstatdb_note_ifwrite): New function.
  2142. 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>
  2143. * src/archives.c (archivefiles): Call log_message.
  2144. * src/configure.c (deferred_configure): Likewise.
  2145. * src/packages.c (packages): Likewise.
  2146. * src/processarc.c (process_archive): Call log_action after printing
  2147. the action to perform to stdout.
  2148. * src/help.c (log_action): Call statusfd_send.
  2149. * man/dpkg.1: Document improved status-fd output.
  2150. 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>,
  2151. Guillem Jover <guillem@debian.org>
  2152. * lib/dbmodify.c (status_pipes): Move definitions to ...
  2153. * lib/log.c: ... here.
  2154. * lib/dpkg-db.h (struct pipef, status_pipes): Move declarations to ...
  2155. * lib/dpkg.h: ... here.
  2156. (statusfd_send): New function prototype.
  2157. * lib/log.c: Include <assert.h> and <unistd.h>.
  2158. (statusfd_send): New function.
  2159. * lib/dbmodify.c: Use statusfd_send instead of duplicate code.
  2160. * src/configure.c: Likewise.
  2161. * src/errors.c: Likewise.
  2162. 2008-03-25 Guillem Jover <guillem@debian.org>
  2163. * lib/dbmodify.c (log_file, log_message): Move to ...
  2164. * lib/log.c: ... here. New file.
  2165. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'log.c'.
  2166. * lib/dpkg-db.h (log_file, log_message): Move declaration to ...
  2167. * lib/dpkg.h: ... here.
  2168. 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>,
  2169. Guillem Jover <guillem@debian.org>
  2170. * src/packages.c (struct pkginqueue): Move declaration to ...
  2171. * src/main.h: ... here.
  2172. (queuelen): Remove extern declaration.
  2173. (struct pkgqueue): New declaration.
  2174. (PKGQUEUE_DEF_INIT): New macro.
  2175. (add_to_some_queue): New function prototype.
  2176. (remove_from_some_queue): Likewise.
  2177. * src/packages.c (queuehead, queuetail, queuelen): Replace with ...
  2178. (queue): ... this. New variable. Fix all users.
  2179. (add_to_queue): Refactor into ...
  2180. (add_to_some_queue): ... this. Take a struct pkgqueue argument.
  2181. (process_queue): Assert that the queue is empty at the end of the
  2182. function. Refactor queue entry removal into ...
  2183. (remove_from_some_queue): ... this. New function.
  2184. (add_to_queue): New function.
  2185. 2008-03-25 Guillem Jover <guillem@debian.org>
  2186. * src/main.h (ensure_package_clientdata): Move prototype to ...
  2187. * src/filesdb.h: ... here.
  2188. * src/help.c (ensure_package_clientdata): Move function to ...
  2189. * src/filesdb.c: ... here.
  2190. * src/query.c: Remove duplicate function.
  2191. 2008-03-25 Guillem Jover <guillem@debian.org>
  2192. * lib/dpkg-db.h (unlockdatabase): Change prototype to not take any
  2193. argument (as it was not being used). Fix all callers.
  2194. * lib/lock.c (unlockdatabase): Likewise.
  2195. 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>,
  2196. Guillem Jover <guillem@debian.org>
  2197. * lib/dpkg.h (lock_file): New function prototype.
  2198. (unlock_file): Likewise.
  2199. * lib/lock.c (cu_unlockdb): Rename to ...
  2200. (cu_unlock_file): ... here. Rename dblockfd to lockfd, and take it
  2201. from argv.
  2202. (unlock_file): New function.
  2203. (lock_file): Likewise.
  2204. (dblockfd): Move variable to ...
  2205. (lockdatabase): ... here. Call lock_file instead of doing the
  2206. actual file locking.
  2207. (unlockdatabase): Call unlock_file, instead if doing the actual
  2208. pop_cleanup.
  2209. 2008-03-24 Ian Jackson <ian@davenant.greenend.org.uk>
  2210. * lib/dpkg.h (error_printer): New function pointer type.
  2211. (push_error_handler): Use error_printer instead of an explicit
  2212. declaration in the argument list.
  2213. (set_error_display): Likewise.
  2214. * lib/ehandle.c (push_error_handler): Likewise.
  2215. (set_error_display): Likewise.
  2216. 2008-03-23 Guillem Jover <guillem@debian.org>
  2217. * configure.ac (DPKG_CHECK_COMPAT_FUNCS): Add 'strnlen'.
  2218. * libcompat/Makefile.am [!HAVE_STRNLEN] (libcompat_a_SOURCES): Add
  2219. 'strnlen.c' and 'strnlen.h'.
  2220. * libcompat/strnlen.c: New file (import from Simon Josefsson).
  2221. * libcompat/strnlen.h: Likewise.
  2222. * lib/tarfn.c: Include "strnlen.h".
  2223. 2008-03-22 Raphaël Hertzog <hertzog@debian.org>
  2224. * scripts/t/200_Dpkg_Shlibs.t: Fix test suite to handle the
  2225. recent addition of the "objid" field to symbol hash returned
  2226. by Dpkg::Shlibs::Objump::Object->get_symbol().
  2227. 2008-03-22 Ian Jackson <ian@davenant.greenend.org.uk>
  2228. * lib/dpkg-db.h (enum pkgstatus): Sort entries.
  2229. * lib/dump.c (w_status): Change 'stat_configfiles' to 'stat_installed'
  2230. in assert as that's the new last item.
  2231. * src/processarc.c (process_archive): Likewise.
  2232. * src/packages.c (process_queue): Likewise.
  2233. (deppossi_ok_found): Match sorting of 'enum pkgstatus'.
  2234. * dselect/pkgdisplay.cc (statusstrings): Likewise.
  2235. (statuschars): Likewise.
  2236. * src/help.c (statusstrings): Likewise.
  2237. * src/query.c (list1package): Likewise.
  2238. * lib/parsehelp.c (statusinfos): Likewise.
  2239. 2008-03-21 Guillem Jover <guillem@debian.org>
  2240. * lib/parse.c (cu_parsedb): Remove duplicate function.
  2241. (parsedb): Use cu_closefd instead of cu_parsedb.
  2242. 2008-03-21 Ian Jackson <ian@davenant.greenend.org.uk>
  2243. * src/archives.c (tarobject): Make 'fd' static.
  2244. * lib/parse.c (parsedb): Likewise. Use ehflag_normaltidy on
  2245. push_cleanup and pop_cleanup. Move pop_cleanup call just before its
  2246. related close call.
  2247. * src/processarc.c (process_archive): Do not install two cleanup
  2248. handlers to close the fsys-tarfile pipe. Mark pipe descriptors with
  2249. invalid values when closed.
  2250. 2008-03-20 Guillem Jover <guillem@debian.org>
  2251. * dpkg-deb/extract.c (safe_fflush): Change return type from int to
  2252. void.
  2253. 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>
  2254. * lib/dpkg.h (cisspace): New prototype.
  2255. * lib/utils.c (cisspace): New function definition.
  2256. 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>
  2257. * src/main.h (pkgadminfile): Move prototype to ...
  2258. * lib/dpkg-db.h: ... here.
  2259. * src/help.c (pkgadminfile): Move function definition to ...
  2260. * lib/dbmodify.c: ... here.
  2261. * src/query.c (pkgadminfile): Remove duplicated functions.
  2262. 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>,
  2263. Guillem Jover <guillem@debian.org>
  2264. * src/query.c (cu_closepipe, cu_closefile, cu_closefd): Remove
  2265. duplicated functions.
  2266. * src/help.c (cu_closepipe, cu_closefile, cu_closedir)
  2267. (cu_closefd): Move function definitions to ...
  2268. * lib/cleanup.c: ... here. New file.
  2269. * src/main.h (cu_closefile, cu_closepipe, cu_closedir)
  2270. (cu_closefd): Move prototypes to ...
  2271. * lib/dpkg.h: ... here.
  2272. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'cleanup.c'.
  2273. 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>
  2274. * lib/dpkg-db.h (modstatdb_checkpoint): New prototype.
  2275. * lib/dbmodify.c (checkpoint): Remove static keyword. Rename to ...
  2276. (modstatdb_checkpoint): ... this. Fix all callers.
  2277. 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>
  2278. * lib/tarfn.c (TarExtractor): Initialize h.LinkName and h.Name to
  2279. NULL.
  2280. 2008-03-16 Raphaël Hertzog <hertzog@debian.org>
  2281. * scripts/Dpkg/Shlibs/Objdump.pm: Add "objid" property to
  2282. symbols and fake "soname" property with the basename of the
  2283. object's filename if the object has no official SONAME.
  2284. * scripts/dpkg-shlibdeps.pl: Add some more debugging messages.
  2285. * scripts/dpkg-shlibdeps.pl: Also count usage of alternate sonames
  2286. for symbols found in symbols files.
  2287. 2008-03-16 Guillem Jover <guillem@debian.org>
  2288. * configure.ac (AC_CHECK_HEADERS): Add 'libintl.h'.
  2289. * lib/gettext.h [!ENABLE_NLS]: Use HAVE_LIBINTL_H instead of
  2290. '(__GLIBC__ >= 2)'.
  2291. 2008-03-15 Erast Benson <erast@gnusolaris.org>
  2292. * utils/start-stop-daemon.c (check): Move 'return' inside preprocessor
  2293. conditionals, so that it does not just return on non-handled OSes.
  2294. 2008-03-15 Erast Benson <erast@gnusolaris.org>
  2295. * utils/start-stop-daemon.c: Use __sun instead of __sparc__ to
  2296. define OSsunos.
  2297. 2008-03-15 Raphaël Hertzog <hertzog@debian.org>
  2298. * debian/dpkg.prerm: Removed as it's empty.
  2299. * Makefile.am: Remove debian/dpkg.prerm from EXTRA_DIST.
  2300. 2008-03-14 Raphaël Hertzog <hertzog@debian.org>
  2301. * scripts/Dpkg/Changelog/Debian.pm: Fix regression by re-allowing
  2302. capitals (like UNRELEASED!) in the distribution/package name.
  2303. * scripts/t/600_Dpkg_Changelog/regressions: Add capitals in the
  2304. distribution name as part of the non-regression tests.
  2305. 2008-03-14 Guillem Jover <guillem@debian.org>
  2306. Fix errors spotted by Helge Kreutzmann.
  2307. * man/dpkg-buildpackage.1: Refer to 'Debian' not 'debian'. Remove a
  2308. space beofre a comma. Replace FFLAGS with CFLAGS when referring to
  2309. usage similar to C for Fortran. Do not make bold a terminating
  2310. parenthesis.
  2311. * man/dpkg-checkbuilddeps.1: Mark 'debian/contorl' file with italics.
  2312. 2008-03-11 Ian Jackson <ian@davenant.greenend.org.uk>,
  2313. Guillem Jover <guillem@debian.org>
  2314. * lib/showcright.c: Rename to ...
  2315. * lib/myopt-util.c: ... this.
  2316. * lib/Makefile.am (libdpkg_a_SOURCES): Rename 'showcright.c' to
  2317. 'myopt-util.c'.
  2318. * lib/dpkg.h (struct cmdinfo): Remove declaration.
  2319. (showcopyright): Move prototype to ...
  2320. * lib/myopt-util.c: ... here.
  2321. (helponly, versiononly): New functions.
  2322. * lib/myopt.h: Include <dpkg-def.h>.
  2323. (showcopyright, helponly, versiononly, usage, printversion): New
  2324. function prototypes.
  2325. * dpkg-deb/main.c (printversion, usage): Remove static keyword.
  2326. (helponly, versiononly): Remove function declarations and definitions.
  2327. * dpkg-split/main.c: Likewise.
  2328. * dselect/main.cc: Likewise.
  2329. * src/main.c: Likewise.
  2330. * src/query.c: Likewise.
  2331. 2008-03-11 Guillem Jover <guillem@debian.org>
  2332. * lib/showcright.c (showcopyright): Move function prototype to ...
  2333. * lib/dpkg.h: ... here, and replace existing one.
  2334. 2008-03-11 Guillem Jover <guillem@debian.org>
  2335. * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-def.h'.
  2336. * lib/dpkg.h: Include 'dpkg-def.h'.
  2337. (CONSTANT, PRINTFFORMAT, NONRETURNING, UNUSED): Move defninitions
  2338. to ...
  2339. * lib/dpkg-def.h: ... here. New file.
  2340. * utils/start-stop-daemon.c: Include 'dpkg-def.h'.
  2341. (CONSTANT, PRINTFFORMAT, NONRETURNING, UNUSED): Remove defninitions.
  2342. 2008-03-11 Ian Jackson <ian@davenant.greenend.org.uk>
  2343. * lib/dpkg.h (fgets_checked, fgets_must): New function declarations.
  2344. * lib/utils.c: Include <string.h>.
  2345. (fgets_checked, fgets_must): New function.
  2346. * src/filesdb.c (ensure_diversions): Use new fgets_checked and
  2347. fgets_must instead of duped code.
  2348. 2008-03-09 Ian Jackson <ian@davenant.greenend.org.uk>
  2349. * dselect/pkgdisplay.cc (relatestrings): Change 'breaks with' to
  2350. 'breaks'.
  2351. 2008-03-09 Ian Jackson <ian@davenant.greenend.org.uk>
  2352. * dselect/pkgdepcon.cc (packagelist::resolvedepcon): Move dep_breaks
  2353. case after dep_conflicts so that it falls through.
  2354. (packagelist::deppossatisfied): Handle dep_breaks in the same way as
  2355. dep_conflicts.
  2356. 2008-03-09 Ian Jackson <ian@davenant.greenend.org.uk>
  2357. * dselect/pkgdepcon.cc (packagelist::deppossatisfied): The new rule
  2358. is that a Conflicts is violated if the target package is installed
  2359. or to be error-preserved ie would_like_to_install() != 0 - except
  2360. that we disregard packages which directly Conflict with themselves.
  2361. 2008-03-07 Raphaël Hertzog <hertzog@debian.org>
  2362. * scripts/Dpkg/Fields.pm: Import Dpkg::Gettext since we use _g().
  2363. 2008-03-06 Sean Finney <seanius@seanius.net>
  2364. * lib/dump.c (writedb): Free newfn and oldfn.
  2365. * src/help.c (clear_istobes): Free pkgiterator 'it' by calling
  2366. iterpkgend.
  2367. 2008-03-02 Raphaël Hertzog <hertzog@debian.org>
  2368. * scripts/dpkg-gencontrol.pl, scripts/dpkg-source.pl:
  2369. Do not sort the dependency fields as order matters given
  2370. the greedy algorithm that APT uses when trying to resolve
  2371. dependencies. See discussion on debian-devel:
  2372. https://lists.debian.org/debian-devel/2008/02/msg00893.html
  2373. * man/dpkg-gencontrol.1: Document the above changes.
  2374. * scripts/Dpkg/Deps.pm (simplify_deps): Tries to respect order put
  2375. by the maintainer when simplifying dependencies.
  2376. * scripts/t/400_Dpkg_Deps.t: Add a test-case to ensure that
  2377. further changes respect this constraint.
  2378. * scripts/dpkg-shlibdeps.pl: Sort generated dependencies to
  2379. have a deterministic output.
  2380. 2008-02-29 Frank Lichtenheld <djpig@debian.org>
  2381. * scripts/Dpkg/Changelog/Debian.pm (parse):
  2382. One patch against the old parser that allowed
  2383. chars '+' and '.' in distribution names was
  2384. not forward ported into the new parser. Do
  2385. this now.
  2386. * scripts/t/600_Dpkg_Changelog/regression:
  2387. Add testcase for this regression.
  2388. 2008-02-22 Raphaël Hertzog <hertzog@debian.org>
  2389. * man/dpkg-gensymbols.1: Fix some groff errors detected by lintian.
  2390. * man/dpkg-query.1: Likewise..
  2391. 2008-02-22 Raphaël Hertzog <hertzog@debian.org>
  2392. * man/deb-symbols.5: Escape some hyphens so that they do not end up
  2393. as minus sign.
  2394. * man/dpkg-architecture.1: Likewise.
  2395. * man/dpkg-shlibdeps.1: Likewise.
  2396. * man/start-stop-daemon.8: Likewise.
  2397. 2008-02-22 Raphaël Hertzog <hertzog@debian.org>
  2398. Mike Frysinger <vapier@gentoo.org>
  2399. * scripts/Makefile.am: Modify PATH during make check to include
  2400. build directories containing dpkg and the scripts dpkg-*.
  2401. 2008-02-20 Raphaël Hertzog <hertzog@debian.org>
  2402. * scripts/Dpkg/Changelog.pm (parse_changelog): Fallback
  2403. into /usr/lib/dpkg/parsechangelog to find changelog parser
  2404. in case $dpkglibdir points to another directory (for example
  2405. when DPKG_DATADIR is manually set).
  2406. 2008-02-19 Frank Lichtenheld <djpig@debian.org>
  2407. * m4/libs.m4 (DPKG_LIB_CURSES): Use libncursesw if
  2408. available.
  2409. * debian/control: Change build-dependency from
  2410. libncurses5-dev to libncursesw5-dev.
  2411. 2008-02-19 Frank Lichtenheld <djpig@debian.org>
  2412. * man/dpkg-source.1: Fix documentation of -sk and -sp. The directory
  2413. with the unpacked original source will be removed, not the tarball.
  2414. 2008-02-17 Frank Lichtenheld <djpig@debian.org>
  2415. * scripts/Dpkg.pm: Allow overriding $pkgdatadir
  2416. with $ENV{DPKG_DATADIR}.
  2417. * scripts/Makefile.am (check): Use DPKG_DATADIR.
  2418. * debian/rules: Remove hack to copy data files
  2419. to build directory.
  2420. 2008-02-17 Frank Lichtenheld <djpig@debian.org>
  2421. * man/dpkg-architecture.1: Document the files needed by
  2422. dpkg-architecture.
  2423. 2008-02-17 Frank Lichtenheld <djpig@debian.org>
  2424. Matthias Klose <doko@cs.tu-berlin.de>
  2425. * scripts/dpkg-buildpackage.pl: Set a set of environment variables
  2426. for setting compiler and linker options, unless already set in the
  2427. environment. See https://wiki.ubuntu.com/DistCompilerFlags for
  2428. background information.
  2429. * man/dpkg-buildpackage.1: Document the new behaviour for build
  2430. related environment variables.
  2431. 2008-02-17 Zack Weinberg <zackw@panix.com>
  2432. * man/deb-shlibs.5: Make this manual page a bit more elaborate and
  2433. helpful.
  2434. 2008-02-13 Raphaël Hertzog <hertzog@debian.org>
  2435. * scripts/Dpkg/Version.pm: Import Dpkg::Gettext since we use _g().
  2436. 2008-02-07 Guillem Jover <guillem@debian.org>
  2437. * scripts/dpkg-gencontrol.pl: Do not output the Homepage field on udeb.
  2438. 2008-02-04 Guillem Jover <guillem@debian.org>
  2439. * libcompat/Makefile.am (localedir): Remove unused variable.
  2440. (INCLUDES): Do not pass -DLOCALEDIR nor -I$(top_srcdir)/lib.
  2441. 2008-02-03 Guillem Jover <guillem@debian.org>
  2442. * m4/funcs.m4 (DPKG_CHECK_COMPAT_FUNCS): New macro.
  2443. * configure.ac (DPKG_CHECK_COMPAT_FUNCS): Check getopt, getopt_long
  2444. and obstack_free.
  2445. * libcompat/Makefile.am (libcompat_a_SOURCES): Set empty by default.
  2446. Only add 'getopt.c getopt.h' if !HAVE_GETOPT. Only add 'getopt1.c'
  2447. if !HAVE_GETOPT_LONG. Only add 'obstack.c obstack.h' if
  2448. !HAVE_OBSTACK_FREE.
  2449. (INCLUDES): Add '-idirafter $(top_srcdir)/libcompat'.
  2450. * dpkg-deb/Makefile.am (INCLUDES): Likewise.
  2451. * dpkg-split/Makefile.am (INCLUDES): Likewise.
  2452. * dselect/Makefile.am (INCLUDES): Likewise.
  2453. * lib/Makefile.am (INCLUDES): Likewise.
  2454. * src/Makefile.am (INCLUDES): Likewise.
  2455. * utils/Makefile.am (INCLUDES): Use -idirafter instead of -I for
  2456. '$(top_srcdir)/libcompat'.
  2457. * src/Makefile.am (dpkg_LDADD): Add '../libcompat/libcompat.a'.
  2458. (dpkg_query_LDADD): Likewise.
  2459. * dpkg-deb/Makefile.am (dpkg_deb_LDADD): Likewise.
  2460. * dpkg-split/Makefile.am (dpkg_split_LDADD): Likewise.
  2461. * dselect/Makefile.am (dselect_LDADD): Likewise.
  2462. 2008-02-03 Guillem Jover <guillem@debian.org>
  2463. * libcompat/Makefile.am (libcompat_a_SOURCES): Remove closeout.c,
  2464. closeout.h, error.h, long-options.c and long-options.h.
  2465. * libcompat/closeout.c: Remove unused file.
  2466. * libcompat/closeout.h: Likewise.
  2467. * libcompat/error.h: Likewise.
  2468. * libcompat/long-options.c: Likewise.
  2469. * libcompat/long-options.h: Likewise.
  2470. 2008-02-03 Raphaël Hertzog <hertzog@debian.org>
  2471. * scripts/dpkg-shlibdeps.pl: Handle better the case when the
  2472. library found has a different soname than the one used to look up
  2473. the library file. Properly affect symbols coming from it to the
  2474. soname wanted by the binary, thus avoiding invalid warnings about
  2475. unused library.
  2476. 2008-01-31 Raphaël Hertzog <hertzog@debian.org>
  2477. * scripts/dpkg-genchanges.pl: Always list all binary packages in
  2478. the Description field of generated .changes files.
  2479. 2008-01-30 Frank Lichtenheld <djpig@debian.org>
  2480. * scripts/dpkg-buildpackage.pl: Warn if build-dependencies
  2481. are not satisfied during -S. Also warn that this might become
  2482. an error in the future.
  2483. 2008-01-30 Justin Pryzby <jpryzby+d@quoininc.com>
  2484. * utils/start-stop-daemon.c (do_help): Clarify --name and --user
  2485. options.
  2486. (parse_options): Reword --make-pidfile badusage.
  2487. (pid_is_cmd): Fix typo in comment.
  2488. * man/start-stop-daemon.8: Cosmetic fixes. Document that --chuid
  2489. will change the group even if it has not been specified. Add EXIT
  2490. STATUS and EXAMPLE sections.
  2491. 2008-01-29 Raphaël Hertzog <hertzog@debian.org>
  2492. * scripts/dpkg-buildpackage.pl: Add a new -R option to be able to
  2493. replace "debian/rules" by something else. The replacement command
  2494. can contain parameters (and thus spaces). Fix -r option to also
  2495. accept parameters.
  2496. * man/dpkg-buildpackage.1: Document the new option and the changed
  2497. behaviour of -r.
  2498. 2008-01-28 Guillem Jover <guillem@debian.org>
  2499. * getopt: Rename to ...
  2500. * libcompat: ... this.
  2501. * configure.ac (AC_CONFIG_FILES): Likewise.
  2502. * Makefile.am (SUBDIRS): Likewise.
  2503. * utils/Makefile.am (INCLUDES): Likewise.
  2504. (start_stop_daemon_LDADD): Use '../libcompat/libcompat.a' instead of
  2505. '../getopt/libopt.a'.
  2506. * libcompat/Makefile.am (noinst_LIBRARIES): Rename 'libopt.a' to
  2507. 'libcompat.a'.
  2508. (libopt_a_SOURCES): Rename to ...
  2509. (libcompat_a_SOURCES): ... this.
  2510. 2008-01-27 Raphaël Hertzog <hertzog@debian.org>
  2511. * README.feature-removal-schedule: Deprecate support of substvars
  2512. in dpkg-source and dpkg-genchanges.
  2513. * README.feature-removal-schedule, README.api: Deprecate support
  2514. of custom changelog parsers that understand only the -v option.
  2515. * README.feature-removal-schedule: Deprecate support of PGP.
  2516. 2008-01-27 Raphaël Hertzog <hertzog@debian.org>
  2517. * scripts/Dpkg/Shlibs/SymbolFile.pm: Replace has_new_libs(),
  2518. has_lost_libs(), has_new_symbols() and has_lost_symbols() by
  2519. corresponding get_* functions.
  2520. * scripts/dpkg-gensymbsols.pl: Display list of new/lost libs. Also
  2521. display list of lost symbols when wildcards symbols have been
  2522. used.
  2523. * scripts/t/200_Dpkg_Shlibs.t: Adjust test suite to API change.
  2524. 2008-01-26 Frank Lichtenheld <djpig@debian.org>
  2525. * scripts/Dpkg/Checksums.pm: New module for checksum handling
  2526. in .changes and .dsc files.
  2527. * scripts/dpkg-genchanges.pl, scripts/dpkg-source.pl: Use new
  2528. module. Adds new 'Checksums-{Sha1,Sha256}' field
  2529. to .changes and .dsc files. Increase changes format to 1.8.
  2530. 2008-01-25 Andreas Påhlsson <andreas.pahlsson@xcerion.com>
  2531. * utils/start-stop-daemon.c (tsub): Remove function.
  2532. (tmul): Fix normalization.
  2533. (run_stop_schedule): Use timersub instead of tsub.
  2534. 2008-01-24 Raphaël Hertzog <hertzog@debian.org>
  2535. * scripts/dpkg-genchanges.pl: Warn if the current version is
  2536. smaller than the previous one.
  2537. * scripts/dpkg-checkbuilddeps.pl: Add support of options -d and -c to
  2538. use build dependencies/conflicts given on the command line instead of
  2539. those retrieved from debian/control.
  2540. * man/dpkg-checkbuilddeps.1: Document the new options.
  2541. 2008-01-22 Guillem Jover <guillem@debian.org>
  2542. * dpkg-deb/extract.c (extracthalf): Refactor fflush and its buggy
  2543. fpos handling to ...
  2544. (safe_fflush): ... here. New function.
  2545. 2008-01-22 Guillem Jover <guillem@debian.org>
  2546. * lib/vercmp.c [0] (verrevcmp): Remove dead code.
  2547. 2008-01-22 Guillem Jover <guillem@debian.org>
  2548. * lib/dpkg.h [!offsetof] (offsetof): New compatibility macro.
  2549. * lib/parsedump.h (PKGIFPOFF): Use offsetof instead of ad-hoc
  2550. calculation.
  2551. (FILEFOFF): Likewise.
  2552. (struct fieldinfo): Change integer member type to size_t.
  2553. * lib/tarfn.c (TarChecksumOffset): Use offsetof instead of ad-hoc
  2554. calculation.
  2555. 2008-01-22 Guillem Jover <guillem@debian.org>
  2556. * configure.ac (AC_CHECK_HEADERS): Check for 'stddef.h'.
  2557. 2008-01-21 Colin Watson <cjwatson@debian.org>
  2558. * dselect/pkgkeys.cc (packagelist_korgbindings): Add 'C'.
  2559. (packagelist_kinterps): Add 'revertinstalled'.
  2560. * dselect/bindings.cc (keybindings::descriptions): Likewise.
  2561. * dselect/pkglist.h (class packagelist): Add kd_revertinstalled.
  2562. * dselect/pkgcmds.cc (packagelist::kd_revertinstalled): New method.
  2563. * man/dselect.1: Document new 'C' keybinding.
  2564. 2008-01-21 Guillem Jover <guillem@debian.org>
  2565. * dpkg-deb/build.c (getfi): Use m_malloc instead of malloc.
  2566. (do_build): Likewise.
  2567. * dpkg-deb/extract.c (extracthalf): Likewise.
  2568. * lib/mlib.c (buffer_write): Likewise.
  2569. (buffer_copy): Likewise.
  2570. * lib/myopt.c (loadcfgfile): Likewise.
  2571. * lib/parse.c (parsedb): Likewise.
  2572. * lib/showpkg.c (alloclstitem): Likewise.
  2573. (parsefield): Likewise.
  2574. (parsestring): Likewise.
  2575. * lib/tarfn.c (StoC): Likewise.
  2576. (TarExtractor): Likewise.
  2577. * src/archives.c (try_deconfigure_can): Likewise.
  2578. * src/main.c (execbackend): Likewise.
  2579. 2008-01-21 Guillem Jover <guillem@debian.org>
  2580. * lib/mlib.c (m_strdup): New function.
  2581. * lib/dpkg.h (m_strdup): New declaration.
  2582. * lib/tarfn.c: Include <dpkg.h>.
  2583. (TarExtractor): Use m_strdup instead of strdup.
  2584. * lib/database.c (findpackage): Likewise.
  2585. * lib/myopt.c (myfileopt): Likewise.
  2586. * dpkg-deb/build.c (getfi): Likewise.
  2587. * src/configure.c (md5hash): Likewise.
  2588. * src/help.c (vbuildarglist): Likewis.
  2589. * src/main.c (execbackend): Likewise.
  2590. (commandfd): Likewise.
  2591. 2008-01-21 Guillem Jover <guillem@debian.org>
  2592. * configure.ac: Bump version to 1.14.17~.
  2593. 2008-01-26 Raphaël Hertzog <hertzog@debian.org>
  2594. * configure.ac: Release 1.14.16.6.
  2595. 2008-01-26 Raphaël Hertzog <hertzog@debian.org>
  2596. * scripts/dpkg-gensymbols: Don't scan directories which are
  2597. symlinks. They might point outside of the package build dir which
  2598. results in addition of libraries which are not in the package.
  2599. The libc6 package on amd64 is affected with a symlink "lib64" ->
  2600. "/lib".
  2601. 2008-01-24 Raphaël Hertzog <hertzog@debian.org>
  2602. * configure.ac: Release 1.14.16.5.
  2603. 2008-01-24 Raphaël Hertzog <hertzog@debian.org>
  2604. * scripts/Dpkg/Shlibs/SymbolFile.pm (load): Remove the loaded file
  2605. from the %$seen hash at the end so that it's possible to include
  2606. multiple times the same file (at the same level and not from any
  2607. nested file obviously).
  2608. * scripts/Dpkg/Shlibs/SymbolFile.pm: Blacklist many armel specific
  2609. symbols.
  2610. 2008-01-23 Guillem Jover <guillem@debian.org>
  2611. * configure.ac: Release 1.14.16.4.
  2612. 2008-01-23 Guillem Jover <guillem@debian.org>
  2613. * scripts/Dpkg/Cdata.pm: Import capit from Dpkg::Fields.
  2614. 2008-01-22 Guillem Jover <guillem@debian.org>
  2615. * configure.ac: Release 1.14.16.3.
  2616. 2008-01-22 Guillem Jover <guillem@debian.org>
  2617. * utils/start-stop-daemon.c (tvselector): Remove typedef.
  2618. (tvselector_sec): Remove function.
  2619. (tvselector_usec): Likewise.
  2620. (TVCALC_ELEM): Remove macro.
  2621. (TVCALC): Likewise.
  2622. (tsub): New function.
  2623. (tmul): Likewise.
  2624. (run_stop_schedule): Use tsub and tmul instead of TVCALC. Make sure
  2625. the time is not negative.
  2626. 2008-01-22 Guillem Jover <guillem@debian.org>
  2627. * utils/start-stop-daemon.c (main): Only call initgroups if changeuser
  2628. is not NULL.
  2629. 2008-01-22 Guillem Jover <guillem@debian.org>
  2630. * utils/start-stop-daemon.c (gid_in_current_groups): Remove function.
  2631. (main): Call initgroups if the real user or group are different than
  2632. the ones we should switch to. Call setgid before initgroups.
  2633. 2008-01-22 Raphaël Hertzog <hertzog@debian.org>
  2634. * man/dpkg-parsechangelog.1: Fix typos reported by Helge Kreutzmann.
  2635. 2008-01-22 Raphaël Hertzog <hertzog@debian.org>
  2636. * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
  2637. scripts/dpkg-source.pl: Remove the IO-layer that converts to
  2638. UTF-8. It's not as smart as I expected.
  2639. * scripts/dpkg-genchanges.pl: Do not substitute variables on
  2640. the output.
  2641. * man/dpkg-genchanges.pl: Document this change.
  2642. 2008-01-22 Guillem Jover <guillem@debian.org>
  2643. * configure.ac: Release 1.14.16.2.
  2644. 2008-01-22 Guillem Jover <guillem@debian.org>
  2645. * utils/start-stop-daemon.c (main): Move setuid code after initgroups
  2646. and setgid.
  2647. 2008-01-21 Frank Lichtenheld <djpig@debian.org>
  2648. * configure.ac: Release 1.14.16.1
  2649. * scripts/dpkg-source.pl: Fix "uninitialized value"
  2650. warning.
  2651. * debian/control: Add libtimedate-perl to
  2652. dpkg-dev's Depends and to Build-Depends (for
  2653. build-time tests). This introduces our first
  2654. run-time dependency on a perl module not shipped
  2655. with Perl itself. But to me it seems not worth
  2656. trying to replace that code.
  2657. 2008-01-21 Guillem Jover <guillem@debian.org>
  2658. * configure.ac: Release 1.14.16.
  2659. 2008-01-21 Guillem Jover <guillem@debian.org>
  2660. * README.api: New file.
  2661. * README.feature-removal-schedule: Likewise.
  2662. * Makefile.am (EXTRA_DIST): Add README.feature-removal-schedule and
  2663. README.api.
  2664. 2008-01-21 Guillem Jover <guillem@debian.org>
  2665. * configure.ac (AC_CHECK_FUNCS): Escape new lines.
  2666. 2008-01-21 Ian Jackson <ian@davenant.greenend.org.uk>
  2667. * src/processarc.c (process_archive): Fix incorrect sizeof in a
  2668. memset call.
  2669. 2008-01-21 Guillem Jover <guillem@debian.org>
  2670. * utils/start-stop-daemon.c (main): Cast runas_uid and runas_gid to
  2671. uid_t and gid_t when comparing to getuid() and getgid().
  2672. 2008-01-21 Guillem Jover <guillem@debian.org>
  2673. * configure.ac (AC_CHECK_FUNCS): Merge arguments from both macro
  2674. calls.
  2675. 2008-01-21 Guillem Jover <guillem@debian.org>
  2676. * configure.ac (AM_GNU_GETTEXT): Add external.
  2677. (AC_CHECK_FUNCS): Add strtoul.
  2678. (AC_CONFIG_FILES): Remove 'intl/Makefile'.
  2679. * .gitignore: Remove intl.
  2680. * Makefile.am (SUBDIRS): Likewise.
  2681. * dpkg-deb/Makefile.am (INCLUDES): Remove '-I$(top_srcdir)/intl'.
  2682. * dpkg-split/Makefile.am (INCLUDES): Likewise.
  2683. * dselect/Makefile.am (INCLUDES): Likewise.
  2684. * getopt/Makefile.am (INCLUDES): Likewise.
  2685. * lib/Makefile.am (INCLUDES): Likewise.
  2686. * src/Makefile.am (INCLUDES): Likewise.
  2687. * utils/Makefile.am (INCLUDES): Likewise.
  2688. 2008-01-21 Guillem Jover <guillem@debian.org>
  2689. * configure.ac (AC_CHECK_FUNCS): Add getdtablesize.
  2690. * utils/start-stop-daemon.c (get_open_fd_max): New function.
  2691. (main) [OShpux]: Remove.
  2692. [!OShpux]: Use get_open_fd_max instead of hardcoded getdtablesize.
  2693. 2008-01-21 Guillem Jover <guillem@debian.org>
  2694. * man/start-stop-daemon.8: Fix quotation to get rid of a spurious
  2695. space between -c option and comma.
  2696. 2008-01-20 Guillem Jover <guillem@debian.org>
  2697. * man/start-stop-daemon.8: Coalesce all matching options into a new
  2698. section. List matching options by reference in the description
  2699. section.
  2700. 2008-01-20 Guillem Jover <guillem@debian.org>
  2701. * utils/start-stop-daemon.c (do_version): Change from 'Mandatory' to
  2702. 'Matching'. Suggested by Justin Pryzby.
  2703. 2008-01-20 Frank Lichtenheld <djpig@debian.org>
  2704. * scripts/dpkg-buildpackage.pl: Move most functions to end of file
  2705. to allow better reading of the program flow. This is a remnant of
  2706. the shell script past.
  2707. 2008-01-19 Raphaël Hertzog <hertzog@debian.org>
  2708. * scripts/dpkg-buildpackage.pl: Use
  2709. Dpkg::Changelog::parse_changelog() instead of calling
  2710. dpkg-parsechangelog.
  2711. * scripts/dpkg-checkbuilddeps.pl: Fix a bug left-over from the
  2712. switch to Dpkg::Control.
  2713. 2008-01-18 Raphaël Hertzog <hertzog@debian.org>
  2714. * scripts/Dpkg/Shlibs/SymbolFile.pm,
  2715. scripts/Dpkg/Shlibs/Objdump.pm, scripts/Dpkg/Shlibs.pm: Update and
  2716. fix many syserr(), error(), warning() and subprocerr() calls to
  2717. the new style where the sprintf call is integrated. Uniformize
  2718. some error messages at the same time.
  2719. 2008-01-18 Raphaël Hertzog <hertzog@debian.org>
  2720. * scripts/Dpkg/Shlibs/SymbolFile.pm (load): Parse *@<version>
  2721. symbols names as wildcards and not as regular symbols. They
  2722. provide the same dependency information for all symbols that share
  2723. the same version.
  2724. * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_symbols): Use
  2725. information provided by wildcards entries when new symbols are
  2726. added.
  2727. * scripts/dpkg-gensymbols.pl: Disable some checks which can't be
  2728. done when symbols files have been generated with the help of
  2729. wildcard entries.
  2730. * man/dpkg-gensymbols.1: Update the manual page to explain how to
  2731. use wildcard entries.
  2732. 2008-01-18 Frank Lichtenheld <djpig@debian.org>
  2733. * scripts/changelog/debian.pl: Don't hide failures inside eval().
  2734. * scripts/Dpkg/Changelog.pm (data2rfc822): Don't fail if argument
  2735. is undef.
  2736. 2008-01-18 Raphaël Hertzog <hertzog@debian.org>
  2737. * scripts/Dpkg/Changelog.pm (parse_changelog): Rewrite it completely
  2738. to not call dpkg-parsechangelog but do the work of this program by
  2739. itself.
  2740. * scripts/dpkg-parsechangelog.pl: Rewrote it to use the enhanced
  2741. parse_changelog() function.
  2742. * scripts/dpkg-genchanges.pl, script/dpkg-gencontrol.pl: Adapted to use
  2743. the modified parse_changelog().
  2744. * scripts/dpkg-gensymbols.pl, scripts/dpkg-source.pl: Likewise.
  2745. * scripts/dpkg-genchanges.pl: Change logic of -si option to
  2746. include the original tarball only if the current upstream version
  2747. differs from the upstream version of the previous changelog entry.
  2748. * scripts/dpkg-genchanges.pl: Some code refactoring. Also fix the
  2749. generation of the Description field to not have duplicate description
  2750. in case of udeb (a single description per binary package is enough).
  2751. Source only uploads will loose their Description: fields since they
  2752. have no associated binary packages and Descriptions are only added
  2753. for binary packages where we have a corresponding .deb to upload.
  2754. 2008-01-18 Guillem Jover <guillem@debian.org>
  2755. * m4/arch.m4 (_DPKG_ARCHITECTURE): Do not use backticks inside double
  2756. quotes, to support ancient shells.
  2757. * m4/libs.m4 (DPKG_LIB_SELINUX): Likewise.
  2758. 2008-01-18 Guillem Jover <guillem@debian.org>
  2759. * utils/start-stop-daemon.c (do_help): Coalesce mandatory options
  2760. into a single paragraph, and state that at least one is required.
  2761. 2008-01-18 Guillem Jover <guillem@debian.org>
  2762. * configure.ac (AC_CHECK_SIZEOF): Quote parameters.
  2763. 2008-01-18 Guillem Jover <guillem@debian.org>
  2764. * THANKS: Add all the people that have contributed until now.
  2765. 2008-01-18 Guillem Jover <guillem@debian.org>
  2766. * src/remove.c (ensure_pathname_nonexisting): Additionally check if
  2767. errno is EEXIST after calling rmdir, per SUSv3 when the directory
  2768. is not empty errno can be ENOTEMPTY or EEXIST.
  2769. * src/help.c (removal_bulk_remove_files): Likewise.
  2770. (removal_bulk_remove_leftover_dirs): Likewise.
  2771. 2008-01-18 Guillem Jover <guillem@debian.org>
  2772. * scripts/update-alternatives.pl: Stop parsing '--test' as a valid
  2773. option.
  2774. ($testmode): Remove variable.
  2775. (usage): Remove '--test' option help.
  2776. * man/update-alternatives.8: Remove '--test' documentation.
  2777. 2008-01-18 Guillem Jover <guillem@debian.org>
  2778. * utils/start-stop-daemon.c (do_help): Add missing semicolon.
  2779. 2008-01-17 Guillem Jover <guillem@debian.org>
  2780. * THANKS: Convert to UTF-8.
  2781. 2008-01-17 Guillem Jover <guillem@debian.org>
  2782. * utils/start-stop-daemon.c (do_help): Move version printing to ...
  2783. (do_version): ... here. New function.
  2784. (main): Call do_version instead of printf.
  2785. 2008-01-17 Raphaël Hertzog <hertzog@debian.org>
  2786. * scripts/dpkg-source.pl: Revert to the old behaviour of not using
  2787. any substvars file.
  2788. * man/dpkg-source.1: Fix default value of -T parameter.
  2789. 2008-01-17 Raphaël Hertzog <hertzog@debian.org>
  2790. * scripts/dpkg-genchanges.pl: Reinstate support of the ${Format}
  2791. substvars.
  2792. 2008-01-17 Samuel Thibault <samuel.thibault@ens-lyon.org>,
  2793. Guillem Jover <guillem@debian.org>
  2794. * utils/start-stop-daemon.c (gid_in_current_groups): New function.
  2795. (main): Call setuid only if requested to run as a different user
  2796. than the current one. Call setgid only if requested to run as a group
  2797. different than the current one, and initgroups only if the groups is
  2798. not part of the supplementary groups.
  2799. 2008-01-16 Frank Lichtenheld <djpig@debian.org>
  2800. * scripts/changelog/debian.pl: Restore the old default behaviour
  2801. to parse STDIN. Also fix the -l option to specify a label for the
  2802. parsed input, but the actual file. Still allow --file to be used for
  2803. that. Use the new inhandle option of parse() to pass STDIN directly.
  2804. This should be faster and removes the implicit dependency on
  2805. IO::String.
  2806. * scripts/Dpkg/Changelog/Debian.pm (parse): Accept input in
  2807. configuration item 'inhandle'. Allow overriding the name of the
  2808. file (used for reporting) with configuration item 'reportfile'.
  2809. * scripts/Dpkg/Changelog.pm (init): Call parse if 'inhandle' is given.
  2810. * scripts/dpkg-parsechangelog.pl: Remove one superfluous %s from a
  2811. formatstring which was used to output $! before syserr() was used
  2812. instead.
  2813. 2008-01-16 Guillem Jover <guillem@debian.org>
  2814. * utils/start-stop-daemon.c (do_stop): Do not print messages when
  2815. running on quiet and test modes.
  2816. (run_stop_schedule): Likewise.
  2817. (main): Likewise.
  2818. 2008-01-16 Guillem Jover <guillem@debian.org>
  2819. * utils/start-stop-daemon.c (do_pidfile): Cache pid value over
  2820. multiple calls.
  2821. 2008-01-16 Guillem Jover <guillem@debian.org>
  2822. * utils/start-stop-daemon.c: Fix indentation.
  2823. 2008-01-16 Guillem Jover <guillem@debian.org>
  2824. * scripts/dpkg-divert.pl: Use :errno_h from POSIX.
  2825. ($enoent): Remove variable.
  2826. (ENOENT): Remove function.
  2827. * scripts/update-alternatives.pl: Likewise.
  2828. * utils/Makefile.am (pkglib_PROGRAMS): Remove variable.
  2829. (enoent_SOURCES): Likewise.
  2830. * utils/enoent.c: Remove file.
  2831. 2008-01-16 Guillem Jover <guillem@debian.org>
  2832. * dpkg-deb/build.c (do_build): Use NULL instead of 0.
  2833. * dpkg-deb/extract.c (extracthalf, do_fsystarfile): Likewise.
  2834. * dpkg-deb/info.c (info_prepare, info_spew): Likewise.
  2835. (do_contents, do_field): Likewise.
  2836. * dpkg-deb/main.c (cipaction, action, cmdinfos, main): Likewise.
  2837. * dpkg-split/join.c (do_join): Likewise.
  2838. * dpkg-split/queue.c (do_auto): Likewise.
  2839. * lib/dpkg.h (standard_startup, standard_shutdown): Likewise.
  2840. * src/archives.c (destroyobstack, deconfigure, addfiletolist)
  2841. (tarobject, check_breaks, check_conflict, archivefiles)
  2842. (newconff_append): Likewise.
  2843. * src/configure.c (deferred_configure, conffderef, md5hash): Likewise.
  2844. * src/depcon.c (findbreakcyclerecursive, findbreakcycle)
  2845. (depisok): Likewise.
  2846. * src/enquiry.c (limiteddescription, badstatinfos, unpackchk)
  2847. (assertversion, assertpredep, assertepoch, assertlongfilenames)
  2848. (assertmulticonrep, predeppackage, cmpversions): Likewise.
  2849. * src/errors.c (reports, print_error_perpackage): Likewise.
  2850. * src/filesdb.c (diversions, diversionsfile, statoverridefile)
  2851. (ensure_packagefiles_available, ensure_allinstfiles_available)
  2852. (write_filelist_except, reversefilelist_init, reversefilelist_next)
  2853. (ensure_diversions, iterfilestart, iterfilenext, filesdbinit)
  2854. (findnamenode): Likewise.
  2855. * src/help.c (checkpath, ensure_package_clientdata
  2856. (vbuildarglist, cu_restorescriptsignals, script_catchsignals)
  2857. (clear_istobes): Likewise.
  2858. * src/main.c (cipaction, ignoredepends, forceinfos)
  2859. (ACTION, OBSOLETE, ACTIONBACKEND, cmdinfos)
  2860. (execbackend, commandfd, main): Likewise.
  2861. * src/packages.c (queuehead, add_to_queue, packages, process_queue)
  2862. (breakses_ok, dependencies_ok): Likewise.
  2863. * src/processarc.c (process_archive): Likewise.
  2864. * src/remove.c (deferred_remove, removal_bulk_remove_files)
  2865. (removal_bulk_remove_leftover_dirs, removal_bulk_remove_configfiles)
  2866. (removal_bulk): Likewise.
  2867. * src/update.c (updateavailable): Likewise.
  2868. * utils/start-stop-daemon.c (xgettimeofday, run_stop_schedule)
  2869. (parse_options): Likewise.
  2870. (pid_is_cmd, pid_is_user, pid_is_exec) [HAVE_KVM_H]: Likewise.
  2871. 2008-01-15 Raphaël Hertzog <hertzog@debian.org>
  2872. * scripts/dpkg-shlibdeps.pl (filter_deps): Fix filtering of
  2873. duplicated dependencies in fields of lesser priority. Dependencies
  2874. coming from shlibs files have no associated version and this case
  2875. wasn't handled properly.
  2876. * scripts/dpkg-shlibdeps.pl: When the same binary is passed
  2877. several times as parameters (associated to different fields),
  2878. associate it to the most important field.
  2879. 2008-01-14 Raphaël Hertzog <hertzog@debian.org>
  2880. * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
  2881. scripts/dpkg-source.pl: Hint Perl into using UTF-8 for output
  2882. on *.dsc, *.changes and DEBIAN/control files. Updated some open() calls
  2883. for more consistency and added binmode() calls for filehandles that
  2884. handle only binary data.
  2885. 2008-01-13 Raphaël Hertzog <hertzog@debian.org>
  2886. * scripts/Dpkg/Fields.pm: Drop public function
  2887. set_fields_importance() in favor of a method on
  2888. Dpkg::Fields::Object. Integrate public function
  2889. sort_field_by_importance() in the output() method where it was
  2890. used.
  2891. * scripts/Dpkg/Changelog.pm, scripts/dpkg-genchanges.pl,
  2892. scripts/dpkg-gencontrol.pl, scripts/dpkg-source.pl: Updated to use
  2893. the set_field_importance() method instead of the removed function.
  2894. * scripts/Dpkg/Control.pm: Update pod documentation to refer to
  2895. Dpkg::Fields::Object instead of the invalid Dpkg::Cdata::Object.
  2896. 2008-01-13 Frank Lichtenheld <djpig@debian.org>
  2897. * scripts/Dpkg/Fields.pm (dump): Allow omitting the
  2898. filehandle argument. If the function is called in
  2899. non-void context, also remove the printed string
  2900. to the caller. Together this avoids having to fiddle
  2901. with filehandles if the caller doesn't want to.
  2902. (output): Likewise.
  2903. * scripts/Dpkg/Changelog.pm (data2rfc822): Simplify
  2904. using this new behaviour.
  2905. * scripts/t/600_Dpkg_Changelog.t: Add a new changelog
  2906. 'fields' that tests the handling of the different fields
  2907. in the dpkg format.
  2908. * scripts/Dpkg/Changelog.pm: Replace all field hashes
  2909. with Dpkg::Changelog::Entry objects.
  2910. (Dpkg::Changelog::Entry): Base on Dpkg::Fields::Object.
  2911. (data2rfc822): Use Dpkg::Fields::Object->output and fix
  2912. handling of user-defined fields.
  2913. (data2rfc822_mult): Merge into data2rfc822 (autodetect
  2914. whether the argument is an object or an array of object).
  2915. * scripts/Dpkg/Changelog/Debian.pm: Adapt for
  2916. Dpkg::Changelog::Entry changes.
  2917. * scripts/t/600_Dpkg_Changelog.t: Likewise.
  2918. 2008-01-13 Frank Lichtenheld <djpig@debian.org>
  2919. * man/dpkg-parsechangelog.1: Document the new command line options.
  2920. 2008-01-12 Raphaël Hertzog <hertzog@debian.org>
  2921. * man/dpkg-shlibdeps.1: Fix a typo reported by Helge Kreutzmann.
  2922. 2008-01-12 Raphael hertzog <hertzog@debian.org>
  2923. * scripts/Dpkg/Fields.pm, scripts/dpkg-source.pl: Add support of
  2924. Dm-Upload-Allowed field. It automatically ends up in the dsc.
  2925. 2008-01-12 Raphael hertzog <hertzog@debian.org>
  2926. * scripts/Dpkg/Fields.pm: Define variables containing
  2927. authoritative list of fields for debian/control (one for source
  2928. stanza, one for package stanza).
  2929. * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
  2930. scripts/dpkg-source.pl: Use the new variables to properly ignore
  2931. valid fields. Some related cleanup.
  2932. 2008-01-11 Raphaël Hertzog <hertzog@debian.org>
  2933. * scripts/dpkg-gencontrol.pl: Also force version in ${binary:Version}
  2934. if dpkg-gencontrol -v<version> is used. That way we're consistent
  2935. with the definition of that variable in deb-substvars(5).
  2936. 2008-01-10 Raphaël Hertzog <hertzog@debian.org>
  2937. * man/dpkg-source.1: Explain better the first parameter of the '-b'
  2938. option.
  2939. 2008-01-10 Raphaël Hertzog <hertzog@debian.org>
  2940. * debian/control: Add a "Breaks: dpkg-dev (= 1.14.13),
  2941. dpkg-dev (= 1.14.14)" on dpkg to force upgrade of those dpkg-dev
  2942. versions that would break with the move of the compression related
  2943. variables from Dpkg.pm into Dpkg/Compression.pm.
  2944. 2008-01-08 Raphaël Hertzog <hertzog@debian.org>
  2945. * scripts/Dpkg/Version.pm: Import missing error function from
  2946. Dpkg::ErrorHandling.
  2947. * scripts/po/POTFILES.in: Add many modules containing translatable
  2948. strings.
  2949. * scripts/Dpkg/Changelog.pm (parse_changelog): New function to
  2950. replace controllib's parsechangelog.
  2951. * scripts/dpkg-buildpackage.pl, scripts/dpkg-checkbuilddeps.pl,
  2952. scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
  2953. scripts/dpkg-gensymbols.pl, scripts/dpkg-source.pl: Update scripts to
  2954. use Dpkg::Changelog::parse_changelog instead of the old controllib.pl's
  2955. parsechangelog. With this last change controllib.pl is no more used by
  2956. any script.
  2957. * scripts/controllib.pl: Removed as it's no more used by any
  2958. script.
  2959. * debian/dpkg-dev.install: Add missing modules.
  2960. 2008-01-08 Frank Lichtenheld <djpig@debian.org>
  2961. * scripts/dpkg-parsechangelog.pl: Make the
  2962. -L option actually work (it's only been eleven
  2963. years...)
  2964. * scripts/Dpkg/ErrorHandling.pm (report): export.
  2965. 2008-01-08 Raphaël Hertzog <hertzog@debian.org>
  2966. * scripts/Dpkg/Cdata.pm, scripts/Dpkg/Control.pm: Add two new
  2967. module to parse and manipulate files like debian/control.
  2968. * scripts/t/600_Dpkg_Control.t,
  2969. scripts/t/600_Dpkg_Control/control-1: Add non-regression tests for
  2970. Dpkg::Control and Dpkg::Cdata.
  2971. * scripts/dpkg-checkbuilddeps.pl, scripts/dpkg-genchanges.pl,
  2972. scripts/dpkg-gencontrol.pl, scripts/dpkg-gensymbols.pl,
  2973. scripts/dpkg-shlibdeps.pl, scripts/dpkg-source.pl: Update scripts
  2974. to use the new modules Dpkg::Cdata, Dpkg::Control,
  2975. Dpkg::Fields::Object and Dpkg::Substvars.
  2976. * scripts/Dpkg/Version.pm (check_version): New function replacing
  2977. checkversion of controllib.pl.
  2978. * scripts/dpkg-source.pl, scripts/dpkg-buildpackage.pl: Use the
  2979. new check_version.
  2980. * scripts/Dpkg/Vars.pm (set_source_package): New function to set
  2981. and check the global variable $sourcepackage (replacing
  2982. controllib's setsourcepackage).
  2983. * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
  2984. scripts/dpkg-source.pl: Use the new set_source_package.
  2985. * scripts/dpkg-distaddfile.pl, scripts/dpkg-gencontrol.pl: Delete
  2986. the chown(getfowner(), ...) on new files. It doesn't seem to do
  2987. anything useful anymore as it got dropped from several other
  2988. scripts over the years without problems.
  2989. * scripts/dpkg-source.pl: Integrate readmd5sum from controllib here
  2990. as it's the only user of that function.
  2991. * scripts/controllib.pl: Get rid of everything except
  2992. parsechangelog and its dependencies (parsecdata, syntax) that are
  2993. still needed.
  2994. * scripts/Makefile.am: Include all the new files in the
  2995. distributed tarball.
  2996. 2008-01-08 Raphaël Hertzog <hertzog@debian.org>
  2997. * scripts/Dpkg/ErrorHandling.pm (syntaxerr): New function to
  2998. replace the syntax() function in controllib.pl.
  2999. 2008-01-07 Guillem Jover <guillem@debian.org>
  3000. * scripts/dpkg-genchanges.pl: Ignore Homepage field in binary package
  3001. stanzas.
  3002. * scripts/dpkg-source.pl: Likewise.
  3003. 2008-01-07 Guillem Jover <guillem@debian.org>
  3004. * scripts/dpkg-checkbuilddeps.pl: Remove unused $dep_regex.
  3005. 2008-01-07 Guillem Jover <guillem@debian.org>
  3006. * scripts/dpkg-checkbuilddeps.pl: Add build-essential as an implicit
  3007. Build-Depends.
  3008. 2008-01-07 Guillem Jover <guillem@debian.org>
  3009. * configure.ac: Bump version to 1.14.16~.
  3010. 2008-01-07 Guillem Jover <guillem@debian.org>
  3011. * configure.ac: Release 1.14.15.
  3012. 2008-01-07 Guillem Jover <guillem@debian.org>
  3013. * src/archives.c (archivefiles): Use arglist instead of narglist.
  3014. 2008-01-07 Guillem Jover <guillem@debian.org>
  3015. * lib/nfmalloc.c (nfmalloc): Remove inline keyword as extern inline
  3016. changes semantics from GNU C to C99.
  3017. * lib/varbuf.c (varbufaddc): Likewise.
  3018. 2008-01-07 Guillem Jover <guillem@debian.org>
  3019. * dpkg-deb/extract.c (extracthalf): Move negative member length check
  3020. to ...
  3021. (parseheaderlength): ... here. Change return type to size_t. Change
  3022. variable r to ssize_t. Use strtol instead of strtoul to easily catch
  3023. negative values.
  3024. * dpkg-deb/info.c (info_spew): Use %zu in a format string instead of
  3025. %lu to print pathlen, a size_t variable.
  3026. * dpkg-split/queue.c (do_auto): Change j from unsigned int to int.
  3027. Cast j to unsigned int when comparing it to i.
  3028. * lib/varbuf.c (varbufprintf): Change ou from unsigned int to size_t.
  3029. Change r from unsigned int to int. Cast value compared to r to int.
  3030. (varbufprintf): Likewise.
  3031. * src/archives.c (tarobject): Change r from size_t to ssize_t.
  3032. Cast r to size_t when comparing it to symlinkfn.size.
  3033. * src/main.c (setforce): Cast string difference to size_t instead of
  3034. int.
  3035. * utils/start-stop-daemon.c (parse_schedule): Change str_len from
  3036. ptrdiff_t to size_t. Cast string difference to size_t instead of
  3037. ptrdiff_t. Remove ptrdiff_t cast to sizeof.
  3038. 2008-01-07 Guillem Jover <guillem@debian.org>
  3039. * scripts/Dpkg/BuildOptions.pm (set): Parse all options separated
  3040. by spaces or comma, do not lowercase the option names, do not match
  3041. on name substrings, and on recognized options with invalid values
  3042. discard the value or the entire option.
  3043. * scripts/t/300_Dpkg_BuildOptions.t: Adjust test suite.
  3044. 2008-01-06 Raphaël Hertzog <hertzog@debian.org>
  3045. * man/deb-control.5: Explain better the ordering of call of
  3046. postinst/prerm during installations and removal between a package
  3047. and its dependencies.
  3048. 2008-01-06 Raphaël Hertzog <hertzog@debian.org>
  3049. * scripts/Dpkg/Shlibs/Objdump.pm: Also retrieve dynamic relocation
  3050. records from objdump by adding the -R option. Use this information
  3051. to mark symbols affected by R_*_COPY relocations as undefined.
  3052. They are initialized by the loader with values searched in the
  3053. needed libraries.
  3054. * scripts/Dpkg/BuildOptions.pm (set): Change the default value of
  3055. the overwrite parameter to 1. The only use of this function in
  3056. dpkg-buildpackage is missing the parameter and actually wants to
  3057. overwrite the whole variable.
  3058. * scripts/t/300_Dpkg_BuildOptions.t: Adjust the test suite for this
  3059. change.
  3060. 2008-01-04 Raphaël Hertzog <hertzog@debian.org>
  3061. * scripts/Dpkg/Shlibs/SymbolFile.pm: Replace #DEPRECATED by
  3062. #MISSING in the output and recognize both while parsing. People
  3063. understand better that way.
  3064. 2008-01-03 Raphaël Hertzog <hertzog@debian.org>
  3065. * scripts/dpkg-shlibdeps.pl (find_symbols_file): When libraries
  3066. are found in non-packaged files, first try to find the
  3067. corresponding symbols file in the build tree containing that
  3068. library. On the opposite, don't look up symbols files in debian/*
  3069. build directories for libraries found in installed packages (build
  3070. trees are scanned first and thus if they contain a needed library
  3071. dpkg-shlibdeps will find the library there and not in an installed
  3072. package).
  3073. * scripts/dpkg-shlibdeps.pl (my_find_library): When defining the
  3074. list of package build trees to scan, also consider those that
  3075. contain symbols files (instead of only considering those that have
  3076. a shlibs file).
  3077. * man/dpkg-shlibdeps.1: Document the change listed above.
  3078. * scripts/dpkg-shlibdeps.pl: Add a new -S<pkgbuilddir> option to
  3079. indicate a package build tree that should be scanned first when
  3080. trying to find a library.
  3081. * man/dpkg-shlibdeps.1: Document the new -S option.
  3082. * scripts/dpkg-shlibdeps.pl (add_shlibs_dep): Use the same logic
  3083. as find_symbols_files to find shlibs files. Check
  3084. debian/*/DEBIAN/shlibs only when the library has not been found in
  3085. an installed package, and give precedence to the shlibs provided
  3086. by the binary package where the library has been found. Replaces
  3087. the previous work-around that gave precedence to the package
  3088. that contained the binary.
  3089. * man/dpkg-shlibdeps.1: Document the above change in the shlibs
  3090. search order.
  3091. 2008-01-03 Guillem Jover <guillem@debian.org>
  3092. * scripts/dpkg-buildpackage.pl: Do not automatically enable '-j'
  3093. if DEB_BUILD_OPTIONS contains parallel=n, and allow overriding
  3094. its value from the environment.
  3095. * man/dpkg-buildpackage.1: Document new -j behaviour.
  3096. 2008-01-02 Guillem Jover <guillem@debian.org>
  3097. * utils/start-stop-daemon.c [!__GNUC__] (fatal, badusage): Remove
  3098. redundant function declarations.
  3099. 2008-01-02 Guillem Jover <guillem@debian.org>
  3100. * src/main.h (struct stat): New forward declaration.
  3101. 2008-01-02 Guillem Jover <guillem@debian.org>
  3102. * lib/dpkg.h (warningf): Add PRINTFFORMAT attribute.
  3103. (buffer_copy_setup_PtrInt): Likewise.
  3104. (buffer_copy_setup_PtrPtr): Likewise.
  3105. (buffer_copy_setup_IntPtr): Likewise.
  3106. (buffer_copy_setup_IntInt): Likewise.
  3107. (decompress_cat): Likewise.
  3108. (compress_cat): Likewise.
  3109. * lib/dpkg-db.h (log_message): Likewise.
  3110. 2008-01-02 Guillem Jover <guillem@debian.org>
  3111. * lib/dpkg.h (NONRETURNPRINTFFORMAT): Remove macro.
  3112. (ohshit): Use NONRETURNING and PRINTFFORMAT instead of
  3113. NONRETURNPRINTFFORMAT.
  3114. (ohshite): Likewise.
  3115. (badusage): Likewise.
  3116. * utils/start-stop-daemon.c (NONRETURNPRINTFFORMAT): Remove macro.
  3117. (fatal): Use NONRETURNING and PRINTFFORMAT instead of
  3118. NONRETURNPRINTFFORMAT.
  3119. 2008-01-01 Guillem Jover <guillem@debian.org>
  3120. * scripts/dpkg-buildpackage.pl: Use Dpkg::Compression. Use $comp_regex
  3121. to match compressed diffs and tarballs.
  3122. 2008-01-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
  3123. * utils/start-stop-daemon.c (do_stop): Do not print 'failed to kill'
  3124. warning when doing pid polling.
  3125. 2008-01-01 Guillem Jover <guillem@debian.org>
  3126. * src/archives.c (archivefiles): Remove pointless strdup for execvp
  3127. arguments.
  3128. 2008-01-01 Ian Zimmerman <itz@buug.org>
  3129. * scripts/install-info.pl: Ignore wrapped lines when matching
  3130. section titles.
  3131. 2008-01-01 John Zaitseff <J.Zaitseff@zap.org.au>
  3132. * dselect/baselist.cc (baselist::wordwrapinfo): Stop processing when
  3133. exceeding infopad line limit, and add a warning message.
  3134. 2008-01-01 Sven Rudolph <sr1@loom.sax.de>
  3135. * dselect/baselist.cc (baselist::startdisplay): Set helpscreen_attr
  3136. on monochrome terminals.
  3137. 2007-12-30 A. Costa <agcosta@gis.net>
  3138. * man/dpkg-gensymbols.1, man/dpkg-shlibdeps.1: Fix some typos.
  3139. * man/dpkg-source.1, man/deb-symbols.5: Likewise.
  3140. 2007-12-28 Raphaël Hertzog <hertzog@debian.org>
  3141. * scripts/Dpkg.pm: Add a warning to avoid adding unnecessary stuff
  3142. in that module.
  3143. 2007-12-27 Guillem Jover <guillem@debian.org>
  3144. * scripts/Dpkg.pm (%EXPORT_TAGS, @EXPORT_OK): Remove.
  3145. (@comp_supported, %comp_supported, %comp_ext, $comp_regex): Move
  3146. variables ...
  3147. * scripts/Dpkg/Compression.pm: ... here. New file.
  3148. * scripts/dpkg-genchanges.pl: Use new module Dpkg::Compression
  3149. instead of tag from Dpkg.
  3150. * scripts/dpkg-source.pl: Likewise
  3151. * scripts/Makefile.am (nobase_dist_perllib_DATA): Add
  3152. 'Dpkg/Compression.pm'.
  3153. 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
  3154. * scripts/Dpkg/Shlibs/SymbolFile.pm: Blacklist some armel specific
  3155. symbols (__exidx_end, __exidx_start).
  3156. 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
  3157. * Makefile.am: Add some missing files in EXTRA_DIST. And add a
  3158. dist-hook rule to check that all files contained in the git
  3159. repository (except .gitignore) are included in the dist tarball.
  3160. 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
  3161. * configure.ac: Bump version to 1.14.15~.
  3162. 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
  3163. * configure.ac: Release 1.14.14.
  3164. 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
  3165. * debian/control: Bump dpkg dependency to >= 1.14.13 in dpkg-dev
  3166. as dpkg-source needs the latest Dpkg.pm.
  3167. * debian/control: Add libio-string-perl to Build-Depends as it's
  3168. needed for a non-regression test (200_Dpkg_Shlibs.t).
  3169. * debian/control: Fix priority of dselect to match the priority
  3170. set by ftpmasters.
  3171. 2007-12-27 Guillem Jover <guillem@debian.org>
  3172. * configure.ac: Bump version to 1.14.14~.
  3173. 2007-12-27 Guillem Jover <guillem@debian.org>
  3174. * configure.ac: Release 1.14.13.
  3175. 2007-12-27 Flavio Stanchina <flavio@stanchina.net>
  3176. * scripts/dpkg-divert.pl (checkrename): Do not ignore ENOENT for
  3177. destination.
  3178. 2007-12-27 Daniel Leidert <daniel.leidert@wgdd.de>
  3179. Guillem Jover <guillem@debian.org>
  3180. * scripts/update-alternatives.pl: Refactor duplicate code into ...
  3181. (checked_alternative): ... here. New function.
  3182. (set_links): Call it.
  3183. 2007-12-27 Guillem Jover <guillem@debian.org>
  3184. * scripts/update-alternatives.pl (gl): Use defined instead of length.
  3185. 2007-12-27 Guillem Jover <guillem@debian.org>
  3186. * scripts/update-alternatives.pl (set_links): New function.
  3187. (config_alternatives): Use set_links instead of duped code.
  3188. (set_alternatives): Likewise.
  3189. 2007-12-27 Guillem Jover <guillem@debian.org>
  3190. * scripts/update-alternatives.pl: Refactor all code to use
  3191. checked_mv instead of duped code.
  3192. 2007-12-27 Guillem Jover <guillem@debian.org>
  3193. * scripts/update-alternatives.pl: Refactor all code to use
  3194. checked_symlink instead of duped code.
  3195. 2007-12-27 Guillem Jover <guillem@debian.org>
  3196. * scripts/update-alternatives.pl (checked_rm): New function. Refactor
  3197. all code to use it instead of duped code.
  3198. 2007-12-26 Raphaël Hertzog <hertzog@debian.org>
  3199. * scripts/dpkg-source.pl: Provide a sane default $origtargz in all
  3200. cases when such a file exists.
  3201. 2007-12-24 Guillem Jover <guillem@debian.org>
  3202. * man/Makefile.am (all-local): Rename to ...
  3203. (all-local-yes): ... this.
  3204. (clean-local): Rename to ...
  3205. (clean-local-yes): ... this.
  3206. (install-data-local): Rename to ...
  3207. (install-data-local-yes): ... this.
  3208. (uninstall-local): Rename to ...
  3209. (uninstall-local-yes): ... this.
  3210. (all-local, all-local-no, clean-local, clean-local-no): New targets.
  3211. (install-data-local, install-data-local-no): Likewise.
  3212. (uninstall-local, uninstall-local-no): Likewise.
  3213. 2007-12-20 Raphaël Hertzog <hertzog@debian.org>
  3214. * scripts/dpkg-shlibdeps.pl: Always consider the shlibs of the
  3215. current package before the shlibs of other binary packages when
  3216. looking for a dependency.
  3217. 2007-12-13 Raphaël Hertzog <hertzog@debian.org>
  3218. * scripts/t/500_Dpkg_Path.t, scripts/Makefile.am: Add new
  3219. non-regression tests for functions provided by the Dpkg::Path
  3220. module.
  3221. 2007-12-12 Guillem Jover <guillem@debian.org>
  3222. * scripts/dpkg-genchanges.pl: Fix typo (syserror() -> syserr()).
  3223. 2007-12-12 Guillem Jover <guillem@debian.org>
  3224. * scripts/dpkg-gencontrol.pl (spfileslistvalue): Use || to fallback to
  3225. a default value instead of using a temporary variable and checking if
  3226. it's not defined.
  3227. 2007-12-12 Guillem Jover <guillem@debian.org>
  3228. * scripts/dpkg-genchanges.pl: Use ||= instead of checking if the
  3229. variables are not defined.
  3230. * scripts/dpkg-gencontrol.pl: Likewise.
  3231. * scripts/update-alternatives.pl (fill_missing_slavepaths): Likewise.
  3232. 2007-12-11 Raphaël Hertzog <hertzog@debian.org>
  3233. * scripts/Dpkg/Deps.pm: Add a compare function that compares
  3234. dependencies more intelligently than a comparison on their
  3235. string representation. In particular we want >= and >> to sort
  3236. lower than << and <= so that intervals are nicely displayed
  3237. as "a (>= 1), a (<< 2)" instead of the ugly "a (<< 2), a (>= 1)".
  3238. 2007-12-10 Raphaël Hertzog <hertzog@debian.org>
  3239. * README.translators: Explain how to format Git commit messages.
  3240. 2007-12-10 Raphaël Hertzog <hertzog@debian.org>
  3241. * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_symbols): Do not update
  3242. the deprecated version of a symbol if it is already marked
  3243. deprecated.
  3244. 2007-12-09 Raphaël Hertzog <hertzog@debian.org>
  3245. * scripts/Dpkg/Shlibs/SymbolFile.pm: Parse and dump properly
  3246. new meta-information fields (on lines starting with an asterisk).
  3247. Bugfix with alternate dependency handling that were not properly
  3248. dumped. New functions get_dependencies() and get_field().
  3249. * scripts/t/200_Dpkg_Shlibs.t,
  3250. scripts/t/200_Dpkg_Shlibs/symbols.fake-2: Add a test case to
  3251. verify that meta-information fields and alternate dependencies are
  3252. properly parsed and dumped.
  3253. * scripts/dpkg-shlibdeps.pl: Take into account the new
  3254. Build-Depends-Package field in symbols files.
  3255. * man/deb-symbols.5: Describe syntax of meta-information fields and
  3256. document the Build-Depends-Package field.
  3257. * man/dpkg-shlibdeps.1: Describe how the Build-Depends-Package field
  3258. of symbols file is used.
  3259. 2007-12-09 Raphaël Hertzog <hertzog@debian.org>
  3260. * scripts/Dpkg/Shlibs/SymbolFile.pm (load): Pass the current
  3261. object as last parameter so that included files do not need to
  3262. repeat the header line.
  3263. * scripts/t/200_Dpkg_Shlibs/symbols.fake-1,
  3264. scripts/t/200_Dpkg_Shlibs/symbols.include-1: Adjust some tests
  3265. to also test inclusions with included files lacking a header line.
  3266. * man/dpkg-gensymbols.1: Remove the restriction that included files
  3267. must be valid symbol files on their own.
  3268. 2007-12-08 Raphaël Hertzog <hertzog@debian.org>
  3269. * scripts/dpkg-shlibdeps.pl: Doesn't warn any more about libm.so.6
  3270. being unused if the binary is also linked against libstdc++ since
  3271. g++ always add an implicit -lm.
  3272. 2007-12-08 Raphaël Hertzog <hertzog@debian.org>
  3273. * scripts/Dpkg/Shlibs.pm (find_library): When it finds a library
  3274. in a directory which is just a symlink to another directory that
  3275. is also considered, remember the other directory name as the
  3276. canonical one.
  3277. * scripts/Dpkg/Path.pm: Add new function canonpath() and
  3278. resolve_symlink().
  3279. 2007-12-05 Frank Lichtenheld <djpig@debian.org>
  3280. * scripts/dpkg-buildpackage.pl: Add new
  3281. -A option (passed to dpkg-genchanges).
  3282. * scripts/dpkg-genchanges.pl: Add new -A
  3283. option that will include only arch-indep
  3284. packages into the upload.
  3285. 2007-12-05 Frank Lichtenheld <djpig@debian.org>
  3286. Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
  3287. Bastian Blank <waldi@debian.org>
  3288. * scripts/dpkg-genchanges.pl: Support more
  3289. than one arch and more than one type of
  3290. a package in debian/files.
  3291. 2007-12-04 Frank Lichtenheld <djpig@debian.org>
  3292. * dpkg-deb/info.c (info_spew): Replace a
  3293. %ld with %lu to fix compiler warning.
  3294. * scripts/dpkg-genchanges.pl: Use comp_regex
  3295. from Dpkg to correctly exlucde the .orig.tar
  3296. even if it is not compressed with gzip.
  3297. * scripts/dpkg-source.pl: Move definition
  3298. of @comp_supported, %comp_supported, %comp_ext,
  3299. $comp_regex to...
  3300. * scripts/Dpkg.pm: ...here. Make them exportable
  3301. via the :compression tag.
  3302. * scripts/Dpkg/ErrorHandling.pm (usageerr):
  3303. Support format strings like all the other
  3304. error reporting functions.
  3305. * scripts/Makefile.am (EXTRA_DIST): Add
  3306. missing files from scripts/t/.
  3307. * debian/rules: Call dh_installchangelogs
  3308. and dh_installdocs for all packages instead
  3309. of only for dpkg.
  3310. * debian/dpkg-dev.docs: Symlink to dpkg.docs.
  3311. * debian/dselect.docs: Likewise.
  3312. * debian/dpkg-dev.preinst: Remove
  3313. /usr/share/doc/dpkg-dev symlink on upgrade.
  3314. * debian/dselect.preinst: Likewise.
  3315. 2007-11-29 Frank Lichtenheld <djpig@debian.org>
  3316. * scripts/controllib.pl (parsecdata): Fix
  3317. regex to determine the field name correctly
  3318. if the field's value starts with a colon.
  3319. 2007-11-29 Frank Lichtenheld <djpig@debian.org>
  3320. * man/deb-control.5: Move description of version format to...
  3321. * man/deb-version.5: Take the section from policy describing version
  3322. format and sorting since this is probably as good as it gets for
  3323. describing these.
  3324. 2007-11-29 Guillem Jover <guillem@debian.org>
  3325. * configure.ac: Bump version to 1.14.13~.
  3326. 2007-11-29 Guillem Jover <guillem@debian.org>
  3327. * configure.ac: Release 1.14.12.
  3328. 2007-11-29 Guillem Jover <guillem@debian.org>
  3329. * scripts/dpkg-scanpackages.pl: Use Dpkg::Version.
  3330. (vercmp): Use compare_versions instead of 'dpkg --compare-versions'.
  3331. 2007-11-29 Guillem Jover <guillem@debian.org>
  3332. * scripts/dpkg-scanpackages.pl: Use Dpkg::ErrorHandling. Use error
  3333. syserr and subprocerr instead of die and sprintf.
  3334. (load_override): Likewise.
  3335. 2007-11-29 Guillem Jover <guillem@debian.org>
  3336. * scripts/dpkg-gencontrol.pl: Unify parsing of Section and Priority
  3337. fields with Homepage.
  3338. (%spvalue, %spdefault): Remove unued variables.
  3339. (spfileslistvalue): Use %f instead of %spvalue.
  3340. 2007-11-29 Guillem Jover <guillem@debian.org>
  3341. * scripts/dpkg-gencontrol.pl (spfileslistvalue): Add prototype. Move
  3342. to the top of the file with the other functions.
  3343. 2007-11-29 Guillem Jover <guillem@debian.org>
  3344. * src/main.c (log_file): Move definition to ...
  3345. * lib/dpkg-db.h: ... here.
  3346. * src/configure.c (status_pipes): Remove extern definition.
  3347. * src/errors.c (status_pipes): Likewise.
  3348. * lib/tarfn.c (TarExtractor): Do not declare as extern.
  3349. 2007-11-29 Guillem Jover <guillem@debian.org>
  3350. * dpkg-deb/build.c (arbitrary_fields): Define as static.
  3351. * lib/dbmodify.c (fnis): Likewise.
  3352. * lib/fields.c (conffvalue_lastword): Likewise.
  3353. * lib/tarfn.c (StoC): Likewise.
  3354. * src/packages.c (breaks_check_target): Likewise.
  3355. * utils/start-stop-daemon.c (siglist): Likewise.
  3356. 2007-11-28 Raphaël Hertzog <hertzog@debian.org>
  3357. * scripts/dpkg-gensymbols.pl: The environment variable
  3358. DPKG_GENSYMBOLS_CHECK_LEVEL can override the level of checks made
  3359. by dpkg-gensymbols. This offers the possibility to unofficial
  3360. ports to ignore errors due to symbols files that do not correspond.
  3361. 2007-11-28 Raphaël Hertzog <hertzog@debian.org>
  3362. * scripts/dpkg-shlibdeps.pl: Harmonize a failure message.
  3363. * man/dpkg-shlibdeps.1: Provide explanations concerning the two
  3364. failures that dpkg-shlibdeps might generate. This is needed so
  3365. that maintainers have an idea of what to do to fix the problems.
  3366. 2007-11-28 Raphaël Hertzog <hertzog@debian.org>
  3367. * scripts/dpkg-shlibdeps.pl: Do not fail if it
  3368. can't find unversioned libraries, just output a warning.
  3369. Consequently skip the check on symbols when some libs were not
  3370. found because one can not be sure that the symbols was not
  3371. provided by the missing library.
  3372. 2007-11-28 Raphaël Hertzog <hertzog@debian.org>
  3373. * scripts/dpkg-shlibdeps.pl (find_packages): Make sure to always
  3374. return [''] for a miss in the 'dpkg -S' query.
  3375. * scripts/dpkg-shlibdeps.pl: Always try the realpath($lib) as
  3376. fallback to identify the package (even if it's not a symlink)
  3377. because due to broken RPATH we might get library filenames such as
  3378. "/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libssl.so.9.8"
  3379. which is not a symlink and which can still be simplified to
  3380. "/usr/lib/libssl.so.9.8" with realpath().
  3381. 2007-11-25 Raphaël Hertzog <hertzog@debian.org>
  3382. * scripts/Dpkg/Shlibs.pm (find_library): Canonicalize paths before
  3383. returning them as bad RPATH can lead to non-canonical paths
  3384. causing us troubles in dpkg-shlibdeps.
  3385. * scripts/dpkg-gensymbols.pl: Some formatting fixes.
  3386. * scripts/dpkg-shlibdeps.pl: Likewise.
  3387. 2007-11-24 Raphaël Hertzog <hertzog@debian.org>
  3388. * scripts/dpkg-gensymbols.pl: Add a new -I<file> option to force
  3389. the usage of a specific file as basis for the generated symbols
  3390. file.
  3391. * man/dpkg-gensymbols.1: Document the new -I<file> option.
  3392. 2007-11-24 Guillem Jover <guillem@debian.org>
  3393. * configure.ac: Bump version to 1.14.12~.
  3394. 2007-11-24 Guillem Jover <guillem@debian.org>
  3395. * configure.ac: Release 1.14.11.
  3396. 2007-11-24 Guillem Jover <guillem@debian.org>
  3397. * scripts/Makefile.am (clean-local): Run chmod only if t.tmp exists.
  3398. 2007-11-24 Guillem Jover <guillem@debian.org>
  3399. * scripts/dpkg-scanpackages.pl (%vercache): Declare with 'my' instead
  3400. of 'our'.
  3401. * scripts/dpkg-shlibdeps.pl ($host_arch): Likewise.
  3402. 2007-11-24 Guillem Jover <guillem@debian.org>
  3403. * scripts/Dpkg/Arch.pm (get_raw_host_arch): Do not shadow
  3404. $gcc_host_gnu_type with a local variable.
  3405. 2007-11-24 Guillem Jover <guillem@debian.org>
  3406. * scripts/dpkg-scanpackages.pl: Use parenthesis to force the
  3407. precedence when checking if the specified override file exists.
  3408. 2007-11-24 Guillem Jover <guillem@debian.org>
  3409. * scripts/dpkg-scanpackages.pl: Do not require controllib.pl anymore.
  3410. 2007-11-23 Aaron M. Ucko <ucko@debian.org>
  3411. * scripts/dpkg-shlibdeps.pl: Optimize "dpkg -S" lookups by caching
  3412. results.
  3413. 2007-11-23 Raphaël Hertzog <hertzog@debian.org>
  3414. * scripts/dpkg-shlibdeps.pl: Limit the number of warnings
  3415. displayed about symbols not found in libraries to 10 per binary.
  3416. 2007-11-23 Raphaël Hertzog <hertzog@debian.org>
  3417. * scripts/dpkg-shlibdeps.pl: Look for libs in the package's build
  3418. tree even if that package doesn't contain an shlibs file. Then
  3419. don't complain about missing dependency information if the lib is in
  3420. the same package than the binary. Also ignore it if the library is
  3421. not versioned and can't have an shlibs file.
  3422. * scripts/Dpkg/Path.pm (guess_pkg_root_dir)
  3423. (check_files_are_the_same): New helper functions.
  3424. 2007-11-23 Guillem Jover <guillem@debian.org>
  3425. * configure.ac: Bump version to 1.14.11~.
  3426. 2007-11-23 Guillem Jover <guillem@debian.org>
  3427. * configure.ac: Release 1.14.10.
  3428. 2007-11-23 Guillem Jover <guillem@debian.org>
  3429. * scripts/Dpkg/Arch.pm (get_build_arch): Rename to ...
  3430. (get_raw_build_arch): ... this.
  3431. (get_build_arch): New function.
  3432. (get_host_arch): Rename to ...
  3433. (get_raw_host_arch): ... this. Use get_raw_build_arch instead of
  3434. get_build_arch.
  3435. (get_host_arch): New function.
  3436. (@EXPORT_OK): Add get_raw_build_arch and get_raw_host_arch.
  3437. * scripts/dpkg-architecture.pl: Import get_raw_build_arch and
  3438. get_raw_host_arch instead of get_build_arch and get_host_arch.
  3439. Fix all callers.
  3440. 2007-11-23 Guillem Jover <guillem@debian.org>
  3441. * scripts/dpkg-architecture.pl (%env): Rename to ...
  3442. (%v): ... this.
  3443. ($deb_build_arch, $deb_build_arch_os, $deb_build_arch_cpu)
  3444. ($deb_build_gnu_cpu, deb_build_gnu_system, deb_build_gnu_type)
  3445. ($deb_host_arch, $deb_host_arch_os, $deb_host_arch_cpu)
  3446. ($deb_host_gnu_cpu, $deb_host_gnu_system, $deb_host_gnu_type): Use
  3447. the %v hash to store those variables using the values from @ordered
  3448. as keys.
  3449. ($abi): New variable.
  3450. 2007-11-23 Guillem Jover <guillem@debian.org>
  3451. * scripts/dpkg-gensymbols.pl (@librarypaths): Remove duplicated
  3452. declaration.
  3453. 2007-11-23 Guillem Jover <guillem@debian.org>
  3454. * scripts/Dpkg/Fields.pm (%fieldimps): Declare with 'my' instead
  3455. of 'our'.
  3456. 2007-11-22 Guillem Jover <guillem@debian.org>
  3457. * scripts/dpkg-name.sh (getname): Get the package extension from the
  3458. Package-Type field, or fallback to deb if not present.
  3459. * man/dpkg-name.1: Document that the Package-Type field is now
  3460. supported.
  3461. 2007-11-22 Raphaël Hertzog <hertzog@debian.org>
  3462. * scripts/dpkg-shlibdeps.pl: Add more debug messages. Accept empty
  3463. dependencies in shlibs files again. When symlinks to libraries are
  3464. not found by "dpkg -S", try the same on the realpath of the
  3465. library as fallback before deciding that it's a library being
  3466. built.
  3467. * scripts/Dpkg/Shlibs.pm: Always add paths from LD_LIBRARY_PATH
  3468. at the beginning of the list of path to search, even if they
  3469. are already listed (one might want to use LD_LIBRARY_PATH to
  3470. change the search order).
  3471. * scripts/dpkg-source.pl: Fix regex used to identify the extension
  3472. of the orig.tar.{gz,bz2,lzma} file.
  3473. 2007-11-21 Raphaël Hertzog <hertzog@debian.org>
  3474. * scripts/Dpkg/Shlibs/Objdump.pm (reset): Initialize HASH, GNU_HASH,
  3475. SONAME and flags.
  3476. (is_executable, is_public_library): Fix the checks.
  3477. * scripts/t/200_Dpkg_Shlibs.t: Add some more tests to make sure
  3478. the above functions behave as expected.
  3479. * scripts/t/400_Dpkg_Deps.t: Add some more tests to make sure that
  3480. empty dependency fields are correctly handled.
  3481. * scripts/t/200_Dpkg_Shlibs/objdump.dbd-pg: New file.
  3482. * scripts/t/200_Dpkg_Shlibs/objdump.ls: Likewise.
  3483. * scripts/Makefile.am (EXTRA_DIST): Include
  3484. 't/200_Dpkg_Shlibs/objdump.dbd-pg' and 't/200_Dpkg_Shlibs/objdump.ls'.
  3485. * scripts/controllib.pl (capit, set_field_importance)
  3486. (sort_by_field_importance): Move functions to ...
  3487. * scrips/Dpkg/Fields.pm: ... here. New file.
  3488. * scripts/dpkg-shlibdeps.pl: Use Dpkg::Fields for capit().
  3489. * scripts/dpkg-genchanges.pl: Use Dpkg::Fields for capit() and
  3490. set_field_importance().
  3491. * scripts/dpkg-gencontrol.pl: Likewise.
  3492. * scripts/dpkg-source.pl: Likewise.
  3493. 2007-11-20 Guillem Jover <guillem@debian.org>
  3494. * configure.ac: Bump version to 1.14.10~.
  3495. 2007-11-20 Guillem Jover <guillem@debian.org>
  3496. * configure.ac: Release 1.14.9.
  3497. 2007-11-19 Raphaël Hertzog <hertzog@debian.org>
  3498. * scripts/Dpkg/Path.pm: Fix behaviour of get_pkg_root_dir() when
  3499. there's no DEBIAN subdirectory in none of the parent directories.
  3500. * scripts/dpkg-shlibdeps.pl: Handle undef values returned by
  3501. get_pkg_root_dir() and complain when it's likely to create a
  3502. problem (when a RPATH contains $ORIGIN and when the value of
  3503. this variable can't be determined because we don't know what
  3504. is the root directory of the temporary tree).
  3505. * scripts/Dpkg/Deps.pm: Fix parse() to handle empty fields instead
  3506. of returning undef.
  3507. 2007-11-19 Guillem Jover <guillem@debian.org>
  3508. * configure.ac: Bump version to 1.14.9~.
  3509. 2007-11-19 Guillem Jover <guillem@debian.org>
  3510. * configure.ac: Release 1.14.8.
  3511. 2007-11-19 Guillem Jover <guillem@debian.org>
  3512. * man/dpkg-architecture.1: Remove unneeded formatting surrounding '-c'
  3513. in example command, as a side effect get rid of an undefined macro.
  3514. * man/dpkg-checkbuilddeps.1: Remove usage of .UR macro, which was
  3515. undefined anyway.
  3516. * man/dpkg-statoverride.8: Likewise.
  3517. * man/dpkg-query.1: Likewise. Remove .T macro cruft.
  3518. 2007-11-19 Guillem Jover <guillem@debian.org>
  3519. * scripts/dpkg-source.pl: Use %dep_field_type for the union option
  3520. to Dpkg::Deps::parse, and use capit() to normalize the field names,
  3521. instead of hardcoding them.
  3522. 2007-11-19 Guillem Jover <guillem@debian.org>
  3523. * pkg-deb/build.c (arbitrary_fields): Add Package-Type,
  3524. Subarchitecture, Kernel-Version and Installer-Menu-Item.
  3525. * scripts/dpkg-scanpackages.pl (@fieldpri): Likewise.
  3526. (%field_case): Add type argument.
  3527. (usage): Document --type argument, and mark --udeb as obsolete.
  3528. * man/dpkg-scanpackages.1: Likewise.
  3529. * scripts/dpkg-gencontrol.pl: Parse Package-Type, Subarchitecture,
  3530. Kernel-Version and Installer-Menu-Item from control file binary
  3531. stanza. Warn if udeb specific fields are used on non-udeb packages.
  3532. Add package with proper extension to the files list file.
  3533. (@control_fields): Add Package-Type, Subarchitecture, Kernel-Version
  3534. and Installer-Menu-Item.
  3535. ($package_type): New variable.
  3536. * scripts/dpkg-genchanges.pl: Ignore Package-Type, Subarchitecture,
  3537. Kernel-Version and Installer-Menu-Item fields.
  3538. * scripts/dpkg-source.pl: Likewise.
  3539. 2007-11-15 Guillem Jover <guillem@debian.org>
  3540. * scripts/Dpkg/Arch.pm (read_cputable): Force a sane input record
  3541. separator.
  3542. (read_ostable): Likewise.
  3543. (read_triplettable): Likewise.
  3544. 2007-11-04 Guillem Jover <guillem@debian.org>
  3545. * scripts/Makefile.am (clean): Set PERL5LIB to force use of shipped
  3546. modules instead of system ones.
  3547. 2007-11-04 Guillem Jover <guillem@debian.org>
  3548. * scripts/dpkg-architecture.pl: Move host and build arch detection
  3549. to ...
  3550. * scripts/Dpkg/Arch.pm (get_host_arch): ... here.
  3551. (get_build_arch, get_gcc_host_gnu_type): Likewise. New function.
  3552. 2007-11-04 Guillem Jover <guillem@debian.org>
  3553. * scripts/dpkg-architecture.pl: Wrap long strings for die calls
  3554. at less than 80 chars.
  3555. 2007-11-04 Guillem Jover <guillem@debian.org>
  3556. * scripts/Dpkg/Arch.pm (debarch_to_gnutriplet): New function.
  3557. (gnutriplet_to_debarch): Likewise.
  3558. * scripts/dpkg-architecture.pl: Use debarch_to_gnutriplet and
  3559. gnutriplet_to_debarch instead of nested calls to
  3560. debtriplet_to_gnutriplet and debarch_to_debtriplet,
  3561. debtriplet_to_debarch and gnutriplet_to_debtriplet.
  3562. 2007-11-04 Guillem Jover <guillem@debian.org>
  3563. * scripts/dpkg-architecture.pl: Move setting of host and build arch
  3564. variables after argument processing. Call list_arches from argument
  3565. processing loop. Move architecture listing to ...
  3566. (list_arches): ... here. New function.
  3567. 2007-11-04 Guillem Jover <guillem@debian.org>
  3568. * scripts/Dpkg/Arch.pm (get_valid_arches): Return an array instead of
  3569. printing the architectures.
  3570. 2007-10-29 Frank Lichtenheld <djpig@debian.org>
  3571. * man/dpkg-query.1: Replace ' with \(aq in example.
  3572. Reported by Daniel van Eeden <daniel_e -at- dds nl>
  3573. * man/dpkg-source.1: Replace ' with \(aq in synopsis.
  3574. 2007-10-18 Raphaël Hertzog <hertzog@debian.org>
  3575. * scripts/controllib.pl (parsedep, showdep): Remove unused functions.
  3576. (@pkg_dep_fields, @src_dep_fields): Move variables to ...
  3577. * scripts/Dpkg/Deps.pm: ... here. New file.
  3578. * scripts/t/400_Dpkg_Deps.t: New file.
  3579. * scripts/dpkg-checkbuilddeps.pl: Adapted to use the new
  3580. Dpkg::Deps module.
  3581. * scripts/dpkg-source.pl: Likewise.
  3582. * scripts/dpkg-scanpackages.pl: Likewise.
  3583. * scripts/dpkg-gencontrol.pl: Likewise. Also gains new features
  3584. such as automatic simplification of dependencies.
  3585. * man/dpkg-gencontrol.1: Document the new behaviour with
  3586. dependency fields.
  3587. 2007-10-18 Guillem Jover <guillem@debian.org>
  3588. * scripts/Dpkg/ErrorHandling.pm (report): New function.
  3589. (warning, warnerror, failure, syserr, error, internerr, unknown)
  3590. (usageerr): Use report instead of sprintf. Accept a format string
  3591. with variable number of arguments. Fix all callers.
  3592. (subprocerr): Use failure instead of die and sprintf. Accept a
  3593. format string with variable number of arguments. Fix all callers.
  3594. 2007-10-18 Guillem Jover <guillem@debian.org>
  3595. * scripts/dpkg-buildpackage.pl (mustsetvar): Pass $text to sprintf
  3596. instead of _g.
  3597. 2007-10-15 Raphaël Hertzog <hertzog@debian.org>
  3598. * scripts/Dpkg/Version.pm: Fix compare_versions to handle properly
  3599. the >= cases (it was improperly handled like >> due to a bad regexp).
  3600. * debian/rules: Include cputable ostable triplettable in
  3601. build-tree so that they are available during make check (Dpkg.pm
  3602. exports ".." as $pkgdatadir during tests).
  3603. * scripts/dpkg-shlibdeps.pl (my_find_library): Avoid unwanted
  3604. modification of @pkg_shlibs.
  3605. 2007-10-14 Raphaël Hertzog <hertzog@debian.org>
  3606. * scripts/Dpkg/Version.pm: Mark compare_versions as exportable.
  3607. 2007-10-13 Guillem Jover <guillem@debian.org>
  3608. * scripts/Dpkg/Shlibs.pm: Do not call textdomain.
  3609. * scripts/Dpkg/Shlibs/Objdump.pm: Likewise.
  3610. * scripts/Dpkg/Shlibs/SymbolFile.pm: Likewise.
  3611. 2007-10-13 Guillem Jover <guillem@debian.org>
  3612. * scripts/dpkg-gensymbols.pl: Use new Dpkg::Arch module.
  3613. ($host_arch): Initialize with get_host_arch instead of direct call to
  3614. 'dpkg-architecture'.
  3615. 2007-10-12 Raphaël Hertzog <hertzog@debian.org>
  3616. * scripts/dpkg-shlibdeps.pl: Use get_host_arch from Dpkg::Arch.
  3617. 2007-10-12 Guillem Jover <guillem@debian.org>
  3618. * scripts/controllib.pl ($host_arch, get_host_arch, get_valid_arches)
  3619. (@cpu, @os, %cputable, %ostable, %cputable_re, %ostable_re)
  3620. (%debtriplet_to_debarch, %debarch_to_debtriplet, read_cputable)
  3621. (read_ostable, read_triplettable, debtriplet_to_gnutriplet)
  3622. (gnutriplet_to_debtriplet, debtriplet_to_debarch)
  3623. (debarch_to_debtriplet, debwildcard_to_debtriplet)
  3624. (debarch_eq, debarch_is): Move to ...
  3625. * scripts/Dpkg/Arch.pm: ... here. New file.
  3626. * scripts/Makefile.am (nobase_dist_perllib_DATA): Add 'Dpkg/Arch.pm'.
  3627. * scripts/po/POTFILES.in: Add 'scripts/Dpkg/Arch.pm'.
  3628. * scripts/controllib.pl: Use new Dpkg::Arch module.
  3629. * scripts/dpkg-architecture.pl: Likewise.
  3630. * scripts/dpkg-checkbuilddeps.pl: Likewise.
  3631. * scripts/dpkg-genchanges.pl: Likewise.
  3632. * scripts/dpkg-gencontrol.pl: Likewise.
  3633. * scripts/dpkg-source.pl: Likewise.
  3634. * scripts/dpkg-architecture.pl: Do not require controllib.pl anymore.
  3635. 2007-10-12 Frank Lichtenheld <djpig@debian.org>
  3636. * scripts/t/300_Dpkg_BuildOptions.t: New file.
  3637. Leads to the following fixes:
  3638. * scripts/Dpkg/BuildOptions.pm (parse): Add
  3639. support for nocheck and make it actually work.
  3640. (set): Really set DEB_BUILD_OPTIONS. Discovered
  3641. by Daniel Shepler.
  3642. 2007-10-12 Frank Lichtenheld <djpig@debian.org>
  3643. * man/dpkg.1 (AUTHORS): Remove some unnecessary markup.
  3644. Allows reuse of one more msgid.
  3645. * man/Makefile.am (update-po): New target to easily
  3646. update the .pot and .po files. Uses po4a --force.
  3647. 2007-10-11 Guillem Jover <guillem@debian.org>
  3648. * scripts/controllib.pl ($warnable_error, $quiet_warnings): Remove
  3649. variable declarations.
  3650. (failure, syserr, error, internerr, warning, warnerror)
  3651. (subprocerr): Remove functions.
  3652. (unknown, usageerr): Move functions to ...
  3653. * scripts/Dpkg/ErrorHandling.pm: ... here.
  3654. (usageerr): Call usage from main::.
  3655. (@EXPORT_OK): Add usageerr and unknown.
  3656. * scripts/822-date.pl: Use Dpkg::ErrorHandling.
  3657. * scripts/changelog/debian.pl: Likewise.
  3658. * scripts/controllib.pl: Likewise.
  3659. * scripts/dpkg-architecture.pl: Likewise.
  3660. * scripts/dpkg-buildpackage.pl: Likewise.
  3661. * scripts/dpkg-checkbuilddeps.pl: Likewise.
  3662. * scripts/dpkg-distaddfile.pl: Likewise.
  3663. * scripts/dpkg-genchanges.pl: Likewise.
  3664. * scripts/dpkg-gencontrol.pl: Likewise.
  3665. * scripts/dpkg-gensymbols.pl: Likewise.
  3666. * scripts/dpkg-parsechangelog.pl: Likewise.
  3667. * scripts/dpkg-shlibdeps.pl: Likewise.
  3668. * scripts/dpkg-source.pl: Likewise.
  3669. * scripts/dpkg-buildpackage.pl ($warnable_error): Import from
  3670. Dpkg::ErrorHandling instead of declaring as our.
  3671. * scripts/dpkg-source.pl ($warnable_error, $quiet_warnings): Likewise.
  3672. * scripts/822-date.pl: Do not require controllib.pl anymore.
  3673. * scripts/dpkg-parsechangelog.pl: Likewise.
  3674. * scripts/dpkg-shlibdeps.pl: Likewise.
  3675. 2007-10-10 Guillem Jover <guillem@debian.org>
  3676. * scripts/Dpkg/ErrorHandling.pm: Use Dpkg.
  3677. ($progname): Do not set nor declare it.
  3678. 2007-10-10 Guillem Jover <guillem@debian.org>
  3679. * scripts/Dpkg/ErrorHandling.pm ($warnable_error): Set to 1 to match
  3680. controllib.pl.
  3681. 2007-10-10 Guillem Jover <guillem@debian.org>
  3682. * m4/arch.m4(_DPKG_ARCHITECTURE): Set PERL5LIB when calling
  3683. dpkg-architecture.pl to use the shipped perl modules instead of
  3684. the system ones.
  3685. 2007-10-09 Guillem Jover <guillem@debian.org>
  3686. * scripts/dpkg-gensymbols.pl: Use new Dpkg module. Do not declare
  3687. nor initialize $version, $dpkglibdir and $progname anymore.
  3688. 2007-10-09 Frank Lichtenheld <djpig@debian.org>
  3689. * scripts/dpkg-source.pl (usage): -W is the default
  3690. for quite some time already. Adapt the description of
  3691. -W and -E.
  3692. * scripts/dpkg-buildpackage.pl (usage): Likewise.
  3693. * man/dpkg-source.1: Likewise.
  3694. * man/dpkg-buildpackage.1: Likewise.
  3695. * scripts/dpkg-buildpackage.pl: Add -z/-Z to
  3696. passthrough opts (will be passed to dpkg-source).
  3697. * man/dpkg-buildpackage.1: Document all options only passed to
  3698. dpkg-source. -s[nsAkurKUR], -z, and -Z were missing.
  3699. * scripts/dpkg-source.pl: Support a subset of
  3700. wig&pen (aka Format: 2.0) on build:
  3701. Use .orig.tar.(bz2|lzma) if they are available
  3702. and no .gz can be found. Also let the user specify
  3703. via -Z(gzip|bzip2|lzma) how files that need to be
  3704. generated should be compressed. -z([1-9]|best|fast)
  3705. can be used to specify the compression level
  3706. to use.
  3707. * man/dpkg-source.1: Change the rest of the man page to not contain
  3708. any hardcoded .gz references. Document -Z and -z.
  3709. 2007-10-08 Raphaël Hertzog <hertzog@debian.org>
  3710. Frank Lichtenheld <djpig@debian.org>
  3711. Merge dpkg-shlibdeps-buxy branch.
  3712. * scripts/Dpkg/ErrorHandling.pm: New file.
  3713. * scripts/Dpkg/Gettext.pm: Likewise.
  3714. * scripts/Dpkg/Path.pm: Likewise.
  3715. * scripts/Dpkg/Shlibs.pm: Likewise.
  3716. * scripts/Dpkg/Shlibs/Objdump.pm: Likewise.
  3717. * scripts/Dpkh/Shlibs/SymbolFile.pm: Likewise.
  3718. * scripts/Dpkg/Version.pm: Likewise.
  3719. * scripts/dpkg-shlibdeps.pl: Add support for "symbols" files.
  3720. * man/dpkg-shlibdeps.1: Document "symbols" files support.
  3721. * scripts/dpkg-gensymbols.pl: New file.
  3722. * man/dpkg-gensymbols.1: Likewise.
  3723. * scripts/t/000_pod.t: New file.
  3724. * scripts/t/100_Dpkg_Version.t: Likewise.
  3725. * scripts/t/200_Dpkg_Shlibs.t: Likewise.
  3726. * scripts/t/200_Dpkg_Shlibs/ld.so.conf: Likewise.
  3727. * scripts/t/200_Dpkg_Shlibs/ld.so.conf_2: Likewise.
  3728. * scripts/t/200_Dpkg_Shlibs/ld.so.conf.d/inf_recurse.conf: Likewise.
  3729. * scripts/t/200_Dpkg_Shlibs/ld.so.conf.d/normal.conf: Likewise.
  3730. * scripts/t/200_Dpkg_Shlibs/ld.so.conf.d/recursive.conf: Likewise.
  3731. * scripts/t/200_Dpkg_Shlibs/objdump.glib-ia64: Likewise.
  3732. * scripts/t/200_Dpkg_Shlibs/objdump.libc6-2.3: Likewise.
  3733. * scripts/t/200_Dpkg_Shlibs/objdump.libc6-2.6: Likewise.
  3734. * scripts/t/200_Dpkg_Shlibs/symbols.fake-1: Likewise.
  3735. * scripts/t/200_Dpkg_Shlibs/symbols.fake-2: Likewise.
  3736. * scripts/t/200_Dpkg_Shlibs/symbols.include-1: Likewise.
  3737. * scripts/t/200_Dpkg_Shlibs/symbols.include-2: Likewise.
  3738. 2007-10-08 Guillem Jover <guillem@debian.org>
  3739. * configure.ac: Bump version to 1.14.8~.
  3740. 2007-10-08 Guillem Jover <guillem@debian.org>
  3741. * configure.ac: Release 1.14.7.
  3742. 2007-10-08 Guillem Jover <guillem@debian.org>
  3743. * scripts/dpkg-source.pl: Do not replace substvars for build
  3744. dependencies.
  3745. 2007-10-08 Guillem Jover <guillem@debian.org>
  3746. * man/deb-control.5: Document Origin and Bugs fields.
  3747. 2007-10-08 Guillem Jover <guillem@debian.org>
  3748. * scripts/dpkg-gencontrol.pl: Refer to host architecture (instead of
  3749. build) in error string, and quote architecture name.
  3750. 2007-10-08 Frank Lichtenheld <djpig@debian.org>,
  3751. Guillem Jover <guillem@debian.org>
  3752. * scripts/controllib.pl (debarch_is): Check if $alias is equal to
  3753. $real or 'any' before mapping them to debtriplets.
  3754. (debarch_to_debtriplet): Do not special case 'any' nor 'all'.
  3755. (debarch_eq): Check if $a and $b are equal before mapping them to
  3756. debtriplets.
  3757. 2007-10-07 Guillem Jover <guillem@debian.org>
  3758. * scripts/dpkg-buildpackage.pl: Warn if run as root and $rootcommand
  3759. has been specified. Error if run as non-root and $rootcommand is not
  3760. found.
  3761. 2007-10-07 Guillem Jover <guillem@debian.org>
  3762. * scripts/dpkg-buildpackage.pl (usage): Remove details about running
  3763. fakeroot only if it's available.
  3764. * man/dpkg-buildpackage.1: Document that fakeroot is now the default
  3765. value in case -r is not specified.
  3766. 2007-10-07 Frank Lichtenheld <djpig@debian.org>
  3767. Marcel Toele <mtoele@kern.nl>
  3768. * scripts/dpkg-source.pl (handleformat): Include
  3769. a trailing HT character in the diff labels if
  3770. the filename contains spaces. Apparently this is
  3771. standard but undocumented diff behaviour.
  3772. 2007-09-30 Frank Lichtenheld <djpig@debian.org>
  3773. * man/deb-control.5: Remove obsolete sentence regarding the role of
  3774. the Priority and Section field. They have nothing to do with the
  3775. archive layout since woody.
  3776. * man/dpkg-source.1: Remove superfluous [options] from -b command
  3777. description.
  3778. 2007-09-29 Frank Lichtenheld <djpig@debian.org>
  3779. * scripts/dpkg-buildpackage.pl: Call checkversion()
  3780. on version extracted from changelog. Since other
  3781. program we call later will do the same there is
  3782. really no reason not to fail early.
  3783. * scripts/dpkg-buildpackage.pl (testcommand):
  3784. Make the check more sensible. Instead of testing
  3785. /usr/bin/$cmd, test `which $cmd`.
  3786. * scripts/dpkg-buildpackage.pl (signfile): Call
  3787. gpg with --utf8-strings since otherwise the key
  3788. lookup fails with non-ASCII UTF8-encoded names.
  3789. Since Debian changelogs should be UTF8 encoded,
  3790. this is probably the more sane default. This
  3791. will probably break if one uses a non-UTF8 locale
  3792. and tries to give a uid on the commandline that
  3793. contains non-ASCII chars. I think we can live with
  3794. that.
  3795. 2007-09-28 Frank Lichtenheld <djpig@debian.org>
  3796. * scripts/dpkg-buildpackage.pl (withecho): Remove
  3797. empty strings at the begin of the command array.
  3798. These can be caused by e.g. an empty $rootcommand.
  3799. It is easiest to filter them out here.
  3800. 2007-09-24 Guillem Jover <guillem@debian.org>
  3801. * scripts/dpkg-buildpackage.pl (signfile): Do not use absolute path
  3802. for 'rm'.
  3803. 2007-09-24 Guillem Jover <guillem@debian.org>
  3804. * scripts/dpkg-buildpackage.pl (usage): Fix typo
  3805. s/dpkg-genchangs/dpkg-genchanges/.
  3806. 2007-09-24 Guillem Jover <guillem@debian.org>
  3807. * scripts/dpkg-buildpackage.pl ($warnable_errors): Rename to ...
  3808. ($warnable_error): ... this, and declare as 'our'.
  3809. 2007-09-24 Frank Lichtenheld <djpig@debian.org>
  3810. * man/dpkg-source.1: Rework documentation of -i and -I options to
  3811. give clearer explanations and explain the differences between the
  3812. two in syntax and semantics.
  3813. 2007-09-24 Jari Aalto <jari.aalto@cante.net>
  3814. Frank Lichtenheld <djpig@debian.org>
  3815. * scripts/dpkg-source.pl: Allow use of -I
  3816. without filename pattern and load a list
  3817. of default patterns which is in effect as
  3818. similar as possible to the default regexp
  3819. of -i.
  3820. * man/dpkg-source.1: Document new behaviour of -I option.
  3821. 2007-09-23 Frank Lichtenheld <djpig@debian.org>
  3822. * scripts/dpkg-buildpackage.pl: Add new option
  3823. -j[<number>] that works like the make option of
  3824. the same name. It will be passed to debian/rules in
  3825. the MAKEFLAGS environment variable. Also the
  3826. parallel=<n> DEB_BUILD_OPTIONS option will be honored
  3827. and set correctly. The finally used value is determined by the
  3828. following order: -j > DEB_BUILD_OPTIONS > MAKEFLAGS.
  3829. Based on an idea by Robert Millan <rmh@aybabtu.com>.
  3830. * scripts/Dpkg/BuildOptions.pm: Added. Support code
  3831. for DEB_BUILD_OPTIONS handling by dpkg-buildpackage.
  3832. * scripts/Makefile.am: Adapt.
  3833. * man/dpkg-buildpackage.1: Document the new -j option.
  3834. 2007-09-23 Jari Aalto <jari.aalto@cante.net>
  3835. * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add
  3836. _MTN for monotone.
  3837. 2007-09-20 Frank Lichtenheld <djpig@debian.org>
  3838. * scripts/dpkg-sources.pl (version): Don't use
  3839. printf if we don't need it, use print instead.
  3840. * scripts/dpkg-buildpackage.sh (usage): Fix typo
  3841. s/dpkg-genchangs/dpkg-genchanges/
  3842. * scripts/Dpkg.pm: Make the regex for determining
  3843. $progname more robust.
  3844. * scripts/dpkg-buildpackage.sh: Move to...
  3845. * scripts/dpkg-buildpackage.pl: Convert from
  3846. Shell to Perl.
  3847. * scripts/Makefile.am: Adapt to move.
  3848. * scripts/po/POTFILES.in: Add dpkg-buildpackage.pl.
  3849. 2007-09-18 Guillem Jover <guillem@debian.org>
  3850. * lib/mlib.c (checksubprocerr): Warn instead of erroring out in case
  3851. of receiving a signal and having been asked to only warn.
  3852. 2007-09-18 Guillem Jover <guillem@debian.org>
  3853. * src/remove.c (deferred_remove): Remove duplicate nested conditional,
  3854. and move its contents to the outer one.
  3855. 2007-09-14 Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
  3856. * src/remove.c (deferred_remove): Store the previous package status
  3857. when calling '<prerm> remove' and pass it to push_cleanup.
  3858. * src/cleanup.c (cu_prermremove): Restore previous stored status if
  3859. the '<postinst> abort-remove' call succeeds.
  3860. 2007-09-08 Guillem Jover <guillem@debian.org>
  3861. * man/dpkg-scanpackages.1: Document that gzipped files are also used
  3862. by apt.
  3863. 2007-09-08 A. Costa <agcosta@gis.net>
  3864. * man/dpkg-deb.1: Fix typo ('seperated' -> 'separated').
  3865. * man/start-stop-daemon.8: Fix typo ('themself' -> 'themselves').
  3866. 2007-09-08 Guillem Jover <guillem@debian.org>
  3867. * scripts/dpkg-buildpackage.sh: Use fakeroot, if present, as default
  3868. value for the '-r' option.
  3869. 2007-09-06 Guillem Jover <guillem@debian.org>
  3870. * scripts/dpkg-genchanges.pl: Stop recognizing the obsolete Optional
  3871. field.
  3872. * scripts/dpkg-gencontrol.pl: Likewise.
  3873. * scripts/dpkg-source.pl: Likewise.
  3874. 2007-09-06 Guillem Jover <guillem@debian.org>
  3875. * scripts/dpkg-name.sh: Avoid escaped quotes messing with syntax
  3876. highlighting by using $() instead of backticks.
  3877. * scripts/dpkg-buildpackage.sh: Likewise.
  3878. 2007-09-06 Guillem Jover <guillem@debian.org>
  3879. * scripts/dpkg-genchanges.pl ($host_arch): Do not declare as 'our'.
  3880. * scripts/dpkg-gencontrol.pl ($host_arch): Likewise.
  3881. 2007-09-06 Guillem Jover <guillem@debian.org>
  3882. * scripts/dpkg-genchanges.pl (%fieldimps): Remove unused variable.
  3883. * scripts/dpkg-gencontrol.pl (%fieldimps): Likewise.
  3884. * scripts/dpkg-source.pl (%fieldimps): Likewise.
  3885. * scripts/controllib.pl (%fieldimps): Switch from 'our' to 'my'.
  3886. 2007-09-06 Guillem Jover <guillem@debian.org>
  3887. * man/dpkg-scanpackages.1: Replace gzip with bzip2 as the requirement
  3888. for compressed Packages files for apt.
  3889. 2007-09-06 Guillem Jover <guillem@debian.org>
  3890. * scripts/822-date.pl: Add $dpkglib into @INC, needed by the
  3891. controllib.pl require.
  3892. 2007-09-06 Guillem Jover <guillem@debian.org>
  3893. * configure.ac: Bump version to 1.14.7~.
  3894. 2007-09-05 Guillem Jover <guillem@debian.org>
  3895. * configure.ac: Release 1.14.6.
  3896. 2007-09-05 Guillem Jover <guillem@debian.org>
  3897. * scripts/dpkg-gencontrol.pl: Properly override Homepage field from
  3898. binary package stanzas.
  3899. 2007-08-31 Guillem Jover <guillem@debian.org>
  3900. * dpkg-deb/build.c (arbitrary_fields): Add Tag.
  3901. * scripts/dpkg-genchanges.pl: Ignore Tag field.
  3902. * scripts/dpkg-gencontrol.pl: Parse Tag from binary package stanza.
  3903. (@control_fields): Add Tag.
  3904. * scripts/dpkg-scanpackages.pl (@fieldpri): Add Tag.
  3905. * scripts/dpkg-source.pl: Ignore Tag field from binary package stanza.
  3906. * man/deb-control.5: Document Tag field.
  3907. * man/dpkg-query.1: Document Tag as a recognized field.
  3908. 2007-08-31 Guillem Jover <guillem@debian.org>
  3909. * scripts/dpkg-genchanges.pl: Ignore Vcs-Browser, Vcs-Arch, Vcs-Bzr,
  3910. Vcs-Cvs, Vcs-Darcs, Vcs-Git, Vcs-Hg, Vcs-Mtn and Vcs-Svn fields
  3911. from control file source stanza.
  3912. * scripts/dpkg-gencontrol.pl: Likewise.
  3913. * scripts/dpkg-source.pl: Parse them instead.
  3914. (@dsc_fields): Add them here.
  3915. 2007-08-31 Guillem Jover <guillem@debian.org>
  3916. * scripts/dpkg-genchanges.pl: Do not leave unknown fields unwarned
  3917. and explicitly ignore all known ones from control file source
  3918. package stanza.
  3919. 2007-08-30 Guillem Jover <guillem@debian.org>
  3920. * scripts/dpkg-genchanges.pl: Ignore XB- fields instead of XC- fields
  3921. from control file binary package stanzas.
  3922. 2007-08-28 Guillem Jover <guillem@debian.org>
  3923. * scripts/update-alternatives.pl: Fix regression introduced on commit
  3924. from 2007-08-08, which was producing a warning due to usage of
  3925. uninitialized variables.
  3926. 2007-08-28 Guillem Jover <guillem@debian.org>
  3927. * scripts/dpkg-gencontrol.pl: Add comments about the second pass
  3928. parsing for dependency fields. Remove handling of uninteresting fields
  3929. in the second pass parsing.
  3930. 2007-08-24 Guillem Jover <guillem@debian.org>
  3931. * scripts/dpkg-gencontrol.pl: Allow a package stanza to override the
  3932. Homepage field from the source stanza.
  3933. 2007-08-20 Guillem Jover <guillem@debian.org>
  3934. * dpkg-deb/build.c (arbitrary_fields): New variable.
  3935. (known_arbitrary_field): New function.
  3936. (do_build): Call known_arbitrary_field to not warn on known arbitrary
  3937. fields.
  3938. * scripts/dpkg-genchanges.pl: Ignore Homepage field.
  3939. * scripts/dpkg-gencontrol.pl: Parse Homepage from source package
  3940. stanza.
  3941. (@control_fields): Add Homepage.
  3942. * scripts/dpkg-scanpackages.pl (@fieldpri): Add Homepage.
  3943. * scripts/dpkg-source.pl: Parse Homepage from source package stanza.
  3944. (@dsc_fields): Add Homepage.
  3945. * man/deb-control.5: Document Homepage field.
  3946. * man/dpkg-query.1: Document Homepage as a recognized field.
  3947. 2007-08-18 Guillem Jover <guillem@debian.org>
  3948. * scripts/dpkg-divert.pl (infol): Check if parameters are defined
  3949. before using them. Use defined instead of length to check for undef
  3950. variables.
  3951. 2007-08-14 Guillem Jover <guillem@debian.org>
  3952. * lib/parsehelp.c (parseerr): Switch from ternary operator to compose
  3953. a string to a conditional call to the function with two different
  3954. strings, making life easier for translators.
  3955. * src/archives.c (tarobject): Likewise.
  3956. * src/query.c (searchoutput): Switch from a loop with two iterations
  3957. and ternary operators to compose strings to a conditional with two
  3958. sequential calls with different strings, making life easier for
  3959. translators.
  3960. 2007-08-14 Guillem Jover <guillem@debian.org>
  3961. * dpkg-split/main.c (rerr): Adjust string so that it gets merged by
  3962. gettext with a similar one.
  3963. 2007-08-14 Guillem Jover <guillem@debian.org>
  3964. * src/archives.c (linktosameexistingdir): Mark strings for translation.
  3965. 2007-08-11 Ian Jackson <iwj@ubuntu.com>
  3966. * src/archives.c (linktosameexistingdir): New function.
  3967. (tarobject): Call linktosameexistingdir if the tarball and the on-disk
  3968. files are symlinks and ignore the symlink if it returns true.
  3969. 2007-08-08 Ian Jackson <iwj@ubuntu.com>
  3970. * scripts/update-alternatives.pl: In the case where the slave is
  3971. inapplicable do not attempt to create the slave link before
  3972. removing it again.
  3973. 2007-08-08 Guillem Jover <guillem@debian.org>
  3974. * src/configure.c (deferred_configure): Do not print a new line
  3975. if maintainer_script_installed returned true.
  3976. 2007-08-08 Guillem Jover <guillem@debian.org>
  3977. * dpkg-deb/build.c (do_build): Use NULL instead of '(char *)0'.
  3978. * dpkg-deb/extract.c (movecontrolfiles, extracthalf): Likewise.
  3979. * dpkg-deb/info.c (cu_info_prepare, info_prepare): Likewise.
  3980. * src/cleanup.c (cu_prermupgrade, cu_prermdeconfigure)
  3981. (cu_prerminfavour, cu_preinstverynew, cu_preinstnew)
  3982. (cu_preinstupgrade, cu_postrmupgrade, cu_prermremove): Likewise.
  3983. * src/configure.c (deferred_configure, suspend): Likewise.
  3984. * src/help.c (maintainer_script_alternative)
  3985. (ensure_pathname_nonexisting): Likewise.
  3986. * src/processarc.c (process_archive): Likewise.
  3987. * src/remove.c (deferred_remove, removal_bulk_remove_files)
  3988. (removal_bulk_remove_configfiles): Likewise.
  3989. 2007-08-08 Guillem Jover <guillem@debian.org>
  3990. * src/cleanup.c (cu_prermdeconfigure): Split call to
  3991. maintainer_script_installed depending on the conflictor variable.
  3992. * src/packages.c (dependencies_ok): Remove comment stating that
  3993. Breaks needs to be implemented.
  3994. * src/depcon.c (depisok): Likewise. Remove return at the beginning
  3995. of the function checking for a Breaks dependency, that was
  3996. efectively making it a no-op in that case.
  3997. * src/processarc.c (process_archive): Fix indentation. Split calls
  3998. in deconfigure code to printf and maintainer_script_installed
  3999. depending on the removing variable.
  4000. 2007-08-07 Guillem Jover <guillem@debian.org>
  4001. * src/query.c (listpackages): Instead of allocating an additional
  4002. packages array with room for the current amount of packages,
  4003. sort the existing one, and print the packages matching the pattern,
  4004. which fixes segfaults when the resulting array was bigger than the
  4005. current amount of packages.
  4006. (showpackages): For each package show it only once it matches any
  4007. of the patterns, so we avoid duplicated results.
  4008. 2007-08-07 Ian Jackson <iwj@ubuntu.com>
  4009. * man/deb-control.5: Document Breaks field.
  4010. * man/dpkg-query.1: Document Breaks as a recognized field.
  4011. * man/dpkg.1: Add description of '--force-breaks'.
  4012. * scripts/controllib.pl (@pkg_dep_fields): Add 'Breaks'.
  4013. * scripts/dpkg-genchanges.pl: Ignore Breaks field.
  4014. * scripts/dpkg-source.pl: Likewise.
  4015. * src/archives.c (try_remove_can): Rename to ...
  4016. (try_deconfigure_can): ... this. Generalize dependency force check
  4017. by taking a function as argument. Store the possible package removal
  4018. which caused the deconfiguration in the xinfo member of the package
  4019. to be deconfigured.
  4020. (try_remove_can): New function.
  4021. (check_breaks): Likewise.
  4022. * src/archives.h (check_breaks): New prototype.
  4023. * src/cleanup.c (cu_prermdeconfigure): Handle case when argv[1]
  4024. might be 0, if deconfigure was due to Breaks.
  4025. * src/configure.c (deferred_configure): Call breakses_ok.
  4026. * src/depcon.c (depisok): Add Breaks support.
  4027. * src/help.c (force_breaks): New function.
  4028. * src/main.c (fc_breaks): New variable.
  4029. (forceinfo): Add 'breaks' as a supported option for '--force-...'.
  4030. * src/main.h (struct perpackagestate): Add xinfo member.
  4031. (fc_breaks): New variable definition.
  4032. (breakses_ok): New prototype.
  4033. (force_depends): Likewise.
  4034. * src/packages.c (breaks_check_one): New function.
  4035. (breaks_check_target): Likewise.
  4036. (breakses_ok): Likewise.
  4037. * src/processarc.c (process_archive): Check for Breaks dependencies,
  4038. instead of bailing out if field found. Distinguish between deconfigure
  4039. due to a removal due to Conflicts or Depends, and deconfigure due to
  4040. an installation due to Breaks. Run the deconfiguration of each
  4041. package to be deconfigured once, instead of once per each conflicting
  4042. package being removed.
  4043. 2007-07-31 Ian Jackson <iwj@ubuntu.com>
  4044. * src/archives.c (quote_filename): Change formatting to match the
  4045. rest of the file (tab -> 2 spaces).
  4046. 2007-07-25 Guillem Jover <guillem@debian.org>
  4047. * scripts/changelog/debian.pl: Switch from 'dpkg-gettext.pl' to
  4048. Dpkg::Gettext.
  4049. 2007-07-22 Guillem Jover <guillem@debian.org>
  4050. * scripts/dpkg-gettext.pl: Move ...
  4051. * scripts/Dpkg/Gettext.pm: ... here. Add a package statement.
  4052. Fix all users.
  4053. * scripts/Makefile.am (dist_pkglib_SCRIPTS): Remove 'dpkg-gettext.pl'.
  4054. (nobase_dist_perllib_DATA): Add 'Dpkg/Gettext.pm'.
  4055. * scripts/822-date.pl: Do not push $dpkglibdir into @INC anymore.
  4056. * scripts/cleanup-info.pl: Likewise.
  4057. * scripts/controllib.pl: Likewise.
  4058. * scripts/dpkg-divert.pl: Likewise.
  4059. * scripts/dpkg-scansources.pl: Likewise.
  4060. * scripts/dpkg-statoverride.pl: Likewise.
  4061. * scripts/install-info.pl: Likewise.
  4062. * scripts/update-alternatives.pl: Likewise.
  4063. 2007-07-22 Guillem Jover <guillem@debian.org>
  4064. * scripts/cleanup-info.pl: Use new Dpkg module, and remove variable
  4065. declarations already present in the module.
  4066. * scripts/controllib.pl: Likewise.
  4067. * scripts/dpkg-architecture.pl: Likewise.
  4068. * scripts/dpkg-checkbuilddeps.pl: Likewise.
  4069. * scripts/dpkg-distaddfile.pl: Likewise.
  4070. * scripts/dpkg-divert.pl: Likewise.
  4071. * scripts/dpkg-genchanges.pl: Likewise.
  4072. * scripts/dpkg-gencontrol.pl: Likewise.
  4073. * scripts/dpkg-parsechangelog.pl: Likewise.
  4074. * scripts/dpkg-scanpackages.pl: Likewise.
  4075. * scripts/dpkg-scansources.pl: Likewise.
  4076. * scripts/dpkg-shlibdeps.pl: Likewise.
  4077. * scripts/dpkg-source.pl: Likewise.
  4078. * scripts/dpkg-statoverride.pl: Likewise.
  4079. * scripts/install-info.pl: Likewise.
  4080. * scripts/update-alternatives.pl: Likewise.
  4081. * scripts/822-date.pl: Likewise.
  4082. * changelog/debian.pl: Likewise.
  4083. * scripts/controllib.pl (init_substvars): Remove comment about
  4084. $version needing to be a global variable set elsewhere.
  4085. * scripts/dpkg-scanpackages.pl: Remove $0 mangling.
  4086. (version, usage): Use $progname instead of $0.
  4087. * scripts/dpkg-statoverride.pl: Likewise.
  4088. * scripts/install-info.pl: Likewise.
  4089. * scripts/dpkg-divert.pl: Likewise.
  4090. (quit, badusage): Use $progname instead of $0.
  4091. * scripts/update-alternatives.pl: Likewise.
  4092. * scripts/dpkg-scansources.pl ($Me): Remove declaration.
  4093. (xwarndie_mess, version, usage): Use $progname instead of $Me.
  4094. 2007-07-21 Guillem Jover <guillem@debian.org>
  4095. * m4/perl.m4 (DPKG_PROG_PERL): Add support for user overridable
  4096. PERL_LIBDIR variable, autodetected from the system installation.
  4097. * scripts/Makefile.am (perllibdir): New variable.
  4098. (nobase_dist_perllib_DATA): Likewise.
  4099. (install-data-hook): New target.
  4100. * scripts/Dpkg.pm: New file.
  4101. 2007-07-18 Guillem Jover <guillem@debian.org>
  4102. * man/cleanup-info.8: Unify author and copyright information
  4103. formatting.
  4104. * man/deb-substvars.5: Likewise.
  4105. * man/dpkg-checkbuilddeps.1: Likewise.
  4106. * man/dpkg-deb.1: Likewise.
  4107. * man/dpkg-divert.8: Likewise.
  4108. * man/dpkg-name.1: Likewise.
  4109. * man/dpkg-query.1: Likewise.
  4110. * man/dpkg-split.1: Likewise.
  4111. * man/dpkg-statoverride.8: Likewise.
  4112. * man/install-info.8: Likewise.
  4113. * man/update-alternatives.8: Likewise.
  4114. 2007-07-18 Guillem Jover <guillem@debian.org>
  4115. * man/dpkg.1: Split independent options.
  4116. * man/dpkg-buildpackage.1: Likewise.
  4117. * man/dpkg-genchanges.1: Likewise.
  4118. * man/dpkg-source.1: Likewise.
  4119. 2007-07-18 Guillem Jover <guillem@debian.org>
  4120. * man/dpkg-buildpackage.1: Remove ', and' leftover from man page split.
  4121. Substitute 'FILES' with 'SEE ALSO'.
  4122. 2007-07-18 Guillem Jover <guillem@debian.org>
  4123. * man/dpkg-deb.1: Remove space before ellipsis in parameters.
  4124. * man/dpkg-query.1: Likewise.
  4125. * man/update-alternatives.8: Likewise.
  4126. * man/dpkg.1: Likewise. Use commas instead if pipes to separate
  4127. alternative options. Remove redundant preceding 'dpkg' from options.
  4128. 2007-07-18 Guillem Jover <guillem@debian.org>
  4129. * man/dpkg.1: Fix italics and bold usage.
  4130. * man/dpkg-divert.8: Likewise.
  4131. * man/dpkg-buildpackage.1: Likewise.
  4132. 2007-07-10 Frank Lichtenheld <djpig@debian.org>
  4133. * man/dpkg.1, man/dpkg-query.1, man/dpkg-deb.1: Synchronise usage
  4134. information between these three man pages. Also fix some formatting
  4135. oddities and small mistakes.
  4136. 2007-07-04 Frank Lichtenheld <djpig@debian.org>
  4137. * man/Makefile.am (uninstall-local): New target to remove the
  4138. translated man pages. Detected with the help of 'make distcheck'.
  4139. 2007-07-03 Frank Lichtenheld <djpig@debian.org>
  4140. * configure.ac: Bump version to 1.14.6~.
  4141. * configure.ac: Release 1.14.5.
  4142. 2007-07-02 Frank Lichtenheld <djpig@debian.org>
  4143. * COPYING: Update to current version of GPL v2
  4144. text. Updates FSF address and LGPL name.
  4145. 2007-07-01 Frank Lichtenheld <djpig@debian.org>
  4146. * scripts/dpkg-source.pl: Warn that newly created empty files are
  4147. not currently represented in the diff.
  4148. 2007-07-01 Ian Jackson <ian@davenant.greenend.org.uk>
  4149. * scripts/dpkg-source.pl: Don't remove setgid bits
  4150. on directories when extracting the .orig tarball
  4151. since the user might prefer to have them. Also don't
  4152. manually override user and group for extracted
  4153. directories. Instead we will take tar take of most
  4154. of that.
  4155. (extracttar): Explicetly specify --no-same-owner
  4156. and --no-same-permissions. They are default anyway
  4157. for non-root users, but no need to handle the source
  4158. differently (i.e. more carelessly) if working as root.
  4159. Since tar still insists on honoring the file permissions in the
  4160. tar ball, fix them up so that they match what the user would
  4161. expect according to his umask.
  4162. 2007-06-13 Guillem Jover <guillem@debian.org>
  4163. * man/dpkg-source.1: Remove section describing few dpkg-gncontrol
  4164. options.
  4165. 2007-06-12 Jiří Paleček <jpalecek@web.de>
  4166. * dpkg-shlibdeps.pl: Support colon separated list of paths in the
  4167. ELF RPATH field.
  4168. 2007-06-12 Guillem Jover <guillem@debian.org>
  4169. * man/dpkg-source.1: Fix explanation of '-b' option, remove a
  4170. reference to checking for a missing empty string argument, and add a
  4171. reference to '-sX' arguments affecting the behaviour.
  4172. * man/install-info.8: Remove an additional space. Mark gzip in bold
  4173. and remove redundant reference to GNU.
  4174. 2007-06-12 Guillem Jover <guillem@debian.org>
  4175. * man/deb-substvars.5: Unify title header.
  4176. * man/dpkg.1: Likewise.
  4177. * man/dpkg-buildpackage.1: Likewise.
  4178. * man/dpkg-checkbuilddeps.1: Likewise.
  4179. * man/dpkg-deb.1: Likewise.
  4180. * man/dpkg-divert.8: Likewise.
  4181. * man/dpkg-scanpackages.1: Likewise.
  4182. * man/dpkg-scansources.1: Likewise.
  4183. * man/dpkg-shlibdeps.1: Likewise.
  4184. * man/dpkg-source.1: Likewise.
  4185. * man/dpkg-statoverride.8: Likewise.
  4186. * man/install-info.8: Likewise.
  4187. * man/update-alternatives.8: Likewise.
  4188. 2007-06-12 Guillem Jover <guillem@debian.org>
  4189. * man/dpkg-divert.8: Mark dpkg-* commands in bold.
  4190. * man/dpkg-buildpackage.1: Likewise.
  4191. * man/dpkg-source.1: Likewise.
  4192. * man/dpkg-statoverride.8: Likewise.
  4193. 2007-06-12 Guillem Jover <guillem@debian.org>
  4194. * man/dpkg-source.1: Reference deb-substvars instead of dpkg-substvars.
  4195. * man/dpkg-genchanges.1: Likewise.
  4196. * man/dpkg-gencontrol.1: Likewise.
  4197. 2007-06-12 Guillem Jover <guillem@debian.org>
  4198. * scripts/dpkg-scanpackages.pl: Move check for existence of $override
  4199. outside load_override. Move load_override after having filled the
  4200. %packages information.
  4201. (load_override): Assume $override is always defined.
  4202. 2007-06-06 Guillem Jover <guillem@debian.org>
  4203. * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add '.shelf'.
  4204. 2007-06-06 Guillem Jover <guillem@debian.org>
  4205. * scripts/dpkg-source.pl (%archadded): Move to an outer scope to
  4206. avoid duped entries in the output Architecture field.
  4207. 2007-05-24 Guillem Jover <guillem@debian.org>
  4208. * ostable: Add gnulp-linux.
  4209. * triplettable: Add gnulp-linux-i386 to lpia mapping.
  4210. 2007-05-24 Guillem Jover <guillem@debian.org>
  4211. * configure.ac: Bump version to 1.14.5~.
  4212. 2007-05-24 Guillem Jover <guillem@debian.org>
  4213. * configure.ac: Release 1.14.4.
  4214. 2007-05-24 Guillem Jover <guillem@debian.org>
  4215. * scripts/controllib.pl (debarch_to_debtriplet): Match exactly 'any'
  4216. or 'all', recognize again 'linux-<arch>', and do not accept unknown
  4217. debtriplets.
  4218. (debwildcard_to_debtriplet): New function.
  4219. (debarch_is): Use debwildcard_to_debtriplet for the wildcard
  4220. parameter.
  4221. 2007-05-23 Guillem Jover <guillem@debian.org>
  4222. Revert commit on 2007-04-28 by Aaron M. Ucko <ucko@debian.org>.
  4223. * scripts/dpkg-shlibdeps.pl: Trim down duplicated files from @libfiles
  4224. only when passing it to dpkg-query instead.
  4225. 2007-05-23 Kylan Robinson <Kylan_Robinson@selinc.com>
  4226. * scripts/dpkg-source.pl: Fix regex (/\.debian.tar/ ->
  4227. /\.debian\.tar/).
  4228. 2007-05-23 Guillem Jover <guillem@debian.org>
  4229. * scripts/dpkg-source.pl ($copy_required): New variable.
  4230. ($dumptardev, $dumptarino): Move declaration inside the block issues
  4231. the stat call, and only compare them against $dsctardev and $dsctarino
  4232. if the stat succeeded.
  4233. 2007-05-21 Guillem Jover <guillem@debian.org>
  4234. * scripts/dpkg-statoverride.pl ($pat): Rename to ...
  4235. ($pattern): ... this. Fixes $pattern being an unused variable.
  4236. ($file): Move the declaration to its first usage in the for loop.
  4237. 2007-05-15 Guillem Jover <guillem@debian.org>
  4238. * configure.ac: Bump version to 1.14.4~.
  4239. 2007-05-15 Guillem Jover <guillem@debian.org>
  4240. * configure.ac: Release 1.14.3.
  4241. 2007-05-15 Guillem Jover <guillem@debian.org>
  4242. * scripts/dpkg-divert.pl (checkmanymodes): Change the error message to
  4243. say 'commands' instead of 'modes'.
  4244. * scripts/dpkg-statoverride.pl (CheckModeConflict): Likewise. Use
  4245. gettext for the string.
  4246. 2007-05-15 Guillem Jover <guillem@debian.org>
  4247. * utils/start-stop-daemon.c (daemonize): Use _exit instead of exit, to
  4248. avoid side effects while the parents terminate.
  4249. 2007-05-15 Guillem Jover <guillem@debian.org>
  4250. * utils/start-stop-daemon.c (main): Move daemonizing code to ...
  4251. (daemonize): ... here. New function. Fork twice.
  4252. 2007-05-15 Guillem Jover <guillem@debian.org>
  4253. * scripts/update-alternatives.pl: Call fill_missing_slavepaths at the
  4254. end of the 'install' conditional.
  4255. (fill_missing_slavepaths): New function.
  4256. 2007-05-15 Guillem Jover <guillem@debian.org>
  4257. * man/deb-control.5: Document comments in the control file.
  4258. 2007-05-15 Guillem Jover <guillem@debian.org>
  4259. * man/install-info.8: Disambiguate the use of 'Info directory' with
  4260. 'Info dir file'.
  4261. 2007-05-15 Kurt B. Kaiser <kbk@shore.net>
  4262. * man/install-info.8: Add missing commas, and information on the
  4263. behaviour when no '--section' option is specifyied.
  4264. 2007-05-14 Guillem Jover <guillem@debian.org>
  4265. * scripts/dpkg-divert.pl ($divertto, $package): Initialize to undef
  4266. instead of an empty string.
  4267. 2007-05-13 Guillem Jover <guillem@debian.org>
  4268. * scripts/controllib.pl (debarch_eq): Return 0 if
  4269. debarch_to_debtriplet returns any undef value.
  4270. (debarch_is): Likewise. As a side effect of changing to use arrays for
  4271. the real and alias architectures, all parts of the triplet are now
  4272. compared against 'any' as well.
  4273. * scripts/dpkg-genchanges.pl: Remove redundant debarch_is being
  4274. handled already in the grep.
  4275. * scripts/dpkg-gencontrol.pl: Likewise.
  4276. 2007-05-12 Guillem Jover <guillem@debian.org>
  4277. * scripts/controllib.pl (debian_arch_eq): Rename to ...
  4278. (debarch_eq): ... this. Add prototype. Fix all callers.
  4279. (debian_arch_is): Rename to ...
  4280. (debarch_is): ... this. Add prototype. Fix all callers.
  4281. 2007-05-12 Guillem Jover <guillem@debian.org>
  4282. * man/deb-substvars.5: Fix title to match the real section.
  4283. 2007-05-11 Guillem Jover <guillem@debian.org>
  4284. * scripts/update-alternatives.pl ($manual): Rename to ...
  4285. ($mode): ... this. Fix all users.
  4286. (read_link_group): Change gl() name from 'manflag' to 'update_mode',
  4287. and badfmt() string from 'manflag' to 'invalid update mode'.
  4288. 2007-05-11 Guillem Jover <guillem@debian.org>
  4289. * scripts/update-alternatives.pl ($mode): Rename to ...
  4290. ($action): ... this. Fix all users.
  4291. (checkmanymodes): Rename to ...
  4292. (check_many_actions): ... this. Fix all callers. Add prototype.
  4293. Change the error message to say 'commands' instead of 'modes'.
  4294. 2007-05-10 Guillem Jover <guillem@debian.org>
  4295. * scripts/dpkg-genchanges.pl: Only use the %p2f values if defined.
  4296. 2007-05-09 Guillem Jover <guillem@debian.org>
  4297. * configure.ac: Bump version to 1.14.3~.
  4298. 2007-05-09 Guillem Jover <guillem@debian.org>
  4299. * configure.ac: Release 1.14.2.
  4300. 2007-05-09 Guillem Jover <guillem@debian.org>
  4301. * man/Makefile.am (install-data-local): Install the translated man
  4302. pages from the srcdir.
  4303. 2007-05-09 Guillem Jover <guillem@debian.org>
  4304. * Makefile.am (EXTRA_DIST): Add 'debian/dpkg-dev.lintian-overrides',
  4305. 'debian/dpkg.lintian-overrides', 'debian/dselect.lintian-overrides'
  4306. and 'debian/source.lintian-overrides'.
  4307. 2007-05-09 Guillem Jover <guillem@debian.org>
  4308. * scripts/update-alternatives.pl: Create the generic name symlinks
  4309. when there's none, or when it differs to the current one.
  4310. 2007-05-09 Guillem Jover <guillem@debian.org>
  4311. * scripts/update-alternatives.pl (config_message): Handle the case
  4312. when @versions is empty. Return a negative value if there's nothing to
  4313. do, 0 on success.
  4314. (config_alternatives): Check for config_message exit value to decide
  4315. to return instead of @versions being empty.
  4316. 2007-05-09 Guillem Jover <guillem@debian.org>
  4317. * scripts/dpkg-buildpackage.sh: Remove check for variable being empty,
  4318. as the path check quoted, thus removing the bashisms.
  4319. 2007-05-08 Guillem Jover <guillem@debian.org>
  4320. * configure.ac: Bump version to 1.14.2~.
  4321. 2007-05-08 Guillem Jover <guillem@debian.org>
  4322. * configure.ac: Release 1.14.1.
  4323. 2007-05-08 Guillem Jover <guillem@debian.org>
  4324. * configure.ac: Bump version to 1.14.1~.
  4325. 2007-05-08 Guillem Jover <guillem@debian.org>
  4326. * configure.ac: Release 1.14.0.
  4327. 2007-05-08 Guillem Jover <guillem@debian.org>
  4328. * scripts/controllib.pl (read_cputable): Localize $_.
  4329. (read_ostable): Likewise.
  4330. (read_triplettable): Likewise.
  4331. (parsedep): Check first for the negated architectures.
  4332. * scripts/dpkg-checkbuilddeps.pl: Do not enable slurp mode globally.
  4333. Use get_host_arch instead of directly dpkg-architecture.
  4334. 2007-05-08 Guillem Jover <guillem@debian.org>
  4335. * scripts/dpkg-genchanges.pl ($pkgdatadir): New variable.
  4336. * scripts/dpkg-gencontrol.pl: Likewise.
  4337. * scripts/dpkg-source.pl: Likewise.
  4338. * scripts/dpkg-checkbuilddeps.pl: Likewise.
  4339. ($dpkglibdir): Change to '..'.
  4340. 2007-05-08 Guillem Jover <guillem@debian.org>
  4341. * scripts/update-alternatives.pl: Do not exit with an error on
  4342. '--remove' with a non-existing link group file for now, to be
  4343. consistent with the case when trying to remove an non-existing path.
  4344. 2007-05-08 Guillem Jover <guillem@debian.org>
  4345. * scripts/update-alternatives.pl: Fix warning when executed w/o any
  4346. option.
  4347. 2007-05-08 Guillem Jover <guillem@debian.org>
  4348. * Makefile.am (EXTRA_DIST): Rename debian/pseudo-tags to
  4349. debian/usertags.
  4350. * man/Makefile.am (dist-hook): New target.
  4351. (EXTRA_DIST): New variable.
  4352. 2007-05-07 Guillem Jover <guillem@debian.org>
  4353. * ostable: Add gnueabi-linux.
  4354. * triplettable: Add gnueabi-linux-arm to armel mapping.
  4355. 2007-05-07 Guillem Jover <guillem@debian.org>
  4356. * scripts/controllib.pl (%debtriplet_to_debarch): New variable.
  4357. (%debarch_to_debtriplet): Likewise.
  4358. (split_gnu, split_debian): Remove functions.
  4359. (debian_arch_fix, debian_arch_split): Likewise.
  4360. (debian_to_gnu, gnu_to_debian): Likewise.
  4361. (read_triplettable): New function.
  4362. (gnutriplet_to_debtriplet, debtriplet_to_gnutriplet): Likewise.
  4363. (debtriplet_to_debarch, debarch_to_debtriplet): Likewise.
  4364. (get_valid_arches): Call read_cputable and read_ostable if @cpu or @os
  4365. are empty. Use debtriplet_to_debarch instead of debian_arch_fix.
  4366. (debian_arch_eq): Use debarch_to_debtriplet instead of
  4367. debian_arch_split. Compare the whole Debian triplet.
  4368. (debian_arch_is): Likewise.
  4369. * scripts/dpkg-architecture.pl: Do not call the now internal functions
  4370. read_cputable and read_ostable. Use debtriplet_to_gnutriplet,
  4371. gnutriplet_to_debtriplet, debarch_to_debtriplet and
  4372. debtriplet_to_debarch instead of debian_to_gnu, gnu_to_debian.
  4373. * debian/archtable: Update comment to reflect the new Debian triplet.
  4374. * cputable: Likewise.
  4375. * ostable: Likewise. Include the ABI information in the Debian name.
  4376. * triplettable: New file.
  4377. * Makefile.am (dist_pkgdata_DATA): Add triplettable.
  4378. 2007-05-04 Guillem Jover <guillem@debian.org>
  4379. * scripts/dpkg-architecture.pl: Use get_valid_arches instead of
  4380. directly using @os and @cpu variables.
  4381. ($pkgdatadir): Change from a 'my' to an 'our' variable.
  4382. (@cpu, @os, %cputable, %ostable, %cputable_re, %ostable_re,
  4383. read_cputable, read_ostable, split_debian, debian_to_gnu,
  4384. split_gnu, gnu_to_debian): Move to ...
  4385. * scripts/controllib.pl: ... here.
  4386. ($pkgdatadir): Declare as 'our'.
  4387. (get_valid_arches): New function.
  4388. 2007-05-04 Guillem Jover <guillem@debian.org>
  4389. * scripts/update-alternatives.pl: Call read_link_group also in
  4390. 'install' mode, but do not exit nor print an error if the link goup
  4391. file does not exist.
  4392. 2007-05-02 Guillem Jover <guillem@debian.org>
  4393. * scripts/update-alternatives.pl: Move the ENOENT errno check from
  4394. the if conditionals to the block body to avoid comparing against an
  4395. undef value on the next elsif conditional.
  4396. 2007-04-28 Aaron M. Ucko <ucko@debian.org>
  4397. * scripts/dpkg-shlibdeps.pl (unique_libfiles): New variable. Do not
  4398. track duped libraries already on it.
  4399. 2007-04-11 Guillem Jover <guillem@debian.org>
  4400. * scripts/dpkg-parsechangelog.pl: Use static and warnings. Declare
  4401. variables with 'my'.
  4402. * scripts/dpkg-scansources.pl: Likewise.
  4403. * scripts/controllib.pl: Likewise. Globals with 'our'.
  4404. * scripts/822-date.pl: Likewise.
  4405. * scripts/dpkg-architecture.pl: Likewise.
  4406. * scripts/dpkg-checkbuilddeps.pl: Likewise.
  4407. * scripts/dpkg-distaddfile.pl: Likewise.
  4408. * scripts/dpkg-genchanges.pl: Likewise.
  4409. * scripts/dpkg-gencontrol.pl: Likewise.
  4410. * scripts/dpkg-shlibdeps.pl: Likewise.
  4411. * scripts/dpkg-source.pl: Likewise.
  4412. * scripts/controllib.pl (parsecdata): Use 'my' instead of 'local'.
  4413. (subprocerr): Likewise.
  4414. (debian_arch_fix): Likewise.
  4415. * scripts/dpkg-architecture.pl (debian_to_gnu): Likewise.
  4416. (gnu_to_debian): Likewise.
  4417. * scripts/controllib.pl (getfowner): Remove redundant closures of
  4418. STDIN.
  4419. 2007-04-11 Guillem Jover <guillem@debian.org>
  4420. * man/Makefile.am (man.stamp): Use a stamp file for now until po4a
  4421. supports them internally.
  4422. (all-local): Depend on man.stamp.
  4423. (clean-local): Remove the man.stamp file.
  4424. 2007-04-11 Guillem Jover <guillem@debian.org>
  4425. * scripts/controllib.pl (@pkg_dep_fields): Reorder fields by
  4426. importance.
  4427. (set_field_importance): New function.
  4428. (sort_field_by_importance): Likewise.
  4429. (outputclose): Use sort_field_by_importance instead of direct sorting.
  4430. * scripts/changelog/debian.pl (%fieldimps): Do not set directly, use
  4431. set_field_importance instead.
  4432. * scripts/dpkg-genchanges.pl: Likewise.
  4433. * scripts/dpkg-gencontrol.pl: Likewise.
  4434. * scripts/dpkg-source.pl: Likewise.
  4435. * scripts/changelog/debian.pl (@changelog_fields): New variable.
  4436. * scripts/dpkg-genchanges.pl (@changes_fields): New variable.
  4437. * scripts/dpkg-gencontrol.pl (@control_fields): New variable.
  4438. * scripts/dpkg-source.pl (@dsc_fields): New variable.
  4439. * scripts/dpkg-scanpackages.pl: Require 'controllib.pl'.
  4440. (@pkg_dep_fields): Declare as 'our'.
  4441. (@fieldpri): Reorder fields, use '@pkg_dep_fields' instead of
  4442. hardcoded list.
  4443. 2007-04-05 Guillem Jover <guillem@debian.org>
  4444. * scripts/controllib.pl (get_host_arch): New function.
  4445. (findarch): Rename to ...
  4446. (init_substvar_arch): ... this. Use get_host_arch to set the substvar.
  4447. Fix all callers.
  4448. (parsedep): Use get_host_arch instead of directly calling
  4449. dpkg-architecture.
  4450. * scripts/dpkg-genchanges.pl: Use '$host_arch' instead of '$arch'.
  4451. (init_substvar_arch): Delay call until after init_substvars.
  4452. * scripts/dpkg-gencontrol.pl: Likewise.
  4453. 2007-04-03 Guillem Jover <guillem@debian.org>
  4454. * dpkg-genchanges.pl: Mark string for translation.
  4455. 2007-04-03 Guillem Jover <guillem@debian.org>
  4456. * scripts/controllib.pl (warn): Rename to ...
  4457. (warning): ... this, to avoid collisions with the perl builtin. Fix
  4458. all users.
  4459. 2007-04-03 Guillem Jover <guillem@debian.org>
  4460. * scripts/controllib.pl: Use defined instead of length, when variables
  4461. might be undefined.
  4462. * scripts/update-alternatives.pl: Likewise.
  4463. * scripts/dpkg-source.pl: Likewise.
  4464. * scripts/dpkg-genchanges.pl: Likewise.
  4465. * scripts/dpkg-gencontrol.pl: Likewise.
  4466. * scripts/dpkg-shlibdeps.pl: Likewise.
  4467. 2007-04-03 Guillem Jover <guillem@debian.org>
  4468. * scripts/dpkg-checkbuilddeps.pl ($control): Remove redundant
  4469. variable.
  4470. 2007-04-03 Guillem Jover <guillem@debian.org>
  4471. * scripts/dpkg-source.pl (fieldimps): Add 'Uploaders'.
  4472. 2007-03-25 Nicolas François <nicolas.francois@centraliens.net>
  4473. * m4/libs.m4: Fix typo (supoprt->support).
  4474. 2007-03-23 Guillem Jover <guillem@debian.org>
  4475. * debian/pseudo-tags: Renamed to ...
  4476. * debian/usertags: ... this. Updated with the usertags information.
  4477. * debian/dpkg.docs: Install usertags instead of pseudo-tags.
  4478. 2007-03-21 Jeffrey W. Baker <jwbaker@acm.org>
  4479. Guillem Jover <guillem@debian.org>
  4480. * src/archives.c (wanttoinstall): Use vdew_nonambig instead of
  4481. vdew_never on versiondescribe.
  4482. * src/configure.c (deferred_configure): Likewise.
  4483. * src/query.c (list1package): Likewise.
  4484. * dselect/pkgsublist.cc (packagelist::add): Likewise.
  4485. * dselect/pkgtop.cc (packagelist::redraw1itemsel): Likewise.
  4486. 2007-03-21 Guillem Jover <guillem@debian.org>
  4487. * dselect/main.cc: Remove duplicated included files <sys/types.h> and
  4488. <sys/stat.h>. Move <fcntl.h> to the system block.
  4489. 2007-03-21 Guillem Jover <guillem@debian.org>
  4490. * dselect/method.h: Fix typo in copyright year ('20001'-> '2001').
  4491. 2007-03-21 Guillem Jover <guillem@debian.org>
  4492. * configure.ac (AM_GNU_GETTEXT_VERSION): Quote the argument.
  4493. (AC_CHECK_HEADERS): Check for 'locale.h'.
  4494. * lib/gettext.h: Updated file from gettext 0.16.1.
  4495. 2007-03-21 Guillem Jover <guillem@debian.org>
  4496. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.16.1.
  4497. 2007-03-20 Guillem Jover <guillem@debian.org>
  4498. * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add '.hg'.
  4499. 2007-03-13 Guillem Jover <guillem@debian.org>
  4500. * scripts/controllib.pl (parsechangelog): Only binmode CDATA from the
  4501. parent side of the opened pipe, on the child side binmode STDOUT.
  4502. 2007-03-13 Guillem Jover <guillem@debian.org>
  4503. * scripts/dpkg-shlibdeps.pl: Use new style file handler references.
  4504. 2007-03-13 Guillem Jover <guillem@debian.org>
  4505. * lib/compression.c (compress_cat): Support compress_type_lzma.
  4506. * dpkg-deb/build.c (do_build): Likewise.
  4507. * dpkg-deb/main.c (usage): Document that '-Z' now accepts lzma as well.
  4508. (setcompresstype): Parse 'lzma' as compress_type_lzma.
  4509. * man/dpkg-deb.1: Move '-z' to it's own OPTIONS entry. Document '-Z',
  4510. and the new 'lzma' value.
  4511. 2007-03-12 Guillem Jover <guillem@debian.org>
  4512. * man/dpkg-source.1: Split individual man pages to ...
  4513. * man/deb-shlibs.5: ... here and ...
  4514. * man/deb-substvars.5: ... here and ...
  4515. * man/dpkg-buildpackage.1: ... here and ...
  4516. * man/dpkg-distaddfile.1: ... here and ...
  4517. * man/dpkg-genchanges.1: ... here and ...
  4518. * man/dpkg-gencontrol.1: ... here and ...
  4519. * man/dpkg-parsechangelog.1: ... here and ...
  4520. * man/dpkg-shlibdeps.1: ... here.
  4521. * man/Makefile.am (all-local): Do not make the symlinks anymore.
  4522. (dpkg_source_aliases): Move to ...
  4523. (dist_man_MANS): ... here.
  4524. (man_MANS): Remove variable.
  4525. (CLEANFILES): Likewise.
  4526. 2007-03-12 Guillem Jover <guillem@debian.org>
  4527. * man/Makefile.am (dist_man_MANS): Add deb-override.5.
  4528. * man/dpkg-scanpackages.1: Move override file information to ...
  4529. * man/deb-override.5: ... here.
  4530. * man/dpkg-scanpackages.1: Add a reference to deb-override.5.
  4531. * man/dpkg-scansources.1: Likewise.
  4532. 2007-03-12 Guillem Jover <guillem@debian.org>
  4533. * scripts/changelog/debian.pl: Fix call to outputclose by not passing
  4534. anything to it.
  4535. ($varlistfile): Remove unused variable.
  4536. 2007-03-12 Guillem Jover <guillem@debian.org>
  4537. * lib/dpkg.h (compression_type): Rename to ...
  4538. (compress_type): ... this. Fix all users.
  4539. (CAT): Rename to ...
  4540. (compress_type_cat): ... this. Fix all users.
  4541. (GZ): Rename to ...
  4542. (compress_type_gzip): ... this. Fix all users.
  4543. (BZ2): Rename to ...
  4544. (compress_type_bzip2): ... this. Fix all users.
  4545. 2007-03-06 Guillem Jover <guillem@debian.org>
  4546. * lib/compression.c (fd_fd_filter): New function, refactored. As
  4547. a side effect the 'failed to exec' string gets unified, and all
  4548. commands use oshite now.
  4549. (decompress_cat): Use fd_fd_filter instead of the duped code.
  4550. (compress_cat): Likewise.
  4551. 2007-03-06 Guillem Jover <guillem@debian.org>
  4552. * scripts/dpkg-scanpackages.pl (usage): Documemt that the override
  4553. file is now optional.
  4554. (load_override): New function, refactored. Handle the case where
  4555. '$override' is undefined.
  4556. * man/dpkg-scanpackages.1: Mark the override argument as optional.
  4557. 2007-03-06 Guillem Jover <guillem@debian.org>
  4558. * man/update-alternatives.8: Reorder EXAMPLES section.
  4559. 2007-03-06 Guillem Jover <guillem@debian.org>
  4560. * man/cleanup-info.8: Unify the summary. Unify '--help' and
  4561. '--version' descriptions. Remove unneeded quotes in section names.
  4562. * man/update-alternatives.8: Likewise.
  4563. * man/start-stop-daemon.8: Likewise.
  4564. * man/dpkg-deb.1: Likewise.
  4565. * man/dpkg-divert.8: Likewise.
  4566. * man/dpkg-query.1: Likewise.
  4567. * man/dpkg-name.1: Likewise.
  4568. * man/dpkg-checkbuilddeps.1: Likewise.
  4569. * man/dpkg-architecture.1: Likewise.
  4570. * man/dpkg-split.1: Likewise.
  4571. * man/dpkg-statoverride.8: Likewise.
  4572. * man/dpkg-scanpackages.1: Likewise.
  4573. * man/dpkg-scansources.1: Likewise.
  4574. * man/dpkg-deb.1: Split option aliased names with ',' instead of '|'.
  4575. * man/dpkg-name.1: Likewise.
  4576. * man/dpkg-split.1: Likewise.
  4577. * man/dpkg-query.1: Likewise.
  4578. * man/start-stop-daemon.8: Likewise.
  4579. * man/dpkg-divert.8: List each options in the OPTIONS section.
  4580. * man/dpkg-scanpackages.1: Likewise.
  4581. * man/start-stop-daemon.8: Likewise.
  4582. * man/dpkg-divert.8: Remove redundant '<>' characters to delimit a
  4583. replaceable argument.
  4584. * man/dpkg-statoverride.8: Likewise.
  4585. * man/update-alternatives.8: Mark commands in examples as bold.
  4586. * man/dpkg-architecture.1: Reorder sections. Indent examples.
  4587. * man/dpkg-name.1: Do not specify in which programming language the
  4588. program is written in.
  4589. * man/dpkg-deb.1: Split '--extract' and '--vextract' options.
  4590. 2007-02-28 Guillem Jover <guillem@debian.org>
  4591. * scripts/dpkg-checkbuilddeps.pl: Make getopt parse '--admindir'.
  4592. ($admindir): New variable.
  4593. (usage): Document '--admindir'.
  4594. (parse_status): The status argument is not optional anymore.
  4595. * scripts/dpkg-shlibdeps.pl: Parse '--admindir'.
  4596. ($admindir): New variable.
  4597. ($shlibsppdir): Initialize it after parsing the arguments.
  4598. (usage): Document '--admindir'.
  4599. * scripts/dpkg-buildpackage.sh: Parse '--admindir', and document it in
  4600. usage output. Pass it to dpkg-checkbuilddeps.
  4601. * man/dpkg-source.1: Document new option '--admindir'.
  4602. * man/dpkg-checkbuilddeps.1: Likewise.
  4603. 2007-02-28 Guillem Jover <guillem@debian.org>
  4604. * scripts/update-alternatives.pl (usage): Use '$altdir' instead of
  4605. hardcoding its value.
  4606. 2007-02-28 Colin Watson <cjwatson@ubuntu.com>
  4607. * scripts/dpkg-gencontrol.pl: Add missing parenthesis in regular
  4608. expression handling Origin, Bugs and Maintainer for control file
  4609. fields.
  4610. 2007-02-17 Guillem Jover <guillem@debian.org>
  4611. * scripts/dpkg-source.pl (checkstats): Take '$dscdir' as an explicit
  4612. argument. Fix all callers.
  4613. (checktype): Take '$dir', '$fn' and '$type' as explicit arguments. Fix
  4614. all callers.
  4615. 2007-02-17 Guillem Jover <guillem@debian.org>
  4616. * scripts/update-alternatives.pl: Check if '$alink' is defined before
  4617. using '$aslavelinkcount{$alink}'. Only read_link_group if '$mode' is
  4618. not 'install'.
  4619. ($dataread): Remove now unused variable.
  4620. (read_link_group): New function (refactored).
  4621. (find_best_version): Likewise.
  4622. (display_link_group): Likewise.
  4623. (list_link_group): Likewise.
  4624. (config_all): Move exit to outside the function.
  4625. 2007-02-17 Guillem Jover <guillem@debian.org>
  4626. * scripts/controllib.pl (parsecdata): Change CDATA to a reference
  4627. taken from the arguments. Fix all callers.
  4628. 2007-02-13 Guillem Jover <guillem@debian.org>
  4629. * src/archives.c (MAXCONFLICTORS): New macro.
  4630. (conflictor): Use MAXCONFLICTORS instad of hardcoded value '20', and
  4631. remove non-matching comments.
  4632. (check_conflict): Exit with an error instead of an assert. Move part
  4633. of the comment to the error message, remove the rest as non-matching.
  4634. 2007-02-13 Guillem Jover <guillem@debian.org>
  4635. * dpkg-deb/build.c (getfi): Exit with an error instead of an assert.
  4636. 2007-02-13 Guillem Jover <guillem@debian.org>
  4637. * dpkg-deb/dpkg-deb.h (MAXFILENAME): New macro.
  4638. * dpkg-deb/build.c (getfi): Use MAXFILENAME instead of the hardcoded
  4639. value '2048'.
  4640. 2007-02-13 Guillem Jover <guillem@debian.org>
  4641. * lib/compression.c (decompress_cat): Use BZ_IO_ERROR instead of
  4642. Z_ERRNO for the error value returned by BZ2_bzerror.
  4643. 2007-02-12 Guillem Jover <guillem@debian.org>
  4644. * scripts/dpkg-shlibdeps.pl: Move syserr:s to be or'ed after exec:s.
  4645. 2007-02-12 Guillem Jover <guillem@debian.org>
  4646. * scripts/controllib.pl (outputclose): Change argument from a boolean
  4647. to an optional filename argument. Fix all callers.
  4648. (parsecontrolfile): Take '$controlfile' as an explicit argument.
  4649. Fix all callers.
  4650. (parsesubstvars): Take '$varlistfile' as an explicit argument.
  4651. Fix all callers.
  4652. (parsechangelog): Take '$changelogfile' as an explicit argument,
  4653. '$changelogformat' and '$since' as optional arguments. Fix all
  4654. callers.
  4655. (setsourcepackage): Take '$v' as an explicit argument.
  4656. 2007-02-11 Guillem Jover <guillem@debian.org>
  4657. * dselect/pkglist.h (packagelist::severalinfoblurb): Do not take a
  4658. string argument. Fix all callers.
  4659. * dselect/pkginfo.cc (packagelist::severalinfoblurb): Likewise.
  4660. (packagelist::itd_relations): Capitalize and make whatinfo setting
  4661. common and move it outside of the if block, and do not add the
  4662. package name.
  4663. (packagelist::itd_description): Likewise.
  4664. (packagelist::itd_statuscontrol): Likewise.
  4665. (packagelist::itd_availablecontrol): Likewise.
  4666. * dselect/baselist.cc (baselist::itd_keys): Capitalize whatinfo string.
  4667. * dselect/methlist.cc (methodlist::itd_description): Likewise and do
  4668. not print the method name.
  4669. 2007-02-11 Ian Jackson <iwj@ubuntu.com>
  4670. Guillem Jover <guillem@debian.org>
  4671. * src/depcon.c (describedepcon): Use format arguments to make the
  4672. strings l10n-friendlier.
  4673. 2007-02-04 Julien Cristau <jcristau@debian.org>
  4674. * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add
  4675. '.gitignore'.
  4676. 2007-01-24 Guillem Jover <guillem@debian.org>
  4677. * scripts/controllib.pl: Move substvar initializations to ...
  4678. (init_substvars): ... here.
  4679. 2007-01-24 Frank Lichtenheld <djpig@debian.org>
  4680. * scripts/822-date.pl: Convert the script to be a simple wrapper
  4681. around 'date -R'.
  4682. * man/822-date.1: 822-date is now deprecated. Document this fact in
  4683. the man page.
  4684. 2007-01-23 Sven Joachim <sven_joachim@web.de>
  4685. Guillem Jover <guillem@debian.org>
  4686. * dselect/helpmsgs.cc (hlp_listkeys): Fix up and down keystrokes.
  4687. (hlp_methkeys): Reorder up and down keystrokes.
  4688. 2007-01-23 Guillem Jover <guillem@debian.org>
  4689. * scripts/dpkg-source.pl: Fix typo in variable name from $dirc to
  4690. $dircreate, and append a "/" on each loop.
  4691. 2007-01-16 Nicolas François <nicolas.francois@centraliens.net>
  4692. * configure.ac: There are no more Makefiles to generate in the
  4693. man/ subdirectories.
  4694. * man/C/: Move the manpages to the root of the man/ directory.
  4695. * man/C/Makefile.am, man/po4a.mk: The languages makefiles are no
  4696. more needed. Also remove the language directories.
  4697. * man/Makefile.am: New build system.
  4698. The goal of these changes is to simplify the build system (less
  4699. files, less Makefiles, lower the depth of the file hierarchy).
  4700. 2007-01-15 Ian Jackson <iwj@ubuntu.com>
  4701. * src/processarc.c (process_archive): Add a missing newline to a
  4702. warning message.
  4703. 2007-01-15 Guillem Jover <guillem@debian.org>
  4704. * scripts/dpkg-gettext.pl: Remove duplicate 'use static'.
  4705. * scripts/cleanup-info.pl: Use static and warnings.
  4706. * scripts/dpkg-divert.pl: Likewise. Declare variables with 'my'.
  4707. * scripts/dpkg-statoverride.pl: Likewise.
  4708. * scripts/update-alternatives.pl: Likewise.
  4709. 2007-01-12 Mark Rosenstand <mark@borkware.net>
  4710. * src/help.c (checkpath): Check for the value of the macro
  4711. WITH_START_STOP_DAEMON instead of it being defined.
  4712. 2007-01-11 Riku Voipio <riku.voipio@iki.fi>
  4713. Guillem Jover <guillem@debian.org>
  4714. * scripts/controllib.pl: Move the getlogin and fowner initialization
  4715. to ...
  4716. (getfowner): ...here. New function.
  4717. * scripts/dpkg-source.pl: Use getfowner() instead of @fowner.
  4718. * scripts/dpkg-gencontrol.pl: Likewise.
  4719. * scripts/dpkg-distaddfile.pl: Likewise.
  4720. * scripts/dpkg-shlibdeps.pl: Likewise.
  4721. 2007-01-10 Julian Gilbey <jdg@polya.uklinux.net>
  4722. * scripts/dpkg-buildpackage.sh: Allow '-b' to properly override a
  4723. previously passed '-B'.
  4724. 2007-01-09 Nicolas Francois <nicolas.francois@centraliens.net>
  4725. * man/C/dpkg-deb.1: Make the copyright match the one from the source.
  4726. * man/C/dpkg-split.1: Likewise.
  4727. 2007-01-09 Guillem Jover <guillem@debian.org>
  4728. * configure.ac: Bump version to 1.14.0~.
  4729. 2007-01-02 Guillem Jover <guillem@debian.org>
  4730. * configure.ac: Release 1.13.25.
  4731. 2007-01-01 Guillem Jover <guillem@debian.org>
  4732. * scripts/dpkg-shlibdeps.pl (@librarypaths): Add '/emul/ia32-linux/lib'
  4733. and '/emul/ia32-linux/usr/lib'.
  4734. 2006-11-24 Guillem Jover <guillem@debian.org>
  4735. * scripts/dpkg-source.pl: Add lzma extracting support.
  4736. (checkdiff): Likewise.
  4737. (forkgzipread): Likewise.
  4738. * lib/dpkg.h (LZMA): New macro.
  4739. (compression_type): Add compress_type_lzma.
  4740. * lib/compression.c (decompress_cat): Handle compress_type_lzma
  4741. decompression.
  4742. * dpkg-deb/dpkg-deb.h (DATAMEMBER_LZMA): New macro.
  4743. (DATAMEMBER_COMPAT_LZMA): Likewise.
  4744. * dpkg-deb/extract.c (extracthalf): Handle DATAMEMBER_LZMA and
  4745. DATAMEMBER_COMPAT_LZMA members.
  4746. 2006-11-24 Brendan O'Dea <bod@debian.org>
  4747. * scripts/controllib.pl (subprocerr): Require POSIX for WIFEXITED,
  4748. WEXITSTATUS, WIFSIGNALED and WTERMSIG.
  4749. 2006-11-24 Tomas Pospisek <tpo_deb@sourcepole.ch>
  4750. * man/C/update-alternatives.8: Document that it requires cooperation
  4751. from all packages dealing with the same file.
  4752. 2006-10-13 Guillem Jover <guillem@debian.org>
  4753. * configure.ac: Bump version to 1.13.25~.
  4754. 2006-10-13 Guillem Jover <guillem@debian.org>
  4755. * configure.ac: Release 1.13.24.
  4756. 2006-10-13 Guillem Jover <guillem@debian.org>
  4757. * dselect/pkgdisplay.cc (relatestrings): Add a string for the Breaks
  4758. field as it should match the enum debtype in 'lib/dpkg-db.h'.
  4759. 2006-10-12 Guillem Jover <guillem@debian.org>
  4760. * configure.ac: Bump version to 1.13.24~.
  4761. 2006-10-12 Guillem Jover <guillem@debian.org>
  4762. * configure.ac: Release 1.13.23.
  4763. 2006-10-06 Guillem Jover <guillem@debian.org>
  4764. * README.translators: Add references to the new scripts/po/ChangeLog
  4765. file. State that the languages should be listed alphabetically in
  4766. debian/changelog.
  4767. 2006-09-29 Nicolas Francois <nicolas.francois@centraliens.net>
  4768. * man/C/dpkg-scansources.1: Fix a typo.
  4769. 2006-09-27 Guillem Jover <guillem@debian.org>
  4770. * m4/compiler.m4: Add a new line at the end of the file, to cope with
  4771. an autoreconf failure due to the new m4 1.4.7.
  4772. 2006-09-27 Ian Jackson <iwj@ubuntu.com>
  4773. * dselect/pkgdepcon.cc (packagelist::resolvedepcon): Recognise the
  4774. dep_breaks dependency type in the dependency and conflict resolution.
  4775. 2006-08-10 Guillem Jover <guillem@debian.org>
  4776. * dselect/helpmsgs.cc: Replace the comment header about the file being
  4777. autogenerated with a proper copyright and license one. Reindented.
  4778. * dselect/helpmsgs.h: Likewise.
  4779. 2006-08-08 Guillem Jover <guillem@debian.org>
  4780. * scripts/dpkg-architecture.pl (dpkglibdir): Set to '.' where
  4781. controllib.pl is located.
  4782. (pkgdatadir): Set to '..' where cputable and ostable are located.
  4783. * m4/arch.m4 (_DPKG_ARCHITECTURE): New macro.
  4784. (DPKG_CPU_TYPE): Use _DPKG_ARCHITECTURE instead of parsing cputable.
  4785. (DPKG_OS_TYPE): Use _DPKG_ARCHITECTURE instead of parsing ostable.
  4786. (DPKG_ARCHITECTURE): Use _DPKG_ARCHITECTURE instead of constructing
  4787. the value from cpu_type and os_type.
  4788. 2006-08-08 Ian Jackson <iwj@ubuntu.com>
  4789. * lib/dpkg-db.h (deptype): Add dep_breaks.
  4790. * lib/fields.c (f_dependency): Bail out if the Breaks field has an
  4791. alternative through a '|'.
  4792. * lib/parse.c (fieldinfos): Add support for the Breaks field when
  4793. parsing them as a dependency field.
  4794. * src/depcon.c (describedepcon): Support displaying the Breaks
  4795. relationship.
  4796. (depisok): Ignore the Breaks field by adding dep_breaks to the assert
  4797. and returning as succeeded.
  4798. * src/processarc.c (process_archive): Print a message stating that
  4799. current dpkg does not support the Breaks field. Do not bail out in
  4800. case the Breaks references packages to ignore for dependency handling.
  4801. * src/packages.c (dependencies_ok): Add a place holder comment to
  4802. be replaced by the code to prevent configuration of Broken packages.
  4803. 2006-08-05 Nicolas Francois <nicolas.francois@centraliens.net>
  4804. * man/C/dpkg-architecture.1: Remove linux-alpha from the architecture
  4805. wildcard examples, and fix a formatting issue.
  4806. 2006-08-05 Nicolas Francois <nicolas.francois@centraliens.net>
  4807. * man/C/dpkg-source.1: Typo fix.
  4808. * man/C/dpkg-architecture.1: Likewise.
  4809. 2006-08-02 Nicolas Francois <nicolas.francois@centraliens.net>
  4810. * man/C/dpkg.1: Typo fix.
  4811. * man/C/dpkg-divert.8: Likewise.
  4812. * man/C/deb-control.5: Likewise.
  4813. 2006-07-29 Nicolas Francois <nicolas.francois@centraliens.net>
  4814. * man/C/dpkg-architecture.1: Typo fix.
  4815. * man/C/dpkg-statoverride.8: Likewise.
  4816. 2006-07-29 Nicolas Francois <nicolas.francois@centraliens.net>
  4817. * man/C/dpkg-name.1: Typo fix.
  4818. 2006-07-27 Nicolas Francois <nicolas.francois@centraliens.net>
  4819. * man/C/cleanup-info.8: Typo fix.
  4820. * man/C/deb.5: Likewise.
  4821. * man/C/dpkg-scanpackages.1: Likewise.
  4822. * man/C/dpkg-scansources.1: Likewise.
  4823. 2006-07-23 Helge Kreutzmann <debian@helgefjell.de>
  4824. * man/C/822-date.1: Fix the manpage's modification date.
  4825. 2006-07-23 Nicolas Francois <nicolas.francois@centraliens.net>
  4826. * man/C/start-stop-daemon.8: Typo fix.
  4827. 2006-07-07 Nicolas François <nicolas.francois@centraliens.net>
  4828. * dpkg-deb/build.c: Specify --null before the -T option to avoid
  4829. the "tar: -: file name read contains nul character" warning.
  4830. 2006-07-22 Helge Kreutzmann <debian@helgefjell.de>
  4831. * man/C/start-stop-daemon.8: Typo fix.
  4832. * man/C/update-alternatives.8: Likewise.
  4833. 2006-06-21 Guillem Jover <guillem@debian.org>
  4834. * configure.ac: Bump version to 1.13.23~.
  4835. 2006-06-21 Guillem Jover <guillem@debian.org>
  4836. * configure.ac: Release 1.13.22.
  4837. 2006-06-21 Guillem Jover <guillem@debian.org>
  4838. * utils/start-stop-daemon.c (signal_str, schedule_str): Move
  4839. variables inside ...
  4840. (parse_options): ... here.
  4841. 2006-06-21 Guillem Jover <guillem@debian.org>
  4842. * utils/start-stop-daemon.c (umask_value): New variable.
  4843. (do_help): Print information about the new '--umask' option.
  4844. (parse_umask): New function.
  4845. (parse_options): Parse the new option using parse_umask.
  4846. (main): Set umask, and do not set for the background case if we set
  4847. it previously.
  4848. * man/C/start-stop-daemon.8: Document the new '--umask' option.
  4849. 2006-06-21 Guillem Jover <guillem@debian.org>
  4850. * scripts/controllib.pl (usageerr): Do not mark "%s: %s" for
  4851. translation.
  4852. * scripts/changelog/debian.pl: Remove "or argument" from the
  4853. "unknown option" string to merge it with other similar ones.
  4854. * scripts/dpkg-distaddfile.pl: Quote '%s' in the "unknown option"
  4855. string.
  4856. * scripts/dpkg-source.pl: Likewise.
  4857. * scripts/cleanup-info.pl (ulquit): Print the program name.
  4858. Change all callers to not print the program name, and modify the
  4859. strings to merge them with similar ones.
  4860. * scripts/dpkg-divert.pl: Change strings referring to command line
  4861. argument to use '%s' instead of such argument, thus merging them.
  4862. (quit): Do not mark the string for translation. Do not hardcode the
  4863. program name and use '$0' instead.
  4864. (badusage): Likewise. Make it call usage.
  4865. * scripts/dpkg-statoverride.pl: Likewise.
  4866. * scripts/update-alternatives.pl: Likewise.
  4867. * scripts/install-info.pl: Call quit instead of die and do not print
  4868. the program name. Prepend "unable to" to most of those strings to
  4869. merge them with similar ones. Fix other strings to merge them.
  4870. (ulquit): Make it call quit instead of die and do not print the
  4871. program name.
  4872. (checkpipe): Likewise.
  4873. (quit): New function.
  4874. * lib/fields.c (f_dependency): Make strings use '%s' instead of
  4875. hardcoded character, to merge both.
  4876. * lib/dbmodify.c (createimptmp): Quote and increase to 255 the
  4877. parameter '%.250s' to merge the string with the other ones.
  4878. 2006-06-18 Frank Lichtenheld <djpig@debian.org>
  4879. * scripts/dpkg-buildpackage.sh: Fix testing
  4880. the content of $signinterface by moving the
  4881. test to a place where it can actually fail.
  4882. Give the user a correct warning message about
  4883. what we do (i.e. defaulting to pgp style).
  4884. 2006-06-17 Guillem Jover <guillem@debian.org>
  4885. * man/C/dpkg-architecture.1: Clarify new -e and -i options, give
  4886. backward compatibility information and add some examples.
  4887. 2006-06-17 Frank Lichtenheld <djpig@debian.org>
  4888. * scripts/dpkg-source.pl: Fix typo in regex that caused
  4889. spurious warnings for user defined fields even though they
  4890. used the correct XB- syntax.
  4891. 2006-06-16 Robert Luberda <robert@debian.org>
  4892. * man/C/dpkg-deb.1: Fix typo ("--show-format" -> "--showformat").
  4893. 2006-06-16 Guillem Jover <guillem@debian.org>
  4894. * scripts/controllib.pl (parsechangelog): Move substvar initialization
  4895. to ...
  4896. (init_substvars): ... here. New function. Move the dpkg substvars
  4897. initialization to this function.
  4898. * scripts/dpkg-source.pl: Call init_substvars after parsechangelog.
  4899. * scripts/dpkg-genchanges.pl: Replace setting dpkg substvars with
  4900. init_substvars. If the version field or the one forced from command
  4901. line differs from the substvar, add the later to the output Source
  4902. field inside parenthesis.
  4903. * scripts/dpkg-gencontrol.pl: Likewise.
  4904. 2006-06-16 Andrew Ferrier <andrew@new-destiny.co.uk>
  4905. Guillem Jover <guillem@debian.org>
  4906. * scripts/update-alternatives.pl (usage): Clarify the legend for the
  4907. help text.
  4908. 2006-06-16 Guillem Jover <guillem@debian.org>
  4909. * scripts/update-alternatives.pl (config_message): Print '--config'
  4910. listing layout evenly spaced.
  4911. 2006-06-07 Guillem Jover <guillem@debian.org>
  4912. * scripts/dpkg-scansources.pl: Remove invalid comment mentioning
  4913. documentation being after __END__.
  4914. 2006-06-07 Guillem Jover <guillem@debian.org>
  4915. * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add
  4916. '.bzrtags'.
  4917. 2006-06-04 Guillem Jover <guillem@debian.org>
  4918. * configure.ac: Bump version to 1.13.22~.
  4919. 2006-06-04 Guillem Jover <guillem@debian.org>
  4920. * configure.ac: Release 1.13.21.
  4921. 2006-06-04 Ian Jackson <ian@davenant.greenend.org.uk>
  4922. * src/depcon.c (foundcyclebroken): Replace possi->ed argument to
  4923. findbreakcyclerecursive call with dependedon.
  4924. (findbreakcyclerecursive): Remove the last foundcyclebroken call
  4925. which was wrongly using the unrelated provider->installed.depended
  4926. linked list. Remove findbreakcyclerecursive call which may lead to
  4927. infinite recursion.
  4928. 2006-06-04 Guillem Jover <guillem@debian.org>
  4929. * scripts/dpkg-parsechangelog.pl: Pass forward the '-l' option to
  4930. the format parser.
  4931. * scripts/changelog/debian.pl: Add '-l' option and set $changelogfile.
  4932. (usage): Document the new '-l' option.
  4933. (clerror): Print $changelogfile instead of 'changelog'.
  4934. (clwarn): Likewise.
  4935. 2006-06-02 Guillem Jover <guillem@debian.org>
  4936. * scripts/install-info.pl: Do not use English non-essential module.
  4937. 2006-06-02 Guillem Jover <guillem@debian.org>
  4938. * scripts/dpkg-shlibdeps.pl (@librarypaths): Add '/lib32' and
  4939. '/usr/lib32/'.
  4940. 2006-06-02 Guillem Jover <guillem@debian.org>
  4941. * src/query.c (setaction): Print also the short command line action.
  4942. * src/main.c (setaction): Likewise.
  4943. * dpkg-deb/main.c (setaction): Likewise.
  4944. * dpkg-split/main.c (setaction): Likewise.
  4945. 2006-05-31 Guillem Jover <guillem@debian.org>
  4946. * configure.ac: Bump version to 1.13.21~.
  4947. 2006-05-31 Guillem Jover <guillem@debian.org>
  4948. * configure.ac: Release 1.13.20.
  4949. 2006-05-31 Koblinger Egmont <egmont@uhulinux.hu>
  4950. * src/processarc.c (process_archive): Do not pass to parsedb
  4951. pdb_weakclassification, so that the Section and Priority fields
  4952. gets updated with new packages.
  4953. 2006-05-31 Julian Gilbey <jdg@debian.org>
  4954. * scripts/changelog/debian.pl: Remove duped string ' , at changelog '.
  4955. 2006-05-31 Guillem Jover <guillem@debian.org>
  4956. * src/enquiry.c (cmpversions): Prefix the bad syntax error with a
  4957. 'dpkg: ' and print the bogus version string.
  4958. 2006-05-25 Guillem Jover <guillem@debian.org>
  4959. * scripts/install-info.pl: Exit if the lock file already exists.
  4960. This change was lost when doing the i18n of the scripts.
  4961. 2006-05-25 Ben Pfaff <blp@cs.stanford.edu>
  4962. * scripts/install-info.pl: Use %! instead if $! to check for EEXIST.
  4963. * man/C/install-info.8: Correct default info directory for '--infodir'.
  4964. 2006-05-23 Guillem Jover <guillem@debian.org>
  4965. * scripts/controllib.pl (parsechangelog): Do not strip the epoch from
  4966. the source:Upstream-Version substvar.
  4967. * man/C/dpkg-source.1: Document that the source:Upstream-Version
  4968. substvar can have an epoch.
  4969. 2006-05-23 Guillem Jover <guillem@debian.org>
  4970. * scripts/controllib.pl (usageerr): Use usage instead of
  4971. usageversion.
  4972. * scripts/dpkg-statoverride.pl (UsageVersion): Rename to ...
  4973. (usageversion): ... this.
  4974. * scripts/dpkg-parsechangelog.pl (usageversion): Split into usage
  4975. and version functions. Print to stdout. Standarize output format.
  4976. Add '--help' and '--version'.
  4977. * scripts/dpkg-shlibdeps.pl: Likewise.
  4978. * scripts/dpkg-distaddfile.pl: Likewise.
  4979. * scripts/dpkg-gencontrol.pl: Likewise.
  4980. * scripts/dpkg-genchanges.pl: Likewise.
  4981. * scripts/dpkg-source.pl: Likewise.
  4982. * scripts/changelog/debian.pl: Likewise.
  4983. * scripts/dpkg-statoverride.pl: Likewise. Basename $0.
  4984. * scripts/dpkg-architecture.pl: Likewise. Do not basename $0,
  4985. use $progname instead.
  4986. * scripts/dpkg-checkbuilddeps.pl: Use $progname instead of $me.
  4987. (me): Remove variable.
  4988. (usage): Standarize output format. Print to stdout. Add '-h' option.
  4989. * scripts/dpkg-buildpackage.sh (usageversion): Split into
  4990. showversion and usage functions. Print to stdout. Standarize output
  4991. format. Add '--help' and '--version'.
  4992. (version): Rename variable to ...
  4993. (changesversion): ... this, otherwise there was no program version
  4994. shown on output.
  4995. * scripts/dpkg-scanpackages.pl: Basename $0.
  4996. (options): Pass a sub to the help option calling usage and exit.
  4997. Add '--version'.
  4998. (usage): Switch variable to a function. Print to stdout. Standarize
  4999. output.
  5000. (version): New function.
  5001. * scripts/dpkg-scansources.pl (Version): Rename variable to ...
  5002. (version): ... this (so it will be automaitcally updated by the
  5003. Makefile).
  5004. (Option_spec): Pass \&usage to help option and \&version to version.
  5005. (Usage): Remove variable.
  5006. (version): New function.
  5007. (usage): Move xwarn call to where the actual check is made. Replace
  5008. the die call with a printf and an exit.
  5009. * scripts/dpkg-name.sh: Standarize output format.
  5010. * scripts/dpkg-divert.pl: Basename $0.
  5011. (showversion): Rename to ...
  5012. (version): ... this. Print to stdout. Standarize output format.
  5013. * scripts/update-alternatives.pl: Basename $0.
  5014. (usageversion): Split into usage and version functions. Print to
  5015. stdout. Standarize output format.
  5016. * scripts/cleanup-info.pl: Basename $0.
  5017. (version): Print to stdout. Standarize output format.
  5018. (usage): Likewise. Print option descriptions.
  5019. * scripts/install-info.pl: Basename $0. Add '--version'. On
  5020. argument error print only usage.
  5021. (version): Print to stdout. Standarize output format.
  5022. (usage): Likewise. Print option descriptions.
  5023. * man/C/dpkg-source.1: Add '--help' and '--version' options.
  5024. * man/C/dpkg-architecture.1: Likewise.
  5025. * man/C/dpkg-checkbuilddeps.1: Add '-h' option.
  5026. * man/C/dpkg-divert.8: Option '--help' does not print the version
  5027. anymore.
  5028. * man/C/update-alternatives.8: Likewise.
  5029. * man/C/dpkg-statoverride.8: Likewise. Add '--version' option.
  5030. 2006-05-19 David Lopez Moreno <david.lopez.moreno@hispalinux.es>
  5031. * dpkg-deb/build.c (do_build): If failing to stat a
  5032. conffile check for trailing whitespace in the conffiles
  5033. file to give a more useful error message.
  5034. 2006-05-19 Piotr Engelking <inkerman42@gmail.com>
  5035. * lib/database.c (informative): Don't regard
  5036. architecture information alone as informative.
  5037. * src/processarc.c (process_archive): Also
  5038. delete origin, bugs and architecture information
  5039. for disappearing packages.
  5040. * src/remove.c (removal_bulk): Likewise for
  5041. removed packages.
  5042. 2006-05-19 Frank Lichtenheld <djpig@debian.org>
  5043. * src/help.c (hasdirectoryconffiles): New function
  5044. to test whether a directory contains conffiles of
  5045. a given package.
  5046. * src/main.h: Add declaration of hasdirectoryconffiles.
  5047. * src/remove.c (removal_bulk_remove_files): Don't
  5048. drop directories from our file list that hold
  5049. our conffiles.
  5050. (removal_bulk_remove_leftover_dirs) Likewise.
  5051. * utils/enoent.c: Add a comment at the top of the
  5052. file explaining why we use this odd program at all.
  5053. 2006-05-18 Frank Lichtenheld <djpig@debian.org>
  5054. * lib/showpkg.c (show1package): Test the correct
  5055. pointer against NULL so that arbitrary fields get
  5056. be printed.
  5057. 2006-05-18 Frank Lichtenheld <djpig@debian.org>
  5058. * man/C/dpkg-query.1: Document that user defined
  5059. fields can also be printed with --showformat.
  5060. 2006-05-17 Frank Lichtenheld <djpig@debian.org>
  5061. * man/C/dpkg.1: We don't actually set DPKG_OLD_CONFFILE and
  5062. DPKG_NEW_CONFFILE on subshells, so we shouldn't claim to do so.
  5063. 2006-05-15 Nicolas François <nicolas.francois@centraliens.net>
  5064. * src/packages.c: Use fc_dependsversion (set by
  5065. --force-depends-version) when only the version of a
  5066. dependency is not satisfied. fc_dependsversion is never
  5067. used otherwise.
  5068. 2006-05-15 Nicolas François <nicolas.francois@centraliens.net>
  5069. * src/configure.c: Flush the terminal's input before
  5070. prompting the user.
  5071. 2006-05-15 Frank Lichtenheld <djpig@debian.org>
  5072. * debian/archtable: Update to reflect current
  5073. archive: Add amd64 and remove sh.
  5074. * src/depcon.c (findbreakcyclerecursive): Try
  5075. to find cycles also by moving up Provides links.
  5076. 2006-05-15 Ian Jackson <iwj@ubuntu.com>
  5077. * debian/control (dpkg[Depends]): Move
  5078. coreutils dependency to Pre-Depends and
  5079. depend on >= 5.93-1 to ensure that md5sum
  5080. is present.
  5081. * debian/dpkg.postinst: Don't create a
  5082. diversion from coreutil's md5sum.
  5083. * debian/dpkg.prerm: Delete the code
  5084. that removed the diversion generated
  5085. in the postinst. We rely on coreutils
  5086. to clean up the mess we created.
  5087. 2006-05-12 Frank Lichtenheld <djpig@debian.org>
  5088. * src/main.c (ignoredepends): Fix parsing of the
  5089. --ignore-depends argument value.
  5090. * dpkg-deb/info.c (info_spew): Prepend the name of the
  5091. directory we're in to the control component name. This
  5092. way we don't spew out garbage if we get an absolute
  5093. path as component name.
  5094. * scripts/dpkg-scanpackages.pl: Print usage
  5095. information on stderr instead of stdout in
  5096. case of error. Only print it on stdout if
  5097. requested via -h.
  5098. * scripts/dpkg-architecture.pl: Convert encoding
  5099. of the file from iso-8859-1 to utf-8.
  5100. 2006-05-12 Nicolas François <nicolas.francois@centraliens.net>,
  5101. Frank Lichtenheld <djpig@debian.org>
  5102. * scripts/dpkg-gettext.pl: New module. Acts like a
  5103. wrapper around Locale::gettext so that the scripts
  5104. are usable without it, too.
  5105. * debian/dpkg.install: Install dpkg-gettext.pl.
  5106. * scripts/Makefile.am (dist_pkglib_SCRIPTS): Add dpkg-gettext.pl.
  5107. * po/POTFILES.in: Add scripts installed with dpkg
  5108. to the list.
  5109. * po/Makevars (XGETTEXT_OPTIONS): Add _g to list of keywords.
  5110. * debian/dpkg-dev.install: Install .mo files.
  5111. * debian/control (dpkg-dev[Depends]): Bump dependency on dpkg
  5112. to 1.13.20 since it needs dpkg-gettext.pl.
  5113. * scripts/cleanup-info.pl: Add gettext support.
  5114. * scripts/controllib.pl: Likewise.
  5115. * scripts/dpkg-architecture.pl: Likewise.
  5116. * scripts/dpkg-checkbuilddeps.pl: Likewise.
  5117. * scripts/dpkg-distaddfile.pl: Likewise.
  5118. * scripts/dpkg-divert.pl: Likewise.
  5119. * scripts/dpkg-genchanges.pl: Likewise.
  5120. * scripts/dpkg-gencontrol.pl: Likewise.
  5121. * scripts/dpkg-parsechangelog.pl: Likewise.
  5122. * scripts/debian/changelog.pl: Likewise.
  5123. * scripts/dpkg-scanpackages.pl: Likewise.
  5124. * scripts/dpkg-scansources.pl: Likewise.
  5125. * scripts/dpkg-shlibdeps.pl: Likewise.
  5126. * scripts/dpkg-source.pl: Likewise.
  5127. * scripts/dpkg-statoverride.pl: Likewise.
  5128. * scripts/install-info.pl: Likewise.
  5129. * scripts/update-alternatives.pl: Likewise.
  5130. 2006-05-10 Frank Lichtenheld <djpig@debian.org>
  5131. * scripts/dpkg-buildpackage.sh: Pass all
  5132. remotely sensible -sX option through to
  5133. dpkg-source (-s[nsAkurKUR]).
  5134. * scripts/changelog/debian.pl: Use same regex for
  5135. distribution names as for packages. Since the policy
  5136. doesn't define these names very strict, we should give
  5137. the user more freedom here though all official names
  5138. are matched by a way stricter regex. (Characters now
  5139. allowed are '+' and '.').
  5140. 2006-05-10 Robert Millan <rmh@aybabtu.com>,
  5141. Frank Lichtenheld <djpig@debian.org>
  5142. * scripts/dpkg-source.pl: When checking the
  5143. signature of a .dsc file, use the Debian
  5144. keyring if available.
  5145. 2006-05-10 Frank Lichtenheld <djpig@debian.org>
  5146. * man/C/dpkg-deb.1: Mention the --show-format option also
  5147. separately, not just in the description of --show.
  5148. Point the reader to the explanation of --show-format
  5149. in dpkg-query.1 to avoid having to duplicate it.
  5150. 2006-05-10 Frank Lichtenheld <djpig@debian.org>
  5151. * man/C/dpkg-deb.1: Mention the --show-format option also
  5152. separately, not just in the description of --show.
  5153. Point the reader to the explanation of --show-format
  5154. in dpkg-query.1 to avoid having to duplicate it.
  5155. * man/C/dpkg-scanpackages.1: Add remark that apt ignores
  5156. uncompressed Packages files on non-local access.
  5157. * man/C/dpkg-scansources.1: Likewise (with Sources instead of
  5158. Packages files of course).
  5159. 2006-05-10 Nicolas François <nicolas.francois@centraliens.net>
  5160. * lib/showpkg.c (show1package): Honour the requested tabbing
  5161. of fields even if they are empty.
  5162. 2006-05-04 Guillem Jover <guillem@debian.org>
  5163. * configure.ac: Bump version to 1.13.20~.
  5164. 2006-05-04 Guillem Jover <guillem@debian.org>
  5165. * configure.ac: Release 1.13.19.
  5166. 2006-05-04 Guillem Jover <guillem@debian.org>
  5167. * man/C/dpkg-divert.8: Escape hyphens used in command line.
  5168. * man/C/dpkg-architecture.1: Likewise.
  5169. * man/C/dpkg-statoverride.8: Likewise.
  5170. 2006-05-04 Guillem Jover <guillem@debian.org>
  5171. * scripts/dpkg-genchanges.pl: Do not use $version to refer to the
  5172. source package version, as it denotes the dpkg version.
  5173. 2006-05-04 Nicolas François <nicolas.francois@centraliens.net>,
  5174. Guillem Jover <guillem@debian.org>
  5175. * scripts/install-info.pl: Use the numerical value of $! instead of
  5176. the string when checking if the locking error was due to an already
  5177. existing file, which is locale dependent, and die accordingly.
  5178. 2006-05-04 Nicolas François <nicolas.francois@centraliens.net>
  5179. * scripts/install-info.pl: Add a new line after adding the last
  5180. entry at the end of the dir file, which makes the info readers
  5181. able to see those last entries.
  5182. 2006-05-04 Wayne Davison <wayned@users.sourceforge.net>,
  5183. Guillem Jover <guillem@debian.org>
  5184. * scripts/install-info.pl: Make '--dir-file' option compatible
  5185. with GNU install-info by renaming the infodir variable to dirfile
  5186. and not appending the '/dir' string except when initializing from
  5187. '--info-dir' or '--infodir'.
  5188. 2006-05-04 Guillem Jover <guillem@debian.org>
  5189. * scripts/dpkg-gencontrol.pl: Use the source:Version substvar when
  5190. setting the Source field version, in case the binary package
  5191. has a different one from the source package.
  5192. 2006-05-02 Guillem Jover <guillem@debian.org>
  5193. * utils/start-stop-daemon.c (do_help): Standarize output format.
  5194. 2006-05-02 Guillem Jover <guillem@debian.org>
  5195. * dselect/main.cc (usage): Split string and align so duped strings get
  5196. merged.
  5197. * dpkg-deb/main.c (usage): Likewise.
  5198. * dpkg-split/main.c (usage): Likewise.
  5199. * src/query.c (usage): Likewise.
  5200. * src/main.c (usage): Likewise.
  5201. 2006-05-02 Guillem Jover <guillem@debian.org>
  5202. * scripts/dpkg-genchanges.pl: Rename dpkg:UpstreamVersion to
  5203. dpkg:Upstream-Version. Make dpkg:Version and dpkg:Upstream-Version
  5204. get the current dpkg versions instead of the package being built.
  5205. * scripts/dpkg-gencontrol.pl: Likewise.
  5206. * man/C/dpkg-source.1: Rename dpkg:UpstreamVersion to
  5207. dpkg:Upstream-Version.
  5208. 2006-05-02 Ken Bloom <kbloom@gmail.com>,
  5209. Jeroen van Wolffelaar <jeroen@wolffelaar.nl>,
  5210. Guillem Jover <guillem@debian.org>
  5211. * scripts/controllib.pl (parsechangelog): Add new source:Version,
  5212. source:Upstream-Version and binary:Version substvars.
  5213. * man/C/dpkg-source.1: Document new source:Version,
  5214. source:Upstream-Version and binary:Version substvars.
  5215. 2006-04-29 Justin Pryzby <justinpryzby@users.sourceforge.net>
  5216. * src/filesdb.c: Fix a typo.
  5217. 2006-04-21 Guillem Jover <guillem@debian.org>
  5218. * src/query.c (enqperpackage): Change dynamically constructed
  5219. grammar to proper sentences.
  5220. * src/packages.c (deppossi_ok_found): Likewise.
  5221. * src/main.c (commandfd): Do not use digits, use textual numbers.
  5222. * lib/dbmodify.c (createimptmp): Use proper verb forms.
  5223. * lib/showcright.c (showcopyright): Remove trailing space from string.
  5224. * lib/parsehelp.c (illegal_packagename): Clarify what is the last '%s'.
  5225. * dpkg-deb/extract.c (movecontrolfiles): Likewise.
  5226. (extracthalf): Do not use abbreviations in the strings.
  5227. 2006-04-21 Guillem Jover <guillem@debian.org>
  5228. * src/main.c (printforhelp, setdebug, setforce): Quote each string
  5229. line instead of escaping its new line at the end.
  5230. 2006-04-19 Nicolas Francois <nicolas.francois@centraliens.net>
  5231. * man/C/install-info.8: Add a missing quote around the date.
  5232. * man/C/dpkg-source.1: Add a reference to the Debian Policy Manual
  5233. for a detailed description of the shlibs format.
  5234. Thanks to Russ Allbery.
  5235. 2006-04-16 Nicolas Francois <nicolas.francois@centraliens.net>
  5236. * man/C/dpkg-source.1: Document the shlibs.local format.
  5237. 2006-04-11 Frank Lichtenheld <djpig@debian.org>
  5238. * src/archives.c (quote_filename): Fix typo in
  5239. variable name. If hit, this could lead to a
  5240. infinite loop and OOM in varbufvprintf. (A
  5241. good way to hit it is installing files with
  5242. long non-ASCII filenames in UTF-8 locales).
  5243. Fixed also some typos in the comment for this
  5244. function.
  5245. * scripts/dpkg-scanpackages.pl: Add -follow
  5246. to @find_args. This was lost in a previous patch
  5247. apparently.
  5248. 2006-04-10 Guillem Jover <guillem@debian.org>
  5249. * configure.ac: Bump version to 1.13.19~.
  5250. 2006-04-10 Guillem Jover <guillem@debian.org>
  5251. * configure.ac: Release 1.13.18.
  5252. 2006-04-10 Guillem Jover <guillem@debian.org>
  5253. * man/C/dpkg.1: Document the new way to replicate the package status
  5254. to another installation by using '--clear-selections'.
  5255. 2006-04-10 Andrew Suffield <asuffield@debian.org>
  5256. * src/main.h (clearselections): New prototype.
  5257. * src/main.c (usage): Print '--clear-selections' option description.
  5258. (cmdinfos): Add clear-selectons action.
  5259. * src/select.c (clearselections): New function.
  5260. * man/C/dpkg.1: Document the new '--clear-selections' option.
  5261. 2006-04-10 Guillem Jover <guillem@debian.org>
  5262. * src/main.h (fc_autoselect): Remove.
  5263. * src/main.c (fc_autoselect): Likewise.
  5264. (forceinfos): Mark 'auto-select' as obsolete.
  5265. (setforce): Remove mention of 'auto-select' from the help text.
  5266. Handle obsolete options, and display a warning.
  5267. * man/C/dpkg.1: Remove mention of obsolete force/refuse 'auto-select'
  5268. option.
  5269. 2006-04-09 Guillem Jover <guillem@debian.org>
  5270. * man/C/dpkg.1: Document that '--get-selections' without a pattern
  5271. will not list packages in state purge.
  5272. * man/C/dpkg-query.1: Document that '-l' without a pattern will not
  5273. list packages in state purge.
  5274. 2006-04-09 Guillem Jover <guillem@debian.org>
  5275. * scripts/dpkg-shlibdeps.pl: Support system library directories
  5276. symlinked from '/lib/ldconfig/'.
  5277. 2006-04-09 Branden Robinson <branden@debian.org>,
  5278. Guillem Jover <guillem@debian.org>
  5279. * src/main.c (execbackend): Pass '--admindir' over to dpkg-query
  5280. when passing '--admindir' or '--root' to dpkg.
  5281. 2006-04-04 Andrew Suffield <asuffield@debian.org>
  5282. * dpkg-buildpackage.sh: Use mustsetvar to set sversion variable.
  5283. 2006-04-04 Jared Spiegel <jrrs@frontiernet.net>
  5284. * utils/start-stop-daemon.c (do_help): Add '-r' option to the help
  5285. output.
  5286. 2006-04-04 Guillem Jover <guillem@debian.org>
  5287. * utils/start-stop-daemon.c (main): Prefix the chroot path, if any,
  5288. when stating the exec file.
  5289. 2006-03-30 Guillem Jover <guillem@debian.org>
  5290. * src/main.c (setforce): Add a '[!]' next to 'all' to denote that
  5291. '--force-all' is dangerous.
  5292. 2006-03-20 Guillem Jover <guillem@debian.org>
  5293. * configure.ac: Bump version to 1.13.18~.
  5294. 2006-03-20 Guillem Jover <guillem@debian.org>
  5295. * configure.ac: Release 1.13.17.
  5296. 2006-03-20 Guillem Jover <guillem@debian.org>
  5297. * utils/start-stop-daemon.c [OSLinux] (pid_is_exec): Revert back to
  5298. take a struct stat instead of an execname. Get the filename pointed
  5299. by the '/proc/<pid>/exe' symlink, strip any ' (deleted)' string, and
  5300. stat that filename comparing the result with the new argument.
  5301. 2006-03-15 Guillem Jover <guillem@debian.org>
  5302. * scripts/controllib.pl.in: Rename to ...
  5303. * scripts/controllib.pl: ... this.
  5304. (debian_arch_expand): Remove function. Fix all callers.
  5305. (pkgdatadir, read_cputable, read_ostable): Move to ...
  5306. * scripts/dpkg-architecture.pl: ... here.
  5307. * scripts/Makefile.am (%.pl): Remove rule.
  5308. 2006-03-05 Guillem Jover <guillem@debian.org>
  5309. * scripts/controllib.pl.in (quiet_warnings): New variable.
  5310. (warn): Do not print if quiet_warnings.
  5311. * dpkg-source.pl (usageversion): Document new option `-q'.
  5312. 2006-03-05 Guillem Jover <guillem@debian.org>
  5313. * debian/control (Build-Depends): Do not depend on libselinux1-dev
  5314. in GNU/kFreeBSD amd64.
  5315. 2006-03-04 Christian Perrier <bubulle@debian.org>
  5316. * man/C/dpkg-architecture.1: Typo corrections.
  5317. * man/C/dpkg-checkbuilddeps.1: Likewise.
  5318. * man/C/dpkg-name.1: Likewise.
  5319. * man/C/dpkg-source.1: Likewise.
  5320. * man/C/deb-control.5: Likewise.
  5321. 2006-02-28 Guillem Jover <guillem@debian.org>
  5322. * man/C/dpkg.1 (SEE ALSO): Add dpkg-query(1).
  5323. 2006-02-28 Guillem Jover <guillem@debian.org>
  5324. * man/C/822-date.1: Lower case title header. Put options in bold,
  5325. files and arguments to options in italic. Escape hyphens used in
  5326. command line. Unescape dashes. Remove spaces after full stops and
  5327. after end of line. Separate sections with a dot. Do not put the
  5328. manpage section number in bold.
  5329. * man/C/cleanup-info.8: Likewise.
  5330. * man/C/deb.5: Likewise.
  5331. * man/C/deb-control.5: Likewise.
  5332. * man/C/deb-old.5: Likewise.
  5333. * man/C/dpkg.1: Likewise.
  5334. * man/C/dpkg.cfg.5: Likewise.
  5335. * man/C/dpkg-checkbuilddeps.1: Likewise.
  5336. * man/C/dpkg-deb.1: Likewise.
  5337. * man/C/dpkg-divert.8: Likewise.
  5338. * man/C/dpkg-name.1: Likewise.
  5339. * man/C/dpkg-query.1: Likewise.
  5340. * man/C/dpkg-scanpackages.1: Likewise.
  5341. * man/C/dpkg-source.1: Likewise.
  5342. * man/C/dpkg-split.1: Likewise.
  5343. * man/C/dpkg-statoverride.8: Likewise.
  5344. * man/C/dselect.1: Likewise.
  5345. * man/C/dselect.cfg.5: Likewise.
  5346. * man/C/install-info.8: Likewise.
  5347. * man/C/start-stop-daemon.8: Likewise.
  5348. * man/C/update-alternatives.8: Likewise.
  5349. * man/C/dpkg-scansources.1: Likewise. Remove '.IX' entries.
  5350. * man/C/dpkg-architecture.1: Likewise. Split most of the body of the
  5351. section DESCRIPTION into OPTIONS and ACTIONS.
  5352. 2006-02-28 Matt Kraai <kraai@ftbfs.org>
  5353. * scripts/dpkg-gencontrol.pl: Fix typo (occoured -> occurred).
  5354. * scripts/dpkg-source.pl: Likewise.
  5355. 2006-02-20 Matt Kraai <kraai@ftbfs.org>
  5356. * man/C/dpkg-source.1: Add missing parentheses around manpage
  5357. section number.
  5358. 2006-02-19 Guillem Jover <guillem@debian.org>
  5359. * po/README.translators: Move to ...
  5360. * README.translators: ... here. Formatting fixes. Update to refer
  5361. to latest new ChangeLog files, and rules.
  5362. 2006-02-19 Frank Lichtenheld <djpig@debian.org>
  5363. * scripts/dpkg-scanpackages.pl: Fix option
  5364. parsing of arch option. Also fix a mistake
  5365. in constructing @find_args.
  5366. 2006-02-18 Frank Lichtenheld <djpig@debian.org>
  5367. * scripts/dpkg-gencontrol.pl: Call parsedep
  5368. with use_arch and reduce_arch parameters to
  5369. allow using architectures in dependency
  5370. fields of binary packages in debian/control.
  5371. * scripts/dpkg-gencontrol.pl: Fix handling of
  5372. debian/files when architecture is set via -D
  5373. command line option. The value override was
  5374. applied too late.
  5375. * configure.ac: Bump version to 1.13.17~.
  5376. * configure.ac: Release 1.13.16.
  5377. 2006-02-18 A. Costa <agcosta@gis.net>
  5378. * man/C/dpkg-deb.1: Typo fix.
  5379. * man/C/dpkg-statoverride.8: Likewise.
  5380. * man/C/install-info.8: Likewise.
  5381. * man/C/start-stop-daemon.8: Likewise.
  5382. * man/C/update-alternatives.8: Likewise.
  5383. * man/C/dpkg.1: Likewise.
  5384. * man/C/dpkg.cfg.5: Likewise.
  5385. 2006-02-17 Frank Lichtenheld <djpig@debian.org>
  5386. * man/ChangeLog: Start an own changelog for the
  5387. manpages.
  5388. * scripts/dpkg-scanpackages.pl: Fix override handling
  5389. which was broken by the latest changes.
  5390. * scripts/dpkg-gencontrol.pl: Make -isp the default
  5391. behaviour.
  5392. * man/C/dpkg-source.1: Document the behaviour
  5393. change in dpkg-gencontrol.
  5394. * man/Makefile.am (updatepo): New target that calls
  5395. 'make updatepo' in all subdirectories.
  5396. 2006-02-17 Guillem Jover <guillem@debian.org>
  5397. * debian/dselect.install: Install only dselect domain.
  5398. * debian/dpkg.install: Install only dpkg domain.
  5399. * dselect/po: New directory.
  5400. * dselect/main.cc (main): Use DSELECT domain.
  5401. * dselect/Makefile.am (SUBDIRS): Add po.
  5402. * configure.ac (AC_CONFIG_FILES): Add dselect/po/Makefile.in.
  5403. 2006-02-17 Guillem Jover <guillem@debian.org>
  5404. * methods/: Move directory to dselect/methods/.
  5405. * Makefile.am (SUBDIRS): Move methods to ...
  5406. * dselect/Makefile.am (SUBDIRS): ... here. New variable.
  5407. * configure.ac (AC_CONFIG_FILES): Rename methods/Makefile to
  5408. dselect/methods/Makefile.
  5409. 2006-02-17 Guillem Jover <guillem@debian.org>
  5410. * configure.ac: Require gettext 0.14.5.
  5411. 2006-02-17 Guillem Jover <guillem@debian.org>
  5412. * configure.ac: Use AC_CONFIG_AUX_DIR to move auxiliary scripts to
  5413. config/.
  5414. 2006-02-16 Frank Lichtenheld <djpig@debian.org>
  5415. * configure.ac: Bump version to 1.13.16~.
  5416. 2006-02-15 Frank Lichtenheld <djpig@debian.org>
  5417. * configure.ac: Release 1.13.15.
  5418. 2006-02-13 Jordi Mallach <jordi@debian.org>
  5419. * src/processarc.c (process_archive): Add missing closing parenthesis
  5420. in a string.
  5421. 2006-02-12 Frank Lichtenheld <djpig@debian.org>
  5422. * configure.ac: Bump version to 1.13.15~.
  5423. * configure.ac: Release 1.13.14.
  5424. 2006-02-11 Denis Barbier <barbier@debian.org>
  5425. * man/C/dpkg.1: Escape ` and ', otherwise they are converted to
  5426. quotation marks, which makes cut and paste useless.
  5427. * man/C/dpkg-query.1: Likewise.
  5428. * man/C/dpkg-name.1: Likewise.
  5429. * man/C/dpkg-architecture.1: Likewise.
  5430. 2006-02-11 Frank Lichtenheld <djpig@debian.org>
  5431. * scripts/dpkg-source.pl: Add .git to
  5432. $diff_ignore_default_regexp.
  5433. * scripts/dpkg-source.pl: Remove any
  5434. newlines from Uploaders field to allow
  5435. people to make it multi-line in the
  5436. source package.
  5437. 2006-02-10 Denis Barbier <barbier@linuxfr.org>
  5438. * scripts/dpkg-source.pl: Touch all patched files
  5439. to have the same timestamp. This should mitigate
  5440. time-skew problems until we can finally add proper
  5441. timestamps to the diffs.
  5442. 2006-02-10 Ian Jackson <iwj@ubuntu.com>
  5443. * src/configure.c: Differentiate between modified
  5444. and deleted configuration files. Gives and more
  5445. accurate description to the user and eliminates
  5446. a warning that was produced when trying to
  5447. backup a non-existent file.
  5448. * lib/dpkg-db.h (conffile): Add `obsolete' field.
  5449. * lib/dump.c (w_conffiles): Write "obsolete" at the
  5450. end of conffile entry if obsolete is set.
  5451. * lib/fields.c (f_conffiles): Parse entries for
  5452. obsolete conffiles correctly.
  5453. * src/filesdb.h (filenamenode.flags): Add new
  5454. flag for obsolete conffiles.
  5455. * src/remove.c (removal_bulk_remove_configfiles):
  5456. Handle obsolete conffiles.
  5457. * src/archives.c (newconff_append): New function
  5458. to append a filenamenode to a fileinlist.
  5459. (addfiletolist): New function to add a filenamenode
  5460. to a tarcontext.
  5461. (tarobject): Use new addfiletolist function.
  5462. Handle case where a new package takes over
  5463. an obsolete conffile from another package.
  5464. * src/archives.h: Add declaration of the
  5465. addfiletolist function.
  5466. * src/processarc.c (process_archive): Use new
  5467. newconff_append function from archives.c.
  5468. Detect obsoleted conffiles and mark them as such.
  5469. * src/help.c (chmodsafe_unlink): Make it possible
  5470. to differentiate between failed chmod and failed
  5471. unlink by adding a new `failed' argument which
  5472. will be set to the name of the failed command.
  5473. (chmodsafe_unlink_statted): New function that
  5474. can be called if we already have a stat result for
  5475. the file/directory to be removed.
  5476. (ensure_pathname_nonexisting): Give better error
  5477. messages by utilizing the changes to
  5478. chmodsafe_unlink.
  5479. * src/main.h: Reflect changes in archives.c
  5480. and help.c (add declarations for newconff_append
  5481. and chmodsafe_unlink_statted and change the
  5482. one of chmodsafe_unlink).
  5483. (conffopt): Add new isold flag.
  5484. 2006-02-10 James R. Van Zandt <jrvz@comcast.net>
  5485. * man/C/dpkg.1: Document the default log file. The behaviour in case
  5486. of multiple --log options. And add a reference to dpkg.cfg manpage.
  5487. 2006-02-10 Philippe Batailler <philippe.batailler@free.fr>,
  5488. Guillem Jover <guillem@debian.org>
  5489. * man/C/dpkg-query.1: Use dots instead of blank lines to logically
  5490. separate sections.
  5491. (SYNOPSIS): Add command descriptions.
  5492. (COMMANDS): Use package-name instead of package.
  5493. (OPTIONS): Give an example for --showformat.
  5494. (SEE ALSO): Add a final dot to reference.
  5495. 2006-02-08 Guillem Jover <guillem@debian.org>
  5496. * man/po4a.mk (%): Replace % with $@ as the former is not substituted
  5497. in the rule's command.
  5498. 2006-02-08 Guillem Jover <guillem@debian.org>
  5499. * debian/contrl (Build-Depends): Depend on version >= 1.28-4 of
  5500. libselinux1-dev as it has pkg-config support. Remove libsepol1-dev,
  5501. now dragged by libselinux1-dev. Add pkg-config.
  5502. * m4/libs.m4 (DPKG_LIB_SELINUX): Use pkg-config to get the static
  5503. and dynamic linker flags, thus no more hardcoding the transitional
  5504. libraries.
  5505. 2006-02-07 Nicolas François <nicolas.francois@centraliens.net>
  5506. * man/C/dselect.1: Fix a typo: replace '.sh' by '.sp'.
  5507. * man/C/dpkg-scansources.1: Fix a typo: replace '.Sp' by '.sp'.
  5508. 2006-02-07 Guillem Jover <guillem@debian.org>
  5509. * man/C/update-alternatives.8: Remove trailing 'C'.
  5510. 2006-02-06 Changwoo Ryu <cwryu@debian.org>,
  5511. Guillem Jover <guillem@debian.org>
  5512. * lib/dump.c (writerecord): Mark strings as translatable.
  5513. * lib/fields.c (f_priority): Likewise.
  5514. * lib/mlib.c (checksubprocerr): Likewise.
  5515. 2006-02-06 Guillem Jover <guillem@debian.org>
  5516. * src/main.c (printversion): Do not split strings with a macro in
  5517. the middle, use C format arguments. Use printf instead of fputs.
  5518. * src/query.c (printversion): Likewise.
  5519. * dpkg-deb/main.c (printversion): Likewise.
  5520. * dpkg-split/main.c (printversion): Likewise.
  5521. * src/main.c (usage): Use printf instead of fprintf. Uppercase initial
  5522. letter for commands descriptions. Quote strings per line. Standarize
  5523. indentation. Split globally common strings. Remove program name prefix
  5524. from command descriptions. Standarize 'Usage:' and 'Commands:'
  5525. headings. Split independent commands into different lines.
  5526. * src/query.c (usage): Likewise.
  5527. * dpkg-deb/main.c (usage): Likewise.
  5528. * dpkg-split/main.c (usage): Likewise.
  5529. * src/main.c (printforhelp): Use 'license' instead of 'licence'.
  5530. * src/query.c (printforhelp): Likewise.
  5531. * dselect/main.cc (programdesc): Add version string from ...
  5532. (copyrightstring): ... here. Move GPL license notice to ...
  5533. (licensestring): ... here. New variable.
  5534. (printversion): Use printf instead of fprintf. Give proper arguments
  5535. to the new formatted strings. Print 'licensestring'.
  5536. (usage): Use printf instead of fprintf. Standarize indentation. Add
  5537. options descriptions. Add a new line after each section.
  5538. (curseson): Do not split strings with a macro in the middle, use
  5539. C format arguments.
  5540. (refreshmenu): Fix arguments given to 'programdesc' and
  5541. 'copyrightstring' variables. Print 'licensestring' variable.
  5542. 2006-02-06 Guillem Jover <guillem@debian.org>
  5543. * utils/start-stop-daemon.c (main): When using --chuid set the HOME
  5544. environment variable.
  5545. 2006-02-05 Christian Perrier <bubulle@debian.org>
  5546. * man/*: Switch all translations to po4a. Work contributed
  5547. by Nicolas François.
  5548. 2006-01-30 Frank Lichtenheld <djpig@debian.org>
  5549. * scripts/dpkg-shlibdeps.pl: Fix some variable name
  5550. typos that lead to semantic errors. Also change
  5551. the names of the variables to prevent such errors
  5552. in the future.
  5553. 2006-01-29 Frank Lichtenheld <djpig@debian.org>
  5554. * man/C/dpkg-scanpackages.1: Document new dpkg-scanpackages
  5555. -m option added by Don Armstrong.
  5556. * scripts/dpkg-scanpackages.pl: Fix some bugs introduced by
  5557. the rewrite.
  5558. * man/C/dpkg-source.1: Document that the -sX switches for
  5559. dpkg-source are mutually exclusive and only one can be in
  5560. effect.
  5561. * scripts/dpkg-source.pl: Warn if more than one -sX switch
  5562. is specified on the command line.
  5563. * scripts/dpkg-source.pl: Make dpkg-source -b more robust
  5564. regarding to existing symlinks by creating all files
  5565. in secure temporary files and renaming them afterwards.
  5566. This fixes problems with packages retrieved with
  5567. apt-get source from local repositories.
  5568. 2006-01-29 Don Armstrong <don@debian.org>
  5569. * scripts/dpkg-scanpackages.pl: Rewrite the script to support
  5570. multiple versions of packages in a single Packages file;
  5571. use Getopt::Long instead of attempting to parse the command line
  5572. ourselves and doing it badly;
  5573. get rid of unnecessary hashes and arrays that aren't used at all;
  5574. output help when given the --help/-h/-? options
  5575. 2006-01-29 maximilian attems <debian@sternwelten.at>
  5576. * scripts/dpkg-source.pl: Add files and
  5577. dirs used by bzr to $diff_ignore_default_regexp.
  5578. 2006-01-29 Julian Gilbey <jdg@debian.org>
  5579. * scripts/dpkg-buildpackage.sh: Create .changes
  5580. file even if signing .dsc file fails to make it
  5581. easier to just sign the package later.
  5582. * scripts/dpkg-buildpackage.sh: Change heuristics
  5583. of gpg check so that it allows for more complex
  5584. setups.
  5585. 2006-01-29 Anand Kumria <wildfire@progsoc.org>
  5586. * scripts/dpkg-source.pl (checkdiff): Ignore comments
  5587. hunk header line as used by diff -p.
  5588. 2006-01-29 Guillem Jover <guillem@debian.org>
  5589. * utils/start-stop-daemon.c (do_help): Print the proper version
  5590. giving it as an argument to printf, instead of printing 'VERSION'.
  5591. 2006-01-29 Guillem Jover <guillem@debian.org>
  5592. * configure.ac: Bump version to 1.13.14~.
  5593. 2006-01-28 Frank Lichtenheld <djpig@debian.org>
  5594. * configure.ac: Release 1.13.13.
  5595. 2006-01-28 Guillem Jover <guillem@debian.org>
  5596. * scripts/dpkg-architecture.pl: Do not print the warning about a
  5597. mismatch between gcc target machine type and GNU target system
  5598. type if the actions are '-e' or '-i'.
  5599. 2006-01-27 Frank Lichtenheld <djpig@debian.org>
  5600. * scripts/dpkg-shlibdeps.pl: Honor LD_LIBRARY_PATH when
  5601. searching for shared libraries.
  5602. * scripts/dpkg-shlibdeps.pl: Don't recurse into package
  5603. directories when searching for local shlibs files.
  5604. 2006-01-26 Zefram <zefram@fysh.org>,
  5605. Guillem Jover <guillem@debian.org>
  5606. * man/C/dpkg-query.1: Document the correct format string for
  5607. the '--showformat' option. Update '-l' example. Lower case program
  5608. name in title header.
  5609. 2006-01-26 Christoph Maser <cm@financial.com>
  5610. * utils/start-stop-daemon.c (do_help): Fix typo ('-C' -> '-d').
  5611. 2006-01-26 A Costa <agcosta@gis.net>
  5612. * man/C/dselect.1: Fix typos.
  5613. 2006-01-26 Bastian Kleineidam <calvin@debian.org>
  5614. * man/C/dpkg.1: Document the --no-debsig option.
  5615. 2006-01-26 Marc Haber <mh+debian-packages@zugschlus.de>
  5616. * man/C/dpkg-statoverride.8: Fix typo.
  5617. 2006-01-24 Frank Lichtenheld <djpig@debian.org>
  5618. * debian/control (Section): dpkg and dselect are now in section
  5619. admin, not section base. Correct info in the control file.
  5620. (Standards-Version): Bump Standards-Version to 3.6.2 (no changes).
  5621. * man/C/dpkg-architecture.1: Fix typo.
  5622. 2006-01-23 Vasilis Vasaitis <v.vasaitis@sms.ed.ac.uk>
  5623. * utils/start-stop-daemon.c (pid_is_exec) [OSLinux]: Change function
  5624. prototype to take a constant string instead of a struct stat. Compare
  5625. the filename pointed by the '/proc/<pid>/exe' symlink, instead of the
  5626. stat device and inode numbers. Fix all callers.
  5627. 2006-01-23 Frank Lichtenheld <djpig@debian.org>
  5628. * scripts/dpkg-shlibdeps.pl: Rewrite of the script
  5629. to not use the path information from ldd anymore (which
  5630. is unreliable in the case of symlinked directories and
  5631. not necessarily available for biarch builds). Instead
  5632. build an own representation of the search patch.
  5633. * scripts/dpkg-source.pl: Don't use \b to match the end
  5634. of the version in filenames, use (?=[.-]) and (?=\.) instead.
  5635. \b doesn't work in case the version ends with ~.
  5636. * AUTHORS: Updated for new maintenance team
  5637. * debian/copyright: Add myself as copyright holder since
  5638. I also added a note to that effect with my dpkg-shlibdeps
  5639. patch.
  5640. 2006-01-23 Guillem Jover <guillem@debian.org>
  5641. Support for architecture wildcards.
  5642. * scripts/controllib.pl: Rename to ...
  5643. * scripts/controllib.pl.in: ... this.
  5644. * scripts/dpkg-architecture.pl: Add new actions '-e' and '-i' that
  5645. call debian_arch_eq and debian_arch_is, to check for architecture
  5646. equality and identity respectively. Use debian_arch_fix instead of
  5647. the duplicated code.
  5648. (pkgdatadir, read_cputable, read_ostable): Move to ...
  5649. * scripts/controllib.pl.in: ... here.
  5650. (debian_arch_fix): New function. Fix normalized kernel-cpu input to
  5651. legacy Debian architecture output.
  5652. (debian_arch_split): New function. Normalize and split input into
  5653. kernel and cpu components.
  5654. (debian_arch_eq): New function. Compare two tuples for equality after
  5655. having normalized them with debian_arch_split.
  5656. (debian_arch_is): New function. Check two tuples for identity after
  5657. having normalized them with debian_arch_split.
  5658. (debian_arch_expand): New function. Expand the normalized input
  5659. into all possible legacy Debian architectures matching the wildcard.
  5660. (parsedep): Use debian_arch_is to check if the host architecture is
  5661. part of the architecture listed in the dependency relationship.
  5662. (showdep): Use debian_arch_exp