-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.old
16925 lines (12074 loc) · 626 KB
/
ChangeLog.old
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
2009-03-02 Guillem Jover <[email protected]>
* configure.ac: Release 1.15.0.
2009-03-02 Guillem Jover <[email protected]>
* scripts/t/900_update_alternatives.t: Do not use $srcdir for t.tmp,
it's actually located in builddir.
2009-03-02 Guillem Jover <[email protected]>
* scripts/update-alternatives.pl (load): Print an actual error on open
instead of an empty string.
2009-03-02 Guillem Jover <[email protected]>
* scripts/update-alternatives.pl: Do not use non-ASCII strings on C
locale.
(version): Likewise.
2009-03-02 Guillem Jover <[email protected]>
* po/POTFILES.in: Remove reference to cleanup-info.pl.
* scripts/.gitignore: Likewise.
2009-02-27 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Avoid logging too many
useless messages about status change.
2009-02-27 Raphaël Hertzog <[email protected]>
* scripts/Dpkg/Shlibs/SymbolFile.pm (save, dump): Add new
parameter asking that #PACKAGE# be replaced on the fly.
* scripts/dpkg-gensymbols.pl: Replace #PACKAGE# while outputting
symbols files.
* man/dpkg-gensymbols.1: Document the new feature.
* scripts/t/200_Dpkg_Shlibs.t,
scripts/t/200_Dpkg_Shlibs/symbols.fake-2: Add test-case for
replacement of #PACKAGE# on the fly (together with test of dump).
2009-02-27 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Add one more sanity check
verifying that <link> and <path> are different (cf #509667 for a
sample).
2009-02-27 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Improve output messages
by identifying their origin and by being more consistent.
* scripts/t/900_update_alternatives.t: Adjust test suite
for one error message that's now on standard error instead
of standard output.
2009-02-27 Guillem Jover <[email protected]>
* lib/tarfn.c (get_prefix_name): New function.
(DecodeTarHeader): On tar_format_ustar and if Prefix is not empty
call get_prefix_name instead of aborting.
* man/deb.5: Document that ustar format is now properly supported.
2009-02-27 Guillem Jover <[email protected]>
* lib/tarfn.h (enum tar_format): New type.
(struct TarInfo): Add new format member.
* lib/tarfn.c (TAR_MAGIC_USTAR, TAR_MAGIC_GNU): New macros.
(struct TarHeader): Add new Prefix member.
(DecodeTarHeader): Detect tar formats based on the magic values.
Abort on tar_format_ustar and a non-empty Prefix.
2009-02-27 Guillem Jover <[email protected]>
* lib/fields.c (f_boolean): Use PKGPFIELD to assign to the correct
member instead of hardcoding to the essential member.
2009-02-27 Guillem Jover <[email protected]>
* lib/fields.c (f_boolean): Return if value is an empty string.
2009-02-26 Chris Coulson <[email protected]>,
Guillem Jover <[email protected]>
* configure.ac (AC_CHECK_HEADERS): Add 'sys/syscall.h'.
* man/start-stop-daemon.8: Document new option --iosched.
* utils/start-stop-daemon.c [HAVE_SYS_SYSCALL_H]: Include
<sys/syscall.h>.
(HAVE_IOPRIO_SET) [SYS_ioprio_set, linux]: New macro.
(IOPRIO_CLASS_NONE, IOPRIO_CLASS_RT): New anonymous enum.
(IOPRIO_CLASS_BE, IOPRIO_CLASS_IDLE): Likewise.
(IOPRIO_WHO_PROCESS, IOPRIO_WHO_PGRP, IOPRIO_WHO_USER): Likewise.
(IOPRIO_CLASS_SHIFT, IOPRIO_PRIO_VALUE, IO_SCHED_PRIO_MIN)
(IO_SCHED_PRIO_MAX): New macros.
(io_sched): New variable.
(do_help): Document --iosched.
(ioprio_set) [HAVE_IOPRIO_SET]: New function.
(parse_io_schedule, set_io_schedule): Likewise.
(parse_options): Add 'iosched' to longopts. Add 'I:' to getopt_long
call. Handle 'I' as getopt_long return value. Call parse_io_schedule
if io_schedule_str is not NULL.
(main): Print io_sched values if --test is used. Call set_io_schedule
if io_sched is not NULL.
2009-02-26 Romain Francoise <[email protected]>,
Guillem Jover <[email protected]>
* src/filesdb.c: Include 'progress.h'.
(ensure_allinstfiles_available): Call progress_init instead of
directly printing. Call progress_step if needing to print on each
package iteration. And call progress_done if needing to print when
finished.
2009-02-26 Romain Francoise <[email protected]>,
Guillem Jover <[email protected]>
* lib/Makefile.am (libdpkg_a_SOURCES): Add 'progress.h' and
'progress.c'.
* lib/progress.h: New file.
* lib/progress.c: Likewise.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Add new option --log to
log to another file than /var/log/dpkg.log.
* man/update-alternatives.8: Document the new option.
* scripts/t/900_update_alternatives.t: Call update-alternatives
with --log /dev/null since the test suite can be run with fakeroot
and it would try to write to /var/log/dpkg.log because fakeroot
makes it believe that it is writable.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: update-alternatives should not
replace real files by symlinks. When --install is called, the
alternative link should either not exist or already be a link. It
that's not the case, it will simply skip installing that link and
display a warning. However if --force is given, it will (try to)
replace the file.
* man/update-alternatives.8: Document this behaviour.
* scripts/t/900_update_alternatives.t: Add corresponding tests in
the test suite.
2009-02-22 Raphaël Hertzog <[email protected]>
* man/update-alternatives.8: Document how --all can be used to
repair all alternatives on the system in a single command.
* scripts/update-alternatives.pl: Ensure the above explanation
is true by ensuring that --config does something sensible when
no alternative is currently selected and when the user input is
empty: it will auto-select the best alternative.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Implement --set-selections.
It's the counterpart of --get-selections, it reads
configuration on standard input and reconfigures alternatives
accordingly.
* man/update-alternatives.8: Document this option.
* scripts/t/900_update_alternatives.t: Add corresponding tests in
the test suite.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Implement --get-selections.
The new option lists all master alternatives and their status in a
format simple to parse.
* man/update-alternatives.8: Document this option.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Installation of a slave
alternative link is only done if the corresponding slave file is
available.
* man/update-alternatives.8: Document this behaviour.
* scripts/t/900_update_alternatives.t: Add corresponding tests in
the test suite.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Add more sanity check for
--install: ensure alternative path and links are absolute, ensure
master alternative path exists, forbid / and spaces in alternative
names.
* scripts/t/900_update_alternatives.t: Add corresponding tests in
the test suite.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Checks that --install does not
reuse alternatives or links in a way that is not compatible with
the current setup.
* scripts/t/900_update_alternatives.t: Add corresponding tests in
the test suite.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Add logging to
/var/log/dpkg.log.
2009-02-22 Raphaël Hertzog <[email protected]>
* man/update-alternatives.8: The vocabulary used was misleading
and not really uniform. Try to standardize and make it match with
the vocabulary used in the source code too.
Includes minor fixes to make it match the behaviour of the current
implementation.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Rewrite it entirely in a more
object-oriented way. The only behaviour changes concern --config:
the output is nicer and sorted, it accepts a path as well as the
index of the choice.
* scripts/t/900_update_alternatives.t: Test suite adjusted to the
--config change.
2009-02-22 Raphaël Hertzog <[email protected]>
* scripts/dpkg-gencontrol.pl, scripts/dpkg-gensymbols.pl: Reset
umask to 0022 to ensure that files created in the DEBIAN directory
have sane permissions.
2009-02-13 Guillem Jover <[email protected]>
* src/query.c: Remove bogus comment about '--yet-to-unpack'.
2009-02-11 Raphaël Hertzog <[email protected]>
* scripts/Makefile.am: Drop cleanup-info.pl script.
* man/Makefile.am, man/po/po4a.cfg: Drop cleanup-info(8) manual page.
* README.feature-removal-schedule: Update information accordingly.
2009-02-11 Raphaël Hertzog <[email protected]>
* scripts/Makefile.am: Move update-alternatives, dpkg-divert and
dpkg-statoverride to /usr/bin as they can be useful to users since
they have --display or --list options that do not require
administrative rights.
* Makefile.am (EXTRA_DIST): Add debian/dpkg.links.
2009-02-11 Raphaël Hertzog <[email protected]>
* scripts/dpkg-buildpackage.pl: Add new option --target/-T to
allow a specific debian/rules target to be run. The new --as-root
option forces the target to be run with root rights.
Add support for the two common syntaxes for long
options ("--admindir=…" and "--admindir …").
* man/dpkg-buildpackage.1: Update documentation accordingly.
2009-02-11 Raphaël Hertzog <[email protected]>
* man/dpkg-buildpackage.1: Fix name of binary target in default
case.
2009-02-10 Guillem Jover <[email protected]>
* src/enquiry.c (assert_version_support): Rename verrev_buf argument
to version.
2009-02-10 Guillem Jover <[email protected]>
* src/enquiry.c (assert_version_support): Add new feature_name
argument, and use it when printing the output messages. Fix all
callers.
2009-02-10 Guillem Jover <[email protected]>
* src/enquiry.c (assert_version_support): Remove reqversion argument.
Do not initialize verrev_buf from reqversion, when the epoch is ~0UL.
(assertpredep): Pass a fully constructed versionrevision to
assert_version_support, rename versionrevision variable to version
and remove static keyword.
(assertepoch): Likewise.
(assertlongfilenames): Likewise.
(assertmulticonrep): Likewise.
2009-02-10 Guillem Jover <[email protected]>
* src/enquiry.c (assertversion): Rename to ...
(assert_version_support): ... this.
2009-02-08 Guillem Jover <[email protected]>
* lib/dpkg.h (ohshitvb): Remove function prototype.
* lib/ehandle.c (ohshitvb): Remove function definition.
2009-02-06 Raphaël Hertzog <[email protected]>
* scripts/t/900_update_alternatives.t: New test-suite for
update-alternatives.
* scripts/Makefile.am: Add the previous file.
2009-02-06 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Deal with empty
files in the administrative directory by ignoring them.
2009-02-06 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Ensure that a non-existent
alternative result in automatic mode configuration.
2009-02-06 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Change set_links() to
also reset the main alternative link. Add a parameter to
make it quiet.
When --install reinstalls the current and manually selected entry,
let it recreate the symlinks in case something has gone wrong.
2009-02-06 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Remove the alternative when
the last choice is removed, even if we are in manual mode.
* man/update-alternatives.8: Update the documentation
accordingly to not be as strong about not touching links in manual
mode.
2009-02-06 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl (set_links): Remove slavelinks
if needed as well. We create slave links automatically, we should
remove them in the same way. Otherwise --config or --set will let
dangling symlinks on the system.
2009-02-06 Guillem Jover <[email protected]>
* man/deb.5: Add detailed information of the currently supported
format.
2009-02-06 Guillem Jover <[email protected]>
* ostable: Add gnu-kopensolaris.
* triplettable: Add gnu-kopensolaris to kopensolaris mapping.
2009-02-06 Guillem Jover <[email protected]>
* ostable: Reindent to make room for longer os names.
2009-02-05 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl (rename_mv): Integrate logic to
not fail if ENOENT is the reason why the rename failed.
2009-02-05 Raphaël Hertzog <[email protected]>
* scripts/update-alternatives.pl: Ensure that a broken link
in automatic mode doesn't lead to the alternative being set
on manual mode. Also displays by default (and not only
when --verbose is given) the message that indicates that
an alternative is switched to manual mode.
2009-02-05 Raphaël Hertzog <[email protected]>
Osamu Aoki <[email protected]>
* scripts/update-alternatives.pl: Allow --config to continue when
the currently selected alternative doesn't match the only existing
one. Useful to be able to recover from a broken configuration.
Also offer the choice in --config mode to go back the automatic
mode. Add a new --skip-auto option to combine with --all and
easily review manual and broken alternatives.
* man/update-alternatives.8: Update the documentation accordingly.
2009-02-04 Raphaël Hertzog <[email protected]>
* scripts/Dpkg/Vendor/Ubuntu.pm: Ubuntu vendor object implementing
lookup of launchpad bugs in changelogs and a safety-check for
Maintainer fields of forked packages (launched during source
build).
* scripts/Makefile.am (EXTRA_DIST): Add
'scripts/Dpkg/Vendor/Ubuntu.pm'.
* scripts/po/POTFILES.in: Add 'scripts/Dpkg/Vendor/Ubuntu.pm'.
2009-02-04 Raphaël Hertzog <[email protected]>
* scripts/Dpkg/Vendor/Default.pm: Generic vendor object that will
be used to hook vendor-specific behaviour in multiple places.
* scripts/Dpkg/Vendor/Debian.pm: Debian variant of that object.
* scripts/Dpkg/Vendor.pm (get_vendor_object, run_vendor_hook):
New functions to retrieve the current vendor object and run
vendor-specific code.
* scripts/dpkg-source.pl, scripts/dpkg-genchanges.pl: Add first
vendor hooks to be used by Ubuntu.
* scripts/Makefile.am (EXTRA_DIST): Add
'scripts/Dpkg/Vendor/Default.pm' and
'scripts/Dpkg/Vendor/Debian.pm'.
2009-01-29 Guillem Jover <[email protected]>
* lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-test.h'.
* libcompat/Makefile.am (libcompat_a_SOURCES): Add 'compat.h'.
* man/Makefile.am (EXTRA_DIST): Add 'po/ChangeLog'.
2009-01-27 Raphaël Hertzog <[email protected]>
* scripts/t/900_Dpkg_Version.t: Renamed into...
* scripts/t/100_Dpkg_Version.t: and merged test cases previously
provided by this file so that there's no loss of tests. Also
adjusted test cases to match the change below.
* scripts/Dpkg/Version.pm (compare_versions): Handle "<" like "<="
and ">" like ">=" in order to be consistent with dpkg
--compare-versions. Emit warnings when they are used as they are
deprecated.
* scripts/Makefile.am: Drop scripts/t/900_Dpkg_Version.t from the
set of extra files to distribute.
* scripts/dpkg-genchanges.pl: Use "<<" instead of ambiguous "<" in
version comparison.
2009-01-22 Guillem Jover <[email protected]>
* lib/log.c (statusfd_send): Use varbufsubstc to replace new lines
with spaces.
2009-01-22 Guillem Jover <[email protected]>
* lib/dpkg-db.h (varbufsubstc): New function prototype.
* lib/varbuf.c (varbufsubstc): New function definition.
* lib/test/t-varbuf.c (test_varbuf_substc): New function.
(test): Call test_varbuf_substc.
2009-01-22 Guillem Jover <[email protected]>
* configure.ac (AC_CONFIG_FILES): Add 'lib/test/Makefile'.
* lib/Makefile.am (SUBDIRS): New variable.
* lib/dpkg-test.h: New file.
* lib/test/Makefile.am: Likewise.
* lib/test/t-macros.c: Likewise.
* lib/test/t-path.c: Likewise.
* lib/test/t-pkginfo.c: Likewise.
* lib/test/t-string.c: Likewise.
* lib/test/t-test.c: Likewise.
* lib/test/t-varbuf.c: Likewise.
* lib/test/t-version.c: Likewise.
2009-01-20 Guillem Jover <[email protected]>
* lib/dpkg-db.h (varbufaddbuf): Rename argument l to size.
* lib/nfmalloc.c (nfstrnsave): Likewise.
* lib/varbuf.c (varbufaddbuf): Likewise.
2009-01-20 Guillem Jover <[email protected]>
* lib/dpkg-db.h (varbufdupc): Use size_t instead of ssize_t.
(varbufaddbuf): Use size_t instead of const int.
(nfstrnsave): Use size_t instead of int.
2009-01-14 Guillem Jover <[email protected]>
* man/start-stop-daemon.8: Document new option --procsched.
* utils/start-stop-daemon.c [_POSIX_PRIORITY_SCHEDULING]: Include
<sched.h>.
[!_POSIX_PRIORITY_SCHEDULING]: Define SCHED_OTHER, SCHED_FIFO and
SCHED_RR with dummy values.
(struct res_schedule): New type.
(proc_sched): New variable.
(do_help): Document --procsched.
(parse_proc_schedule, set_proc_schedule): New functions.
(parse_options): Add 'procsched' to longopts. Add 'P:' to getopt_long
call. Handle 'P' as getopt_long return value. Call parse_proc_schedule
if proc_schedule_str is not NULL.
(main): Print proc_sched values if --test is used. Call
set_proc_schedule if proc_sched is not NULL.
2009-01-14 Guillem Jover <[email protected]>
* utils/start-stop-daemon.c (xstrdup): New function.
(parse_options): Use xstrdup instead of strdup.
2009-01-10 Guillem Jover <[email protected]>
* utils/start-stop-daemon.c (main): If changeuser is a uid, call
getpwuid to get the passwd entry and do the same setup as if it is
a username.
2009-01-07 Guillem Jover <[email protected]>
* man/dpkg-deb.1: Document that -x will modify the extraction
directory permissions.
2009-01-05 Guillem Jover <[email protected]>
* src/main.c (setobsolete): Use warning instead of fprintf call.
(setforce): Likewise.
2009-01-05 Guillem Jover <[email protected]>
* man/start-stop-daemon.8: Clarify that the signal sent by default
is TERM not KILL.
2009-01-04 Guillem Jover <[email protected]>
* utils/start-stop-daemon.c (signal_nr): Initialize with SIGTERM
instead of literal 15.
* man/start-stop-daemon.8: Refer to signal as TERM instead of
literal 15.
2009-01-04 Guillem Jover <[email protected]>
* lib/dpkg.h (LOCALLIBDIR): Move macro to ...
* dselect/Makefile.am (INCLUDES): ... here, as a -D argument.
* lib/dpkg.h (DSELECT): Move macro to ...
* dselect/dselect.h: ... here.
* lib/dpkg.h (SPLITVERSION, SPLITPARTDEFMAX): Move macros to ...
* dpkg-split/dpkg-split.h: ... here.
* lib/dpkg.h (ARCHIVEVERSION, BUILDCONTROLDIR, EXTRACTCONTROLDIR)
(BUILDOLDPKGFORMAT, OLDARCHIVEVERSION, OLDDEBDIR, OLDOLDDEBDIR)
(MAXFIELDNAME, INTERPRETER_MAX): Move macros to ...
* dpkg-deb/dpkg-deb.h: ... here.
2009-01-04 Guillem Jover <[email protected]>
* lib/dpkg.h (printforhelp): Move declaration to ...
* lib/myopt.h: ... here.
2009-01-04 Guillem Jover <[email protected]>
* lib/dpkg-db.h (trig_note_pend_core, trig_note_pend): Make trig
argument const.
* lib/triglib.c (trig_record_activation): Likewise.
(trig_file_activate): Remove now unneeded cast in
trig_record_activation call.
2009-01-04 Guillem Jover <[email protected]>
* lib/myopt.h (MAX_CONFIG_LINE): New macro.
* lib/myopt.c (myfileopt): Use MAX_CONFIG_LINE instead of
MAXDIVERTFILENAME.
2009-01-04 Guillem Jover <[email protected]>
* lib/dpkg.h (SHELL, SHELLENVIR): Remove unused macros.
* src/main.h (check_libver): Remove unused prototype.
2009-01-04 Guillem Jover <[email protected]>
* dselect/main.cc (findintable, dme, refreshmenu): Make static.
* dselect/method.cc (sthfailed): Likewise.
* dselect/pkgtop.cc (pkgprioritystring): Likewise.
2008-12-30 Guillem Jover <[email protected]>
* lib/ehandle.c (badusage): Move function to ...
* lib/myopt.c: ... here. Include <stdarg.h>.
* lib/dpkg.h (badusage): Move declaration to ...
* lib/myopt.h: ... here.
* dpkg-split/split.c: Include <myopt.h>.
2008-12-30 Colin Watson <[email protected]>
* src/help.c (preexecscript): Call chdir after chroot.
2008-12-23 Guillem Jover <[email protected]>
* lib/log.c (statusfd_send): Pass to write the remaining data, not
the same initial buffer.
2008-12-08 Raphaël Hertzog <[email protected]>
* scripts/Dpkg/Changelog.pm, scripts/dpkg-buildpackage.pl,
scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
scripts/dpkg-source.pl: Also import the default exported functions
of Dpkg::ErrorHandling and not only the unusual ones.
2008-12-08 Guillem Jover <[email protected]>
* dpkg-deb/build.c (do_build): Mark strings for translation.
* dpkg-deb/extract.c (extracthalf): Likewise.
* dpkg-split/info.c (read_info): Likewise.
* dpkg-split/join.c (reassemble): Likewise.
* dpkg-split/queue.c (do_queue): Likewise.
* dselect/pkglist.cc (packagelist::packagelist): Likewise.
(packagelist::display): Likewise.
* lib/log.c (statusfd_send): Likewise.
* scripts/Dpkg/Source/Package/V1.pm (do_build): Likewise.
* src/filesdb.c (ensure_packagefiles_available): Likewise.
(ensure_statoverrides): Likewise.
2008-12-08 Guillem Jover <[email protected]>
* dpkg-deb/extract.c (extracthalf): Improve internerr strings, and add
the invalid value provoking the call.
* dpkg-split/queue.c (discardsome): Likewise.
* lib/dbmodify.c (modstatdb_init): Likewise.
* lib/dump.c (varbufdependency): Likewise.
* lib/parsehelp.c (varbufversion): Likewise.
* lib/vercmp.c (versionsatisfied3): Likewise.
* scripts/Dpkg/Source/Archive.pm (_add_entry): Likewise.
* src/archives.c (tarobject, archivefiles): Likewise.
* src/configure.c (deferred_configure, promptconfaction): Likewise.
* src/depcon.c (describedepcon, depisok): Likewise.
* src/enquiry.c (yettobeunpacked): Likewise.
* src/packages.c (packages, process_queue, dependencies_ok): Likewise.
* src/query.c (enqperpackage): Likewise.
* src/update.c (updateavailable): Likewise.
2008-12-08 Guillem Jover <[email protected]>
* scripts/Dpkg/Deps.pm (implies): Do not mark internerr strings for
translation.
* scripts/Dpkg/Fields.pm (output): Likewise.
* scripts/Dpkg/Source/Package.pm (add_file): Likewise.
2008-12-08 Guillem Jover <[email protected]>
* scripts/Dpkg/Deps.pm (parse): Do not use sprintf for warning.
(implies): Do not use sprintf for internerr.
2008-12-08 Guillem Jover <[email protected]>
* dpkg-deb/build.c (do_build): Use internerr instead of ohshit. Do not
mark the string for translation.
* src/trigcmd.c (do_check): Use internerr instead of abort.
* lib/dump.c (w_status): Likewise.
* lib/triglib.c (trig_incorporate): Likewise. Remove <stdlib.h>
include.
* scripts/Dpkg/IPC.pm (_sanity_check_opts): Use internerr instead of
error.
(fork_and_exec): Likewise. Do not mark the string for translation.
(wait_child): Likewise.
* scripts/Dpkg/Source/Archive.pm: Use internerr instead of error from
Dpkg::ErrorHandling.
(_add_entry, add_file, add_directory): Likewise.
* scripts/Dpkg/Source/CompressedFile.pm: Likewise.
(get_filename): Likewise.
* scripts/Dpkg/Source/Compressor.pm: Likewise.
(_sanity_check): Likewise.
* scripts/Dpkg/Source/Package.p (do_extract, do_build): Likewise.
* scripts/Dpkg/Source/Patch.pm (add_diff_file): Use error instead of
internerr.
2008-12-08 Guillem Jover <[email protected]>
* lib/dpkg.h (do_internerr): Reorder arguments. Support format
strings.
(internerr): Likewise.
* lib/ehandle.c (do_internerr): Likewise.
2008-12-08 Guillem Jover <[email protected]>
* scripts/Dpkg/ErrorHandling.pm (@EXPORT): Remove 'failure'.
(failure): Remove function.
(syserr): Rename 'failure' string to 'error'.
(subprocerr): Use error instead of failure.
* scripts/Dpkg/Checksums.pm (extractchecksum): Likewise.
* scripts/Dpkg/Source/Functions.pm (erasedir): Likewise.
* scripts/changelog/debian.pl: Likewise.
* scripts/dpkg-gencontrol.pl: Likewise.
* scripts/dpkg-shlibdeps.pl: Likewise.
* scripts/dpkg-buildpackage.pl: Use syserr instead of failure.
2008-12-08 Guillem Jover <[email protected]>
* scripts/Dpkg/ErrorHandling.pm (@EXPORT_OK): Move info, warning,
warnerror, error, errormsg, failure, syserr, internerr, subprocerr,
usageerr and syntaxerr to ...
(@EXPORT): ... here. Fix all users.
2008-12-08 Modestas Vainius <[email protected]>
Raphaël Hertzog <[email protected]>
* scripts/Dpkg/Shlibs/Objdump.pm (parse): Split into add_object()
and parse().
* scripts/Dpkg/Shlibs/SymbolFile.pm (merge_object_from_symfile):
New function to reintegrate symbols from previous symfiles.
* scripts/dpkg-shlibdeps.pl: Optimizes it by caching parsed
symbols files and objdump objects. This way neither of the
libraries or symbols files are parsed more than once.
2008-12-05 Guillem Jover <[email protected]>
* lib/mlib.c: Remove <sys/wait.h> include.
(checksubprocerr, waitsubproc): Move to ...
* lib/subproc.c (checksubprocerr, waitsubproc): ... here.
Include <sys/types.h> and <sys/wait.h>.
2008-12-05 Guillem Jover <[email protected]>
* lib/mlib.c (checksubprocerr): Split unrelated conditionals for n
and PROCPIPE.
2008-12-05 Guillem Jover <[email protected]>
* lib/mlib.c (checksubprocerr): Return an explicit 0 instead of n.
2008-12-05 Guillem Jover <[email protected]>
* lib/ehandle.c (warning): Print the current program name and a
'warning' string.
* lib/mlib.c (checksubprocerr): Use warning() instead of a print
function.
* src/archives.c (try_deconfigure_can): Likewise.
(check_breaks): Likewise.
(check_conflict): Likewise.
(wanttoinstall): Likewise.
* src/configure.c (deferred_configure): Likewise.
(conffderef): Likewise.
(md5hash): Likewise.
* src/errors.c (forcibleerr): Likewise.
* src/filesdb.c (ensure_packagefiles_available): Likewise.
* src/help.c (maintainer_script_alternative): Likewise.
* src/processarc.c (process_archive): Likewise.
* src/remove.c (deferred_remove): Likewise.
(removal_bulk_remove_leftover_dirs): Likewise.
* dpkg-deb/build.c (do_build): Likewise.
2008-12-05 Guillem Jover <[email protected]>
* lib/ehandle.c (warning): Do not implicitly print the errno string.
* lib/myopt.c (myfileopt): Print the errno string in the warning.
2008-12-05 Guillem Jover <[email protected]>
* lib/dpkg.h (warningf): Rename to ...
(warning): ... this. Fix all callers.
2008-11-19 Raphaël Hertzog <[email protected]>
* scripts/Dpkg/Source/Functions.pm (fixperms): Fix chmod call to
also work when POSIXLY_CORRECT is set.
2008-11-11 Guillem Jover <[email protected]>
* scripts/dpkg-architecture.pl: Use new style functions calls.
* scripts/dpkg-distaddfile.pl: Likewise.
* scripts/dpkg-divert.pl: Likewise.
* scripts/dpkg-genchanges.pl: Likewise.
* scripts/dpkg-gencontrol.pl: Likewise.
* scripts/dpkg-gensymbols.pl: Likewise.
* scripts/dpkg-scanpackages.pl: Likewise.
* scripts/dpkg-statoverride.pl: Likewise.
* scripts/update-alternatives.pl: Likewise.
2008-11-08 Raphaël Hertzog <[email protected]>
* scripts/Dpkg/Shlibs/Objdump.pm (_parse): Support RUNPATH exactly
like RPATH but taking precedence over it.
2008-10-22 Guillem Jover <[email protected]>
* lib/ehandle.c (error_unwind): Remove unused cleanupentry code.
2008-10-15 Guillem Jover <[email protected]>
* lib/dbmodify.c (modstatdb_shutdown): Use importanttmpfile on unlink
instead of constructing the file name again.
2008-10-15 Guillem Jover <[email protected]>
* src/Makefile.am (dpkg_query_SOURCES): Remove 'errors.c'.
* src/main.h (nerrs): Remove declaration.
* src/errors.c (nerrs): Change from extern to static.
* src/query.c (failures): New variable.
(errabort): Remove variable.
(listpackages): Use failures instead of nerrs.
(searchfiles): Likewise.
(showpackages): Likewise.
(enqperpackage): Likewise. Do not define nor initialize failures.
(main): Use failures variable instead of reportbroken_retexitstatus.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/scandir.c (scandir): Handle case when filter and cmp
function arguments are NULL.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/compat.h (scandir): Rename arguments from select to
filter and compar to cmp.
* libcompat/scandir.c (scandir): Likewise.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/compat.h (alphasort): Change argument types to match
modern system ones (the current ones were missing one indirection
anyway).
* libcompat/alphasort.c (alphasort): Likewise. Properly dereference
arguments.
* libcompat/scandir.c (scandir_comparfn): Remove static function
variable.
(scandir_compar): Remove function.
(scandir): Pass compar function directly to qsort.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/strerror.c (strerror): Change string for unknown value.
* libcompat/strsignal.c (strsignal): Likewise.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/strsignal.c (strsignal): Do not return a string for
signal 0.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/strsignal.c (sys_siglist): Insert a NULL entry at the
beginning.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/strsignal.c (sys_siglist): Remove array size from
declaration. Remove unknown signal names.
(strsignal): Use sizeof to compute the array size instead of NSIG.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/vsnprintf.c (vsnprintf): Use SEEK_SET instead of a 0
literal on fseek.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/vsnprintf.c (vsnprintf): Change size and nr types from
unsigled long to size_t. Always return the amount that would be
written regardless of any truncation. Do not read one byte less from
the temporary file.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/vsnprintf.c (vsnprintf): Use the return value from
vfprintf as the formatted string size instead of using fstat to get
the file size.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/vsnprintf.c (vsnprintf): Check for negative return error
values instead of just EOF.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/snprintf.c (snprintf): Use vsnprintf instead of vsprintf.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/vsnprintf.c (vsnprintf): Use '\0' instead of NULL to
terminate the string.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/compat.h (unsetenv): Change return type from void to int.
* libcompat/unsetenv.c (unsetenv): Likewise. Return -1 on error, or
pass through the status code from putenv.
2008-09-14 Guillem Jover <[email protected]>
* dselect/methkeys.cc: Remove unused headers <stdio.h>, <string.h>,
<assert.h> and <dpkg.h>.
* dselect/pkgkeys.cc: Likewise.
* dselect/basetop.cc: Likewise. Remove unused header <ctype.h>.
* dselect/curkeys.cc: Remove unused header <dpkg.h>.
* dselect/helpmsgs.h: Likewise.
* dselect/pkgcmds.cc: Likewise.
* dselect/pkgdisplay.cc: Likewise.
* dselect/pkginfo.cc: Likewise.
* lib/compression.c: Likewise.
* lib/dpkg-db.h: Remove unused header <string.h>. Include
<sys/types.h>.
* lib/md5.c: Remove unused header <netinet/in.h>.
2008-09-14 Guillem Jover <[email protected]>
* src/main.c (commandfd): Remove left over debug printf.
2008-09-14 Guillem Jover <[email protected]>
* lib/dpkg.h (IMPORTANTFMT): Remove out of sync comment.
2008-09-14 Guillem Jover <[email protected]>
* lib/dpkg.h (standard_startup): Do not take prog, loadcfg and
cmdinfos as arguments, and do not call loadcfgfile. Fix all callers.
* src/main.c: Call loadcfgfile directly.
2008-09-14 Guillem Jover <[email protected]>
* lib/dpkg.h: Do not include <myopt.h>.
(standard_startup): Do not take argc and argv as arguments, and do
not call myopt. Fix all callers.
* lib/myopt-util.c: Include <myopt.h>.
* dpkg-deb/build.c: Likewise.
* dpkg-split/info.c: Likewise.
* dpkg-split/join.c: Likewise.
* dpkg-split/queue.c: Likewise.
* src/select.c: Likewise.
* dpkg-deb/main.c (main): Call myopt directly.
* dpkg-split/main.c: Likewise.
* src/main.c: Likewise.
* src/query.c: Likewise.
* src/trigcmd.c: Likewise.
2008-09-14 Guillem Jover <[email protected]>
* lib/dpkg.h (standard_shutdown): Remove unused freemem argument,
and do not call nffreeall. Fix all callers.
2008-09-14 Guillem Jover <[email protected]>
* lib/dpkg-db.h: Move <stdlib.h> inclusion to ...
* dselect/pkglist.cc: ... here.
* lib/database.c: Likewise.
* lib/dump.c: Likewise.
* lib/parse.c: Likewise.
* lib/parsehelp.c: Likewise.
* lib/triglib.c: Likewise.
* src/filesdb.c: Likewise.
* src/help.c: Likewise.
* src/select.c: Likewise.
* src/trigproc.c: Likewise.
2008-09-14 Guillem Jover <[email protected]>
* configure.ac (AC_CHECK_FUNCS): Move 'vsnprintf', 'snprintf',
'strerror', 'strsignal', 'scandir', 'alphasort' and 'unsetenv' to ...
(DPKG_CHECK_COMPAT_FUNCS): ... here.
* lib/Makefile.am (libdpkg_a_SOURCES): Remove 'compat.c'.
* lib/dpkg.h (strerror, strsignal, scandir, alphasort, unsetenv)
(offsetof, strtoul, va_copy, WCOREDUMP): Move declarations to ...
* libcompat/compat.h: ... here.
* libcompat/Makefile.am (libcompat_a_SOURCES): Add 'strerror.c',
'strsignal.c', 'snprintf.c', 'vsnprintf.c', 'alphasort.c',
'scandir.c' and 'unsetenv.c'.
* po/POTFILES.in: Remove 'lib/compat.c'.
* lib/compat.c: Split into ...
* libcompat/alphasort.c: ... here. New file.
* libcompat/scandir.c: Likewise.
* libcompat/snprintf.c: Likewise.
* libcompat/strerror.c: Likewise.
* libcompat/strsignal.c: Likewise.
* libcompat/unsetenv.c: Likewise.
* libcompat/vsnprintf.c: Likewise.
2008-09-14 Guillem Jover <[email protected]>
* lib/compat.c: Do not include <dpkg.h> anymore.
(vsnprintf): Return negative on error instead of ohshite.
2008-09-14 Guillem Jover <[email protected]>
* libcompat/compat.h: New file.
* dpkg-deb/build.c: Include <compat.h>.
* dpkg-deb/extract.c: Likewise.
* dpkg-deb/info.c: Likewise.
* dpkg-deb/main.c: Likewise.
* dpkg-split/info.c: Likewise.
* dpkg-split/join.c: Likewise.
* dpkg-split/main.c: Likewise.
* dpkg-split/queue.c: Likewise.
* dpkg-split/split.c: Likewise.
* dselect/basecmds.cc: Likewise.
* dselect/baselist.cc: Likewise.
* dselect/basetop.cc: Likewise.
* dselect/bindings.cc: Likewise.
* dselect/curkeys.cc: Likewise.
* dselect/helpmsgs.cc: Likewise.
* dselect/main.cc: Likewise.
* dselect/methkeys.cc: Likewise.
* dselect/methlist.cc: Likewise.
* dselect/method.cc: Likewise.
* dselect/methparse.cc: Likewise.
* dselect/pkgcmds.cc: Likewise.
* dselect/pkgdepcon.cc: Likewise.
* dselect/pkgdisplay.cc: Likewise.
* dselect/pkginfo.cc: Likewise.
* dselect/pkgkeys.cc: Likewise.
* dselect/pkglist.cc: Likewise.
* dselect/pkgsublist.cc: Likewise.
* dselect/pkgtop.cc: Likewise.
* lib/cleanup.c: Likewise.
* lib/compression.c: Likewise.
* lib/database.c: Likewise.
* lib/dbmodify.c: Likewise.
* lib/dump.c: Likewise.
* lib/ehandle.c: Likewise.
* lib/lock.c: Likewise.
* lib/log.c: Likewise.
* lib/md5.c: Likewise.
* lib/mlib.c: Likewise.
* lib/myopt-util.c: Likewise.
* lib/myopt.c: Likewise.
* lib/nfmalloc.c: Likewise.
* lib/parse.c: Likewise.
* lib/parsehelp.c: Likewise.
* lib/path.c: Likewise.
* lib/showpkg.c: Likewise.
* lib/string.c: Likewise.
* lib/subproc.c: Likewise.
* lib/triglib.c: Likewise.
* lib/utils.c: Likewise.
* lib/varbuf.c: Likewise.
* lib/vercmp.c: Likewise.
* src/archives.c: Likewise.
* src/cleanup.c: Likewise.
* src/configure.c: Likewise.
* src/depcon.c: Likewise.
* src/enquiry.c: Likewise.
* src/errors.c: Likewise.
* src/filesdb.c: Likewise.
* src/help.c: Likewise.
* src/main.c: Likewise.