-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
14512 lines (10288 loc) · 544 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-10-31 Raphael Hertzog <[email protected]>
* configure.ac: Release 1.14.30.
* src/processarc.c (process_archive): fix metadata installation by
not mixing rename() in a readdir() loop.
2010-03-05 Raphael Hertzog <[email protected]>
* configure.ac: Release 1.14.29.
2010-03-05 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Patch.pm (analyze): sanity check
the paths inside the diff and error out if some path contain
"/../". Also forbid patches modifying files through a symlink.
* scripts/Dpkg/Source/Package/V3/quilt.pm: error out if the series
files contains insecure paths with "/../".
2010-01-03 Raphael Hertzog <[email protected]>
* configure.ac: Release 1.14.28.
2010-01-03 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm,
scripts/Dpkg/Source/Package/V2.pm: cherry-pick fixes
from master branch concerning new source formats:
- "3.0 (quilt)" now creates and uses .pc directory
- "3.0 (quilt)" verifies version of the quilt metadata before build
- "3.0 (quilt)" checks debian/patches{,series} before build
- "2.0" and "3.0 (quilt)" now fail if several orig.tar files
are available
- "2.0" and "3.0 (quilt)" don't complain on binary files that are
ignored
2009-11-13 Raphael Hertzog <[email protected]>
* configure.ac: Release 1.14.27.
2009-11-02 Raphael Hertzog <[email protected]>
* Cherry-pick fixes from master branch concerning the new source
formats.
* scripts/Dpkg/Source/Package/V2.pm (apply_patches): do not try to
apply empty patch set.
(do_build): remove debian/patches dir when empty.
* scripts/Dpkg/Source/Package/V3/quilt.pm (apply_patches): apply
all quilt patches in a single quilt invocation.
(register_autopatch): remove series file if empty and ensure
automatic patch is always well registered with quilt.
* scripts/Dpkg/Source/Package.pm (find_original_tarballs),
scripts/Dpkg/Source/Package/V2.pm (do_extract, do_build):
recognize supplementary upstream tarballs containing dashes in
the "component" part of the filename.
2009-04-09 Raphael Hertzog <[email protected]>
* configure.ac: Bump version to 1.14.27~.
2009-04-09 Raphael Hertzog <[email protected]>
* configure.ac: Release 1.14.26.
2009-04-09 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/CompressedFile.pm (cleanup_after_open): Do
not die when uncompressors processes (gunzip, bunzip, etc.) are
killed by SIGPIPE.
* scripts/Dpkg/Source/Compressor.pm (wait_end_process): Modified
so that it can forward options to Dpkg::IPC::wait_child().
2009-02-03 Guillem Jover <[email protected]>
* configure.ac: Bump version to 1.14.26~.
2009-02-03 Guillem Jover <[email protected]>
* configure.ac: Release 1.14.25.
2009-02-02 Guillem Jover <[email protected]>
* src/archives.c (tarobject): Do not call ensure_pathname_nonexisting
for .dpkg-tmp and .dpkg-new if we are going to return due to already
existing directory or a file to be skept.
2008-02-02 Raphael Hertzog <[email protected]>
* dpkg-deb/build.c: Ensure that data.tar and control.tar
archives created inside a .deb use the GNU format that is compatible
with dpkg itself. And remove TAR_OPTIONS from environment to
avoid unexpected user customizations of the resulting archives.
2008-12-29 Guillem Jover <[email protected]>
* configure.ac: Bump version to 1.14.25~.
2008-12-29 Guillem Jover <[email protected]>
* configure.ac: Release 1.14.24.
2008-12-20 Guillem Jover <[email protected]>
* src/archives.c (tarobject): Move a 'continue' inside a conditional
checking if the conffile to take over was obsolete on the other
package by adding missing bracese.
2008-12-01 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Archive.pm (extract): Do not create the temp
directory in the current directory but in the parent directory of
the target directory. Otherwise the code would fail when called
from a non-writable dir and rename could fail due to filesystem
boundaries beetwen the current dir and the target one.
2008-12-01 Modestas Vainius <[email protected]>
* scripts/dpkg-shlibdeps.pl: Don't merge all dependency templates
into the generated dependency when Build-Depends-Package is
used in the symbols file. Instead simply modify the minimal
version on any pre-existing dependency.
2008-11-19 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Shlibs/Objdump.pm (parse_dynamic_symbol): Fix the
regular expression to not require two space between alignment and
symbol name.
* scripts/t/200_Dpkg_Shlibs.t,
scripts/t/200_Dpkg_Shlibs/objdump.ls: Add a non-regression test
corresponding to the above case.
2008-11-18 Guillem Jover <[email protected]>
* configure.ac: Bump version to 1.14.24~.
2008-11-18 Guillem Jover <[email protected]>
* configure.ac: Release 1.14.23.
2008-11-14 Guillem Jover <[email protected]>
* lib/ehandle.c (run_error_handler): In case of onerr_abort print an
error message and exit, otherwise longjmp.
2008-11-14 Guillem Jover <[email protected]>
* src/main.h (abort_processing): New variable declaration.
* src/errors.c (abort_processing): New variable definition.
* src/archives.c (print_error_perpackage): Use abort_processing
instead of onerr_abort for non fatal errors.
(reportbroken_retexitstatus): Likewise. Do not check onerr_abort
for the exit value as it should not have reached this function.
* src/packages.c (process_queue): Likewise. Return on entering if
it should abort processing.
2008-11-14 Guillem Jover <[email protected]>
* lib/ehandle.c (run_error_handler): New function.
(push_error_handler): Use run_error_handler instead of directly
calling longjmp.
(ohshit): Likewise.
(ohshitvb): Likewise.
(ohshitv): Likewise.
(ohshite): Likewise.
2008-11-07 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Version.pm: Synchronize code with version used by
debbugs (add some bugfixes).
* scripts/t/900_Dpkg_Version.t: Add non-regression tests for
version comparison code.
* scripts/Makefile.am: Add new file in the dist tarball.
2008-10-20 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Shlibs/SymbolFile.pm (load): Let the recursively
nested calls to load() modify the name of the current object so
that the header can be set in an included file (like it's already
documented).
2008-09-26 Thiemo Seufer <[email protected]>
* scripts/Dpkg/Shlibs/SymbolFile.pm: add "__gnu_local_gp" symbol
to the blacklist (mips/mipsel specific symbol that appeared with
GCC 4.3).
2008-09-05 Raphael Hertzog <[email protected]>
* configure.ac: Bump version to 1.14.23~.
2008-09-05 Raphael Hertzog <[email protected]>
* configure.ac: Release 1.14.22.
2008-08-29 Raphael Hertzog <[email protected]>
* scripts/dpkg-gensymbols.pl: It was already skipping symlinks
within the package build tree. Now it also skips real
directories accessed through a symlink contained in the package
build tree. Package like libc6-386 had symlinks usr/lib32
pointing to some directories outside of the build tree and
the LD_LIBRARY_PATH set by fakeroot led contained
/usr/lib32/libfakeroot which made dpkg-gensymbols scan this
directory and add libfakeroot to the libc6-386 symbols file!
2008-08-29 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm: run_quilt() can be run
when no quilt series file exist yet. In that case we have to
provide the name of the series file that we want to create (as the
quilt command might create it). Up to now
File::Spec->rel2abs(undef) returned the name of the current
directory and we improperly used that as value of QUILT_SERIES.
* scripts/Dpkg/Source/Package/V2.pm (do_build): Change permissions
of the automatically generated patch which is initially created
0600 with tempfile().
2008-08-26 Guillem Jover <[email protected]>
* configure.ac: Bump version to 1.14.22~.
2008-08-26 Guillem Jover <[email protected]>
* configure.ac: Release 1.14.21.
2008-08-26 Guillem Jover <[email protected]>
* man/dpkg.1: Escape hyphen in apt-get command.
2008-08-17 Guillem Jover <[email protected]>
* man/dpkg.1: Change reference to dselect as being the preferred
fron-end to aptitude. And 'apt-get dselect-upgrade' to be used to
act on the current package selections. Add references to aptitude
and apt man pages in 'SEE ALSO'.
2008-08-16 Guillem Jover <[email protected]>
* src/main.c (setpipe): Set file descriptors to close on exec.
2008-08-15 Guillem Jover <[email protected]>
* scripts/dpkg-buildpackage.pl (usage): Fix description of -si option.
* man/dpkg-buildpackage.1: Match description of -si option with the
one from dpkg-genchanges.1.
2008-08-15 Raphael Hertzog <[email protected]>
* Dpkg/Source/Package.pm (new): Call init_options() only if
initialize() has been called as it's supposed to be called
only after the object has been upgraded to its target type.
(init_options): add a comment that explains that this function is
not called by Dpkg::Source::Package::V1::init_options() and
render the function more robust.
2008-08-15 Ian Jackson <[email protected]>
* src/packages.c (process_queue): When onerr_abort is bigger than 0
return instead of breaking out of the loop, to avoid wrongly
asserting that !queue.length.
2008-08-15 Guillem Jover <[email protected]>
* lib/dbmodify.c (modstatdb_note): Do not call modstatdb_note_core if
cstatus does not allow writting. Move the core functionallity to ...
(modstatdb_note_core): ... here. New function.
* src/help.c (post_postinst_tasks_core): Do not call trig_incorporate
if running under --no-act.
* src/trigproc.c (trigproc): Do not call maintainer_script_postinst
if running under --no-act.
(trig_transitional_activate): Do not call trig_file_interests_save
if cstatus does not allow writting.
2008-08-15 Guillem Jover <[email protected]>
* lib/dpkg-db.h (trig_enqueue_awaited_pend): New function prototype.
(trig_fixup_awaiters): Likewise.
* lib/dbmodify.c (modstatdb_init): Call trig_fixup_awaiters.
* lib/fields.c (f_trigaw): Call trig_enqueue_awaited_pend.
* lib/triglib.c (struct pkg_list): New type.
(trig_awaited_pend_head): New variable.
(trig_enqueue_awaited_pend): New function definition.
(trig_fixup_awaiters): Likewise.
2008-06-24 Raphael Hertzog <[email protected]>
* debian/archtable: Add armel.
2008-06-21 Raphael Hertzog <[email protected]>
* scripts/dpkg-buildpackage.pl, scripts/dpkg-genchanges.pl: Treat
debian.tar.gz files (used by 3.0 (quilt) source packages) like
diff.gz files when it comes to detection of the kind of upload.
2008-06-21 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm: Define QUILT_SERIES
when running quilt in order to be able to use quilt series with
non-standard names (like debian.series or ubuntu.series).
2008-06-18 Raphael Hertzog <[email protected]>
* configure.ac: Bump version to 1.14.21~.
2008-06-18 Raphael Hertzog <[email protected]>
* configure.ac: Release 1.14.20.
2008-06-16 Guillem Jover <[email protected]>
* lib/triglib.c (trig_file_interests_ensure): Pass the proper mask
to push_cleanup to make sure pop_cleanup closes the file.
2008-06-15 Guillem Jover <[email protected]>
* scripts/dpkg-divert.pl (checkrename): Do not check the target file
if the source does not exist and dorename was thus disabled.
2008-06-09 Raphael Hertzog <[email protected]>
* scripts/dpkg-divert.pl, scripts/update-alternatives.pl,
scripts/install-info.pl, scripts/dpkg-statoverride.pl: Set
PERL_DL_NONLAZY to 1 so that the usage of Locale::Gettext doesn't
cause run-time failures when this perl binary module is not
compiled for the corresponding perl version (and this happens in
configuration scripts, in particular preinst, during upgrades).
2008-06-08 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Patch.pm (analyze): Be less strict in
filenames accepted on ---/+++ lines. Don't blow up on absolute
filenames if the other one is fine. Make sure to use the one that
is relative and that corresponds to a real file when possible.
2008-06-08 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm: Use absolute path names
when giving directories and filenames to quilt to avoid any
problems due to quilt's feature of trying relative paths in parent
directories too.
2008-06-07 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Patch.pm (analyze): Accept unexpected
end-of-file in patches if we're missing no more than 2 lines
of context. Output a warning instead.
2008-06-07 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm (register_autopatch):
Register the newly created patch with quilt only if quilt has
already been used to apply the existing patches (or if we don't
have any patch yet), otherwise register it manually at the end of
the series.
2008-06-05 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Patch.pm (add_diff_directory): If option
use_dev_null is set, then the label of the "old" file will be
'/dev/null' if we're creating a new file (instead of using the
name of the created file, like it's currently done in .diff
of version "1.0" source packages).
* scripts/Dpkg/Source/Package/V2.pm (prepare_build): Use the new
option "use_dev_null" when creating the automatic patch.
2008-06-05 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm (get_patches): Really
skip all comments in the series files.
2008-06-04 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Patch.pm (analyze): Enhance function to
parse correctly many more patches that are accepted by the patch
utility itself:
- ignore/strip carriage return of patches with Windows end of lines
- accept empty lines as contextual lines (instead of the expected " ")
- accept spaces as separator between filename and timestamp if
there's no tab
- accept a name that differs on the +++ line if the name in --- is
correct, and use the name in +++ if this one exists while the one
on --- doesn't.
2008-05-28 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package.pm (extract): If we extract a
source package that uses a non-standard (!= 1.0) source package
then we create debian/source/format to remember it.
* scripts/dpkg-source.pl: Use debian/source/format as a new source
of format to try when building the package. Prioritize it lower than
command line and debian/control but higher than the default build
formats.
* man/dpkg-source.1: Document the above changes.
2008-05-28 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm: Factorize calls to
quilt in a new run_quilt() function. And check only once
if quilt is available while setting the default value of
without_quilt option. Last but not least, register properly the
automatically generated patch with quilt import.
2008-05-28 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Patch.pm (check_apply): New function to
verify if a patch will successfully apply on top of a given
directory.
* scripts/Dpkg/Source/Package/V3/quilt.pm (check_patches_applied):
Don't trust debian/patches/.dpkg-source-applied blindly. Get a
list of (supposedly unapplied) patches and verify if the first
patch applies or not. If yes, then apply the patch series,
otherwise do not (and assume that the patch series is already
applied).
2008-05-23 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V2.pm (do_build): Display a
message when local modifications are stored in a new
automatic patch. This messages includes a list of
modified files.
2008-05-23 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm: Remove the .diff
from the name of the automatically generated patch. It will
facilitate the switch to this format: packages using
patch system that apply debian/patches/*.{patch,diff}
will not be bothered by the presence of the quilt serie
created by dpkg-source itself.
* man/dpkg-source.1: Update the documentation accordingly.
* man/po/*.po: Fix all the filenames to avoid fuzzying
translations.
2008-05-22 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3/quilt.pm: Add missing "use
File::Path" for mkpath().
2008-05-13 Guillem Jover <[email protected]>
* src/main.c (setforce): Add help output for '--force-breaks'.
2008-05-12 Guillem Jover <[email protected]>
* configure.ac: Bump version to 1.14.20~.
2008-05-12 Guillem Jover <[email protected]>
* configure.ac: Release 1.14.19.
2008-05-12 Guillem Jover <[email protected]>
* scripts/dpkg-gencontrol.pl: Get Package-Type field value also from
custom field.
2008-05-11 Raphael Hertzog <[email protected]>
* src/processarc.c (process_archive): While removing files that
disappeared, move the call to namenodetouse before the test
that skips directory shared with other packages. This is required
because namenodetouse() handles trigger activation and we really
want directories containing (only) removed files to activate the
corresponding triggers.
2008-05-08 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V2.pm,
scripts/Dpkg/Source/Package/V3/quilt.pm: Ensure the
.dpkg-source-applied stamp file is created when an automatic patch
is created so that a second build doesn't try to mistakenly
reapply it.
2008-05-08 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Functions.pm (is_binary): New function
to check if a file is binary by using diff against it.
* scripts/Dpkg/Source/Package/V2.pm: Check that all files from the
debian sub-directory are non-binary and only allow whitelisted
binary files.
* man/dpkg-source.1: Document this behaviour.
2008-05-08 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Changelog/Debian.pm (parse): Bugfix in creation of
an unexpected new changelog entry that lacks an header line.
2008-05-04 Marco d'Itri <[email protected]>
* scripts/Dpkg/Source/Patch.pm: Add missing import of internerr.
2008-04-26 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package.pm (upgrade_object_type): Instead
of using the full Format: version to deduce the perl object name
use only the major part of the version. The minor part is under
control of the corresponding object, that way they can evolve
and indicate that the source package has changed in a backwards
compatible way. See
http://lists.debian.org/debian-dpkg/2008/04/msg00045.html
Also add a new parameter to disable update of the minor version in
the Format field.
(initialize): Don't let the Format field be updated by
upgrade_object_type() as this function only loads information from
the .dsc into the object.
* scripts/Dpkg/Source/Package/**: Rename V1_0.pm into V1.pm,
V2_0.pm into V2.pm and V3_0/ into V3/. Fix perl package names
accordingly. Integrated a $CURRENT_MINOR_VERSION set to "0"
in all packages.
* scripts/Makefile.am, scripts/po/POTFILES.in: Update the lists
according to above file renames.
2008-04-25 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3_0/quilt.pm: Parse correctly
series files with patch options and warn if something else than
-p1 is used.
* man/dpkg-source.1: Document how dpkg-source handles those patch
options in series files.
2008-04-25 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V3_0/native.pm: Fix permissions of
generated tarball to "666 & ~umask()".
2008-04-14 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Fields.pm (find_custom_field, get_custom_field):
New function to handle custom fields (X[SBC]*-*).
* scripts/dpkg-genchanges.pl: Use Package-Type control field to
decide if a package is an udeb instead of relying on the file
extension of a generated package since that doesn't work when
generating source-only uploads for example.
2008-04-14 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Patch.pm (_fail_not_same_type): Fix
inversion between new/old filetype.
2008-04-12 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Path.pm (check_files_are_the_same): Add a new
parameter so that we can use stat() instead of lstat() and
compare if pointed files are the same.
* scripts/Dpkg/Source/Package.pm: Resolve symlinks before deciding
if both original tarballs are the same or not. Use the new
parameter of check_files_are_the_same() for this.
* scripts/Dpkg/Source/Package/V1_0.pm: Remove useless import of
check_files_are_the_same.
2008-04-12 Sven Joachim <[email protected]>
* scripts/Dpkg/Source/Package.pm: Add missing import of
subprocerr.
2008-04-12 Russell Coker <[email protected]>,
Guillem Jover <[email protected]>
* src/archives.c (tarobject): Set scontext to NULL after freecon.
2008-04-10 Sven Joachim <[email protected]>
* src/trigcmd.c: Fix typo.
2008-04-09 Sven Joachim <[email protected]>
* THANKS: Update my e-mail address.
2008-04-08 Guillem Jover <[email protected]>
* configure.ac: Bump version to 1.14.19~.
2008-04-08 Guillem Jover <[email protected]>
* configure.ac: Release 1.14.18.
2008-04-08 Guillem Jover <[email protected]>
* doc/triggers.txt: Fix wrong dpkg trigger related option names.
2008-04-08 Guillem Jover <[email protected]>
* doc/triggers.txt: Move parts of the document into proper man pages.
Add references to those.
2008-04-05 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V1_0.pm: Do not use
diff -p to generate patches as dpkg-source of sarge doesn't accept
data after the @@.
2008-04-04 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Shlibs/SymbolFile.pm (get_smallest_version): New
function to retrieve the smallest "minver" of all symbols of a
given library.
* scripts/dpkg-shlibdeps.pl: Do not initialize dependencies of
libraries with symbols files as unversioned, instead use the
smallest minimal version returned by the function above. This
is required because the library might not have always been
available in the package and the unversioned dependency thus
doesn't ensure his presence.
* scripts/t/800_Dpkg_IPC.t: Remove temporary files used by the
tests.
2008-04-02 Sven Joachim <[email protected]>
* lib/triglib.c (trk_unknown_interest_change): Fix typo.
* dselect/helpmsgs.cc (hlp_displayexplain1): Ditto.
2008-04-02 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package.pm, scripts/dpkg-genchanges.pl:
Explicitely put Checksums-* fields before the Files field so that
the Files field is last. This is a work-around for some braindead
dsc parsers (dupload and sbuild for instance, see #473518 and
#470440).
2008-04-01 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V2_0.pm: Add the option
--skip-patches to not apply patches at the end of the source
package extraction. Also works for Format: 3.0 (quilt).
* man/dpkg-source.1: Document the above change.
2008-04-01 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Source/Package/V2_0.pm (do_extract): Create
debian/patches/.dpkg-source-applied containing the list of patches
applied during extraction.
(prepare_build): apply patches before trying to build a source package
when it's clear that they have not been applied because
debian/patches/.dpkg-source-applied doesn't exist.
* scripts/Dpkg/Source/Package/V3_0/quilt.pm: Likewise. If a .pc
directory is present, then use "quilt unapplied" to check if all
patches have been applied.
* man/dpkg-source.1: Document the above changes.
2008-04-01 Raphael Hertzog <[email protected]>
* scripts/Dpkg/IPC.pm (fork_and_exec): Handle redirection
of STDERR with new options error_to_{file,pipe,string,handle}.
2008-04-01 Guillem Jover <[email protected]>
* lib/trigdeferred.l (trigdef_update_start): Use TRIGGERSLOCKFILE
instead of literal string.
2008-04-01 Guillem Jover <[email protected]>
* src/enquiry.c (badstatinfos): Fix typos (processesing -> processing).
2008-03-30 Guillem Jover <[email protected]>
* configure.ac: Bump version to 1.14.18~.
2008-03-30 Guillem Jover <[email protected]>
* configure.ac: Release 1.14.17.
2008-03-30 Guillem Jover <[email protected]>
* dselect/main.cc: Use <ncursesw/term.h> instead of <term.h>.
* dselect/dselect.h: Use <ncursesw/curses.h> instead of <curses.h>.
* dselect/Makefile.am (curkeys.h): Likewise.
2008-03-30 Guillem Jover <[email protected]>
* po/POTFILES.in: Add 'lib/cleanup.c', 'lib/log.c', 'lib/myopt-util.c'
and remove 'lib/showcright.c'.
* scripts/Makefile.am (EXTRA_DIST): Add
't/600_Dpkg_Changelog/regressions'.
2008-03-30 Ian Jackson <[email protected]>,
Guillem Jover <[email protected]>
* doc/triggers.txt: New file.
* lib/dlist.h: Likewise.
* lib/trigdeferred.l: Likewise.
* lib/triglib.c: Likewise.
* src/trigcmd.c: Likewise.
* src/trigproc.c: Likewise.
* configure.ac: Use AC_PROG_LEX.
* Makefile.am (EXTRA_DIST): Add 'doc/triggers.txt'.
* po/POTFILES.in: Add 'lib/trigdeferred.c', 'lib/triglib.c',
'src/trigcmd.c' and 'src/trigproc.c'.
* dselect/helpmsgs.cc (hlp_displayexplain1): Document the new trigger
statuses.
* dselect/pkgdepcon.cc (packagelist::useavailable): Treat the trigger
statuses in the same way as installed status.
(packagelist::deppossatisfied): Likewise.
* dselect/pkgdisplay.cc (statusstrings): Add trigger statuses
descriptions.
(statuschars): Likewise.
* dselect/pkglist.cc (packagelist::ensurestatsortinfo): Mark trigger
status as broken.
* lib/.gitignore: Add 'trigdeferred.c'.
* lib/Makefile.am (libdpkg_a_SOURCES): Add 'dlist.h', 'triglib.c' and
'trigdeferred.l'.
* lib/database.c (blankpackage): Initialize trigaw.head, trigaw.tail,
othertrigaw_head and trigpend_head members.
* lib/dbmodify.c (triggersdir, triggersfilefile): New variables.
(triggersnewfilefile): Likewise.
(fnis): Add 'TRIGGERSDIR', 'TRIGGERSDIR "/File"' and
'TIGGERSDIR "/File.new"' entries.
(modstatdb_init): Incorporate triggers.
(modstatdb_note): Reset trigpend_head if status is not a trigger one.
Remove awaited triggers if status is <= than configfiles. Clear
awaiters.
* lib/dpkg-db.h (struct trigpend, struct trigaw): New types.
(enum trigdef_updateflags, struct trigdefmeths): Likewise.
(struct trigfileint, struct trig_hooks): Likewise.
(enum pkgstatus): Add stat_triggersawaited and stat_triggerspending.
(struct pkginfo): Add new trigaw, othertrigaw_head and trigpend_head
members.
(triggersdir, triggersfilefile, triggersnewfilefile): New variables.
(trigdef, trig_new_deferred, trigh): Likewise.
(trigdef_update_start, trigdef_yylex, trigdef_process_done): New
functions prototypes.
(trig_note_pend_core, trig_note_pend, trig_note_aw): Likewise.
(trig_clear_awaiters, trig_incorporate): Likewise.
(trig_file_activate_byname, trig_file_activate): Likewise.
(trig_file_interests_ensure, trig_file_interests_save): Likewise.
(trig_cicb_interest_delete, trig_cicb_interest_add): Likewise.
(trig_cicb_statuschange_activate, trig_parse_ci): Likewise.
(illegal_triggername): Likewise.
(trig_parse_cicb): New function typedef.
(TRIGHOOKS_DEFINE_NAMENODE_ACCESSORS): New macro.
* lib/dpkg.h (TRIGGERSCIFILE, TRIGGERSDIR, TRIGGERSFILEFILE)
(TRIGGERSDEFERREDFILE, TRIGGERSLOCKFILE, MAINTSCRIPTPKGENVVAR)
(MAINTSCRIPTDPKGENVVAR, MAXTRIGDIRECTIVE): New macros.
(MAXUPDATES): Set to 250.
* lib/dump.c (w_configversion): Do not write the field if on trigger
statuses either.
(w_status): Abort on unknown status. Assert the presence or not
of awaited and pending triggers depending on the status.
(w_trigpend, w_trigaw): New functions.
* lib/fields.c (scan_word, f_trigpend, f_trigaw): Likewise.
* lib/parse.c: Include <assert.h>.
(fieldinfos): Add 'Triggers-Pending' and 'Triggers-Awaited' fields.
(parsedb): Add new variable aw. Check for consistency between the
triggers lists and the status. Initialize trigpend_head and trigaw.
* lib/parsedump.h (f_trigpend, f_trigaw, w_trigpend, w_trigaw): New
function prototypes.
* lib/parsehelp.c (statusinfos): Add 'triggers-awaited' and
'triggers-pending'.
* src/Makefile.am (bin_PROGRAMS): Add 'dpkg-trigger'.
(dpkg_SOURCES): Add 'trigproc.c'.
(dpkg_trigger_SOURCES, dpkg_trigger_LDADD): New variables.
* src/archives.c (check_conflict): Treat trigger statuses the same way
as installed.
(archivefiles): Install trigger hooks. Make act_triggers perform
process_queue. Do a deferred triggers process run.
(wanttoinstall): Treat trigger statuses the same way as installed.
Remove duped check about package being installed on forced
skip-same-version.
* src/configure.c (deferred_configure): Activate file triggers on
conffile changes.
* src/depcon.c (depisok): Treat trigger statuses the same way as
installed for the dependency and for breaks or conflicts. For depends,
predepends, recommends and suggests treat triggerspending as installed
and triggersawaited as halfconfigured.
* src/enquiry.c (badstatinfos): Add stat_triggerspending and
stat_triggersawaited entries.
(yettobeunpacked): Treat trigger statuses as unpacked.
(assertversion): Treat triggerspending the same way as installed,
and triggersawaited as not fully installed.
* src/filesdb.h (enum fnnflags): Add new fnn_nonew item.
(struct filenamenode): Add new trig_interested member.
* src/filesdb.c (ensure_package_clientdata): Initialize
clientdata->trigprocdeferred.
(findnamenode): Return NULL if flags has fnn_nonew and there is no
match before creating a new one. Initialize trig_interested when
creating a newnode.
* src/help.c (statusstrings): Add trigger statuses descriptions.
(namenodetouse): Activate a file trigger before returning.
(post_postinst_tasks): Initialize trigpend_head to NULL. Set status
to stat_triggersawaited if trigaw.head otherwise to new_status.
Call post_postinst_tasks_core. Move call to modstatdb_note to ...
(post_postinst_tasks_core): ... here. New function. Incorporate
triggers.
(post_script_tasks): Incorportate triggers.
(do_script): Set MAINTSCRIPTPKGENVVAR and MAINTSCRIPTDPKGENVVAR
environment variables.
* src/main.h (struct perpackagestate): Add new trigprocdeferred
member.
(enum action): Add new act_triggers item.
(f_triggers): New variable definition.
(namenodetouse): Add a comment about its new side effects.
(post_postinst_tasks_core): Likewise. New prototype.
(enum debugflags): Add dbg_triggers, dbg_triggersdetail and
dbg_triggersstupid items.
(trigproc_install_hooks, trigproc_run_deferred): New protoypes.
(trigproc_reset_cycle, trigproc): Likewise.
(trig_activate_packageprocessing): Likewise.
* src/main.c (usage): Document '--triggers-only' and
'--[no-]triggers'.
(f_triggers): New variable declaration
(setdebug): Document new triggers debug flags.
(cmdinfos): Add triggers-only, triggers and no-triggers entries.
(main): Disable f_triggers when --triggers-only has been specified.
* src/packages.c (progress_bytrigproc): New variable.
(packages): Install trigger hooks. On act_configure skip the package
also if trigpend_head is not valid. Handle act_triggers. Do a
deferred triggers process run.
(process_queue): New action_todo variable. Set the same value for
istobe as on act_triggers as for act_configure. Print the same message
when erasing the queue entry on act_triggers as for act_configure.
Add packages which can be fixed by means of processing their triggers
to the queue and set the action to act_configure. On act_triggers
ohshit if trigpend_head is NULL, otherwise fall through to
act_install. On act_configure call trigproc if there's pending
triggers or call deferred_configure.
(deppossi_ok_found): Add a new fixbytrig argument, fix all callers.
Treat trigger statuses the same way as installed. Handle dependee
trigger statuses.
(dependencies_ok): Handle packages which can be fixed by means of
processing their triggers.
* src/processarc.c (process_archive): Ensure file triggers intersts.
Activate trigger package processsing. Parse package triggers control
file before reading the conffiles. Treat trigger statuses the same
way as installed. Activate trigger package processing for the package
being deconfigured and for conflictors. Parse package control file
to delete the package and parse it again to re-add it and then save
the file triggers interests. Activate trigger package processing for
disappearing packages.
* src/query.c (list1package): Add trigger statuses to the listing
header and to the one letter statuses.
* src/remove.c (checkforremoval): Treat trigger statuses in the same
way as installed.
(deferred_remove): Activate trigger package processing. Operate on
packages with halfconfigured or higher status.
(removal_bulk_remove_configfiles): Activate trigger package processing.
2008-03-28 Ian Jackson <[email protected]>
* src/packages.c (deppossi_ok_found): Refactor returning code.
2008-03-28 Ian Jackson <[email protected]>
* src/depcon.c (depisok): Improve whynot message by stating when a
package is installed with 'is present'.
2008-03-28 Ian Jackson <[email protected]>
* src/help.c (cu_post_script_tasks): New function.
(do_script): Install cu_post_script_tasks as a cleanup handler.
(maintainer_script_alternative): Call post_script_tasks if the
first do_script invokation fails instead of it succeeding.
2008-03-28 Ian Jackson <[email protected]>,
Guillem Jover <[email protected]>
* src/main.h (maintainer_script_postinst): New prototype.
* src/help.c (post_script_tasks): New function.
(maintainer_script_installed): Renamed to ...
(vmaintainer_script_installed): ... this. Dot not call
ensure_diversions.
(maintainer_script_installed): New function.
(maintainer_script_postinst): Likewise.
(maintainer_script_new): Call post_script_tasks instead of directly
calling ensure_diversions.
(maintainer_script_alternative): Likewise.
* src/cleanup.c (cu_prermupgrade): Use maintainer_script_postinst
instead of maintainer_script_installed.
(cu_prermdeconfigure): Likewise.
(cu_prerminfavour): Likewise.
(cu_prermremove): Likewise.
(deferred_configure): Likewise.
* src/configure.c (deferred_configure): Likewise.
2008-03-28 Ian Jackson <[email protected]>,
Guillem Jover <[email protected]>
* src/main.h (post_postinst_tasks): New prototype.
* src/help.c (post_postinst_tasks): New function.
* src/cleanup.c (cu_prermupgrade): Use post_postinst_tasks instead of
duplicate code.
(cu_prermdeconfigure): Likewise.
(cu_prerminfavour): Likewise.
(cu_prermremove): Likewise.
* src/configure.c (deferred_configure): Likewise.
2008-03-28 Guillem Jover <[email protected]>
* src/packages.c (process_queue): Fix typo in comment.
2008-03-28 Ian Jackson <[email protected]>
* src/help.c (statusstrings): Improve Breaks message by saying that
it can be in that status due to a failed installation.
2008-03-29 Raphael Hertzog <[email protected]>
* scripts/dpkg-buildpackage.pl: If the user request a cross-compilation,
then define PKG_CONFIG_LIBDIR so that it will look in directories
specidic to the target architecture.
* man/dpkg-buildpackage.1: Document this change and also the -t option.
2008-03-28 Raphael Hertzog <[email protected]>
* scripts/dpkg-buildpackage.pl: LDFLAGS now defaults to an empty
value instead of "-Wl,-Bsymbolic-functions". The latter can break
some libraries at run-time and such a change is best done
at the beginning of a release cycle.
2008-03-27 Raphael Hertzog <[email protected]>
* scripts/Dpkg/Shlibs.pm: Support cross-compilation by adding
directories containing libraries for the architecture that is
being crossbuilt.
2008-03-27 Raphael Hertzog <[email protected]>
Frank Lichtenheld <[email protected]>
Joey Hess <[email protected]>
Colin Watson <[email protected]>
* Merge branch 'sourcev3'. It contains an extensive refactoring of
dpkg-source around many new modules in scripts/Dpkg/Source/.
General purpose changes:
* scripts/Dpkg/IPC.pm: New module offering fork_and_exec() to
conveniently execute any program in a child process. It hides
all the error checking and lets you easily redirect input and
output streams.
* scripts/t/800_Dpkg_IPC.t: Non-regression tests for the module
above.
* scripts/Dpkg/Exit.pm: New module to register functions
that would be called if the process was interrupted by a signal.
Useful to cleanup temporary files if we're interrupted while doing
some heavy I/O operation (as dpkg-source can do).
* scripts/Dpkg/ErrorHandling.pm (info, errormsg): info() reports
informational notices on STDOUT and errormsg() displays an error
message on STDERR without dying. Use it only when you will die
later on but want to display all errors before doing so.
* scripts/dpkg-source.pl: Heavy rewrite/refactoring based on
all the modules listed below.
* man/dpkg-source.1: Update the manual page to document all the
source package formats and the associated options.
Dpkg::Source::* infrastructural modules:
* scripts/Dpkg/Source/Compressor.pm: Compress and uncompress a
stream of data.
* scripts/Dpkg/Source/CompressedFile.pm: Base class used to
provide on-the-fly compression and decompression of any file.
Dpkg::Source::Archive and Dpkg::Source::Patch inherit from it.
* scripts/Dpkg/Source/Archive.pm: Create and manipulate tar files.
* scripts/Dpkg/Source/Patch.pm: Create and manipulate patch files.
* scripts/Dpkg/Source/Functions.pm: Misc helper functions.
erasedir() removes recursively a directory in a safe manner.
fixperms() make sure the permissions of all files in a tree
are sane.
Source package formats:
* scripts/Dpkg/Source/Package.pm: Base class implementing the
functions common to all source package formats.
* scripts/Dpkg/Source/Package/V1_0.pm: Implement the actual
"Format: 1.0" source package format.
* scripts/Dpkg/Source/Package/V2_0.pm: Implement the wig&pen
format as specified in http://www.dpkg.org/dpkg/NewSourceFormat.
* scripts/Dpkg/Source/Package/V3_0/native.pm: Native source
packages (single tarball) that supports all compressions
methods. Compatible with "Format: 1.0" if gzip compression is
used.
* scripts/Dpkg/Source/Package/V3_0/quilt.pm: Next generation
source package format based on wig&pen. It supports multiple
.orig.tar files and all compressions schemes (gzip, bzip2, lzma).
It uses quilt to apply patches at unpack time and is able to add
a new patch at the end of the series if changes are present
at build-time.
* scripts/Dpkg/Source/Package/V3_0/bzr.pm: Experimental format
based on a bzr repository. Contributed by Colin Watson.
* scripts/Dpkg/Source/Package/V3_0/git.pm: Experimental format
based on a git repository. Contributed by Joey Hess.
* scripts/Dpkg/Source/Package/V3_0/custom.pm: Special purpose
format that can be used to create source packages with arbitrary
files. Useful for helper tools (like git-buildpackage) which can
generate source files by themselves.
2008-03-25 Raphael Hertzog <[email protected]>
* scripts/dpkg-shlibdeps.pl: Let the user configure the set of
warnings that he wants. Add a new warning for useless libraries
on all binaries analyzed. Disable by default the warning that
does the same but individually, for each binary analyzed.
* man/dpkg-shlibdeps.1: Update manual page accordingly.
2008-03-25 Ian Jackson <[email protected]>
* lib/dpkg-db.h (modstatdb_note_ifwrite): New prototype.
* ib/dbmodify.c (modstatdb_note_ifwrite): New function.
2008-03-25 Ian Jackson <[email protected]>
* src/archives.c (archivefiles): Call log_message.
* src/configure.c (deferred_configure): Likewise.
* src/packages.c (packages): Likewise.
* src/processarc.c (process_archive): Call log_action after printing
the action to perform to stdout.
* src/help.c (log_action): Call statusfd_send.