dpkg (1.18.25) stretch; urgency=medium
[dpkg] / ChangeLog.old
1 2009-03-02 Guillem Jover <guillem@debian.org>
2
3 * configure.ac: Release 1.15.0.
4
5 2009-03-02 Guillem Jover <guillem@debian.org>
6
7 * scripts/t/900_update_alternatives.t: Do not use $srcdir for t.tmp,
8 it's actually located in builddir.
9
10 2009-03-02 Guillem Jover <guillem@debian.org>
11
12 * scripts/update-alternatives.pl (load): Print an actual error on open
13 instead of an empty string.
14
15 2009-03-02 Guillem Jover <guillem@debian.org>
16
17 * scripts/update-alternatives.pl: Do not use non-ASCII strings on C
18 locale.
19 (version): Likewise.
20
21 2009-03-02 Guillem Jover <guillem@debian.org>
22
23 * po/POTFILES.in: Remove reference to cleanup-info.pl.
24 * scripts/.gitignore: Likewise.
25
26 2009-02-27 Raphaël Hertzog <hertzog@debian.org>
27
28 * scripts/update-alternatives.pl: Avoid logging too many
29 useless messages about status change.
30
31 2009-02-27 Raphaël Hertzog <hertzog@debian.org>
32
33 * scripts/Dpkg/Shlibs/SymbolFile.pm (save, dump): Add new
34 parameter asking that #PACKAGE# be replaced on the fly.
35 * scripts/dpkg-gensymbols.pl: Replace #PACKAGE# while outputting
36 symbols files.
37 * man/dpkg-gensymbols.1: Document the new feature.
38 * scripts/t/200_Dpkg_Shlibs.t,
39 scripts/t/200_Dpkg_Shlibs/symbols.fake-2: Add test-case for
40 replacement of #PACKAGE# on the fly (together with test of dump).
41
42 2009-02-27 Raphaël Hertzog <hertzog@debian.org>
43
44 * scripts/update-alternatives.pl: Add one more sanity check
45 verifying that <link> and <path> are different (cf #509667 for a
46 sample).
47
48 2009-02-27 Raphaël Hertzog <hertzog@debian.org>
49
50 * scripts/update-alternatives.pl: Improve output messages
51 by identifying their origin and by being more consistent.
52 * scripts/t/900_update_alternatives.t: Adjust test suite
53 for one error message that's now on standard error instead
54 of standard output.
55
56 2009-02-27 Guillem Jover <guillem@debian.org>
57
58 * lib/tarfn.c (get_prefix_name): New function.
59 (DecodeTarHeader): On tar_format_ustar and if Prefix is not empty
60 call get_prefix_name instead of aborting.
61 * man/deb.5: Document that ustar format is now properly supported.
62
63 2009-02-27 Guillem Jover <guillem@debian.org>
64
65 * lib/tarfn.h (enum tar_format): New type.
66 (struct TarInfo): Add new format member.
67 * lib/tarfn.c (TAR_MAGIC_USTAR, TAR_MAGIC_GNU): New macros.
68 (struct TarHeader): Add new Prefix member.
69 (DecodeTarHeader): Detect tar formats based on the magic values.
70 Abort on tar_format_ustar and an non-empty Prefix.
71
72 2009-02-27 Guillem Jover <guillem@debian.org>
73
74 * lib/fields.c (f_boolean): Use PKGPFIELD to assign to the correct
75 member instead of hardcoding to the essential member.
76
77 2009-02-27 Guillem Jover <guillem@debian.org>
78
79 * lib/fields.c (f_boolean): Return if value is an empty string.
80
81 2009-02-26 Chris Coulson <chrisccoulson@googlemail.com>,
82 Guillem Jover <guillem@debian.org>
83
84 * configure.ac (AC_CHECK_HEADERS): Add 'sys/syscall.h'.
85 * man/start-stop-daemon.8: Document new option --iosched.
86 * utils/start-stop-daemon.c [HAVE_SYS_SYSCALL_H]: Include
87 <sys/syscall.h>.
88 (HAVE_IOPRIO_SET) [SYS_ioprio_set, linux]: New macro.
89 (IOPRIO_CLASS_NONE, IOPRIO_CLASS_RT): New anonymous enum.
90 (IOPRIO_CLASS_BE, IOPRIO_CLASS_IDLE): Likewise.
91 (IOPRIO_WHO_PROCESS, IOPRIO_WHO_PGRP, IOPRIO_WHO_USER): Likewise.
92 (IOPRIO_CLASS_SHIFT, IOPRIO_PRIO_VALUE, IO_SCHED_PRIO_MIN)
93 (IO_SCHED_PRIO_MAX): New macros.
94 (io_sched): New variable.
95 (do_help): Document --iosched.
96 (ioprio_set) [HAVE_IOPRIO_SET]: New function.
97 (parse_io_schedule, set_io_schedule): Likewise.
98 (parse_options): Add 'iosched' to longopts. Add 'I:' to getopt_long
99 call. Handle 'I' as getopt_long return value. Call parse_io_schedule
100 if io_schedule_str is not NULL.
101 (main): Print io_sched values if --test is used. Call set_io_schedule
102 if io_sched is not NULL.
103
104 2009-02-26 Romain Francoise <rfrancoise@debian.org>,
105 Guillem Jover <guillem@debian.org>
106
107 * src/filesdb.c: Include 'progress.h'.
108 (ensure_allinstfiles_available): Call progress_init instead of
109 directly printing. Call progress_step if needing to print on each
110 package iteration. And call progress_done if needing to print when
111 finished.
112
113 2009-02-26 Romain Francoise <rfrancoise@debian.org>,
114 Guillem Jover <guillem@debian.org>
115
116 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'progress.h' and
117 'progress.c'.
118 * lib/progress.h: New file.
119 * lib/progress.c: Likewise.
120
121 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
122
123 * scripts/update-alternatives.pl: Add new option --log to
124 log to another file than /var/log/dpkg.log.
125 * man/update-alternatives.8: Document the new option.
126 * scripts/t/900_update_alternatives.t: Call update-alternatives
127 with --log /dev/null since the test suite can be run with fakeroot
128 and it would try to write to /var/log/dpkg.log because fakeroot
129 makes it believe that it is writable.
130
131 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
132
133 * scripts/update-alternatives.pl: update-alternatives should not
134 replace real files by symlinks. When --install is called, the
135 alternative link should either not exist or already be a link. It
136 that's not the case, it will simply skip installing that link and
137 display a warning. However if --force is given, it will (try to)
138 replace the file.
139 * man/update-alternatives.8: Document this behaviour.
140 * scripts/t/900_update_alternatives.t: Add corresponding tests in
141 the test suite.
142
143 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
144
145 * man/update-alternatives.8: Document how --all can be used to
146 repair all alternatives on the system in a single command.
147 * scripts/update-alternatives.pl: Ensure the above explanation
148 is true by ensuring that --config does something sensible when
149 no alternative is currently selected and when the user input is
150 empty: it will auto-select the best alternative.
151
152 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
153
154 * scripts/update-alternatives.pl: Implement --set-selections.
155 It's the counterpart of --get-selections, it reads
156 configuration on standard input and reconfigures alternatives
157 accordingly.
158 * man/update-alternatives.8: Document this option.
159 * scripts/t/900_update_alternatives.t: Add corresponding tests in
160 the test suite.
161
162 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
163
164 * scripts/update-alternatives.pl: Implement --get-selections.
165 The new option lists all master alternatives and their status in a
166 format simple to parse.
167 * man/update-alternatives.8: Document this option.
168
169 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
170
171 * scripts/update-alternatives.pl: Installation of a slave
172 alternative link is only done if the corresponding slave file is
173 available.
174 * man/update-alternatives.8: Document this behaviour.
175 * scripts/t/900_update_alternatives.t: Add corresponding tests in
176 the test suite.
177
178 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
179
180 * scripts/update-alternatives.pl: Add more sanity check for
181 --install: ensure alternative path and links are absolute, ensure
182 master alternative path exists, forbid / and spaces in alternative
183 names.
184 * scripts/t/900_update_alternatives.t: Add corresponding tests in
185 the test suite.
186
187 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
188
189 * scripts/update-alternatives.pl: Checks that --install does not
190 reuse alternatives or links in a way that is not compatible with
191 the current setup.
192 * scripts/t/900_update_alternatives.t: Add corresponding tests in
193 the test suite.
194
195 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
196
197 * scripts/update-alternatives.pl: Add logging to
198 /var/log/dpkg.log.
199
200 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
201
202 * man/update-alternatives.8: The vocabulary used was misleading
203 and not really uniform. Try to standardize and make it match with
204 the vocabulary used in the source code too.
205 Includes minor fixes to make it match the behaviour of the current
206 implementation.
207
208 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
209
210 * scripts/update-alternatives.pl: Rewrite it entirely in a more
211 object-oriented way. The only behaviour changes concern --config:
212 the output is nicer and sorted, it accepts a path as well as the
213 index of the choice.
214 * scripts/t/900_update_alternatives.t: Test suite adjusted to the
215 --config change.
216
217 2009-02-22 Raphaël Hertzog <hertzog@debian.org>
218
219 * scripts/dpkg-gencontrol.pl, scripts/dpkg-gensymbols.pl: Reset
220 umask to 0022 to ensure that files created in the DEBIAN directory
221 have sane permissions.
222
223 2009-02-13 Guillem Jover <guillem@debian.org>
224
225 * src/query.c: Remove bogus comment about '--yet-to-unpack'.
226
227 2009-02-11 Raphaël Hertzog <hertzog@debian.org>
228
229 * scripts/Makefile.am: Drop cleanup-info.pl script.
230 * man/Makefile.am, man/po/po4a.cfg: Drop cleanup-info(8) manual page.
231 * README.feature-removal-schedule: Update information accordingly.
232
233 2009-02-11 Raphaël Hertzog <hertzog@debian.org>
234
235 * scripts/Makefile.am: Move update-alternatives, dpkg-divert and
236 dpkg-statoverride to /usr/bin as they can be useful to users since
237 they have --display or --list options that do not require
238 administrative rights.
239 * Makefile.am (EXTRA_DIST): Add debian/dpkg.links.
240
241 2009-02-11 Raphaël Hertzog <hertzog@debian.org>
242
243 * scripts/dpkg-buildpackage.pl: Add new option --target/-T to
244 allow a specific debian/rules target to be run. The new --as-root
245 option forces the target to be run with root rights.
246 Add support for the two common syntaxes for long
247 options ("--admindir=…" and "--admindir …").
248 * man/dpkg-buildpackage.1: Update documentation accordingly.
249
250 2009-02-11 Raphaël Hertzog <hertzog@debian.org>
251
252 * man/dpkg-buildpackage.1: Fix name of binary target in default
253 case.
254
255 2009-02-10 Guillem Jover <guillem@debian.org>
256
257 * src/enquiry.c (assert_version_support): Rename verrev_buf argument
258 to version.
259
260 2009-02-10 Guillem Jover <guillem@debian.org>
261
262 * src/enquiry.c (assert_version_support): Add new feature_name
263 argument, and use it when printing the output messages. Fix all
264 callers.
265
266 2009-02-10 Guillem Jover <guillem@debian.org>
267
268 * src/enquiry.c (assert_version_support): Remove reqversion argument.
269 Do not initialize verrev_buf from reqversion, when the epoch is ~0UL.
270 (assertpredep): Pass a fully constructed versionrevision to
271 assert_version_support, rename versionrevision variable to version
272 and remove static keyword.
273 (assertepoch): Likewise.
274 (assertlongfilenames): Likewise.
275 (assertmulticonrep): Likewise.
276
277 2009-02-10 Guillem Jover <guillem@debian.org>
278
279 * src/enquiry.c (assertversion): Rename to ...
280 (assert_version_support): ... this.
281
282 2009-02-08 Guillem Jover <guillem@debian.org>
283
284 * lib/dpkg.h (ohshitvb): Remove function prototype.
285 * lib/ehandle.c (ohshitvb): Remove function definition.
286
287 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
288
289 * scripts/t/900_update_alternatives.t: New test-suite for
290 update-alternatives.
291 * scripts/Makefile.am: Add the previous file.
292
293 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
294
295 * scripts/update-alternatives.pl: Deal with empty
296 files in the administrative directory by ignoring them.
297
298 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
299
300 * scripts/update-alternatives.pl: Ensure that a non-existent
301 alternative result in automatic mode configuration.
302
303 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
304
305 * scripts/update-alternatives.pl: Change set_links() to
306 also reset the main alternative link. Add a parameter to
307 make it quiet.
308 When --install reinstalls the current and manually selected entry,
309 let it recreate the symlinks in case something has gone wrong.
310
311 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
312
313 * scripts/update-alternatives.pl: Remove the alternative when
314 the last choice is removed, even if we are in manual mode.
315 * man/update-alternatives.8: Update the documentation
316 accordingly to not be as strong about not touching links in manual
317 mode.
318
319 2009-02-06 Raphaël Hertzog <hertzog@debian.org>
320
321 * scripts/update-alternatives.pl (set_links): Remove slavelinks
322 if needed as well. We create slave links automatically, we should
323 remove them in the same way. Otherwise --config or --set will let
324 dangling symlinks on the system.
325
326 2009-02-06 Guillem Jover <guillem@debian.org>
327
328 * man/deb.5: Add detailed information of the currently supported
329 format.
330
331 2009-02-06 Guillem Jover <guillem@debian.org>
332
333 * ostable: Add gnu-kopensolaris.
334 * triplettable: Add gnu-kopensolaris to kopensolaris mapping.
335
336 2009-02-06 Guillem Jover <guillem@debian.org>
337
338 * ostable: Reindent to make room for longer os names.
339
340 2009-02-05 Raphaël Hertzog <hertzog@debian.org>
341
342 * scripts/update-alternatives.pl (rename_mv): Integrate logic to
343 not fail if ENOENT is the reason why the rename failed.
344
345 2009-02-05 Raphaël Hertzog <hertzog@debian.org>
346
347 * scripts/update-alternatives.pl: Ensure that a broken link
348 in automatic mode doesn't lead to the alternative being set
349 on manual mode. Also displays by default (and not only
350 when --verbose is given) the message that indicates that
351 an alternative is switched to manual mode.
352
353 2009-02-05 Raphaël Hertzog <hertzog@debian.org>
354 Osamu Aoki <osamu@debian.org>
355
356 * scripts/update-alternatives.pl: Allow --config to continue when
357 the currently selected alternative doesn't match the only existing
358 one. Useful to be able to recover from a broken configuration.
359 Also offer the choice in --config mode to go back the automatic
360 mode. Add a new --skip-auto option to combine with --all and
361 easily review manual and broken alternatives.
362 * man/update-alternatives.8: Update the documentation accordingly.
363
364 2009-02-04 Raphaël Hertzog <hertzog@debian.org>
365
366 * scripts/Dpkg/Vendor/Ubuntu.pm: Ubuntu vendor object implementing
367 lookup of launchpad bugs in changelogs and a safety-check for
368 Maintainer fields of forked packages (launched during source
369 build).
370 * scripts/Makefile.am (EXTRA_DIST): Add
371 'scripts/Dpkg/Vendor/Ubuntu.pm'.
372 * scripts/po/POTFILES.in: Add 'scripts/Dpkg/Vendor/Ubuntu.pm'.
373
374 2009-02-04 Raphaël Hertzog <hertzog@debian.org>
375
376 * scripts/Dpkg/Vendor/Default.pm: Generic vendor object that will
377 be used to hook vendor-specific behaviour in multiple places.
378 * scripts/Dpkg/Vendor/Debian.pm: Debian variant of that object.
379 * scripts/Dpkg/Vendor.pm (get_vendor_object, run_vendor_hook):
380 New functions to retrieve the current vendor object and run
381 vendor-specific code.
382 * scripts/dpkg-source.pl, scripts/dpkg-genchanges.pl: Add first
383 vendor hooks to be used by Ubuntu.
384 * scripts/Makefile.am (EXTRA_DIST): Add
385 'scripts/Dpkg/Vendor/Default.pm' and
386 'scripts/Dpkg/Vendor/Debian.pm'.
387
388 2009-01-29 Guillem Jover <guillem@debian.org>
389
390 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-test.h'.
391 * libcompat/Makefile.am (libcompat_a_SOURCES): Add 'compat.h'.
392 * man/Makefile.am (EXTRA_DIST): Add 'po/ChangeLog'.
393
394 2009-01-27 Raphaël Hertzog <hertzog@debian.org>
395
396 * scripts/t/900_Dpkg_Version.t: Renamed into...
397 * scripts/t/100_Dpkg_Version.t: and merged test cases previously
398 provided by this file so that there's no loss of tests. Also
399 adjusted test cases to match the change below.
400 * scripts/Dpkg/Version.pm (compare_versions): Handle "<" like "<="
401 and ">" like ">=" in order to be consistent with dpkg
402 --compare-versions. Emit warnings when they are used as they are
403 deprecated.
404 * scripts/Makefile.am: Drop scripts/t/900_Dpkg_Version.t from the
405 set of extra files to distribute.
406 * scripts/dpkg-genchanges.pl: Use "<<" instead of ambiguous "<" in
407 version comparison.
408
409 2009-01-22 Guillem Jover <guillem@debian.org>
410
411 * lib/log.c (statusfd_send): Use varbufsubstc to replace new lines
412 with spaces.
413
414 2009-01-22 Guillem Jover <guillem@debian.org>
415
416 * lib/dpkg-db.h (varbufsubstc): New function prototype.
417 * lib/varbuf.c (varbufsubstc): New function definition.
418 * lib/test/t-varbuf.c (test_varbuf_substc): New function.
419 (test): Call test_varbuf_substc.
420
421 2009-01-22 Guillem Jover <guillem@debian.org>
422
423 * configure.ac (AC_CONFIG_FILES): Add 'lib/test/Makefile'.
424 * lib/Makefile.am (SUBDIRS): New variable.
425 * lib/dpkg-test.h: New file.
426 * lib/test/Makefile.am: Likewise.
427 * lib/test/t-macros.c: Likewise.
428 * lib/test/t-path.c: Likewise.
429 * lib/test/t-pkginfo.c: Likewise.
430 * lib/test/t-string.c: Likewise.
431 * lib/test/t-test.c: Likewise.
432 * lib/test/t-varbuf.c: Likewise.
433 * lib/test/t-version.c: Likewise.
434
435 2009-01-20 Guillem Jover <guillem@debian.org>
436
437 * lib/dpkg-db.h (varbufaddbuf): Rename argument l to size.
438 * lib/nfmalloc.c (nfstrnsave): Likewise.
439 * lib/varbuf.c (varbufaddbuf): Likewise.
440
441 2009-01-20 Guillem Jover <guillem@debian.org>
442
443 * lib/dpkg-db.h (varbufdupc): Use size_t instead of ssize_t.
444 (varbufaddbuf): Use size_t instead of const int.
445 (nfstrnsave): Use size_t instead of int.
446
447 2009-01-14 Guillem Jover <guillem@debian.org>
448
449 * man/start-stop-daemon.8: Document new option --procsched.
450 * utils/start-stop-daemon.c [_POSIX_PRIORITY_SCHEDULING]: Include
451 <sched.h>.
452 [!_POSIX_PRIORITY_SCHEDULING]: Define SCHED_OTHER, SCHED_FIFO and
453 SCHED_RR with dummy values.
454 (struct res_schedule): New type.
455 (proc_sched): New variable.
456 (do_help): Document --procsched.
457 (parse_proc_schedule, set_proc_schedule): New functions.
458 (parse_options): Add 'procsched' to longopts. Add 'P:' to getopt_long
459 call. Handle 'P' as getopt_long return value. Call parse_proc_schedule
460 if proc_schedule_str is not NULL.
461 (main): Print proc_sched values if --test is used. Call
462 set_proc_schedule if proc_sched is not NULL.
463
464 2009-01-14 Guillem Jover <guillem@debian.org>
465
466 * utils/start-stop-daemon.c (xstrdup): New function.
467 (parse_options): Use xstrdup instead of strdup.
468
469 2009-01-10 Guillem Jover <guillem@debian.org>
470
471 * utils/start-stop-daemon.c (main): If changeuser is a uid, call
472 getpwuid to get the passwd entry and do the same setup as if it is
473 a username.
474
475 2009-01-07 Guillem Jover <guillem@debian.org>
476
477 * man/dpkg-deb.1: Document that -x will modify the extraction
478 directory permissions.
479
480 2009-01-05 Guillem Jover <guillem@debian.org>
481
482 * src/main.c (setobsolete): Use warning instead of fprintf call.
483 (setforce): Likewise.
484
485 2009-01-05 Guillem Jover <guillem@debian.org>
486
487 * man/start-stop-daemon.8: Clarify that the signal sent by default
488 is TERM not KILL.
489
490 2009-01-04 Guillem Jover <guillem@debian.org>
491
492 * utils/start-stop-daemon.c (signal_nr): Initialize with SIGTERM
493 instead of literal 15.
494 * man/start-stop-daemon.8: Refer to signal as TERM instead of
495 literal 15.
496
497 2009-01-04 Guillem Jover <guillem@debian.org>
498
499 * lib/dpkg.h (LOCALLIBDIR): Move macro to ...
500 * dselect/Makefile.am (INCLUDES): ... here, as a -D argument.
501
502 * lib/dpkg.h (DSELECT): Move macro to ...
503 * dselect/dselect.h: ... here.
504
505 * lib/dpkg.h (SPLITVERSION, SPLITPARTDEFMAX): Move macros to ...
506 * dpkg-split/dpkg-split.h: ... here.
507
508 * lib/dpkg.h (ARCHIVEVERSION, BUILDCONTROLDIR, EXTRACTCONTROLDIR)
509 (BUILDOLDPKGFORMAT, OLDARCHIVEVERSION, OLDDEBDIR, OLDOLDDEBDIR)
510 (MAXFIELDNAME, INTERPRETER_MAX): Move macros to ...
511 * dpkg-deb/dpkg-deb.h: ... here.
512
513 2009-01-04 Guillem Jover <guillem@debian.org>
514
515 * lib/dpkg.h (printforhelp): Move declaration to ...
516 * lib/myopt.h: ... here.
517
518 2009-01-04 Guillem Jover <guillem@debian.org>
519
520 * lib/dpkg-db.h (trig_note_pend_core, trig_note_pend): Make trig
521 argument const.
522 * lib/triglib.c (trig_record_activation): Likewise.
523 (trig_file_activate): Remove now unneeded cast in
524 trig_record_activation call.
525
526 2009-01-04 Guillem Jover <guillem@debian.org>
527
528 * lib/myopt.h (MAX_CONFIG_LINE): New macro.
529 * lib/myopt.c (myfileopt): Use MAX_CONFIG_LINE instead of
530 MAXDIVERTFILENAME.
531
532 2009-01-04 Guillem Jover <guillem@debian.org>
533
534 * lib/dpkg.h (SHELL, SHELLENVIR): Remove unused macros.
535 * src/main.h (check_libver): Remove unused prototype.
536
537 2009-01-04 Guillem Jover <guillem@debian.org>
538
539 * dselect/main.cc (findintable, dme, refreshmenu): Make static.
540 * dselect/method.cc (sthfailed): Likewise.
541 * dselect/pkgtop.cc (pkgprioritystring): Likewise.
542
543 2008-12-30 Guillem Jover <guillem@debian.org>
544
545 * lib/ehandle.c (badusage): Move function to ...
546 * lib/myopt.c: ... here. Include <stdarg.h>.
547 * lib/dpkg.h (badusage): Move declaration to ...
548 * lib/myopt.h: ... here.
549 * dpkg-split/split.c: Include <myopt.h>.
550
551 2008-12-30 Colin Watson <cjwatson@ubuntu.com>
552
553 * src/help.c (preexecscript): Call chdir after chroot.
554
555 2008-12-23 Guillem Jover <guillem@debian.org>
556
557 * lib/log.c (statusfd_send): Pass to write the remaining data, not
558 the same initial buffer.
559
560 2008-12-08 Raphaël Hertzog <hertzog@debian.org>
561
562 * scripts/Dpkg/Changelog.pm, scripts/dpkg-buildpackage.pl,
563 scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
564 scripts/dpkg-source.pl: Also import the default exported functions
565 of Dpkg::ErrorHandling and not only the unusual ones.
566
567 2008-12-08 Guillem Jover <guillem@debian.org>
568
569 * dpkg-deb/build.c (do_build): Mark strings for translation.
570 * dpkg-deb/extract.c (extracthalf): Likewise.
571 * dpkg-split/info.c (read_info): Likewise.
572 * dpkg-split/join.c (reassemble): Likewise.
573 * dpkg-split/queue.c (do_queue): Likewise.
574 * dselect/pkglist.cc (packagelist::packagelist): Likewise.
575 (packagelist::display): Likewise.
576 * lib/log.c (statusfd_send): Likewise.
577 * scripts/Dpkg/Source/Package/V1.pm (do_build): Likewise.
578 * src/filesdb.c (ensure_packagefiles_available): Likewise.
579 (ensure_statoverrides): Likewise.
580
581 2008-12-08 Guillem Jover <guillem@debian.org>
582
583 * dpkg-deb/extract.c (extracthalf): Improve internerr strings, and add
584 the invalid value provoking the call.
585 * dpkg-split/queue.c (discardsome): Likewise.
586 * lib/dbmodify.c (modstatdb_init): Likewise.
587 * lib/dump.c (varbufdependency): Likewise.
588 * lib/parsehelp.c (varbufversion): Likewise.
589 * lib/vercmp.c (versionsatisfied3): Likewise.
590 * scripts/Dpkg/Source/Archive.pm (_add_entry): Likewise.
591 * src/archives.c (tarobject, archivefiles): Likewise.
592 * src/configure.c (deferred_configure, promptconfaction): Likewise.
593 * src/depcon.c (describedepcon, depisok): Likewise.
594 * src/enquiry.c (yettobeunpacked): Likewise.
595 * src/packages.c (packages, process_queue, dependencies_ok): Likewise.
596 * src/query.c (enqperpackage): Likewise.
597 * src/update.c (updateavailable): Likewise.
598
599 2008-12-08 Guillem Jover <guillem@debian.org>
600
601 * scripts/Dpkg/Deps.pm (implies): Do not mark internerr strings for
602 translation.
603 * scripts/Dpkg/Fields.pm (output): Likewise.
604 * scripts/Dpkg/Source/Package.pm (add_file): Likewise.
605
606 2008-12-08 Guillem Jover <guillem@debian.org>
607
608 * scripts/Dpkg/Deps.pm (parse): Do not use sprintf for warning.
609 (implies): Do not use sprintf for internerr.
610
611 2008-12-08 Guillem Jover <guillem@debian.org>
612
613 * dpkg-deb/build.c (do_build): Use internerr instead of ohshit. Do not
614 mark the string for translation.
615 * src/trigcmd.c (do_check): Use internerr instead of abort.
616 * lib/dump.c (w_status): Likewise.
617 * lib/triglib.c (trig_incorporate): Likewise. Remove <stdlib.h>
618 include.
619 * scripts/Dpkg/IPC.pm (_sanity_check_opts): Use internerr instead of
620 error.
621 (fork_and_exec): Likewise. Do not mark the string for translation.
622 (wait_child): Likewise.
623 * scripts/Dpkg/Source/Archive.pm: Use internerr instead of error from
624 Dpkg::ErrorHandling.
625 (_add_entry, add_file, add_directory): Likewise.
626 * scripts/Dpkg/Source/CompressedFile.pm: Likewise.
627 (get_filename): Likewise.
628 * scripts/Dpkg/Source/Compressor.pm: Likewise.
629 (_sanity_check): Likewise.
630 * scripts/Dpkg/Source/Package.p (do_extract, do_build): Likewise.
631 * scripts/Dpkg/Source/Patch.pm (add_diff_file): Use error instead of
632 internerr.
633
634 2008-12-08 Guillem Jover <guillem@debian.org>
635
636 * lib/dpkg.h (do_internerr): Reorder arguments. Support format
637 strings.
638 (internerr): Likewise.
639 * lib/ehandle.c (do_internerr): Likewise.
640
641 2008-12-08 Guillem Jover <guillem@debian.org>
642
643 * scripts/Dpkg/ErrorHandling.pm (@EXPORT): Remove 'failure'.
644 (failure): Remove function.
645 (syserr): Rename 'failure' string to 'error'.
646 (subprocerr): Use error instead of failure.
647 * scripts/Dpkg/Checksums.pm (extractchecksum): Likewise.
648 * scripts/Dpkg/Source/Functions.pm (erasedir): Likewise.
649 * scripts/changelog/debian.pl: Likewise.
650 * scripts/dpkg-gencontrol.pl: Likewise.
651 * scripts/dpkg-shlibdeps.pl: Likewise.
652 * scripts/dpkg-buildpackage.pl: Use syserr instead of failure.
653
654 2008-12-08 Guillem Jover <guillem@debian.org>
655
656 * scripts/Dpkg/ErrorHandling.pm (@EXPORT_OK): Move info, warning,
657 warnerror, error, errormsg, failure, syserr, internerr, subprocerr,
658 usageerr and syntaxerr to ...
659 (@EXPORT): ... here. Fix all users.
660
661 2008-12-08 Modestas Vainius <modestas@vainius.eu>
662 Raphaël Hertzog <hertzog@debian.org>
663
664 * scripts/Dpkg/Shlibs/Objdump.pm (parse): Split into add_object()
665 and parse().
666 * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_object_from_symfile):
667 New function to reintegrate symbols from previous symfiles.
668 * scripts/dpkg-shlibdeps.pl: Optimizes it by caching parsed
669 symbols files and objdump objects. This way neither of the
670 libraries or symbols files are parsed more than once.
671
672 2008-12-05 Guillem Jover <guillem@debian.org>
673
674 * lib/mlib.c: Remove <sys/wait.h> include.
675 (checksubprocerr, waitsubproc): Move to ...
676 * lib/subproc.c (checksubprocerr, waitsubproc): ... here.
677 Include <sys/types.h> and <sys/wait.h>.
678
679 2008-12-05 Guillem Jover <guillem@debian.org>
680
681 * lib/mlib.c (checksubprocerr): Split unrelated conditionals for n
682 and PROCPIPE.
683
684 2008-12-05 Guillem Jover <guillem@debian.org>
685
686 * lib/mlib.c (checksubprocerr): Return an explicit 0 instead of n.
687
688 2008-12-05 Guillem Jover <guillem@debian.org>
689
690 * lib/ehandle.c (warning): Print the current program name and a
691 'warning' string.
692 * lib/mlib.c (checksubprocerr): Use warning() instead of a print
693 function.
694 * src/archives.c (try_deconfigure_can): Likewise.
695 (check_breaks): Likewise.
696 (check_conflict): Likewise.
697 (wanttoinstall): Likewise.
698 * src/configure.c (deferred_configure): Likewise.
699 (conffderef): Likewise.
700 (md5hash): Likewise.
701 * src/errors.c (forcibleerr): Likewise.
702 * src/filesdb.c (ensure_packagefiles_available): Likewise.
703 * src/help.c (maintainer_script_alternative): Likewise.
704 * src/processarc.c (process_archive): Likewise.
705 * src/remove.c (deferred_remove): Likewise.
706 (removal_bulk_remove_leftover_dirs): Likewise.
707 * dpkg-deb/build.c (do_build): Likewise.
708
709 2008-12-05 Guillem Jover <guillem@debian.org>
710
711 * lib/ehandle.c (warning): Do not implicitly print the errno string.
712 * lib/myopt.c (myfileopt): Print the errno string in the warning.
713
714 2008-12-05 Guillem Jover <guillem@debian.org>
715
716 * lib/dpkg.h (warningf): Rename to ...
717 (warning): ... this. Fix all callers.
718
719 2008-11-19 Raphaël Hertzog <hertzog@debian.org>
720
721 * scripts/Dpkg/Source/Functions.pm (fixperms): Fix chmod call to
722 also work when POSIXLY_CORRECT is set.
723
724 2008-11-11 Guillem Jover <guillem@debian.org>
725
726 * scripts/dpkg-architecture.pl: Use new style functions calls.
727 * scripts/dpkg-distaddfile.pl: Likewise.
728 * scripts/dpkg-divert.pl: Likewise.
729 * scripts/dpkg-genchanges.pl: Likewise.
730 * scripts/dpkg-gencontrol.pl: Likewise.
731 * scripts/dpkg-gensymbols.pl: Likewise.
732 * scripts/dpkg-scanpackages.pl: Likewise.
733 * scripts/dpkg-statoverride.pl: Likewise.
734 * scripts/update-alternatives.pl: Likewise.
735
736 2008-11-08 Raphaël Hertzog <hertzog@debian.org>
737
738 * scripts/Dpkg/Shlibs/Objdump.pm (_parse): Support RUNPATH exactly
739 like RPATH but taking precedence over it.
740
741 2008-10-22 Guillem Jover <guillem@debian.org>
742
743 * lib/ehandle.c (error_unwind): Remove unused cleanupentry code.
744
745 2008-10-15 Guillem Jover <guillem@debian.org>
746
747 * lib/dbmodify.c (modstatdb_shutdown): Use importanttmpfile on unlink
748 instead of constructing the file name again.
749
750 2008-10-15 Guillem Jover <guillem@debian.org>
751
752 * src/Makefile.am (dpkg_query_SOURCES): Remove 'errors.c'.
753 * src/main.h (nerrs): Remove declaration.
754 * src/errors.c (nerrs): Change from extern to static.
755 * src/query.c (failures): New variable.
756 (errabort): Remove variable.
757 (listpackages): Use failures instead of nerrs.
758 (searchfiles): Likewise.
759 (showpackages): Likewise.
760 (enqperpackage): Likewise. Do not define nor initialize failures.
761 (main): Use failures variable instead of reportbroken_retexitstatus.
762
763 2008-09-14 Guillem Jover <guillem@debian.org>
764
765 * libcompat/scandir.c (scandir): Handle case when filter and cmp
766 function arguments are NULL.
767
768 2008-09-14 Guillem Jover <guillem@debian.org>
769
770 * libcompat/compat.h (scandir): Rename arguments from select to
771 filter and compar to cmp.
772 * libcompat/scandir.c (scandir): Likewise.
773
774 2008-09-14 Guillem Jover <guillem@debian.org>
775
776 * libcompat/compat.h (alphasort): Change argument types to match
777 modern system ones (the current ones were missing one indirection
778 anyway).
779 * libcompat/alphasort.c (alphasort): Likewise. Properly dereference
780 arguments.
781 * libcompat/scandir.c (scandir_comparfn): Remove static function
782 variable.
783 (scandir_compar): Remove function.
784 (scandir): Pass compar function directly to qsort.
785
786 2008-09-14 Guillem Jover <guillem@debian.org>
787
788 * libcompat/strerror.c (strerror): Change string for unknown value.
789 * libcompat/strsignal.c (strsignal): Likewise.
790
791 2008-09-14 Guillem Jover <guillem@debian.org>
792
793 * libcompat/strsignal.c (strsignal): Do not return a string for
794 signal 0.
795
796 2008-09-14 Guillem Jover <guillem@debian.org>
797
798 * libcompat/strsignal.c (sys_siglist): Insert a NULL entry at the
799 beginning.
800
801 2008-09-14 Guillem Jover <guillem@debian.org>
802
803 * libcompat/strsignal.c (sys_siglist): Remove array size from
804 declaration. Remove unknown signal names.
805 (strsignal): Use sizeof to compute the array size instead of NSIG.
806
807 2008-09-14 Guillem Jover <guillem@debian.org>
808
809 * libcompat/vsnprintf.c (vsnprintf): Use SEEK_SET instead of a 0
810 literal on fseek.
811
812 2008-09-14 Guillem Jover <guillem@debian.org>
813
814 * libcompat/vsnprintf.c (vsnprintf): Change size and nr types from
815 unsigled long to size_t. Always return the amount that would be
816 written regardless of any truncation. Do not read one byte less from
817 the temporary file.
818
819 2008-09-14 Guillem Jover <guillem@debian.org>
820
821 * libcompat/vsnprintf.c (vsnprintf): Use the return value from
822 vfprintf as the formatted string size instead of using fstat to get
823 the file size.
824
825 2008-09-14 Guillem Jover <guillem@debian.org>
826
827 * libcompat/vsnprintf.c (vsnprintf): Check for negative return error
828 values instead of just EOF.
829
830 2008-09-14 Guillem Jover <guillem@debian.org>
831
832 * libcompat/snprintf.c (snprintf): Use vsnprintf instead of vsprintf.
833
834 2008-09-14 Guillem Jover <guillem@debian.org>
835
836 * libcompat/vsnprintf.c (vsnprintf): Use '\0' instead of NULL to
837 terminate the string.
838
839 2008-09-14 Guillem Jover <guillem@debian.org>
840
841 * libcompat/compat.h (unsetenv): Change return type from void to int.
842 * libcompat/unsetenv.c (unsetenv): Likewise. Return -1 on error, or
843 pass through the status code from putenv.
844
845 2008-09-14 Guillem Jover <guillem@debian.org>
846
847 * dselect/methkeys.cc: Remove unused headers <stdio.h>, <string.h>,
848 <assert.h> and <dpkg.h>.
849 * dselect/pkgkeys.cc: Likewise.
850 * dselect/basetop.cc: Likewise. Remove unused header <ctype.h>.
851 * dselect/curkeys.cc: Remove unused header <dpkg.h>.
852 * dselect/helpmsgs.h: Likewise.
853 * dselect/pkgcmds.cc: Likewise.
854 * dselect/pkgdisplay.cc: Likewise.
855 * dselect/pkginfo.cc: Likewise.
856 * lib/compression.c: Likewise.
857 * lib/dpkg-db.h: Remove unused header <string.h>. Include
858 <sys/types.h>.
859 * lib/md5.c: Remove unused header <netinet/in.h>.
860
861 2008-09-14 Guillem Jover <guillem@debian.org>
862
863 * src/main.c (commandfd): Remove left over debug printf.
864
865 2008-09-14 Guillem Jover <guillem@debian.org>
866
867 * lib/dpkg.h (IMPORTANTFMT): Remove out of sync comment.
868
869 2008-09-14 Guillem Jover <guillem@debian.org>
870
871 * lib/dpkg.h (standard_startup): Do not take prog, loadcfg and
872 cmdinfos as arguments, and do not call loadcfgfile. Fix all callers.
873 * src/main.c: Call loadcfgfile directly.
874
875 2008-09-14 Guillem Jover <guillem@debian.org>
876
877 * lib/dpkg.h: Do not include <myopt.h>.
878 (standard_startup): Do not take argc and argv as arguments, and do
879 not call myopt. Fix all callers.
880 * lib/myopt-util.c: Include <myopt.h>.
881 * dpkg-deb/build.c: Likewise.
882 * dpkg-split/info.c: Likewise.
883 * dpkg-split/join.c: Likewise.
884 * dpkg-split/queue.c: Likewise.
885 * src/select.c: Likewise.
886 * dpkg-deb/main.c (main): Call myopt directly.
887 * dpkg-split/main.c: Likewise.
888 * src/main.c: Likewise.
889 * src/query.c: Likewise.
890 * src/trigcmd.c: Likewise.
891
892 2008-09-14 Guillem Jover <guillem@debian.org>
893
894 * lib/dpkg.h (standard_shutdown): Remove unused freemem argument,
895 and do not call nffreeall. Fix all callers.
896
897 2008-09-14 Guillem Jover <guillem@debian.org>
898
899 * lib/dpkg-db.h: Move <stdlib.h> inclusion to ...
900 * dselect/pkglist.cc: ... here.
901 * lib/database.c: Likewise.
902 * lib/dump.c: Likewise.
903 * lib/parse.c: Likewise.
904 * lib/parsehelp.c: Likewise.
905 * lib/triglib.c: Likewise.
906 * src/filesdb.c: Likewise.
907 * src/help.c: Likewise.
908 * src/select.c: Likewise.
909 * src/trigproc.c: Likewise.
910
911 2008-09-14 Guillem Jover <guillem@debian.org>
912
913 * configure.ac (AC_CHECK_FUNCS): Move 'vsnprintf', 'snprintf',
914 'strerror', 'strsignal', 'scandir', 'alphasort' and 'unsetenv' to ...
915 (DPKG_CHECK_COMPAT_FUNCS): ... here.
916 * lib/Makefile.am (libdpkg_a_SOURCES): Remove 'compat.c'.
917 * lib/dpkg.h (strerror, strsignal, scandir, alphasort, unsetenv)
918 (offsetof, strtoul, va_copy, WCOREDUMP): Move declarations to ...
919 * libcompat/compat.h: ... here.
920 * libcompat/Makefile.am (libcompat_a_SOURCES): Add 'strerror.c',
921 'strsignal.c', 'snprintf.c', 'vsnprintf.c', 'alphasort.c',
922 'scandir.c' and 'unsetenv.c'.
923 * po/POTFILES.in: Remove 'lib/compat.c'.
924 * lib/compat.c: Split into ...
925 * libcompat/alphasort.c: ... here. New file.
926 * libcompat/scandir.c: Likewise.
927 * libcompat/snprintf.c: Likewise.
928 * libcompat/strerror.c: Likewise.
929 * libcompat/strsignal.c: Likewise.
930 * libcompat/unsetenv.c: Likewise.
931 * libcompat/vsnprintf.c: Likewise.
932
933 2008-09-14 Guillem Jover <guillem@debian.org>
934
935 * lib/compat.c: Do not include <dpkg.h> anymore.
936 (vsnprintf): Return negative on error instead of ohshite.
937
938 2008-09-14 Guillem Jover <guillem@debian.org>
939
940 * libcompat/compat.h: New file.
941 * dpkg-deb/build.c: Include <compat.h>.
942 * dpkg-deb/extract.c: Likewise.
943 * dpkg-deb/info.c: Likewise.
944 * dpkg-deb/main.c: Likewise.
945 * dpkg-split/info.c: Likewise.
946 * dpkg-split/join.c: Likewise.
947 * dpkg-split/main.c: Likewise.
948 * dpkg-split/queue.c: Likewise.
949 * dpkg-split/split.c: Likewise.
950 * dselect/basecmds.cc: Likewise.
951 * dselect/baselist.cc: Likewise.
952 * dselect/basetop.cc: Likewise.
953 * dselect/bindings.cc: Likewise.
954 * dselect/curkeys.cc: Likewise.
955 * dselect/helpmsgs.cc: Likewise.
956 * dselect/main.cc: Likewise.
957 * dselect/methkeys.cc: Likewise.
958 * dselect/methlist.cc: Likewise.
959 * dselect/method.cc: Likewise.
960 * dselect/methparse.cc: Likewise.
961 * dselect/pkgcmds.cc: Likewise.
962 * dselect/pkgdepcon.cc: Likewise.
963 * dselect/pkgdisplay.cc: Likewise.
964 * dselect/pkginfo.cc: Likewise.
965 * dselect/pkgkeys.cc: Likewise.
966 * dselect/pkglist.cc: Likewise.
967 * dselect/pkgsublist.cc: Likewise.
968 * dselect/pkgtop.cc: Likewise.
969 * lib/cleanup.c: Likewise.
970 * lib/compression.c: Likewise.
971 * lib/database.c: Likewise.
972 * lib/dbmodify.c: Likewise.
973 * lib/dump.c: Likewise.
974 * lib/ehandle.c: Likewise.
975 * lib/lock.c: Likewise.
976 * lib/log.c: Likewise.
977 * lib/md5.c: Likewise.
978 * lib/mlib.c: Likewise.
979 * lib/myopt-util.c: Likewise.
980 * lib/myopt.c: Likewise.
981 * lib/nfmalloc.c: Likewise.
982 * lib/parse.c: Likewise.
983 * lib/parsehelp.c: Likewise.
984 * lib/path.c: Likewise.
985 * lib/showpkg.c: Likewise.
986 * lib/string.c: Likewise.
987 * lib/subproc.c: Likewise.
988 * lib/triglib.c: Likewise.
989 * lib/utils.c: Likewise.
990 * lib/varbuf.c: Likewise.
991 * lib/vercmp.c: Likewise.
992 * src/archives.c: Likewise.
993 * src/cleanup.c: Likewise.
994 * src/configure.c: Likewise.
995 * src/depcon.c: Likewise.
996 * src/enquiry.c: Likewise.
997 * src/errors.c: Likewise.
998 * src/filesdb.c: Likewise.
999 * src/help.c: Likewise.
1000 * src/main.c: Likewise.
1001 * src/packages.c: Likewise.
1002 * src/pkg-list.c: Likewise.
1003 * src/pkg-show.c: Likewise.
1004 * src/processarc.c: Likewise.
1005 * src/query.c: Likewise.
1006 * src/remove.c: Likewise.
1007 * src/select.c: Likewise.
1008 * src/trigcmd.c: Likewise.
1009 * src/trigproc.c: Likewise.
1010 * src/update.c: Likewise.
1011 * lib/fields.c: Likewise. Do not include "strnlen.h", now implicitly
1012 included by <compat.h>.
1013 * lib/tarfn.c: Likewise.
1014
1015 2008-09-14 Guillem Jover <guillem@debian.org>
1016
1017 * lib/dpkg.h: Move <locale.h> inclusion and standard_startup locale
1018 setup to ...
1019 * dpkg-deb/main.c (main): ... here.
1020 * dpkg-split/main.c (main): Likewise.
1021 * dselect/main.cc (main): Likewise.
1022 * src/main.c (main): Likewise.
1023 * src/query.c (main): Likewise.
1024 * src/trigcmd.c (main): Likewise.
1025
1026 2008-09-14 Guillem Jover <guillem@debian.org>
1027
1028 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-i18n.h'.
1029 * lib/dpkg.h: Move <gettext.h> inclusion and ...
1030 (_, N_): ... macros to ...
1031 * lib/dpkg-i18n.h: ... here. New file.
1032 * dpkg-deb/build.c: Include <dpkg-i18n.h>.
1033 * dpkg-deb/extract.c: Likewise.
1034 * dpkg-deb/info.c: Likewise.
1035 * dpkg-deb/main.c: Likewise.
1036 * dpkg-split/info.c: Likewise.
1037 * dpkg-split/join.c: Likewise.
1038 * dpkg-split/main.c: Likewise.
1039 * dpkg-split/queue.c: Likewise.
1040 * dpkg-split/split.c: Likewise.
1041 * dselect/basecmds.cc: Likewise.
1042 * dselect/baselist.cc: Likewise.
1043 * dselect/bindings.cc: Likewise.
1044 * dselect/helpmsgs.cc: Likewise.
1045 * dselect/main.cc: Likewise.
1046 * dselect/methlist.cc: Likewise.
1047 * dselect/method.cc: Likewise.
1048 * dselect/methparse.cc: Likewise.
1049 * dselect/pkgdisplay.cc: Likewise.
1050 * dselect/pkginfo.cc: Likewise.
1051 * dselect/pkglist.cc: Likewise.
1052 * dselect/pkgsublist.cc: Likewise.
1053 * dselect/pkgtop.cc: Likewise.
1054 * lib/compression.c: Likewise.
1055 * lib/database.c: Likewise.
1056 * lib/dbmodify.c: Likewise.
1057 * lib/dump.c: Likewise.
1058 * lib/ehandle.c: Likewise.
1059 * lib/fields.c: Likewise.
1060 * lib/lock.c: Likewise.
1061 * lib/log.c: Likewise.
1062 * lib/mlib.c: Likewise.
1063 * lib/myopt-util.c: Likewise.
1064 * lib/myopt.c: Likewise.
1065 * lib/nfmalloc.c: Likewise.
1066 * lib/parse.c: Likewise.
1067 * lib/parsehelp.c: Likewise.
1068 * lib/showpkg.c: Likewise.
1069 * lib/subproc.c: Likewise.
1070 * lib/trigdeferred.l: Likewise.
1071 * lib/triglib.c: Likewise.
1072 * lib/utils.c: Likewise.
1073 * src/archives.c: Likewise.
1074 * src/cleanup.c: Likewise.
1075 * src/configure.c: Likewise.
1076 * src/depcon.c: Likewise.
1077 * src/enquiry.c: Likewise.
1078 * src/errors.c: Likewise.
1079 * src/filesdb.c: Likewise.
1080 * src/help.c: Likewise.
1081 * src/main.c: Likewise.
1082 * src/packages.c: Likewise.
1083 * src/pkg-show.c: Likewise.
1084 * src/processarc.c: Likewise.
1085 * src/query.c: Likewise.
1086 * src/remove.c: Likewise.
1087 * src/select.c: Likewise.
1088 * src/trigcmd.c: Likewise.
1089 * src/trigproc.c: Likewise.
1090 * src/update.c: Likewise
1091
1092 2008-09-14 Guillem Jover <guillem@debian.org>
1093
1094 * dselect/baselist.cc (baselist::startdisplay): Unmark debug message
1095 for translation.
1096 * dselect/methlist.cc (methodlist::display): Likewise.
1097 * dselect/pkgdepcon.cc (packagelist::resolvedepcon): Likewise.
1098 * dselect/pkglist.cc (packagelist::addheading): Likewise.
1099 * dselect/pkgsublist.cc (packagelist::add): Likewise.
1100
1101 2009-02-03 Guillem Jover <guillem@debian.org>
1102
1103 * configure.ac: Release 1.14.25.
1104
1105 2009-02-02 Guillem Jover <guillem@debian.org>
1106
1107 * src/archives.c (tarobject): Do not call ensure_pathname_nonexisting
1108 for .dpkg-tmp and .dpkg-new if we are going to return due to already
1109 existing directory or a file to be skipped.
1110
1111 2008-02-02 Raphaël Hertzog <hertzog@debian.org>
1112
1113 * dpkg-deb/build.c: Ensure that data.tar and control.tar
1114 archives created inside a .deb use the GNU format that is compatible
1115 with dpkg itself. And remove TAR_OPTIONS from environment to
1116 avoid unexpected user customizations of the resulting archives.
1117
1118 2008-12-29 Guillem Jover <guillem@debian.org>
1119
1120 * configure.ac: Bump version to 1.14.25~.
1121
1122 2008-12-29 Guillem Jover <guillem@debian.org>
1123
1124 * configure.ac: Release 1.14.24.
1125
1126 2008-12-20 Guillem Jover <guillem@debian.org>
1127
1128 * src/archives.c (tarobject): Move a 'continue' inside a conditional
1129 checking if the conffile to take over was obsolete on the other
1130 package by adding missing braces.
1131
1132 2008-12-01 Raphaël Hertzog <hertzog@debian.org>
1133
1134 * scripts/Dpkg/Source/Archive.pm (extract): Do not create the temp
1135 directory in the current directory but in the parent directory of
1136 the target directory. Otherwise the code would fail when called
1137 from a non-writable dir and rename could fail due to filesystem
1138 boundaries between the current dir and the target one.
1139
1140 2008-12-01 Modestas Vainius <modestas@vainius.eu>
1141
1142 * scripts/dpkg-shlibdeps.pl: Don't merge all dependency templates
1143 into the generated dependency when Build-Depends-Package is
1144 used in the symbols file. Instead simply modify the minimal
1145 version on any pre-existing dependency.
1146
1147 2008-11-19 Raphaël Hertzog <hertzog@debian.org>
1148
1149 * scripts/Dpkg/Shlibs/Objdump.pm (parse_dynamic_symbol): Fix the
1150 regular expression to not require two space between alignment and
1151 symbol name.
1152 * scripts/t/200_Dpkg_Shlibs.t,
1153 scripts/t/200_Dpkg_Shlibs/objdump.ls: Add a non-regression test
1154 corresponding to the above case.
1155
1156 2008-11-18 Guillem Jover <guillem@debian.org>
1157
1158 * configure.ac: Bump version to 1.14.24~.
1159
1160 2008-11-18 Guillem Jover <guillem@debian.org>
1161
1162 * configure.ac: Release 1.14.23.
1163
1164 2008-11-14 Guillem Jover <guillem@debian.org>
1165
1166 * lib/ehandle.c (run_error_handler): In case of onerr_abort print an
1167 error message and exit, otherwise longjmp.
1168
1169 2008-11-14 Guillem Jover <guillem@debian.org>
1170
1171 * src/main.h (abort_processing): New variable declaration.
1172 * src/errors.c (abort_processing): New variable definition.
1173 * src/archives.c (print_error_perpackage): Use abort_processing
1174 instead of onerr_abort for non fatal errors.
1175 (reportbroken_retexitstatus): Likewise. Do not check onerr_abort
1176 for the exit value as it should not have reached this function.
1177 * src/packages.c (process_queue): Likewise. Return on entering if
1178 it should abort processing.
1179
1180 2008-11-14 Guillem Jover <guillem@debian.org>
1181
1182 * lib/ehandle.c (run_error_handler): New function.
1183 (push_error_handler): Use run_error_handler instead of directly
1184 calling longjmp.
1185 (ohshit): Likewise.
1186 (ohshitvb): Likewise.
1187 (ohshitv): Likewise.
1188 (ohshite): Likewise.
1189
1190 2008-11-07 Raphaël Hertzog <hertzog@debian.org>
1191
1192 * scripts/Dpkg/Version.pm: Synchronize code with version used by
1193 debbugs (add some bugfixes).
1194 * scripts/t/900_Dpkg_Version.t: Add non-regression tests for
1195 version comparison code.
1196 * scripts/Makefile.am: Add new file in the dist tarball.
1197
1198 2008-10-20 Raphaël Hertzog <hertzog@debian.org>
1199
1200 * scripts/Dpkg/Shlibs/SymbolFile.pm (load): Let the recursively
1201 nested calls to load() modify the name of the current object so
1202 that the header can be set in an included file (like it's already
1203 documented).
1204
1205 2008-09-26 Thiemo Seufer <ths@debian.org>
1206
1207 * scripts/Dpkg/Shlibs/SymbolFile.pm: add "__gnu_local_gp" symbol
1208 to the blacklist (mips/mipsel specific symbol that appeared with
1209 GCC 4.3).
1210
1211 2008-09-05 Raphaël Hertzog <hertzog@debian.org>
1212
1213 * configure.ac: Bump version to 1.14.23~.
1214
1215 2008-09-05 Raphaël Hertzog <hertzog@debian.org>
1216
1217 * configure.ac: Release 1.14.22.
1218
1219 2008-08-29 Raphaël Hertzog <hertzog@debian.org>
1220
1221 * scripts/dpkg-gensymbols.pl: It was already skipping symlinks
1222 within the package build tree. Now it also skips real
1223 directories accessed through a symlink contained in the package
1224 build tree. Package like libc6-386 had symlinks usr/lib32
1225 pointing to some directories outside of the build tree and
1226 the LD_LIBRARY_PATH set by fakeroot led contained
1227 /usr/lib32/libfakeroot which made dpkg-gensymbols scan this
1228 directory and add libfakeroot to the libc6-386 symbols file!
1229
1230 2008-08-29 Raphaël Hertzog <hertzog@debian.org>
1231
1232 * scripts/Dpkg/Source/Package/V3/quilt.pm: run_quilt() can be run
1233 when no quilt series file exist yet. In that case we have to
1234 provide the name of the series file that we want to create (as the
1235 quilt command might create it). Up to now
1236 File::Spec->rel2abs(undef) returned the name of the current
1237 directory and we improperly used that as value of QUILT_SERIES.
1238 * scripts/Dpkg/Source/Package/V2.pm (do_build): Change permissions
1239 of the automatically generated patch which is initially created
1240 0600 with tempfile().
1241
1242 2008-08-26 Guillem Jover <guillem@debian.org>
1243
1244 * configure.ac: Bump version to 1.14.22~.
1245
1246 2008-08-26 Guillem Jover <guillem@debian.org>
1247
1248 * lib/gettext.h: Move to ..
1249 * libcompat/gettext.h: ... here.
1250 * lib/Makefile.am (libdpkg_a_SOURCES): Remove 'gettext.h'.
1251 * libcompat/Makefile.am (libcompat_a_SOURCES): Add 'gettext.h'
1252
1253 2008-08-24 Guillem Jover <guillem@debian.org>
1254
1255 * lib/dpkg-priv.h [HAVE_STDDEF_H]: Conditionalize <stddef.h> inclusion.
1256
1257 2008-08-24 Guillem Jover <guillem@debian.org>
1258
1259 * lib/dpkg-def.h (DPKG_BEGIN_DECLS, DPKG_END_DECLS): New macros.
1260 * lib/dpkg.h: Surround declarations with DPKG_BEGIN_DECLS and
1261 DPKG_END_DECLS.
1262 * lib/myopt.h: Likewise.
1263 * lib/dpkg-db.h: Likewise. Include <dpkg-def.h>.
1264 * lib/dpkg-priv.h: Include <dpkg-def.h>. Replace extern "C" context
1265 with DPKG_BEGIN_DECLS and DPKG_END_DECLS.
1266 * dselect/basecmds.cc: Remove surrounding extern "C" context from
1267 header files.
1268 * dselect/baselist.cc: Likewise.
1269 * dselect/basetop.cc: Likewise.
1270 * dselect/bindings.cc: Likewise.
1271 * dselect/curkeys.cc: Likewise.
1272 * dselect/helpmsgs.h: Likewise.
1273 * dselect/main.cc: Likewise.
1274 * dselect/methkeys.cc: Likewise.
1275 * dselect/methlist.cc: Likewise.
1276 * dselect/method.cc: Likewise.
1277 * dselect/methparse.cc: Likewise.
1278 * dselect/pkgcmds.cc: Likewise.
1279 * dselect/pkgdepcon.cc: Likewise.
1280 * dselect/pkgdisplay.cc: Likewise.
1281 * dselect/pkginfo.cc: Likewise.
1282 * dselect/pkgkeys.cc: Likewise.
1283 * dselect/pkglist.cc: Likewise.
1284 * dselect/pkgsublist.cc: Likewise.
1285 * dselect/pkgtop.cc: Likewise.
1286
1287 2008-08-24 Guillem Jover <guillem@debian.org>
1288
1289 * lib/dpkg-def.h: Do not include <config.h>.
1290 * dselect/helpmsgs.h: Likewise.
1291 * dselect/helpmsgs.cc: Include <config.h>.
1292 * lib/cleanup.c: Likewise.
1293 * lib/md5.c: Include <config.h> instead of "config.h".
1294 * lib/mlib.c: Likewise.
1295 * utils/start-stop-daemon.c: Likewise.
1296
1297 2008-08-22 Raphaël Hertzog <hertzog@debian.org>
1298
1299 * man/dpkg-source.1: Clarify two points concerning the behaviour
1300 of the new 3.0 (quilt) source format.
1301
1302 2008-08-18 Guillem Jover <guillem@debian.org>
1303
1304 * lib/dpkg.h (ARCHBINFMT): Remove unused macro.
1305
1306 2008-08-18 Guillem Jover <guillem@debian.org>
1307
1308 * src/query.c: Remove left-over description from header comment.
1309 * src/remove.c: Remove partial change log from header comment.
1310
1311 2008-08-18 Guillem Jover <guillem@debian.org>
1312
1313 * lib/dpkg.h (CMETHOPTFILE, METHLOCKFILE, METHODSDIR)
1314 (IMETHODMAXLEN, IOPTIONMAXLEN, METHODOPTIONSFILE)
1315 (METHODSETUPSCRIPT, METHODUPDATESCRIPT, METHODINSTALLSCRIPT)
1316 (OPTIONSDESCPFX, OPTIONINDEXMAXLEN): Move macros ...
1317 * dselect/method.h: ... here.
1318 * dselect/methparse.cc: Include "method.h".
1319
1320 2008-08-18 Guillem Jover <guillem@debian.org>
1321
1322 * man/dpkg-trigger.1: Mark program names in bold.
1323
1324 2008-08-18 Guillem Jover <guillem@debian.org>
1325
1326 * man/cleanup-info.8: Use a troff special character for the copyright
1327 symbol.
1328 * man/deb-substvars.5: Likewise.
1329 * man/deb-version.5: Likewise.
1330 * man/dpkg-buildpackage.1: Likewise.
1331 * man/dpkg-checkbuilddeps.1: Likewise.
1332 * man/dpkg-deb.1: Likewise.
1333 * man/dpkg-distaddfile.1: Likewise.
1334 * man/dpkg-divert.8: Likewise.
1335 * man/dpkg-genchanges.1: Likewise.
1336 * man/dpkg-gencontrol.1: Likewise.
1337 * man/dpkg-gensymbols.1: Likewise.
1338 * man/dpkg-name.1: Likewise.
1339 * man/dpkg-parsechangelog.1: Likewise.
1340 * man/dpkg-query.1: Likewise.
1341 * man/dpkg-shlibdeps.1: Likewise.
1342 * man/dpkg-source.1: Likewise.
1343 * man/dpkg-split.1: Likewise.
1344 * man/dpkg-statoverride.8: Likewise.
1345 * man/install-info.8: Likewise.
1346 * man/update-alternatives.8: Likewise.
1347
1348 2008-08-15 Guillem Jover <guillem@debian.org>
1349
1350 * man/dpkg-deb.1 (BUGS): Improve comment about missing authentication
1351 and checksum support in .deb files.
1352
1353 2008-08-05 Guillem Jover <guillem@debian.org>
1354
1355 * lib/ehandle.c: Include <dpkg-priv.h>.
1356 (push_cleanup): Use sizeof_array instead of ad-hoc calculation.
1357
1358 2008-08-05 Guillem Jover <guillem@debian.org>
1359
1360 * scripts/dpkg-scanpackages.pl: Use usageerr instead of embedded code.
1361
1362 2008-08-05 Guillem Jover <guillem@debian.org>
1363
1364 * scripts/dpkg-distaddfile.pl: Use _g() instead of mispelled gettext().
1365
1366 2008-08-03 Guillem Jover <guillem@debian.org>
1367
1368 * src/processarc.c (process_archive): Use blankpackageperfile instead
1369 of manually blanking the members.
1370 * src/remove.c (removal_bulk): Likewise.
1371
1372 2008-08-03 Guillem Jover <guillem@debian.org>
1373
1374 * utils/start-stop-daemon.c (pid_is_running) [!OSHURD]: Reimplement
1375 using kill instead of less-portable /proc.
1376
1377 2008-08-03 Guillem Jover <guillem@debian.org>
1378
1379 * utils/start-stop-daemon.c (check) [HAVE_KVM_H]: Call pid_is_exec.
1380
1381 2008-08-03 Guillem Jover <guillem@debian.org>
1382
1383 * src/pkg-show.c (limiteddescription): Assign directly to l_r instead
1384 of a temporary variable.
1385
1386 2008-08-03 Guillem Jover <guillem@debian.org>
1387
1388 * utils/start-stop-daemon.c: Move the different implementations
1389 of the same function for different operating systems together.
1390
1391 2008-08-03 Guillem Jover <guillem@debian.org>
1392
1393 * utils/start-stop-daemon.c (MIN_POLL_INTERVAL): Use proper UTF-8 mu
1394 symbol for the unit in the comment.
1395
1396 2008-07-26 Guillem Jover <guillem@debian.org>
1397
1398 * src/Makefile.am (dpkg_SOURCES): Add 'pkg-show.c'.
1399 (dpkg_query_SOURCES): Likewise.
1400 * src/main.h (limiteddescription): New function prototype.
1401 * src/enquiry.c (limiteddescription): Move function to ...
1402 * src/pkg-show.c: ... here. New file.
1403 * src/query.c (limiteddescription): Remove duplicate function.
1404
1405 2008-07-26 Guillem Jover <guillem@debian.org>
1406
1407 * lib/showpkg.c (parseformat): Do not set cur->type to field, as
1408 that's set in parsefield.
1409
1410 2008-07-22 Guillem Jover <guillem@debian.org>
1411
1412 * src/Makefile.am (dpkg_SOURCES): Add 'pkg-list.c'.
1413 (dpkg_query_SOURCES): Likewise.
1414 * src/enquiry.c (pkglistqsortcmp): Move function to ...
1415 * src/pkg-list.c: ... here. New file.
1416 * src/query.c (pkglistqsortcmp): Remove duplicate function.
1417
1418 2008-07-22 Guillem Jover <guillem@debian.org>
1419
1420 * src/main.h (struct pkg_deconf_list): Move declaration ...
1421 * src/archives.h: ... here.
1422
1423 2008-07-22 Guillem Jover <guillem@debian.org>
1424
1425 * src/main.h (struct packageinlist): Rename to ...
1426 (struct pkg_deconf_list): ... this. Fix all users.
1427
1428 2008-07-22 Guillem Jover <guillem@debian.org>
1429
1430 * src/main.h (struct packageinlist): Change 'void *xinfo' member to
1431 'struct pkginfo *pkg_removal'. Fix all users.
1432
1433 2008-07-22 Guillem Jover <guillem@debian.org>
1434
1435 * src/main.h (ignoredependss): Change type to 'struct pkginqueue'.
1436 * src/main.c (ignoredependss): Likewise.
1437 (ignoredepends): Change type for variable 'ni' to 'struct pkginqueue'.
1438 * src/help.c (ignore_depends): Likewise.
1439
1440 2008-07-22 Guillem Jover <guillem@debian.org>
1441
1442 * src/query.c (ignoredependss): Remove unused variable.
1443
1444 2008-07-10 Raphaël Hertzog <hertzog@debian.org>
1445
1446 * man/dpkg-buildpackage.1: Give a detailed explanation of what the
1447 command does. Drop any duplicate information contained in the
1448 dpkg-genchanges/dpkg-source manual pages.
1449 * man/dpkg-genchanges.1: Document the -A option (was missing).
1450
1451 2008-07-10 Guillem Jover <guillem@debian.org>
1452
1453 * lib/dpkg-priv.h (min, max): New macros.
1454 * lib/tarfn.c: Include <dpkg-priv.h>.
1455 * src/configure.c: Likewise.
1456 * src/enquiry.c: Likewise.
1457
1458 * src/configure.c (conffderef): Use max instead of hardcoded test.
1459 * lib/tarfn.c (TarExtractor): Use min instead of hardcoded test.
1460 * lib/fields.c (conffvalue_lastword): Likewise.
1461 * src/enquiry.c (limiteddescription): Likewise.
1462 * src/main.c (setforce): Likewise.
1463 * src/query.c (limiteddescription): Likewise.
1464
1465 2008-07-10 Guillem Jover <guillem@debian.org>,
1466 Timothy G Abbott <tabbott@mega-man.mit.edu>
1467
1468 * src/configure.c (deferred_configure): Call namenodetouse to handle
1469 diverted conffiles. Use trig_file_activate on usenode, instead of
1470 trig_file_activate_byname, to activate the correct file trigger for
1471 the diverted conffile.
1472
1473 2008-07-06 Guillem Jover <guillem@debian.org>
1474
1475 * src/main.h: Remove comment about side effect in namenodetouse.
1476 * src/help.c (namenodetouse): Move call to trig_file_activate to ...
1477 * src/archives.c (tarobject): ... here.
1478 * src/processarc.c (process_archive): Likewise.
1479 * src/remove.c (removal_bulk_remove_files): Likewise.
1480 (removal_bulk_remove_leftover_dirs): Likewise.
1481
1482 2008-07-06 Michel Lespinasse <walken@zoy.org>
1483
1484 * dselect/baselist.cc (baselist::startdisplay): Create the
1485 pad with the list of the size of the display and not of the
1486 size of the list content itself.
1487 * dselect/basetop.cc (baselist::refreshlist): The part to
1488 display is always at the top of the pad.
1489 (baselist::redrawitemsrange): Simplified to redraw the real
1490 range only.
1491 * dselect/pkglist.cc (packagelist::sortmakeheads): No need to reallocate
1492 the pad when the list changes.
1493 * dselect/pkgtop.cc (packagelist::redraw1itemsel): The line
1494 of the item in the infopad doesn't correspond to its index in
1495 the list any more. Adjust accordingly.
1496
1497 2008-07-05 Guillem Jover <guillem@debian.org>
1498
1499 * src/archives.c (filesavespackage): Do not mark debug message for
1500 translation.
1501
1502 2008-07-04 Raphaël Hertzog <hertzog@debian.org>
1503 Bruce Sass <bmsass@shaw.ca>
1504
1505 * dselect/pkginfo.cc (packagelist::itd_description), dselect/pkgtop.cc
1506 (packagelist::redraw1itemsel): Use description of installed
1507 package as a fallback if the package is not more listed in the
1508 available list.
1509
1510 2008-07-02 Guillem Jover <guillem@debian.org>
1511
1512 * lib/fields.c (convert_string): Remove unneeded variable assignments.
1513 Get rid this way of an int variable.
1514
1515 2008-07-02 Guillem Jover <guillem@debian.org>
1516
1517 * lib/fields.c (convert_string): Change nvip to be const and use a
1518 proper assignment instead of a sneaky cast through memcpy. Remove
1519 unneeded length caching as all current namevalue arrays have it
1520 precomputed.
1521
1522 2008-07-02 Guillem Jover <guillem@debian.org>
1523
1524 * lib/fields.c (convert_string): Use a capped string length instead
1525 of using last namevalue length member when printing the disallowed
1526 value.
1527
1528 2008-07-02 Guillem Jover <guillem@debian.org>
1529
1530 * src/query.c (limiteddescription): Use NULL instead of 0.
1531 (list1package, searchfiles, enqperpackage, main): Likewise.
1532 (cipaction, ignoredependss, cmdinfos): Likewise.
1533 (ACTION, OBSOLETE): Likewise.
1534 * src/select.c (setselections): Likewise.
1535 * src/trigcmd.c (cmdinfos): Likewise.
1536
1537 2008-07-02 Guillem Jover <guillem@debian.org>
1538
1539 * src/remove.c (removal_bulk_remove_configfiles): Remove wrong comment
1540 not matching the code.
1541
1542 2008-07-02 Guillem Jover <guillem@debian.org>
1543
1544 * src/archives.c (tarfile_skip_one_forward): Make static.
1545
1546 2008-07-02 Guillem Jover <guillem@debian.org>
1547
1548 * lib/dpkg-priv.h: Include <stddef.h>.
1549 * lib/string.c: Include <config.h> and <dpkg-priv.h>.
1550
1551 2008-07-02 Guillem Jover <guillem@debian.org>
1552
1553 * dselect/Makefile.am (curkeys.h): Use '$(CPP)' instead of '$(CC) -E'.
1554
1555 2008-07-01 Guillem Jover <guillem@debian.org>
1556
1557 * src/depcon.c (findbreakcyclerecursive): Use the debug function
1558 instead of reimplementing its logic.
1559 * src/help.c (preexecscript): Likewise.
1560
1561 2008-07-01 Egmont Koblinger <egmont@uhulinux.hu>
1562
1563 * src/processarc.c (process_archive): Properly lstat the correct
1564 file on upgrade when using --root.
1565
1566 2008-07-01 Guillem Jover <guillem@debian.org>
1567
1568 * src/processarc.c (process_archive): Do not allocate a struct stat
1569 when lstat fails, instead assign a pointer to a static empty stat
1570 variable that will mark it as such.
1571
1572 2008-06-30 Guillem Jover <guillem@debian.org>
1573
1574 * lib/showpkg.c (parsefield): Remove unneeded 'const char *' cast.
1575
1576 2008-06-30 Guillem Jover <guillem@debian.org>
1577
1578 * lib/dpkg-db.h (struct arbitraryfield): Make all 'char *' members
1579 'const'.
1580 (struct filedetails): Likewise.
1581 (struct pkginfoperfile): Likewise.
1582 (struct trigpend): Likewise.
1583
1584 * lib/parse.c (parsedb): Remove now unneeded 'const char **' casts.
1585 * src/processarc.c (process_archive): Change size variable before
1586 assigning the pointer.
1587
1588 2008-06-30 Guillem Jover <guillem@debian.org>
1589
1590 * dselect/baselist.cc (baselist::wordwrapinfo): Surround expression
1591 with parenthesis.
1592 * dselect/pkgcmds.cc (packagelist::affectedmatches): Likewise.
1593 (packagelist::affectedrange): Switch a for with an empty body into a
1594 while.
1595 * dselect/basecmds.cc (baselist::displayhelp): Likewise.
1596 * dselect/bindings.cc (keybindings::bind, keybindings::find)
1597 (keybindings::operator(), keybindings::key2name)
1598 (keybindings::name2key): Likewise.
1599 * dselect/main.cc (urq_menu, main): Likewise.
1600 * dselect/methparse.cc (readmethods, getcurrentopt): Likewise.
1601 * dselect/pkgdepcon.cc (packagelist::resolvedepcon): Likewise.
1602 * dselect/pkgsublist.cc (packagelist::alreadydone): Likewise.
1603
1604 2008-06-30 Guillem Jover <guillem@debian.org>
1605
1606 * lib/trigdeferred.l: Define YY_NO_INPUT to make flex not include
1607 the unused input() in the resulting object.
1608
1609 2008-06-29 Guillem Jover <guillem@debian.org>
1610
1611 * lib/parsedump.h (parseerr, parsemustfield): Remove prototypes.
1612 (parse_error, parse_warn): New prototypes.
1613 (parse_must_have_field, parse_ensure_have_field): Likewise.
1614 * lib/parsehelp.c (parseerr): Split into ...
1615 (parse_error_msg, parse_error, parse_warn): ... these. New functions.
1616 Fix all callers.
1617 (parsemustfield): Split into ...
1618 (parse_must_have_field, parse_ensure_have_field): ... there. New
1619 functions. Fix all callers.
1620 * lib/fields.c (convert_string): Remove now unused warning related
1621 arguments. Fix all callers.
1622 (conffvalue_lastword): Likewise.
1623
1624 2008-06-29 Guillem Jover <guillem@debian.org>
1625
1626 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'string.c'.
1627 * lib/dpkg-priv.h (str_escape_fmt): New prototype.
1628 * lib/parsehelp.c: Include <dpkg-priv.h>.
1629 (parseerr): Refactor string format escaping to ,,,
1630 * lib/string.c (str_escape_fmt): ... here. New file.
1631
1632 2008-06-28 Guillem Jover <guillem@debian.org>
1633
1634 * lib/parsedump.h (parseerr, parsemustfield): Remove unused 'file'
1635 argument. Fix all callers.
1636 * lib/parsehelp.c (parseerr): Remove checks on 'file'.
1637
1638 2008-06-28 Tollef Fog Heen <tfheen@err.no>
1639
1640 * src/archives.c (tarobject): Refactor tarfile object skipping to ...
1641 (tarfile_skip_one_forward): ... here. New function.
1642
1643 2008-06-28 Guillem Jover <guillem@debian.org>
1644
1645 * lib/dpkg-db.h (skip_slash_dotslash): Move declaration ...
1646 * lib/dpkg-priv.h: ... here.
1647 * lib/parsehelp.c (skip_slash_dotslash): Move definition ...
1648 * lib/path.c: ... here.
1649 * lib/fields.c: Include <dpkg-priv.h>.
1650 * src/filesdb.c: Likewise.
1651
1652 2008-06-28 Guillem Jover <guillem@debian.org>
1653
1654 * lib/dpkg.h (onerr_abort): Move declaration to the ehandle.c section.
1655 * lib/mlib.c (onerr_abort): Move definition ...
1656 * lib/ehandle.c: ... here.
1657
1658 2008-06-28 Guillem Jover <guillem@debian.org>
1659
1660 * lib/mlib.c (checksubprocerr): Move the PROCNOERR check before
1661 the reporting, and exit directly instead in case of error.
1662
1663 2008-06-28 Guillem Jover <guillem@debian.org>
1664
1665 * lib/ehandle.c (badusage): Use ohshit instead of its own error
1666 handling.
1667
1668 2008-06-28 Guillem Jover <guillem@debian.org>
1669
1670 * src/query.c (printforhelp): Remove trailing newlines.
1671
1672 2008-06-27 Guillem Jover <guillem@debian.org>
1673
1674 * dpkg-deb/build.c (do_build): Move string translation markers outside
1675 of the string.
1676 * src/help.c (ensure_pathname_nonexisting): Localize the 'failed'
1677 variable instead of expecting gettext to magically infer the formatted
1678 string.
1679 * src/processarc.c (process_archive): Likewise.
1680
1681 2008-06-27 Raphaël Hertzog <hertzog@debian.org>
1682
1683 * scripts/install-info.pl: Improve error message when the
1684 info file doesn't exist.
1685
1686 2008-06-27 Raphaël Hertzog <hertzog@debian.org>
1687
1688 * man/dpkg-query.1: Document the origin of the various fields and
1689 warn that they are not always available.
1690
1691 2008-06-23 Raphaël Hertzog <hertzog@debian.org>
1692
1693 * scripts/dpkg-source.pl: New option --require-valid-signature.
1694 * scripts/Dpkg/Source/Package.pm (check_signature): Updated to use
1695 Dpkg::IPC and to implement the checks related to
1696 --require-valid-signature.
1697 * man/dpkg-source.1: Document the new option.
1698
1699 2008-06-23 Raphaël Hertzog <hertzog@debian.org>
1700
1701 * scripts/Dpkg/IPC.pm (fork_and_exec): New nocheck option that is
1702 forwarded to wait_child().
1703
1704 2008-06-23 Timothy G Abbott <tabbott@MIT.EDU>
1705
1706 * scripts/dpkg-divert.pl: Add new option --listpackage to
1707 dpkg-divert.
1708 * man/dpkg-divert.1: Document new option.
1709
1710 2008-06-22 Raphaël Hertzog <hertzog@debian.org>
1711
1712 * man/dpkg.1, man/dpkg-query.1: Document the fact that the available
1713 file is mostly useful for dselect users and that the related commands
1714 are useless for APT users.
1715
1716 2008-06-22 Raphaël Hertzog <hertzog@debian.org>
1717
1718 * man/dpkg-buildpackage.1: Document -A option.
1719
1720 2008-06-22 Raphaël Hertzog <hertzog@debian.org>
1721
1722 * man/dpkg.1, man/dpkg-query.1: Clarify lisf of packages displayed
1723 in dpkg --get-selections and dpkg-query -l.
1724
1725 2008-06-21 Raphaël Hertzog <hertzog@debian.org>
1726
1727 * scripts/dpkg-shlibdeps.pl: If the binary analyzed is a library on a
1728 non-public path, assume it's likely a plugin and reduce the number of
1729 warnings displayed about symbols not found. Also use a different,
1730 hopefully less confusing message.
1731 * man/dpkg-shlibdeps.1: Document the above changes.
1732
1733 2008-06-21 Raphaël Hertzog <hertzog@debian.org>
1734
1735 * scripts/Dpkg/Vendor.pm: Provide simple parser for vendor-specific
1736 information stored in /etc/dpkg/origins/. The current vendor can
1737 be identified through get_current_vendor() and get_vendor_info()
1738 retrieves the information stores within those files.
1739 * scripts/dpkg-buildpackage.pl: Setup the DEB_VENDOR environment
1740 variable if possible.
1741 * man/dpkg-buildpackage.1: Document the above changes.
1742 * scripts/Dpkg/Source/Package/V3/quilt.pm (get_series_file): Use
1743 get_current_vendor() to decide the name of the vendor-specific
1744 series file that should be used.
1745 * scripts/Makefile.am, scripts/po/POTFILES.in: Include the new
1746 module in the dist tarball and in the list of files containing
1747 translatable strings.
1748
1749 2008-06-19 Guillem Jover <guillem@debian.org>
1750
1751 * lib/varbuf.c (varbufdupc): Store the old used size instead of the
1752 precomputed address, as varbufextend might change the buffer from
1753 under us.
1754
1755 2008-06-17 Guillem Jover <guillem@debian.org>
1756
1757 * scripts/dpkg-divert.pl: Do not silently force --rename on --remove.
1758
1759 2008-06-17 Juergen Kreileder <jk@blackdown.de>,
1760 Guillem Jover <guillem@debian.org>
1761
1762 * scripts/dpkg-divert.pl (rename_mv): New function.
1763 (dorename): Use rename_mv instead of rename.
1764
1765 2008-06-10 Guillem Jover <guillem@debian.org>
1766
1767 * lib/varbuf.c (varbufvprintf): Call va_end when done with the va_list
1768 variable from va_copy.
1769
1770 2008-06-10 Guillem Jover <guillem@debian.org>
1771
1772 * lib/varbuf.c (varbufprintf): Use varbufvprintf instead of
1773 reimplementing it.
1774
1775 2008-06-09 Raphaël Hertzog <hertzog@debian.org>
1776
1777 * scripts/Dpkg/BuildOptions.pm (parse, set): Use space as the
1778 official separator in DEB_BUILD_OPTIONS. Check for validity of
1779 flags and print a warning if a bad option is detected. Rewrote
1780 the logic of set() to avoid adding options twice in non-overwrite
1781 mode.
1782 * scripts/t/300_Dpkg_BuildOptions.t: Adjust the test suite
1783 accordingly.
1784
1785 2008-06-09 Guillem Jover <guillem@debian.org>
1786
1787 * scripts/Dpkg/Source/Package.pm ($diff_ignore_default_regexp): Add
1788 '.hgignore'.
1789 (@tar_ignore_default_pattern): Likewise.
1790
1791 2008-06-09 Guillem Jover <guillem@debian.org>
1792
1793 * src/query.c (searchfiles): Use VARBUF_INIT to initialize path
1794 instead of vb.
1795
1796 2008-06-04 Guillem Jover <guillem@debian.org>
1797
1798 * src/main.c (setpipe): Set file descriptors to close on exec.
1799
1800 2008-06-04 Guillem Jover <guillem@debian.org>
1801
1802 * dpkg-deb/build.c (getfi): Use m_realloc instead of realloc.
1803 * dpkg-deb/info.c (info_spew): Likewise.
1804 * lib/fields.c (f_dependency): Likewise.
1805 * lib/parse.c (parsedb): Likewise.
1806 * lib/varbuf.c (varbufextend): Likewise.
1807 * src/main.c (commandfd): Likewise.
1808
1809 2008-06-04 Guillem Jover <guillem@debian.org>
1810
1811 * lib/dpkg-db.h (varbufinit): Add a size argument, fix all callers.
1812 (varbuf::init): Add an optional size argument.
1813 (varbuf::varbuf): Likewise.
1814 * lib/varbuf.c (varbufinit): Allocate a buffer if size is not zero.
1815 * lib/dbmodify.c (modstatdb_init): Use varbufinit instead of its
1816 own initialization.
1817
1818 2008-06-04 Guillem Jover <guillem@debian.org>
1819
1820 * lib/dpkg-db.h (VARBUF_INIT): New macro.
1821 * lib/compression.c (decompress_cat, compress_cat): Use VARBUF_INIT
1822 instead of varbufinit to initialize the variables.
1823 * lib/dump.c (writerecord, writedb): Likewise.
1824 * lib/mlib.c (buffer_copy_setup_dual): Likewise.
1825 * lib/showpkg.c (show1package): Likewise.
1826 * src/archives.c (check_breaks, check_conflict): Likewise.
1827 * src/configure.c (deferred_configure): Likewise.
1828 * src/depcon.c (describedepcon): Likewise.
1829 * src/main.c (commandfd): Likewise.
1830 * src/packages.c (breaks_check_one, dependencies_ok): Likewise.
1831 * src/query.c (searchfiles): Likewise.
1832 * src/remove.c (deferred_remove): Likewise.
1833 * src/select.c (setselections): Likewise.
1834
1835 2008-06-04 Guillem Jover <guillem@debian.org>
1836
1837 * src/archives.c (archivefiles): Use varbufreset instead of varbufinit
1838 to avoid possible leaks if this function is called more than once.
1839
1840 2008-06-04 Guillem Jover <guillem@debian.org>
1841
1842 * lib/log.c (log_message): Switch log from a pointer to struct varbuf
1843 to just struct varbuf.
1844
1845 2008-06-04 Guillem Jover <guillem@debian.org>
1846
1847 * src/main.c (setpipe): Fix the setting of more than one pipef.
1848
1849 2008-06-04 Guillem Jover <guillem@debian.org>
1850
1851 * src/select.c (setselections): Free varbuf variables.
1852
1853 2008-06-04 Guillem Jover <guillem@debian.org>
1854
1855 * lib/subproc.c (catch_signals): Remove array sentinel.
1856
1857 2008-06-01 Guillem Jover <guillem@debian.org>
1858
1859 * lib/varbuf.c (varbufdupc): Use memset instead of ad-hoc operation.
1860
1861 2008-06-01 Guillem Jover <guillem@debian.org>
1862
1863 * lib/subproc.c (setup_subproc_signals): Use size_t instead of int
1864 for the index, to fix a warning.
1865 (cu_subproc_signals): Likewise.
1866
1867 2008-06-01 Guillem Jover <guillem@debian.org>
1868
1869 * src/query.c (searchfiles): Use strpbrk instead of strcspn and
1870 strlen.
1871
1872 2008-06-01 Guillem Jover <guillem@debian.org>
1873
1874 * src/query.c: Include <dpkg-priv.h>.
1875 (searchfiles): Trim trailing '/' and '/.' from file searches only
1876 on path names, but not patterns.
1877
1878 2008-06-01 Guillem Jover <guillem@debian.org>
1879
1880 * lib/dpkg-priv.h (rtrim_slash_slashdot): Return the string size.
1881
1882 2008-06-01 Raphaël Hertzog <hertzog@debian.org>
1883
1884 * scripts/Dpkg/Control.pm (parse, parse_fh, new): Add a new function
1885 parse_fh() to be able to parse the control file from an arbitrary
1886 file handle. Change parse() to use it and modify new() to parse
1887 STDIN instead of a real file if the parameter is "-".
1888
1889 2008-06-01 Daniel Hahler <debian-bugs@thequod.de>
1890
1891 * src/archives.c (tarobject): Improve error message stating that
1892 dpkg is unable to create a file so that it also refers to the real
1893 filename instead of the non-diverted name only.
1894
1895 2008-05-31 Raphaël Hertzog <hertzog@debian.org>
1896
1897 * man/dpkg.1: Use the term conffile for a configuration file handled
1898 by dpkg. Drop reference to hamm. Updated description of values
1899 supported by -D to include those which are trigger related.
1900
1901 2008-05-29 Colin Watson <cjwatson@debian.org>
1902
1903 * lib/dbmodify.c (modstatdb_note): Add a comment around obscure bits
1904 of trigger handling code.
1905 * src/trigproc.c (trigproc): Likewise.
1906
1907 2008-05-29 Colin Watson <cjwatson@debian.org>
1908
1909 * lib/triglib.c (trig_incorporate): Fix typo in comment.
1910
1911 2008-05-24 Guillem Jover <guillem@debian.org>
1912
1913 * dpkg-deb/build.c (do_build): Move argument name into a parameter to
1914 coalesce similar strings for translation.
1915 * dpkg-split/info.c (do_info): Likewise.
1916 * dpkg-split/join.c (do_join): Likewise.
1917 * dpkg-split/queue.c (do_queue): Likewise.
1918 * src/enquiry.c (audit, unpackchk, assertversion, predeppackage)
1919 (printarch): Likewise.
1920 * src/select.c (setselections, clearselections): Likewise.
1921
1922 2008-05-24 Guillem Jover <guillem@debian.org>
1923
1924 * dpkg-deb/main.c: Include <dpkg-priv.h>.
1925 (setaction): Use sizeof_array instead of ad-hoc calculation.
1926 * dpkg-split/main.c: Include <dpkg-priv.h>.
1927 (setaction): Use sizeof_array instead of ad-hoc calculation.
1928
1929 2008-05-24 Guillem Jover <guillem@debian.org>
1930
1931 * src/trigcmd.c (main): Remove duplicate program name from badusage.
1932
1933 2008-05-19 Martin Koeppe <mkoeppe@gmx.de>,
1934 Guillem Jover <guillem@debian.org>
1935
1936 * dpkg-deb/Makefile.am (dpkg_deb_LDADD): Move 'libcompat.a' and
1937 '$(LIBINTL)' after 'libdpkg.a'.
1938 * dpkg-split/Makefile.am (dpkg_split_LDADD): Likewise.
1939 * dselect/Makefile.am (dselect_LDADD): Likewise.
1940 * /src/Makefile.am (dpkg_LDADD): Likewise.
1941 (dpkg_query_LDADD): Likewise.
1942 (dpkg_trigger_LDADD): Likewise.
1943
1944 2008-05-19 Guillem Jover <guillem@debian.org>
1945
1946 * scripts/Dpkg/Source/Package.pm ($diff_ignore_default_regexp): Add
1947 '.be'.
1948 (@tar_ignore_default_pattern): Likewise.
1949
1950 2008-05-12 Guillem Jover <guillem@debian.org>
1951
1952 * scripts/dpkg-gencontrol.pl ($package_type): Rename to ...
1953 ($pkg_type): ... this, for uniformity.
1954
1955 2008-05-12 Guillem Jover <guillem@debian.org>
1956
1957 * src/help.c (do_script): Expand 'maint' to 'maintainer' in string.
1958 (vmaintainer_script_installed): Mark string for translation. Change
1959 strings so that they get merged by gettext with similar ones.
1960 (maintainer_script_new): Likewise.
1961
1962 2008-05-12 Guillem Jover <guillem@debian.org>
1963
1964 * lib/dpkg-priv.h (sizeof_array): New macro.
1965 * lib/parse.c: Include <dpkg-priv.h>.
1966 (NFIELDS): Remove macro.
1967 (nfields): Use sizeof_array instead of NFIELDS.
1968 (parsedb): Likewise.
1969 * lib/subproc.c (NCATCHSIGNALS): Remove macro.
1970 (uncatch_signals): Use sizeof_array instead of NCATCHSIGNALS.
1971 (setup_subproc_signals): Likewise.
1972 (cu_subproc_signals): Likewise.
1973
1974 2008-05-12 Guillem Jover <guillem@debian.org>
1975
1976 * dselect/method.cc: Include <dpkg-priv.h>. Use setup_subproc_signals
1977 and cu_subproc_signals instead of cu_restoresignals and duped code
1978 in falliblesubprocess.
1979 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'subproc.c'.
1980 * ib/dpkg-priv.h (setup_subproc_signals): New prototype.
1981 (cu_subproc_signals): Likewise.
1982 * src/help.c: Include <dpkg-priv.h> and stop including <signal.h>.
1983 (cu_restorescriptsignals, script_catchsignals): Move to ...
1984 * lib/subproc.c (cu_subproc_signals, setup_subproc_signals): ... here.
1985 New file.
1986
1987 2008-05-12 Guillem Jover <guillem@debian.org>
1988
1989 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-priv.h' and 'path.c'.
1990 * lib/dpkg-priv.h: New file.
1991 * lib/path.c: Likewise.
1992
1993 2008-05-11 Raphaël Hertzog <hertzog@debian.org>
1994
1995 * man/dpkg-source.1: Properly escape hyphen in -i option.
1996
1997 2008-05-11 Pierre Habouzit <madcoder@debian.org>
1998
1999 * lib/showpkg.c (show1package): Use %zd instead of %d in sprintf()
2000 call with a size_t parameter.
2001
2002 2008-05-11 Pierre Habouzit <madcoder@debian.org>
2003
2004 * scripts/update-alternatives.pl: Add a --query option that works
2005 like --display but outputs a machine parseable rfc822-like output.
2006 * man/update-alternatives.8: Document that new option, and the
2007 associated format.
2008
2009 2008-05-05 Raphaël Hertzog <hertzog@debian.org>
2010
2011 * man/dpkg-source.1: Improve explanation of -i when used with
2012 VCS-based source packages.
2013
2014 2008-05-05 Raphaël Hertzog <hertzog@debian.org>
2015
2016 * scripts/dpkg-gensymbols.pl: Do not accept empty parameters for
2017 -v, -P and -e.
2018
2019 2008-05-05 Raphaël Hertzog <hertzog@debian.org>
2020
2021 * scripts/dpkg-shlibdeps.pl: Include the format of the desired
2022 library in the "library not found" error message.
2023
2024 2008-05-02 Guillem Jover <guillem@debian.org>
2025
2026 * scripts/update-alternatives.pl: Do not suggest manually changing
2027 the alternative symlinks on verbose mode.
2028
2029 2008-04-29 Guillem Jover <guillem@debian.org>
2030
2031 * configure.ac: Bump version to 1.15.0~.
2032
2033 2008-08-26 Guillem Jover <guillem@debian.org>
2034
2035 * configure.ac: Release 1.14.21.
2036
2037 2008-08-26 Guillem Jover <guillem@debian.org>
2038
2039 * man/dpkg.1: Escape hyphen in apt-get command.
2040
2041 2008-08-17 Guillem Jover <guillem@debian.org>
2042
2043 * man/dpkg.1: Change reference to dselect as being the preferred
2044 fron-end to aptitude. And 'apt-get dselect-upgrade' to be used to
2045 act on the current package selections. Add references to aptitude
2046 and apt man pages in 'SEE ALSO'.
2047
2048 2008-08-16 Guillem Jover <guillem@debian.org>
2049
2050 * src/main.c (setpipe): Set file descriptors to close on exec.
2051
2052 2008-08-15 Guillem Jover <guillem@debian.org>
2053
2054 * scripts/dpkg-buildpackage.pl (usage): Fix description of -si option.
2055 * man/dpkg-buildpackage.1: Match description of -si option with the
2056 one from dpkg-genchanges.1.
2057
2058 2008-08-15 Raphaël Hertzog <hertzog@debian.org>
2059
2060 * Dpkg/Source/Package.pm (new): Call init_options() only if
2061 initialize() has been called as it's supposed to be called
2062 only after the object has been upgraded to its target type.
2063 (init_options): add a comment that explains that this function is
2064 not called by Dpkg::Source::Package::V1::init_options() and
2065 render the function more robust.
2066
2067 2008-08-15 Ian Jackson <ian@davenant.greenend.org.uk>
2068
2069 * src/packages.c (process_queue): When onerr_abort is bigger than 0
2070 return instead of breaking out of the loop, to avoid wrongly
2071 asserting that !queue.length.
2072
2073 2008-08-15 Guillem Jover <guillem@debian.org>
2074
2075 * lib/dbmodify.c (modstatdb_note): Do not call modstatdb_note_core if
2076 cstatus does not allow writing. Move the core functionality to ...
2077 (modstatdb_note_core): ... here. New function.
2078 * src/help.c (post_postinst_tasks_core): Do not call trig_incorporate
2079 if running under --no-act.
2080 * src/trigproc.c (trigproc): Do not call maintainer_script_postinst
2081 if running under --no-act.
2082 (trig_transitional_activate): Do not call trig_file_interests_save
2083 if cstatus does not allow writing.
2084
2085 2008-08-15 Guillem Jover <guillem@debian.org>
2086
2087 * lib/dpkg-db.h (trig_enqueue_awaited_pend): New function prototype.
2088 (trig_fixup_awaiters): Likewise.
2089 * lib/dbmodify.c (modstatdb_init): Call trig_fixup_awaiters.
2090 * lib/fields.c (f_trigaw): Call trig_enqueue_awaited_pend.
2091 * lib/triglib.c (struct pkg_list): New type.
2092 (trig_awaited_pend_head): New variable.
2093 (trig_enqueue_awaited_pend): New function definition.
2094 (trig_fixup_awaiters): Likewise.
2095
2096 2008-06-24 Raphaël Hertzog <hertzog@debian.org>
2097
2098 * debian/archtable: Add armel.
2099
2100 2008-06-21 Raphaël Hertzog <hertzog@debian.org>
2101
2102 * scripts/dpkg-buildpackage.pl, scripts/dpkg-genchanges.pl: Treat
2103 debian.tar.gz files (used by 3.0 (quilt) source packages) like
2104 diff.gz files when it comes to detection of the kind of upload.
2105
2106 2008-06-21 Raphaël Hertzog <hertzog@debian.org>
2107
2108 * scripts/Dpkg/Source/Package/V3/quilt.pm: Define QUILT_SERIES
2109 when running quilt in order to be able to use quilt series with
2110 non-standard names (like debian.series or ubuntu.series).
2111
2112 2008-06-18 Raphaël Hertzog <hertzog@debian.org>
2113
2114 * configure.ac: Bump version to 1.14.21~.
2115
2116 2008-06-18 Raphaël Hertzog <hertzog@debian.org>
2117
2118 * configure.ac: Release 1.14.20.
2119
2120 2008-06-16 Guillem Jover <guillem@debian.org>
2121
2122 * lib/triglib.c (trig_file_interests_ensure): Pass the proper mask
2123 to push_cleanup to make sure pop_cleanup closes the file.
2124
2125 2008-06-15 Guillem Jover <guillem@debian.org>
2126
2127 * scripts/dpkg-divert.pl (checkrename): Do not check the target file
2128 if the source does not exist and dorename was thus disabled.
2129
2130 2008-06-09 Raphaël Hertzog <hertzog@debian.org>
2131
2132 * scripts/dpkg-divert.pl, scripts/update-alternatives.pl,
2133 scripts/install-info.pl, scripts/dpkg-statoverride.pl: Set
2134 PERL_DL_NONLAZY to 1 so that the usage of Locale::Gettext doesn't
2135 cause run-time failures when this perl binary module is not
2136 compiled for the corresponding perl version (and this happens in
2137 configuration scripts, in particular preinst, during upgrades).
2138
2139 2008-06-08 Raphaël Hertzog <hertzog@debian.org>
2140
2141 * scripts/Dpkg/Source/Patch.pm (analyze): Be less strict in
2142 filenames accepted on ---/+++ lines. Don't blow up on absolute
2143 filenames if the other one is fine. Make sure to use the one that
2144 is relative and that corresponds to a real file when possible.
2145
2146 2008-06-08 Raphaël Hertzog <hertzog@debian.org>
2147
2148 * scripts/Dpkg/Source/Package/V3/quilt.pm: Use absolute path names
2149 when giving directories and filenames to quilt to avoid any
2150 problems due to quilt's feature of trying relative paths in parent
2151 directories too.
2152
2153 2008-06-07 Raphaël Hertzog <hertzog@debian.org>
2154
2155 * scripts/Dpkg/Source/Patch.pm (analyze): Accept unexpected
2156 end-of-file in patches if we're missing no more than 2 lines
2157 of context. Output a warning instead.
2158
2159 2008-06-07 Raphaël Hertzog <hertzog@debian.org>
2160
2161 * scripts/Dpkg/Source/Package/V3/quilt.pm (register_autopatch):
2162 Register the newly created patch with quilt only if quilt has
2163 already been used to apply the existing patches (or if we don't
2164 have any patch yet), otherwise register it manually at the end of
2165 the series.
2166
2167 2008-06-05 Raphaël Hertzog <hertzog@debian.org>
2168
2169 * scripts/Dpkg/Source/Patch.pm (add_diff_directory): If option
2170 use_dev_null is set, then the label of the "old" file will be
2171 '/dev/null' if we're creating a new file (instead of using the
2172 name of the created file, like it's currently done in .diff
2173 of version "1.0" source packages).
2174 * scripts/Dpkg/Source/Package/V2.pm (prepare_build): Use the new
2175 option "use_dev_null" when creating the automatic patch.
2176
2177 2008-06-05 Raphaël Hertzog <hertzog@debian.org>
2178
2179 * scripts/Dpkg/Source/Package/V3/quilt.pm (get_patches): Really
2180 skip all comments in the series files.
2181
2182 2008-06-04 Raphaël Hertzog <hertzog@debian.org>
2183
2184 * scripts/Dpkg/Source/Patch.pm (analyze): Enhance function to
2185 parse correctly many more patches that are accepted by the patch
2186 utility itself:
2187 - ignore/strip carriage return of patches with Windows end of lines
2188 - accept empty lines as contextual lines (instead of the expected " ")
2189 - accept spaces as separator between filename and timestamp if
2190 there's no tab
2191 - accept a name that differs on the +++ line if the name in --- is
2192 correct, and use the name in +++ if this one exists while the one
2193 on --- doesn't.
2194
2195 2008-05-28 Raphaël Hertzog <hertzog@debian.org>
2196
2197 * scripts/Dpkg/Source/Package.pm (extract): If we extract a
2198 source package that uses a non-standard (!= 1.0) source package
2199 then we create debian/source/format to remember it.
2200 * scripts/dpkg-source.pl: Use debian/source/format as a new source
2201 of format to try when building the package. Prioritize it lower than
2202 command line and debian/control but higher than the default build
2203 formats.
2204 * man/dpkg-source.1: Document the above changes.
2205
2206 2008-05-28 Raphaël Hertzog <hertzog@debian.org>
2207
2208 * scripts/Dpkg/Source/Package/V3/quilt.pm: Factorize calls to
2209 quilt in a new run_quilt() function. And check only once
2210 if quilt is available while setting the default value of
2211 without_quilt option. Last but not least, register properly the
2212 automatically generated patch with quilt import.
2213
2214 2008-05-28 Raphaël Hertzog <hertzog@debian.org>
2215
2216 * scripts/Dpkg/Source/Patch.pm (check_apply): New function to
2217 verify if a patch will successfully apply on top of a given
2218 directory.
2219 * scripts/Dpkg/Source/Package/V3/quilt.pm (check_patches_applied):
2220 Don't trust debian/patches/.dpkg-source-applied blindly. Get a
2221 list of (supposedly unapplied) patches and verify if the first
2222 patch applies or not. If yes, then apply the patch series,
2223 otherwise do not (and assume that the patch series is already
2224 applied).
2225
2226 2008-05-26 Helge Kreutzmann <debian@helgefjell.de>
2227
2228 * man/dselect.1: Fixed a typo and regenerated all po(t) files,
2229 including updating the German one.
2230
2231 2008-05-23 Raphaël Hertzog <hertzog@debian.org>
2232
2233 * scripts/Dpkg/Source/Package/V2.pm (do_build): Display a
2234 message when local modifications are stored in a new
2235 automatic patch. This messages includes a list of
2236 modified files.
2237
2238 2008-05-23 Raphaël Hertzog <hertzog@debian.org>
2239
2240 * scripts/Dpkg/Source/Package/V3/quilt.pm: Remove the .diff
2241 from the name of the automatically generated patch. It will
2242 facilitate the switch to this format: packages using
2243 patch system that apply debian/patches/*.{patch,diff}
2244 will not be bothered by the presence of the quilt series
2245 created by dpkg-source itself.
2246 * man/dpkg-source.1: Update the documentation accordingly.
2247
2248 2008-05-22 Raphaël Hertzog <hertzog@debian.org>
2249
2250 * scripts/Dpkg/Source/Package/V3/quilt.pm: Add missing "use
2251 File::Path" for mkpath().
2252
2253 2008-05-13 Guillem Jover <guillem@debian.org>
2254
2255 * src/main.c (setforce): Add help output for '--force-breaks'.
2256
2257 2008-05-13 Sven Joachim <svenjoac@gmx.de>
2258
2259 * man/dpkg.1: Document triggers --debug values.
2260
2261 2008-05-13 Guillem Jover <guillem@debian.org>
2262
2263 * man/deb-version.5: Change '©' to '(C)'.
2264
2265 2008-05-12 Guillem Jover <guillem@debian.org>
2266
2267 * configure.ac: Bump version to 1.14.20~.
2268
2269 2008-05-12 Guillem Jover <guillem@debian.org>
2270
2271 * configure.ac: Release 1.14.19.
2272
2273 2008-05-12 Guillem Jover <guillem@debian.org>
2274
2275 * scripts/dpkg-gencontrol.pl: Get Package-Type field value also from
2276 custom field.
2277
2278 2008-05-11 Raphaël Hertzog <hertzog@debian.org>
2279
2280 * src/processarc.c (process_archive): While removing files that
2281 disappeared, move the call to namenodetouse before the test
2282 that skips directory shared with other packages. This is required
2283 because namenodetouse() handles trigger activation and we really
2284 want directories containing (only) removed files to activate the
2285 corresponding triggers.
2286
2287 2008-05-08 Raphaël Hertzog <hertzog@debian.org>
2288
2289 * scripts/Dpkg/Source/Package/V2.pm,
2290 scripts/Dpkg/Source/Package/V3/quilt.pm: Ensure the
2291 .dpkg-source-applied stamp file is created when an automatic patch
2292 is created so that a second build doesn't try to mistakenly
2293 reapply it.
2294
2295 2008-05-08 Raphaël Hertzog <hertzog@debian.org>
2296
2297 * scripts/Dpkg/Source/Functions.pm (is_binary): New function
2298 to check if a file is binary by using diff against it.
2299 * scripts/Dpkg/Source/Package/V2.pm: Check that all files from the
2300 debian sub-directory are non-binary and only allow whitelisted
2301 binary files.
2302 * man/dpkg-source.1: Document this behaviour.
2303
2304 2008-05-08 Raphaël Hertzog <hertzog@debian.org>
2305
2306 * scripts/Dpkg/Changelog/Debian.pm (parse): Bugfix in creation of
2307 an unexpected new changelog entry that lacks an header line.
2308
2309 2008-05-04 Marco d'Itri <md@linux.it>
2310
2311 * scripts/Dpkg/Source/Patch.pm: Add missing import of internerr.
2312
2313 2008-04-26 Raphaël Hertzog <hertzog@debian.org>
2314
2315 * scripts/Dpkg/Source/Package.pm (upgrade_object_type): Instead
2316 of using the full Format: version to deduce the perl object name
2317 use only the major part of the version. The minor part is under
2318 control of the corresponding object, that way they can evolve
2319 and indicate that the source package has changed in a backwards
2320 compatible way. See
2321 https://lists.debian.org/debian-dpkg/2008/04/msg00045.html
2322 Also add a new parameter to disable update of the minor version in
2323 the Format field.
2324 (initialize): Don't let the Format field be updated by
2325 upgrade_object_type() as this function only loads information from
2326 the .dsc into the object.
2327 * scripts/Dpkg/Source/Package/**: Rename V1_0.pm into V1.pm,
2328 V2_0.pm into V2.pm and V3_0/ into V3/. Fix perl package names
2329 accordingly. Integrated a $CURRENT_MINOR_VERSION set to "0"
2330 in all packages.
2331 * scripts/Makefile.am, scripts/po/POTFILES.in: Update the lists
2332 according to above file renames.
2333
2334 2008-04-25 Raphaël Hertzog <hertzog@debian.org>
2335
2336 * scripts/Dpkg/Source/Package/V3_0/quilt.pm: Parse correctly
2337 series files with patch options and warn if something else than
2338 -p1 is used.
2339 * man/dpkg-source.1: Document how dpkg-source handles those patch
2340 options in series files.
2341
2342 2008-04-25 Raphaël Hertzog <hertzog@debian.org>
2343
2344 * scripts/Dpkg/Source/Package/V3_0/native.pm: Fix permissions of
2345 generated tarball to "666 & ~umask()".
2346
2347 2008-04-21 Helge Kreutzmann <debian@helgefjell.de>
2348
2349 * man/dpkg-shlibdeps.1: Fix a typo.
2350 * man/dpkg-source.1: Improve a sentence (with agreement from Raphäel).
2351
2352 2008-04-14 Raphaël Hertzog <hertzog@debian.org>
2353
2354 * scripts/Dpkg/Fields.pm (find_custom_field, get_custom_field):
2355 New function to handle custom fields (X[SBC]*-*).
2356 * scripts/dpkg-genchanges.pl: Use Package-Type control field to
2357 decide if a package is an udeb instead of relying on the file
2358 extension of a generated package since that doesn't work when
2359 generating source-only uploads for example.
2360
2361 2008-04-14 Raphaël Hertzog <hertzog@debian.org>
2362
2363 * scripts/Dpkg/Source/Patch.pm (_fail_not_same_type): Fix
2364 inversion between new/old filetype.
2365
2366 2008-04-12 Raphaël Hertzog <hertzog@debian.org>
2367
2368 * scripts/Dpkg/Path.pm (check_files_are_the_same): Add a new
2369 parameter so that we can use stat() instead of lstat() and
2370 compare if pointed files are the same.
2371 * scripts/Dpkg/Source/Package.pm: Resolve symlinks before deciding
2372 if both original tarballs are the same or not. Use the new
2373 parameter of check_files_are_the_same() for this.
2374 * scripts/Dpkg/Source/Package/V1_0.pm: Remove useless import of
2375 check_files_are_the_same.
2376
2377 2008-04-12 Sven Joachim <svenjoac@gmx.de>
2378
2379 * scripts/Dpkg/Source/Package.pm: Add missing import of
2380 subprocerr.
2381
2382 2008-04-12 Russell Coker <russell@coker.com.au>,
2383 Guillem Jover <guillem@debian.org>
2384
2385 * src/archives.c (tarobject): Set scontext to NULL after freecon.
2386
2387 2008-04-10 Sven Joachim <svenjoac@gmx.de>
2388
2389 * src/trigcmd.c: Fix typo.
2390
2391 2008-04-09 Sven Joachim <svenjoac@gmx.de>
2392
2393 * THANKS: Update my e-mail address.
2394
2395 2008-04-09 Helge Kreutzmann <debian@helgefjell.de>
2396
2397 * man/deb-triggers.5: Fix typos.
2398 * man/dpkg-trigger.1: Likewise.
2399
2400 2008-04-08 Guillem Jover <guillem@debian.org>
2401
2402 * configure.ac: Bump version to 1.14.19~.
2403
2404 2008-04-08 Guillem Jover <guillem@debian.org>
2405
2406 * configure.ac: Release 1.14.18.
2407
2408 2008-04-08 Guillem Jover <guillem@debian.org>
2409
2410 * doc/triggers.txt: Fix wrong dpkg trigger related option names.
2411
2412 2008-04-08 Guillem Jover <guillem@debian.org>
2413
2414 * doc/triggers.txt: Move parts of the document into proper man pages.
2415 Add references to those.
2416
2417 2008-04-08 Guillem Jover <guillem@debian.org>
2418
2419 * man/dpkg.1: Document new trigger statuses, and new --triggers-only,
2420 --no-triggers and --triggers options.
2421 * man/deb-triggers.5: New file.
2422 * man/dpkg-trigger.1: Likewise.
2423 * man/Makefile.am (dist_man_MANS): Likewise.
2424
2425 2008-04-08 Guillem Jover <guillem@debian.org>
2426
2427 * man/dpkg.1: Sort package states.
2428
2429 2008-04-05 Raphaël Hertzog <hertzog@debian.org>
2430
2431 * scripts/Dpkg/Source/Package/V1_0.pm: Do not use
2432 diff -p to generate patches as dpkg-source of sarge doesn't accept
2433 data after the @@.
2434
2435 2008-04-04 Raphaël Hertzog <hertzog@debian.org>
2436
2437 * scripts/Dpkg/Shlibs/SymbolFile.pm (get_smallest_version): New
2438 function to retrieve the smallest "minver" of all symbols of a
2439 given library.
2440 * scripts/dpkg-shlibdeps.pl: Do not initialize dependencies of
2441 libraries with symbols files as unversioned, instead use the
2442 smallest minimal version returned by the function above. This
2443 is required because the library might not have always been
2444 available in the package and the unversioned dependency thus
2445 doesn't ensure his presence.
2446
2447 * scripts/t/800_Dpkg_IPC.t: Remove temporary files used by the
2448 tests.
2449
2450 2008-04-03 Peter Karlsson <peterk@debian.org>
2451
2452 * man/dpkg-source.1: Corrected English.
2453
2454 2008-04-02 Sven Joachim <svenjoac@gmx.de>
2455
2456 * lib/triglib.c (trk_unknown_interest_change): Fix typo.
2457 * dselect/helpmsgs.cc (hlp_displayexplain1): Ditto.
2458
2459 2008-04-02 Raphaël Hertzog <hertzog@debian.org>
2460
2461 * scripts/Dpkg/Source/Package.pm, scripts/dpkg-genchanges.pl:
2462 Explicitly put Checksums-* fields before the Files field so that
2463 the Files field is last. This is a work-around for some braindead
2464 dsc parsers (dupload and sbuild for instance, see #473518 and
2465 #470440).
2466
2467 2008-04-01 Raphaël Hertzog <hertzog@debian.org>
2468
2469 * scripts/Dpkg/Source/Package/V2_0.pm: Add the option
2470 --skip-patches to not apply patches at the end of the source
2471 package extraction. Also works for Format: 3.0 (quilt).
2472 * man/dpkg-source.1: Document the above change.
2473
2474 2008-04-01 Raphaël Hertzog <hertzog@debian.org>
2475
2476 * scripts/Dpkg/Source/Package/V2_0.pm (do_extract): Create
2477 debian/patches/.dpkg-source-applied containing the list of patches
2478 applied during extraction.
2479 (prepare_build): apply patches before trying to build a source package
2480 when it's clear that they have not been applied because
2481 debian/patches/.dpkg-source-applied doesn't exist.
2482 * scripts/Dpkg/Source/Package/V3_0/quilt.pm: Likewise. If a .pc
2483 directory is present, then use "quilt unapplied" to check if all
2484 patches have been applied.
2485 * man/dpkg-source.1: Document the above changes.
2486
2487 2008-04-01 Raphaël Hertzog <hertzog@debian.org>
2488
2489 * scripts/Dpkg/IPC.pm (fork_and_exec): Handle redirection
2490 of STDERR with new options error_to_{file,pipe,string,handle}.
2491
2492 2008-04-01 Guillem Jover <guillem@debian.org>
2493
2494 * lib/trigdeferred.l (trigdef_update_start): Use TRIGGERSLOCKFILE
2495 instead of literal string.
2496
2497 2008-04-01 Guillem Jover <guillem@debian.org>
2498
2499 * src/enquiry.c (badstatinfos): Fix typos for processing.
2500
2501 2008-03-30 Raphaël Hertzog <hertzog@debian.org>
2502
2503 * man/dpkg-source.1: Make it clear that Format: 2.0 is not really
2504 meant to be widely used by moving all the explanations in the
2505 section describing the format "3.0 (quilt)".
2506
2507 2008-03-30 Guillem Jover <guillem@debian.org>
2508
2509 * configure.ac: Bump version to 1.14.18~.
2510
2511 2008-03-30 Guillem Jover <guillem@debian.org>
2512
2513 * configure.ac: Release 1.14.17.
2514
2515 2008-03-30 Guillem Jover <guillem@debian.org>
2516
2517 * dselect/main.cc: Use <ncursesw/term.h> instead of <term.h>.
2518 * dselect/dselect.h: Use <ncursesw/curses.h> instead of <curses.h>.
2519 * dselect/Makefile.am (curkeys.h): Likewise.
2520
2521 2008-03-30 Guillem Jover <guillem@debian.org>
2522
2523 * po/POTFILES.in: Add 'lib/cleanup.c', 'lib/log.c', 'lib/myopt-util.c'
2524 and remove 'lib/showcright.c'.
2525 * scripts/Makefile.am (EXTRA_DIST): Add
2526 't/600_Dpkg_Changelog/regressions'.
2527
2528 2008-03-30 Ian Jackson <ian@davenant.greenend.org.uk>,
2529 Guillem Jover <guillem@debian.org>
2530
2531 * doc/triggers.txt: New file.
2532 * lib/dlist.h: Likewise.
2533 * lib/trigdeferred.l: Likewise.
2534 * lib/triglib.c: Likewise.
2535 * src/trigcmd.c: Likewise.
2536 * src/trigproc.c: Likewise.
2537 * configure.ac: Use AC_PROG_LEX.
2538 * Makefile.am (EXTRA_DIST): Add 'doc/triggers.txt'.
2539 * po/POTFILES.in: Add 'lib/trigdeferred.c', 'lib/triglib.c',
2540 'src/trigcmd.c' and 'src/trigproc.c'.
2541 * dselect/helpmsgs.cc (hlp_displayexplain1): Document the new trigger
2542 statuses.
2543 * dselect/pkgdepcon.cc (packagelist::useavailable): Treat the trigger
2544 statuses in the same way as installed status.
2545 (packagelist::deppossatisfied): Likewise.
2546 * dselect/pkgdisplay.cc (statusstrings): Add trigger statuses
2547 descriptions.
2548 (statuschars): Likewise.
2549 * dselect/pkglist.cc (packagelist::ensurestatsortinfo): Mark trigger
2550 status as broken.
2551 * lib/.gitignore: Add 'trigdeferred.c'.
2552 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dlist.h', 'triglib.c' and
2553 'trigdeferred.l'.
2554 * lib/database.c (blankpackage): Initialize trigaw.head, trigaw.tail,
2555 othertrigaw_head and trigpend_head members.
2556 * lib/dbmodify.c (triggersdir, triggersfilefile): New variables.
2557 (triggersnewfilefile): Likewise.
2558 (fnis): Add 'TRIGGERSDIR', 'TRIGGERSDIR "/File"' and
2559 'TIGGERSDIR "/File.new"' entries.
2560 (modstatdb_init): Incorporate triggers.
2561 (modstatdb_note): Reset trigpend_head if status is not a trigger one.
2562 Remove awaited triggers if status is <= than configfiles. Clear
2563 awaiters.
2564 * lib/dpkg-db.h (struct trigpend, struct trigaw): New types.
2565 (enum trigdef_updateflags, struct trigdefmeths): Likewise.
2566 (struct trigfileint, struct trig_hooks): Likewise.
2567 (enum pkgstatus): Add stat_triggersawaited and stat_triggerspending.
2568 (struct pkginfo): Add new trigaw, othertrigaw_head and trigpend_head
2569 members.
2570 (triggersdir, triggersfilefile, triggersnewfilefile): New variables.
2571 (trigdef, trig_new_deferred, trigh): Likewise.
2572 (trigdef_update_start, trigdef_yylex, trigdef_process_done): New
2573 functions prototypes.
2574 (trig_note_pend_core, trig_note_pend, trig_note_aw): Likewise.
2575 (trig_clear_awaiters, trig_incorporate): Likewise.
2576 (trig_file_activate_byname, trig_file_activate): Likewise.
2577 (trig_file_interests_ensure, trig_file_interests_save): Likewise.
2578 (trig_cicb_interest_delete, trig_cicb_interest_add): Likewise.
2579 (trig_cicb_statuschange_activate, trig_parse_ci): Likewise.
2580 (illegal_triggername): Likewise.
2581 (trig_parse_cicb): New function typedef.
2582 (TRIGHOOKS_DEFINE_NAMENODE_ACCESSORS): New macro.
2583 * lib/dpkg.h (TRIGGERSCIFILE, TRIGGERSDIR, TRIGGERSFILEFILE)
2584 (TRIGGERSDEFERREDFILE, TRIGGERSLOCKFILE, MAINTSCRIPTPKGENVVAR)
2585 (MAINTSCRIPTDPKGENVVAR, MAXTRIGDIRECTIVE): New macros.
2586 (MAXUPDATES): Set to 250.
2587 * lib/dump.c (w_configversion): Do not write the field if on trigger
2588 statuses either.
2589 (w_status): Abort on unknown status. Assert the presence or not
2590 of awaited and pending triggers depending on the status.
2591 (w_trigpend, w_trigaw): New functions.
2592 * lib/fields.c (scan_word, f_trigpend, f_trigaw): Likewise.
2593 * lib/parse.c: Include <assert.h>.
2594 (fieldinfos): Add 'Triggers-Pending' and 'Triggers-Awaited' fields.
2595 (parsedb): Add new variable aw. Check for consistency between the
2596 triggers lists and the status. Initialize trigpend_head and trigaw.
2597 * lib/parsedump.h (f_trigpend, f_trigaw, w_trigpend, w_trigaw): New
2598 function prototypes.
2599 * lib/parsehelp.c (statusinfos): Add 'triggers-awaited' and
2600 'triggers-pending'.
2601 * src/Makefile.am (bin_PROGRAMS): Add 'dpkg-trigger'.
2602 (dpkg_SOURCES): Add 'trigproc.c'.
2603 (dpkg_trigger_SOURCES, dpkg_trigger_LDADD): New variables.
2604 * src/archives.c (check_conflict): Treat trigger statuses the same way
2605 as installed.
2606 (archivefiles): Install trigger hooks. Make act_triggers perform
2607 process_queue. Do a deferred triggers process run.
2608 (wanttoinstall): Treat trigger statuses the same way as installed.
2609 Remove duped check about package being installed on forced
2610 skip-same-version.
2611 * src/configure.c (deferred_configure): Activate file triggers on
2612 conffile changes.
2613 * src/depcon.c (depisok): Treat trigger statuses the same way as
2614 installed for the dependency and for breaks or conflicts. For depends,
2615 predepends, recommends and suggests treat triggerspending as installed
2616 and triggersawaited as halfconfigured.
2617 * src/enquiry.c (badstatinfos): Add stat_triggerspending and
2618 stat_triggersawaited entries.
2619 (yettobeunpacked): Treat trigger statuses as unpacked.
2620 (assertversion): Treat triggerspending the same way as installed,
2621 and triggersawaited as not fully installed.
2622 * src/filesdb.h (enum fnnflags): Add new fnn_nonew item.
2623 (struct filenamenode): Add new trig_interested member.
2624 * src/filesdb.c (ensure_package_clientdata): Initialize
2625 clientdata->trigprocdeferred.
2626 (findnamenode): Return NULL if flags has fnn_nonew and there is no
2627 match before creating a new one. Initialize trig_interested when
2628 creating a newnode.
2629 * src/help.c (statusstrings): Add trigger statuses descriptions.
2630 (namenodetouse): Activate a file trigger before returning.
2631 (post_postinst_tasks): Initialize trigpend_head to NULL. Set status
2632 to stat_triggersawaited if trigaw.head otherwise to new_status.
2633 Call post_postinst_tasks_core. Move call to modstatdb_note to ...
2634 (post_postinst_tasks_core): ... here. New function. Incorporate
2635 triggers.
2636 (post_script_tasks): Incorportate triggers.
2637 (do_script): Set MAINTSCRIPTPKGENVVAR and MAINTSCRIPTDPKGENVVAR
2638 environment variables.
2639 * src/main.h (struct perpackagestate): Add new trigprocdeferred
2640 member.
2641 (enum action): Add new act_triggers item.
2642 (f_triggers): New variable definition.
2643 (namenodetouse): Add a comment about its new side effects.
2644 (post_postinst_tasks_core): Likewise. New prototype.
2645 (enum debugflags): Add dbg_triggers, dbg_triggersdetail and
2646 dbg_triggersstupid items.
2647 (trigproc_install_hooks, trigproc_run_deferred): New prototypes.
2648 (trigproc_reset_cycle, trigproc): Likewise.
2649 (trig_activate_packageprocessing): Likewise.
2650 * src/main.c (usage): Document '--triggers-only' and
2651 '--[no-]triggers'.
2652 (f_triggers): New variable declaration
2653 (setdebug): Document new triggers debug flags.
2654 (cmdinfos): Add triggers-only, triggers and no-triggers entries.
2655 (main): Disable f_triggers when --triggers-only has been specified.
2656 * src/packages.c (progress_bytrigproc): New variable.
2657 (packages): Install trigger hooks. On act_configure skip the package
2658 also if trigpend_head is not valid. Handle act_triggers. Do a
2659 deferred triggers process run.
2660 (process_queue): New action_todo variable. Set the same value for
2661 istobe as on act_triggers as for act_configure. Print the same message
2662 when erasing the queue entry on act_triggers as for act_configure.
2663 Add packages which can be fixed by means of processing their triggers
2664 to the queue and set the action to act_configure. On act_triggers
2665 ohshit if trigpend_head is NULL, otherwise fall through to
2666 act_install. On act_configure call trigproc if there's pending
2667 triggers or call deferred_configure.
2668 (deppossi_ok_found): Add a new fixbytrig argument, fix all callers.
2669 Treat trigger statuses the same way as installed. Handle dependee
2670 trigger statuses.
2671 (dependencies_ok): Handle packages which can be fixed by means of
2672 processing their triggers.
2673 * src/processarc.c (process_archive): Ensure file triggers interests.
2674 Activate trigger package processing. Parse package triggers control
2675 file before reading the conffiles. Treat trigger statuses the same
2676 way as installed. Activate trigger package processing for the package
2677 being deconfigured and for conflictors. Parse package control file
2678 to delete the package and parse it again to re-add it and then save
2679 the file triggers interests. Activate trigger package processing for
2680 disappearing packages.
2681 * src/query.c (list1package): Add trigger statuses to the listing
2682 header and to the one letter statuses.
2683 * src/remove.c (checkforremoval): Treat trigger statuses in the same
2684 way as installed.
2685 (deferred_remove): Activate trigger package processing. Operate on
2686 packages with halfconfigured or higher status.
2687 (removal_bulk_remove_configfiles): Activate trigger package processing.
2688
2689 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>
2690
2691 * src/packages.c (deppossi_ok_found): Refactor returning code.
2692
2693 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>
2694
2695 * src/depcon.c (depisok): Improve whynot message by stating when a
2696 package is installed with 'is present'.
2697
2698 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>
2699
2700 * src/help.c (cu_post_script_tasks): New function.
2701 (do_script): Install cu_post_script_tasks as a cleanup handler.
2702 (maintainer_script_alternative): Call post_script_tasks if the
2703 first do_script invocation fails instead of it succeeding.
2704
2705 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>,
2706 Guillem Jover <guillem@debian.org>
2707
2708 * src/main.h (maintainer_script_postinst): New prototype.
2709 * src/help.c (post_script_tasks): New function.
2710 (maintainer_script_installed): Renamed to ...
2711 (vmaintainer_script_installed): ... this. Dot not call
2712 ensure_diversions.
2713 (maintainer_script_installed): New function.
2714 (maintainer_script_postinst): Likewise.
2715 (maintainer_script_new): Call post_script_tasks instead of directly
2716 calling ensure_diversions.
2717 (maintainer_script_alternative): Likewise.
2718 * src/cleanup.c (cu_prermupgrade): Use maintainer_script_postinst
2719 instead of maintainer_script_installed.
2720 (cu_prermdeconfigure): Likewise.
2721 (cu_prerminfavour): Likewise.
2722 (cu_prermremove): Likewise.
2723 (deferred_configure): Likewise.
2724 * src/configure.c (deferred_configure): Likewise.
2725
2726 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>,
2727 Guillem Jover <guillem@debian.org>
2728
2729 * src/main.h (post_postinst_tasks): New prototype.
2730 * src/help.c (post_postinst_tasks): New function.
2731 * src/cleanup.c (cu_prermupgrade): Use post_postinst_tasks instead of
2732 duplicate code.
2733 (cu_prermdeconfigure): Likewise.
2734 (cu_prerminfavour): Likewise.
2735 (cu_prermremove): Likewise.
2736 * src/configure.c (deferred_configure): Likewise.
2737
2738 2008-03-28 Guillem Jover <guillem@debian.org>
2739
2740 * src/packages.c (process_queue): Fix typo in comment.
2741
2742 2008-03-28 Ian Jackson <ian@davenant.greenend.org.uk>
2743
2744 * src/help.c (statusstrings): Improve Breaks message by saying that
2745 it can be in that status due to a failed installation.
2746
2747 2008-03-29 Raphaël Hertzog <hertzog@debian.org>
2748
2749 * scripts/dpkg-buildpackage.pl: If the user request a cross-compilation,
2750 then define PKG_CONFIG_LIBDIR so that it will look in directories
2751 specific to the target architecture.
2752 * man/dpkg-buildpackage.1: Document this change and also the -t option.
2753
2754 2008-03-28 Raphaël Hertzog <hertzog@debian.org>
2755
2756 * scripts/dpkg-buildpackage.pl: LDFLAGS now defaults to an empty
2757 value instead of "-Wl,-Bsymbolic-functions". The latter can break
2758 some libraries at run-time and such a change is best done
2759 at the beginning of a release cycle.
2760
2761 2008-03-28 Raphaël Hertzog <hertzog@debian.org>
2762
2763 * man/dpkg-source.1: Move a paragraph at its right place and some
2764 other presentation fixes.
2765
2766 2008-03-27 Raphaël Hertzog <hertzog@debian.org>
2767
2768 * scripts/Dpkg/Shlibs.pm: Support cross-compilation by adding
2769 directories containing libraries for the architecture that is
2770 being crossbuilt.
2771
2772 2008-03-27 Raphaël Hertzog <hertzog@debian.org>
2773 Frank Lichtenheld <djpig@debian.org>
2774 Joey Hess <joeyh@debian.org>
2775 Colin Watson <cjwatson@debian.org>
2776
2777 * Merge branch 'sourcev3'. It contains an extensive refactoring of
2778 dpkg-source around many new modules in scripts/Dpkg/Source/.
2779
2780 General purpose changes:
2781 * scripts/Dpkg/IPC.pm: New module offering fork_and_exec() to
2782 conveniently execute any program in a child process. It hides
2783 all the error checking and lets you easily redirect input and
2784 output streams.
2785 * scripts/t/800_Dpkg_IPC.t: Non-regression tests for the module
2786 above.
2787 * scripts/Dpkg/Exit.pm: New module to register functions
2788 that would be called if the process was interrupted by a signal.
2789 Useful to cleanup temporary files if we're interrupted while doing
2790 some heavy I/O operation (as dpkg-source can do).
2791 * scripts/Dpkg/ErrorHandling.pm (info, errormsg): info() reports
2792 informational notices on STDOUT and errormsg() displays an error
2793 message on STDERR without dying. Use it only when you will die
2794 later on but want to display all errors before doing so.
2795 * scripts/dpkg-source.pl: Heavy rewrite/refactoring based on
2796 all the modules listed below.
2797 * man/dpkg-source.1: Update the manual page to document all the
2798 source package formats and the associated options.
2799
2800 Dpkg::Source::* infrastructural modules:
2801 * scripts/Dpkg/Source/Compressor.pm: Compress and uncompress a
2802 stream of data.
2803 * scripts/Dpkg/Source/CompressedFile.pm: Base class used to
2804 provide on-the-fly compression and decompression of any file.
2805 Dpkg::Source::Archive and Dpkg::Source::Patch inherit from it.
2806 * scripts/Dpkg/Source/Archive.pm: Create and manipulate tar files.
2807 * scripts/Dpkg/Source/Patch.pm: Create and manipulate patch files.
2808 * scripts/Dpkg/Source/Functions.pm: Misc helper functions.
2809 erasedir() removes recursively a directory in a safe manner.
2810 fixperms() make sure the permissions of all files in a tree
2811 are sane.
2812
2813 Source package formats:
2814 * scripts/Dpkg/Source/Package.pm: Base class implementing the
2815 functions common to all source package formats.
2816 * scripts/Dpkg/Source/Package/V1_0.pm: Implement the actual
2817 "Format: 1.0" source package format.
2818 * scripts/Dpkg/Source/Package/V2_0.pm: Implement the wig&pen
2819 format as specified in http://www.dpkg.org/dpkg/NewSourceFormat.
2820 * scripts/Dpkg/Source/Package/V3_0/native.pm: Native source
2821 packages (single tarball) that supports all compressions
2822 methods. Compatible with "Format: 1.0" if gzip compression is
2823 used.
2824 * scripts/Dpkg/Source/Package/V3_0/quilt.pm: Next generation
2825 source package format based on wig&pen. It supports multiple
2826 .orig.tar files and all compressions schemes (gzip, bzip2, lzma).
2827 It uses quilt to apply patches at unpack time and is able to add
2828 a new patch at the end of the series if changes are present
2829 at build-time.
2830 * scripts/Dpkg/Source/Package/V3_0/bzr.pm: Experimental format
2831 based on a bzr repository. Contributed by Colin Watson.
2832 * scripts/Dpkg/Source/Package/V3_0/git.pm: Experimental format
2833 based on a git repository. Contributed by Joey Hess.
2834 * scripts/Dpkg/Source/Package/V3_0/custom.pm: Special purpose
2835 format that can be used to create source packages with arbitrary
2836 files. Useful for helper tools (like git-buildpackage) which can
2837 generate source files by themselves.
2838
2839 2008-03-25 Raphaël Hertzog <hertzog@debian.org>
2840
2841 * scripts/dpkg-shlibdeps.pl: Let the user configure the set of
2842 wanted warnings. Add a new warning for useless libraries
2843 on all binaries analyzed. Disable by default the warning that
2844 does the same but individually, for each binary analyzed.
2845 * man/dpkg-shlibdeps.1: Update manual page accordingly.
2846
2847 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>
2848
2849 * lib/dpkg-db.h (modstatdb_note_ifwrite): New prototype.
2850 * ib/dbmodify.c (modstatdb_note_ifwrite): New function.
2851
2852 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>
2853
2854 * src/archives.c (archivefiles): Call log_message.
2855 * src/configure.c (deferred_configure): Likewise.
2856 * src/packages.c (packages): Likewise.
2857 * src/processarc.c (process_archive): Call log_action after printing
2858 the action to perform to stdout.
2859 * src/help.c (log_action): Call statusfd_send.
2860 * man/dpkg.1: Document improved status-fd output.
2861
2862 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>,
2863 Guillem Jover <guillem@debian.org>
2864
2865 * lib/dbmodify.c (status_pipes): Move definitions to ...
2866 * lib/log.c: ... here.
2867 * lib/dpkg-db.h (struct pipef, status_pipes): Move declarations to ...
2868 * lib/dpkg.h: ... here.
2869 (statusfd_send): New function prototype.
2870 * lib/log.c: Include <assert.h> and <unistd.h>.
2871 (statusfd_send): New function.
2872 * lib/dbmodify.c: Use statusfd_send instead of duplicate code.
2873 * src/configure.c: Likewise.
2874 * src/errors.c: Likewise.
2875
2876 2008-03-25 Guillem Jover <guillem@debian.org>
2877
2878 * lib/dbmodify.c (log_file, log_message): Move to ...
2879 * lib/log.c: ... here. New file.
2880 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'log.c'.
2881 * lib/dpkg-db.h (log_file, log_message): Move declaration to ...
2882 * lib/dpkg.h: ... here.
2883
2884 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>,
2885 Guillem Jover <guillem@debian.org>
2886
2887 * src/packages.c (struct pkginqueue): Move declaration to ...
2888 * src/main.h: ... here.
2889 (queuelen): Remove extern declaration.
2890 (struct pkgqueue): New declaration.
2891 (PKGQUEUE_DEF_INIT): New macro.
2892 (add_to_some_queue): New function prototype.
2893 (remove_from_some_queue): Likewise.
2894 * src/packages.c (queuehead, queuetail, queuelen): Replace with ...
2895 (queue): ... this. New variable. Fix all users.
2896 (add_to_queue): Refactor into ...
2897 (add_to_some_queue): ... this. Take a struct pkgqueue argument.
2898 (process_queue): Assert that the queue is empty at the end of the
2899 function. Refactor queue entry removal into ...
2900 (remove_from_some_queue): ... this. New function.
2901 (add_to_queue): New function.
2902
2903 2008-03-25 Guillem Jover <guillem@debian.org>
2904
2905 * src/main.h (ensure_package_clientdata): Move prototype to ...
2906 * src/filesdb.h: ... here.
2907 * src/help.c (ensure_package_clientdata): Move function to ...
2908 * src/filesdb.c: ... here.
2909 * src/query.c: Remove duplicate function.
2910
2911 2008-03-25 Guillem Jover <guillem@debian.org>
2912
2913 * lib/dpkg-db.h (unlockdatabase): Change prototype to not take any
2914 argument (as it was not being used). Fix all callers.
2915 * lib/lock.c (unlockdatabase): Likewise.
2916
2917 2008-03-25 Ian Jackson <ian@davenant.greenend.org.uk>,
2918 Guillem Jover <guillem@debian.org>
2919
2920 * lib/dpkg.h (lock_file): New function prototype.
2921 (unlock_file): Likewise.
2922 * lib/lock.c (cu_unlockdb): Rename to ...
2923 (cu_unlock_file): ... here. Rename dblockfd to lockfd, and take it
2924 from argv.
2925 (unlock_file): New function.
2926 (lock_file): Likewise.
2927 (dblockfd): Move variable to ...
2928 (lockdatabase): ... here. Call lock_file instead of doing the
2929 actual file locking.
2930 (unlockdatabase): Call unlock_file, instead if doing the actual
2931 pop_cleanup.
2932
2933 2008-03-24 Ian Jackson <ian@davenant.greenend.org.uk>
2934
2935 * lib/dpkg.h (error_printer): New function pointer type.
2936 (push_error_handler): Use error_printer instead of an explicit
2937 declaration in the argument list.
2938 (set_error_display): Likewise.
2939 * lib/ehandle.c (push_error_handler): Likewise.
2940 (set_error_display): Likewise.
2941
2942 2008-03-23 Guillem Jover <guillem@debian.org>
2943
2944 * configure.ac (DPKG_CHECK_COMPAT_FUNCS): Add 'strnlen'.
2945 * libcompat/Makefile.am [!HAVE_STRNLEN] (libcompat_a_SOURCES): Add
2946 'strnlen.c' and 'strnlen.h'.
2947 * libcompat/strnlen.c: New file (import from Simon Josefsson).
2948 * libcompat/strnlen.h: Likewise.
2949 * lib/tarfn.c: Include "strnlen.h".
2950
2951 2008-03-22 Raphaël Hertzog <hertzog@debian.org>
2952
2953 * scripts/t/200_Dpkg_Shlibs.t: Fix test suite to handle the
2954 recent addition of the "objid" field to symbol hash returned
2955 by Dpkg::Shlibs::Objdump::Object->get_symbol().
2956
2957 2008-03-22 Ian Jackson <ian@davenant.greenend.org.uk>
2958
2959 * lib/dpkg-db.h (enum pkgstatus): Sort entries.
2960 * lib/dump.c (w_status): Change 'stat_configfiles' to 'stat_installed'
2961 in assert as that's the new last item.
2962 * src/processarc.c (process_archive): Likewise.
2963 * src/packages.c (process_queue): Likewise.
2964 (deppossi_ok_found): Match sorting of 'enum pkgstatus'.
2965 * dselect/pkgdisplay.cc (statusstrings): Likewise.
2966 (statuschars): Likewise.
2967 * src/help.c (statusstrings): Likewise.
2968 * src/query.c (list1package): Likewise.
2969 * lib/parsehelp.c (statusinfos): Likewise.
2970
2971 2008-03-21 Guillem Jover <guillem@debian.org>
2972
2973 * lib/parse.c (cu_parsedb): Remove duplicate function.
2974 (parsedb): Use cu_closefd instead of cu_parsedb.
2975
2976 2008-03-21 Ian Jackson <ian@davenant.greenend.org.uk>
2977
2978 * src/archives.c (tarobject): Make 'fd' static.
2979 * lib/parse.c (parsedb): Likewise. Use ehflag_normaltidy on
2980 push_cleanup and pop_cleanup. Move pop_cleanup call just before its
2981 related close call.
2982 * src/processarc.c (process_archive): Do not install two cleanup
2983 handlers to close the fsys-tarfile pipe. Mark pipe descriptors with
2984 invalid values when closed.
2985
2986 2008-03-20 Guillem Jover <guillem@debian.org>
2987
2988 * dpkg-deb/extract.c (safe_fflush): Change return type from int to
2989 void.
2990
2991 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>
2992
2993 * lib/dpkg.h (cisspace): New prototype.
2994 * lib/utils.c (cisspace): New function definition.
2995
2996 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>
2997
2998 * src/main.h (pkgadminfile): Move prototype to ...
2999 * lib/dpkg-db.h: ... here.
3000 * src/help.c (pkgadminfile): Move function definition to ...
3001 * lib/dbmodify.c: ... here.
3002 * src/query.c (pkgadminfile): Remove duplicated functions.
3003
3004 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>,
3005 Guillem Jover <guillem@debian.org>
3006
3007 * src/query.c (cu_closepipe, cu_closefile, cu_closefd): Remove
3008 duplicated functions.
3009 * src/help.c (cu_closepipe, cu_closefile, cu_closedir)
3010 (cu_closefd): Move function definitions to ...
3011 * lib/cleanup.c: ... here. New file.
3012 * src/main.h (cu_closefile, cu_closepipe, cu_closedir)
3013 (cu_closefd): Move prototypes to ...
3014 * lib/dpkg.h: ... here.
3015 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'cleanup.c'.
3016
3017 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>
3018
3019 * lib/dpkg-db.h (modstatdb_checkpoint): New prototype.
3020 * lib/dbmodify.c (checkpoint): Remove static keyword. Rename to ...
3021 (modstatdb_checkpoint): ... this. Fix all callers.
3022
3023 2008-03-20 Ian Jackson <ian@davenant.greenend.org.uk>
3024
3025 * lib/tarfn.c (TarExtractor): Initialize h.LinkName and h.Name to
3026 NULL.
3027
3028 2008-03-16 Raphaël Hertzog <hertzog@debian.org>
3029
3030 * scripts/Dpkg/Shlibs/Objdump.pm: Add "objid" property to
3031 symbols and fake "soname" property with the basename of the
3032 object's filename if the object has no official SONAME.
3033 * scripts/dpkg-shlibdeps.pl: Add some more debugging messages.
3034 * scripts/dpkg-shlibdeps.pl: Also count usage of alternate sonames
3035 for symbols found in symbols files.
3036
3037 2008-03-16 Guillem Jover <guillem@debian.org>
3038
3039 * configure.ac (AC_CHECK_HEADERS): Add 'libintl.h'.
3040 * lib/gettext.h [!ENABLE_NLS]: Use HAVE_LIBINTL_H instead of
3041 '(__GLIBC__ >= 2)'.
3042
3043 2008-03-15 Erast Benson <erast@gnusolaris.org>
3044
3045 * utils/start-stop-daemon.c (check): Move 'return' inside preprocessor
3046 conditionals, so that it does not just return on non-handled OSes.
3047
3048 2008-03-15 Erast Benson <erast@gnusolaris.org>
3049
3050 * utils/start-stop-daemon.c: Use __sun instead of __sparc__ to
3051 define OSsunos.
3052
3053 2008-03-15 Raphaël Hertzog <hertzog@debian.org>
3054
3055 * debian/dpkg.prerm: Removed as it's empty.
3056 * Makefile.am: Remove debian/dpkg.prerm from EXTRA_DIST.
3057
3058 2008-03-14 Raphaël Hertzog <hertzog@debian.org>
3059
3060 * scripts/Dpkg/Changelog/Debian.pm: Fix regression by re-allowing
3061 capitals (like UNRELEASED!) in the distribution/package name.
3062 * scripts/t/600_Dpkg_Changelog/regressions: Add capitals in the
3063 distribution name as part of the non-regression tests.
3064
3065 2008-03-14 Guillem Jover <guillem@debian.org>
3066
3067 Fix errors spotted by Helge Kreutzmann.
3068
3069 * man/dpkg-buildpackage.1: Refer to 'Debian' not 'debian'. Remove a
3070 space beofre a comma. Replace FFLAGS with CFLAGS when referring to
3071 usage similar to C for Fortran. Do not make bold a terminating
3072 parenthesis.
3073 * man/dpkg-checkbuilddeps.1: Mark 'debian/contorl' file with italics.
3074
3075 2008-03-11 Ian Jackson <ian@davenant.greenend.org.uk>,
3076 Guillem Jover <guillem@debian.org>
3077
3078 * lib/showcright.c: Rename to ...
3079 * lib/myopt-util.c: ... this.
3080 * lib/Makefile.am (libdpkg_a_SOURCES): Rename 'showcright.c' to
3081 'myopt-util.c'.
3082
3083 * lib/dpkg.h (struct cmdinfo): Remove declaration.
3084 (showcopyright): Move prototype to ...
3085 * lib/myopt-util.c: ... here.
3086 (helponly, versiononly): New functions.
3087 * lib/myopt.h: Include <dpkg-def.h>.
3088 (showcopyright, helponly, versiononly, usage, printversion): New
3089 function prototypes.
3090 * dpkg-deb/main.c (printversion, usage): Remove static keyword.
3091 (helponly, versiononly): Remove function declarations and definitions.
3092 * dpkg-split/main.c: Likewise.
3093 * dselect/main.cc: Likewise.
3094 * src/main.c: Likewise.
3095 * src/query.c: Likewise.
3096
3097 2008-03-11 Guillem Jover <guillem@debian.org>
3098
3099 * lib/showcright.c (showcopyright): Move function prototype to ...
3100 * lib/dpkg.h: ... here, and replace existing one.
3101
3102 2008-03-11 Guillem Jover <guillem@debian.org>
3103
3104 * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-def.h'.
3105 * lib/dpkg.h: Include 'dpkg-def.h'.
3106 (CONSTANT, PRINTFFORMAT, NONRETURNING, UNUSED): Move definitions
3107 to ...
3108 * lib/dpkg-def.h: ... here. New file.
3109 * utils/start-stop-daemon.c: Include 'dpkg-def.h'.
3110 (CONSTANT, PRINTFFORMAT, NONRETURNING, UNUSED): Remove definitions.
3111
3112 2008-03-11 Ian Jackson <ian@davenant.greenend.org.uk>
3113
3114 * lib/dpkg.h (fgets_checked, fgets_must): New function declarations.
3115 * lib/utils.c: Include <string.h>.
3116 (fgets_checked, fgets_must): New function.
3117 * src/filesdb.c (ensure_diversions): Use new fgets_checked and
3118 fgets_must instead of duped code.
3119
3120 2008-03-09 Ian Jackson <ian@davenant.greenend.org.uk>
3121
3122 * dselect/pkgdisplay.cc (relatestrings): Change 'breaks with' to
3123 'breaks'.
3124
3125 2008-03-09 Ian Jackson <ian@davenant.greenend.org.uk>
3126
3127 * dselect/pkgdepcon.cc (packagelist::resolvedepcon): Move dep_breaks
3128 case after dep_conflicts so that it falls through.
3129 (packagelist::deppossatisfied): Handle dep_breaks in the same way as
3130 dep_conflicts.
3131
3132 2008-03-09 Ian Jackson <ian@davenant.greenend.org.uk>
3133
3134 * dselect/pkgdepcon.cc (packagelist::deppossatisfied): The new rule
3135 is that a Conflicts is violated if the target package is installed
3136 or to be error-preserved ie would_like_to_install() != 0 - except
3137 that we disregard packages which directly Conflict with themselves.
3138
3139 2008-03-07 Raphaël Hertzog <hertzog@debian.org>
3140
3141 * scripts/Dpkg/Fields.pm: Import Dpkg::Gettext since we use _g().
3142
3143 2008-03-06 Sean Finney <seanius@seanius.net>
3144
3145 * lib/dump.c (writedb): Free newfn and oldfn.
3146 * src/help.c (clear_istobes): Free pkgiterator 'it' by calling
3147 iterpkgend.
3148
3149 2008-03-02 Raphaël Hertzog <hertzog@debian.org>
3150
3151 * scripts/dpkg-gencontrol.pl, scripts/dpkg-source.pl:
3152 Do not sort the dependency fields as order matters given
3153 the greedy algorithm that APT uses when trying to resolve
3154 dependencies. See discussion on debian-devel:
3155 https://lists.debian.org/debian-devel/2008/02/msg00893.html
3156 * man/dpkg-gencontrol.1: Document the above changes.
3157
3158 * scripts/Dpkg/Deps.pm (simplify_deps): Tries to respect order put
3159 by the maintainer when simplifying dependencies.
3160 * scripts/t/400_Dpkg_Deps.t: Add a test-case to ensure that
3161 further changes respect this constraint.
3162
3163 * scripts/dpkg-shlibdeps.pl: Sort generated dependencies to
3164 have a deterministic output.
3165
3166 2008-02-29 Frank Lichtenheld <djpig@debian.org>
3167
3168 * scripts/Dpkg/Changelog/Debian.pm (parse):
3169 One patch against the old parser that allowed
3170 chars '+' and '.' in distribution names was
3171 not forward ported into the new parser. Do
3172 this now.
3173 * scripts/t/600_Dpkg_Changelog/regression:
3174 Add testcase for this regression.
3175
3176 2008-02-22 Raphaël Hertzog <hertzog@debian.org>
3177
3178 * man/dpkg-gensymbols.1: Fix some groff errors detected by lintian.
3179 * man/dpkg-query.1: Likewise..
3180
3181 2008-02-22 Raphaël Hertzog <hertzog@debian.org>
3182
3183 * man/deb-symbols.5: Escape some hyphens so that they do not end up
3184 as minus sign.
3185 * man/dpkg-architecture.1: Likewise.
3186 * man/dpkg-shlibdeps.1: Likewise.
3187 * man/start-stop-daemon.8: Likewise.
3188
3189 2008-02-22 Raphaël Hertzog <hertzog@debian.org>
3190 Mike Frysinger <vapier@gentoo.org>
3191
3192 * scripts/Makefile.am: Modify PATH during make check to include
3193 build directories containing dpkg and the scripts dpkg-*.
3194
3195 2008-02-20 Raphaël Hertzog <hertzog@debian.org>
3196
3197 * scripts/Dpkg/Changelog.pm (parse_changelog): Fallback
3198 into /usr/lib/dpkg/parsechangelog to find changelog parser
3199 in case $dpkglibdir points to another directory (for example
3200 when DPKG_DATADIR is manually set).
3201
3202 2008-02-19 Frank Lichtenheld <djpig@debian.org>
3203
3204 * m4/libs.m4 (DPKG_LIB_CURSES): Use libncursesw if
3205 available.
3206 * debian/control: Change build-dependency from
3207 libncurses5-dev to libncursesw5-dev.
3208
3209 2008-02-19 Frank Lichtenheld <djpig@debian.org>
3210
3211 * man/dpkg-source.1: Fix documentation of -sk and -sp. The directory
3212 with the unpacked original source will be removed, not the tarball.
3213
3214 2008-02-17 Frank Lichtenheld <djpig@debian.org>
3215
3216 * scripts/Dpkg.pm: Allow overriding $pkgdatadir
3217 with $ENV{DPKG_DATADIR}.
3218 * scripts/Makefile.am (check): Use DPKG_DATADIR.
3219 * debian/rules: Remove hack to copy data files
3220 to build directory.
3221
3222 2008-02-17 Frank Lichtenheld <djpig@debian.org>
3223
3224 * man/dpkg-architecture.1: Document the files needed by
3225 dpkg-architecture.
3226
3227 2008-02-17 Frank Lichtenheld <djpig@debian.org>
3228 Matthias Klose <doko@cs.tu-berlin.de>
3229
3230 * scripts/dpkg-buildpackage.pl: Set a set of environment variables
3231 for setting compiler and linker options, unless already set in the
3232 environment. See https://wiki.ubuntu.com/DistCompilerFlags for
3233 background information.
3234 * man/dpkg-buildpackage.1: Document the new behaviour for build
3235 related environment variables.
3236
3237 2008-02-17 Zack Weinberg <zackw@panix.com>
3238
3239 * man/deb-shlibs.5: Make this manual page a bit more elaborate and
3240 helpful.
3241
3242 2008-02-13 Raphaël Hertzog <hertzog@debian.org>
3243
3244 * scripts/Dpkg/Version.pm: Import Dpkg::Gettext since we use _g().
3245
3246 2008-02-07 Guillem Jover <guillem@debian.org>
3247
3248 * scripts/dpkg-gencontrol.pl: Do not output the Homepage field on udeb.
3249
3250 2008-02-04 Guillem Jover <guillem@debian.org>
3251
3252 * libcompat/Makefile.am (localedir): Remove unused variable.
3253 (INCLUDES): Do not pass -DLOCALEDIR nor -I$(top_srcdir)/lib.
3254
3255 2008-02-03 Guillem Jover <guillem@debian.org>
3256
3257 * m4/funcs.m4 (DPKG_CHECK_COMPAT_FUNCS): New macro.
3258 * configure.ac (DPKG_CHECK_COMPAT_FUNCS): Check getopt, getopt_long
3259 and obstack_free.
3260 * libcompat/Makefile.am (libcompat_a_SOURCES): Set empty by default.
3261 Only add 'getopt.c getopt.h' if !HAVE_GETOPT. Only add 'getopt1.c'
3262 if !HAVE_GETOPT_LONG. Only add 'obstack.c obstack.h' if
3263 !HAVE_OBSTACK_FREE.
3264 (INCLUDES): Add '-idirafter $(top_srcdir)/libcompat'.
3265 * dpkg-deb/Makefile.am (INCLUDES): Likewise.
3266 * dpkg-split/Makefile.am (INCLUDES): Likewise.
3267 * dselect/Makefile.am (INCLUDES): Likewise.
3268 * lib/Makefile.am (INCLUDES): Likewise.
3269 * src/Makefile.am (INCLUDES): Likewise.
3270 * utils/Makefile.am (INCLUDES): Use -idirafter instead of -I for
3271 '$(top_srcdir)/libcompat'.
3272
3273 * src/Makefile.am (dpkg_LDADD): Add '../libcompat/libcompat.a'.
3274 (dpkg_query_LDADD): Likewise.
3275 * dpkg-deb/Makefile.am (dpkg_deb_LDADD): Likewise.
3276 * dpkg-split/Makefile.am (dpkg_split_LDADD): Likewise.
3277 * dselect/Makefile.am (dselect_LDADD): Likewise.
3278
3279 2008-02-03 Guillem Jover <guillem@debian.org>
3280
3281 * libcompat/Makefile.am (libcompat_a_SOURCES): Remove closeout.c,
3282 closeout.h, error.h, long-options.c and long-options.h.
3283 * libcompat/closeout.c: Remove unused file.
3284 * libcompat/closeout.h: Likewise.
3285 * libcompat/error.h: Likewise.
3286 * libcompat/long-options.c: Likewise.
3287 * libcompat/long-options.h: Likewise.
3288
3289 2008-02-03 Raphaël Hertzog <hertzog@debian.org>
3290
3291 * scripts/dpkg-shlibdeps.pl: Handle better the case when the
3292 library found has a different soname than the one used to look up
3293 the library file. Properly affect symbols coming from it to the
3294 soname wanted by the binary, thus avoiding invalid warnings about
3295 unused library.
3296
3297 2008-01-31 Raphaël Hertzog <hertzog@debian.org>
3298
3299 * scripts/dpkg-genchanges.pl: Always list all binary packages in
3300 the Description field of generated .changes files.
3301
3302 2008-01-30 Frank Lichtenheld <djpig@debian.org>
3303
3304 * scripts/dpkg-buildpackage.pl: Warn if build-dependencies
3305 are not satisfied during -S. Also warn that this might become
3306 an error in the future.
3307
3308 2008-01-30 Justin Pryzby <jpryzby+d@quoininc.com>
3309
3310 * utils/start-stop-daemon.c (do_help): Clarify --name and --user
3311 options.
3312 (parse_options): Reword --make-pidfile badusage.
3313 (pid_is_cmd): Fix typo in comment.
3314 * man/start-stop-daemon.8: Cosmetic fixes. Document that --chuid
3315 will change the group even if it has not been specified. Add EXIT
3316 STATUS and EXAMPLE sections.
3317
3318 2008-01-29 Raphaël Hertzog <hertzog@debian.org>
3319
3320 * scripts/dpkg-buildpackage.pl: Add a new -R option to be able to
3321 replace "debian/rules" by something else. The replacement command
3322 can contain parameters (and thus spaces). Fix -r option to also
3323 accept parameters.
3324 * man/dpkg-buildpackage.1: Document the new option and the changed
3325 behaviour of -r.
3326
3327 2008-01-28 Guillem Jover <guillem@debian.org>
3328
3329 * getopt: Rename to ...
3330 * libcompat: ... this.
3331 * configure.ac (AC_CONFIG_FILES): Likewise.
3332 * Makefile.am (SUBDIRS): Likewise.
3333 * utils/Makefile.am (INCLUDES): Likewise.
3334 (start_stop_daemon_LDADD): Use '../libcompat/libcompat.a' instead of
3335 '../getopt/libopt.a'.
3336 * libcompat/Makefile.am (noinst_LIBRARIES): Rename 'libopt.a' to
3337 'libcompat.a'.
3338 (libopt_a_SOURCES): Rename to ...
3339 (libcompat_a_SOURCES): ... this.
3340
3341 2008-01-27 Raphaël Hertzog <hertzog@debian.org>
3342
3343 * README.feature-removal-schedule: Deprecate support of substvars
3344 in dpkg-source and dpkg-genchanges.
3345 * README.feature-removal-schedule, README.api: Deprecate support
3346 of custom changelog parsers that understand only the -v option.
3347 * README.feature-removal-schedule: Deprecate support of PGP.
3348
3349 2008-01-27 Raphaël Hertzog <hertzog@debian.org>
3350
3351 * scripts/Dpkg/Shlibs/SymbolFile.pm: Replace has_new_libs(),
3352 has_lost_libs(), has_new_symbols() and has_lost_symbols() by
3353 corresponding get_* functions.
3354 * scripts/dpkg-gensymbols.pl: Display list of new/lost libs. Also
3355 display list of lost symbols when wildcards symbols have been
3356 used.
3357 * scripts/t/200_Dpkg_Shlibs.t: Adjust test suite to API change.
3358
3359 2008-01-26 Frank Lichtenheld <djpig@debian.org>
3360
3361 * scripts/Dpkg/Checksums.pm: New module for checksum handling
3362 in .changes and .dsc files.
3363 * scripts/dpkg-genchanges.pl, scripts/dpkg-source.pl: Use new
3364 module. Adds new 'Checksums-{Sha1,Sha256}' field
3365 to .changes and .dsc files. Increase changes format to 1.8.
3366
3367 2008-01-25 Andreas Påhlsson <andreas.pahlsson@xcerion.com>
3368
3369 * utils/start-stop-daemon.c (tsub): Remove function.
3370 (tmul): Fix normalization.
3371 (run_stop_schedule): Use timersub instead of tsub.
3372
3373 2008-01-24 Raphaël Hertzog <hertzog@debian.org>
3374
3375 * scripts/dpkg-genchanges.pl: Warn if the current version is
3376 smaller than the previous one.
3377
3378 * scripts/dpkg-checkbuilddeps.pl: Add support of options -d and -c to
3379 use build dependencies/conflicts given on the command line instead of
3380 those retrieved from debian/control.
3381 * man/dpkg-checkbuilddeps.1: Document the new options.
3382
3383 2008-01-22 Guillem Jover <guillem@debian.org>
3384
3385 * dpkg-deb/extract.c (extracthalf): Refactor fflush and its buggy
3386 fpos handling to ...
3387 (safe_fflush): ... here. New function.
3388
3389 2008-01-22 Guillem Jover <guillem@debian.org>
3390
3391 * lib/vercmp.c [0] (verrevcmp): Remove dead code.
3392
3393 2008-01-22 Guillem Jover <guillem@debian.org>
3394
3395 * lib/dpkg.h [!offsetof] (offsetof): New compatibility macro.
3396 * lib/parsedump.h (PKGIFPOFF): Use offsetof instead of ad-hoc
3397 calculation.
3398 (FILEFOFF): Likewise.
3399 (struct fieldinfo): Change integer member type to size_t.
3400 * lib/tarfn.c (TarChecksumOffset): Use offsetof instead of ad-hoc
3401 calculation.
3402
3403 2008-01-22 Guillem Jover <guillem@debian.org>
3404
3405 * configure.ac (AC_CHECK_HEADERS): Check for 'stddef.h'.
3406
3407 2008-01-21 Colin Watson <cjwatson@debian.org>
3408
3409 * dselect/pkgkeys.cc (packagelist_korgbindings): Add 'C'.
3410 (packagelist_kinterps): Add 'revertinstalled'.
3411 * dselect/bindings.cc (keybindings::descriptions): Likewise.
3412 * dselect/pkglist.h (class packagelist): Add kd_revertinstalled.
3413 * dselect/pkgcmds.cc (packagelist::kd_revertinstalled): New method.
3414 * man/dselect.1: Document new 'C' keybinding.
3415
3416 2008-01-21 Guillem Jover <guillem@debian.org>
3417
3418 * dpkg-deb/build.c (getfi): Use m_malloc instead of malloc.
3419 (do_build): Likewise.
3420 * dpkg-deb/extract.c (extracthalf): Likewise.
3421 * lib/mlib.c (buffer_write): Likewise.
3422 (buffer_copy): Likewise.
3423 * lib/myopt.c (loadcfgfile): Likewise.
3424 * lib/parse.c (parsedb): Likewise.
3425 * lib/showpkg.c (alloclstitem): Likewise.
3426 (parsefield): Likewise.
3427 (parsestring): Likewise.
3428 * lib/tarfn.c (StoC): Likewise.
3429 (TarExtractor): Likewise.
3430 * src/archives.c (try_deconfigure_can): Likewise.
3431 * src/main.c (execbackend): Likewise.
3432
3433 2008-01-21 Guillem Jover <guillem@debian.org>
3434
3435 * lib/mlib.c (m_strdup): New function.
3436 * lib/dpkg.h (m_strdup): New declaration.
3437 * lib/tarfn.c: Include <dpkg.h>.
3438 (TarExtractor): Use m_strdup instead of strdup.
3439 * lib/database.c (findpackage): Likewise.
3440 * lib/myopt.c (myfileopt): Likewise.
3441 * dpkg-deb/build.c (getfi): Likewise.
3442 * src/configure.c (md5hash): Likewise.
3443 * src/help.c (vbuildarglist): Likewise.
3444 * src/main.c (execbackend): Likewise.
3445 (commandfd): Likewise.
3446
3447 2008-01-21 Guillem Jover <guillem@debian.org>
3448
3449 * configure.ac: Bump version to 1.14.17~.
3450
3451 2008-01-26 Raphaël Hertzog <hertzog@debian.org>
3452
3453 * configure.ac: Release 1.14.16.6.
3454
3455 2008-01-26 Raphaël Hertzog <hertzog@debian.org>
3456
3457 * scripts/dpkg-gensymbols: Don't scan directories which are
3458 symlinks. They might point outside of the package build dir which
3459 results in addition of libraries which are not in the package.
3460 The libc6 package on amd64 is affected with a symlink "lib64" ->
3461 "/lib".
3462
3463 2008-01-24 Raphaël Hertzog <hertzog@debian.org>
3464
3465 * configure.ac: Release 1.14.16.5.
3466
3467 2008-01-24 Raphaël Hertzog <hertzog@debian.org>
3468
3469 * scripts/Dpkg/Shlibs/SymbolFile.pm (load): Remove the loaded file
3470 from the %$seen hash at the end so that it's possible to include
3471 multiple times the same file (at the same level and not from any
3472 nested file obviously).
3473
3474 * scripts/Dpkg/Shlibs/SymbolFile.pm: Blacklist many armel specific
3475 symbols.
3476
3477 2008-01-23 Guillem Jover <guillem@debian.org>
3478
3479 * configure.ac: Release 1.14.16.4.
3480
3481 2008-01-23 Guillem Jover <guillem@debian.org>
3482
3483 * scripts/Dpkg/Cdata.pm: Import capit from Dpkg::Fields.
3484
3485 2008-01-22 Guillem Jover <guillem@debian.org>
3486
3487 * configure.ac: Release 1.14.16.3.
3488
3489 2008-01-22 Guillem Jover <guillem@debian.org>
3490
3491 * utils/start-stop-daemon.c (tvselector): Remove typedef.
3492 (tvselector_sec): Remove function.
3493 (tvselector_usec): Likewise.
3494 (TVCALC_ELEM): Remove macro.
3495 (TVCALC): Likewise.
3496 (tsub): New function.
3497 (tmul): Likewise.
3498 (run_stop_schedule): Use tsub and tmul instead of TVCALC. Make sure
3499 the time is not negative.
3500
3501 2008-01-22 Guillem Jover <guillem@debian.org>
3502
3503 * utils/start-stop-daemon.c (main): Only call initgroups if changeuser
3504 is not NULL.
3505
3506 2008-01-22 Guillem Jover <guillem@debian.org>
3507
3508 * utils/start-stop-daemon.c (gid_in_current_groups): Remove function.
3509 (main): Call initgroups if the real user or group are different than
3510 the ones we should switch to. Call setgid before initgroups.
3511
3512 2008-01-22 Raphaël Hertzog <hertzog@debian.org>
3513
3514 * man/dpkg-parsechangelog.1: Fix typos reported by Helge Kreutzmann.
3515
3516 2008-01-22 Raphaël Hertzog <hertzog@debian.org>
3517
3518 * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
3519 scripts/dpkg-source.pl: Remove the IO-layer that converts to
3520 UTF-8. It's not as smart as I expected.
3521
3522 * scripts/dpkg-genchanges.pl: Do not substitute variables on
3523 the output.
3524 * man/dpkg-genchanges.pl: Document this change.
3525
3526 2008-01-22 Guillem Jover <guillem@debian.org>
3527
3528 * configure.ac: Release 1.14.16.2.
3529
3530 2008-01-22 Guillem Jover <guillem@debian.org>
3531
3532 * utils/start-stop-daemon.c (main): Move setuid code after initgroups
3533 and setgid.
3534
3535 2008-01-21 Frank Lichtenheld <djpig@debian.org>
3536
3537 * configure.ac: Release 1.14.16.1
3538
3539 * scripts/dpkg-source.pl: Fix "uninitialized value"
3540 warning.
3541
3542 * debian/control: Add libtimedate-perl to
3543 dpkg-dev's Depends and to Build-Depends (for
3544 build-time tests). This introduces our first
3545 run-time dependency on a perl module not shipped
3546 with Perl itself. But to me it seems not worth
3547 trying to replace that code.
3548
3549 2008-01-21 Guillem Jover <guillem@debian.org>
3550
3551 * configure.ac: Release 1.14.16.
3552
3553 2008-01-21 Guillem Jover <guillem@debian.org>
3554
3555 * README.api: New file.
3556 * README.feature-removal-schedule: Likewise.
3557 * Makefile.am (EXTRA_DIST): Add README.feature-removal-schedule and
3558 README.api.
3559
3560 2008-01-21 Guillem Jover <guillem@debian.org>
3561
3562 * configure.ac (AC_CHECK_FUNCS): Escape new lines.
3563
3564 2008-01-21 Ian Jackson <ian@davenant.greenend.org.uk>
3565
3566 * src/processarc.c (process_archive): Fix incorrect sizeof in a
3567 memset call.
3568
3569 2008-01-21 Guillem Jover <guillem@debian.org>
3570
3571 * utils/start-stop-daemon.c (main): Cast runas_uid and runas_gid to
3572 uid_t and gid_t when comparing to getuid() and getgid().
3573
3574 2008-01-21 Guillem Jover <guillem@debian.org>
3575
3576 * configure.ac (AC_CHECK_FUNCS): Merge arguments from both macro
3577 calls.
3578
3579 2008-01-21 Guillem Jover <guillem@debian.org>
3580
3581 * configure.ac (AM_GNU_GETTEXT): Add external.
3582 (AC_CHECK_FUNCS): Add strtoul.
3583 (AC_CONFIG_FILES): Remove 'intl/Makefile'.
3584 * .gitignore: Remove intl.
3585 * Makefile.am (SUBDIRS): Likewise.
3586 * dpkg-deb/Makefile.am (INCLUDES): Remove '-I$(top_srcdir)/intl'.
3587 * dpkg-split/Makefile.am (INCLUDES): Likewise.
3588 * dselect/Makefile.am (INCLUDES): Likewise.
3589 * getopt/Makefile.am (INCLUDES): Likewise.
3590 * lib/Makefile.am (INCLUDES): Likewise.
3591 * src/Makefile.am (INCLUDES): Likewise.
3592 * utils/Makefile.am (INCLUDES): Likewise.
3593
3594 2008-01-21 Guillem Jover <guillem@debian.org>
3595
3596 * configure.ac (AC_CHECK_FUNCS): Add getdtablesize.
3597 * utils/start-stop-daemon.c (get_open_fd_max): New function.
3598 (main) [OShpux]: Remove.
3599 [!OShpux]: Use get_open_fd_max instead of hardcoded getdtablesize.
3600
3601 2008-01-21 Guillem Jover <guillem@debian.org>
3602
3603 * man/start-stop-daemon.8: Fix quotation to get rid of a spurious
3604 space between -c option and comma.
3605
3606 2008-01-20 Guillem Jover <guillem@debian.org>
3607
3608 * man/start-stop-daemon.8: Coalesce all matching options into a new
3609 section. List matching options by reference in the description
3610 section.
3611
3612 2008-01-20 Guillem Jover <guillem@debian.org>
3613
3614 * utils/start-stop-daemon.c (do_version): Change from 'Mandatory' to
3615 'Matching'. Suggested by Justin Pryzby.
3616
3617 2008-01-20 Frank Lichtenheld <djpig@debian.org>
3618
3619 * scripts/dpkg-buildpackage.pl: Move most functions to end of file
3620 to allow better reading of the program flow. This is a remnant of
3621 the shell script past.
3622
3623 2008-01-19 Raphaël Hertzog <hertzog@debian.org>
3624
3625 * scripts/dpkg-buildpackage.pl: Use
3626 Dpkg::Changelog::parse_changelog() instead of calling
3627 dpkg-parsechangelog.
3628
3629 * scripts/dpkg-checkbuilddeps.pl: Fix a bug left-over from the
3630 switch to Dpkg::Control.
3631
3632 2008-01-18 Raphaël Hertzog <hertzog@debian.org>
3633
3634 * scripts/Dpkg/Shlibs/SymbolFile.pm,
3635 scripts/Dpkg/Shlibs/Objdump.pm, scripts/Dpkg/Shlibs.pm: Update and
3636 fix many syserr(), error(), warning() and subprocerr() calls to
3637 the new style where the sprintf call is integrated. Uniformize
3638 some error messages at the same time.
3639
3640 2008-01-18 Raphaël Hertzog <hertzog@debian.org>
3641
3642 * scripts/Dpkg/Shlibs/SymbolFile.pm (load): Parse *@<version>
3643 symbols names as wildcards and not as regular symbols. They
3644 provide the same dependency information for all symbols that share
3645 the same version.
3646 * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_symbols): Use
3647 information provided by wildcards entries when new symbols are
3648 added.
3649 * scripts/dpkg-gensymbols.pl: Disable some checks which can't be
3650 done when symbols files have been generated with the help of
3651 wildcard entries.
3652 * man/dpkg-gensymbols.1: Update the manual page to explain how to
3653 use wildcard entries.
3654
3655 2008-01-18 Frank Lichtenheld <djpig@debian.org>
3656
3657 * scripts/changelog/debian.pl: Don't hide failures inside eval().
3658 * scripts/Dpkg/Changelog.pm (data2rfc822): Don't fail if argument
3659 is undef.
3660
3661 2008-01-18 Raphaël Hertzog <hertzog@debian.org>
3662
3663 * scripts/Dpkg/Changelog.pm (parse_changelog): Rewrite it completely
3664 to not call dpkg-parsechangelog but do the work of this program by
3665 itself.
3666 * scripts/dpkg-parsechangelog.pl: Rewrote it to use the enhanced
3667 parse_changelog() function.
3668 * scripts/dpkg-genchanges.pl, script/dpkg-gencontrol.pl: Adapted to use
3669 the modified parse_changelog().
3670 * scripts/dpkg-gensymbols.pl, scripts/dpkg-source.pl: Likewise.
3671
3672 * scripts/dpkg-genchanges.pl: Change logic of -si option to
3673 include the original tarball only if the current upstream version
3674 differs from the upstream version of the previous changelog entry.
3675
3676 * scripts/dpkg-genchanges.pl: Some code refactoring. Also fix the
3677 generation of the Description field to not have duplicate description
3678 in case of udeb (a single description per binary package is enough).
3679 Source only uploads will loose their Description: fields since they
3680 have no associated binary packages and Descriptions are only added
3681 for binary packages where we have a corresponding .deb to upload.
3682
3683 2008-01-18 Guillem Jover <guillem@debian.org>
3684
3685 * m4/arch.m4 (_DPKG_ARCHITECTURE): Do not use backticks inside double
3686 quotes, to support ancient shells.
3687 * m4/libs.m4 (DPKG_LIB_SELINUX): Likewise.
3688
3689 2008-01-18 Guillem Jover <guillem@debian.org>
3690
3691 * utils/start-stop-daemon.c (do_help): Coalesce mandatory options
3692 into a single paragraph, and state that at least one is required.
3693
3694 2008-01-18 Guillem Jover <guillem@debian.org>
3695
3696 * configure.ac (AC_CHECK_SIZEOF): Quote parameters.
3697
3698 2008-01-18 Guillem Jover <guillem@debian.org>
3699
3700 * THANKS: Add all the people that have contributed until now.
3701
3702 2008-01-18 Guillem Jover <guillem@debian.org>
3703
3704 * src/remove.c (ensure_pathname_nonexisting): Additionally check if
3705 errno is EEXIST after calling rmdir, per SUSv3 when the directory
3706 is not empty errno can be ENOTEMPTY or EEXIST.
3707 * src/help.c (removal_bulk_remove_files): Likewise.
3708 (removal_bulk_remove_leftover_dirs): Likewise.
3709
3710 2008-01-18 Guillem Jover <guillem@debian.org>
3711
3712 * scripts/update-alternatives.pl: Stop parsing '--test' as a valid
3713 option.
3714 ($testmode): Remove variable.
3715 (usage): Remove '--test' option help.
3716 * man/update-alternatives.8: Remove '--test' documentation.
3717
3718 2008-01-18 Guillem Jover <guillem@debian.org>
3719
3720 * utils/start-stop-daemon.c (do_help): Add missing semicolon.
3721
3722 2008-01-17 Guillem Jover <guillem@debian.org>
3723
3724 * THANKS: Convert to UTF-8.
3725
3726 2008-01-17 Guillem Jover <guillem@debian.org>
3727
3728 * utils/start-stop-daemon.c (do_help): Move version printing to ...
3729 (do_version): ... here. New function.
3730 (main): Call do_version instead of printf.
3731
3732 2008-01-17 Raphaël Hertzog <hertzog@debian.org>
3733
3734 * scripts/dpkg-source.pl: Revert to the old behaviour of not using
3735 any substvars file.
3736 * man/dpkg-source.1: Fix default value of -T parameter.
3737
3738 2008-01-17 Raphaël Hertzog <hertzog@debian.org>
3739
3740 * scripts/dpkg-genchanges.pl: Reinstate support of the ${Format}
3741 substvars.
3742
3743 2008-01-17 Samuel Thibault <samuel.thibault@ens-lyon.org>,
3744 Guillem Jover <guillem@debian.org>
3745
3746 * utils/start-stop-daemon.c (gid_in_current_groups): New function.
3747 (main): Call setuid only if requested to run as a different user
3748 than the current one. Call setgid only if requested to run as a group
3749 different than the current one, and initgroups only if the groups is
3750 not part of the supplementary groups.
3751
3752 2008-01-16 Frank Lichtenheld <djpig@debian.org>
3753
3754 * scripts/changelog/debian.pl: Restore the old default behaviour
3755 to parse STDIN. Also fix the -l option to specify a label for the
3756 parsed input, but the actual file. Still allow --file to be used for
3757 that. Use the new inhandle option of parse() to pass STDIN directly.
3758 This should be faster and removes the implicit dependency on
3759 IO::String.
3760
3761 * scripts/Dpkg/Changelog/Debian.pm (parse): Accept input in
3762 configuration item 'inhandle'. Allow overriding the name of the
3763 file (used for reporting) with configuration item 'reportfile'.
3764 * scripts/Dpkg/Changelog.pm (init): Call parse if 'inhandle' is given.
3765
3766 * scripts/dpkg-parsechangelog.pl: Remove one superfluous %s from a
3767 formatstring which was used to output $! before syserr() was used
3768 instead.
3769
3770 2008-01-16 Guillem Jover <guillem@debian.org>
3771
3772 * utils/start-stop-daemon.c (do_stop): Do not print messages when
3773 running on quiet and test modes.
3774 (run_stop_schedule): Likewise.
3775 (main): Likewise.
3776
3777 2008-01-16 Guillem Jover <guillem@debian.org>
3778
3779 * utils/start-stop-daemon.c (do_pidfile): Cache pid value over
3780 multiple calls.
3781
3782 2008-01-16 Guillem Jover <guillem@debian.org>
3783
3784 * utils/start-stop-daemon.c: Fix indentation.
3785
3786 2008-01-16 Guillem Jover <guillem@debian.org>
3787
3788 * scripts/dpkg-divert.pl: Use :errno_h from POSIX.
3789 ($enoent): Remove variable.
3790 (ENOENT): Remove function.
3791 * scripts/update-alternatives.pl: Likewise.
3792 * utils/Makefile.am (pkglib_PROGRAMS): Remove variable.
3793 (enoent_SOURCES): Likewise.
3794 * utils/enoent.c: Remove file.
3795
3796 2008-01-16 Guillem Jover <guillem@debian.org>
3797
3798 * dpkg-deb/build.c (do_build): Use NULL instead of 0.
3799 * dpkg-deb/extract.c (extracthalf, do_fsystarfile): Likewise.
3800 * dpkg-deb/info.c (info_prepare, info_spew): Likewise.
3801 (do_contents, do_field): Likewise.
3802 * dpkg-deb/main.c (cipaction, action, cmdinfos, main): Likewise.
3803 * dpkg-split/join.c (do_join): Likewise.
3804 * dpkg-split/queue.c (do_auto): Likewise.
3805 * lib/dpkg.h (standard_startup, standard_shutdown): Likewise.
3806 * src/archives.c (destroyobstack, deconfigure, addfiletolist)
3807 (tarobject, check_breaks, check_conflict, archivefiles)
3808 (newconff_append): Likewise.
3809 * src/configure.c (deferred_configure, conffderef, md5hash): Likewise.
3810 * src/depcon.c (findbreakcyclerecursive, findbreakcycle)
3811 (depisok): Likewise.
3812 * src/enquiry.c (limiteddescription, badstatinfos, unpackchk)
3813 (assertversion, assertpredep, assertepoch, assertlongfilenames)
3814 (assertmulticonrep, predeppackage, cmpversions): Likewise.
3815 * src/errors.c (reports, print_error_perpackage): Likewise.
3816 * src/filesdb.c (diversions, diversionsfile, statoverridefile)
3817 (ensure_packagefiles_available, ensure_allinstfiles_available)
3818 (write_filelist_except, reversefilelist_init, reversefilelist_next)
3819 (ensure_diversions, iterfilestart, iterfilenext, filesdbinit)
3820 (findnamenode): Likewise.
3821 * src/help.c (checkpath, ensure_package_clientdata
3822 (vbuildarglist, cu_restorescriptsignals, script_catchsignals)
3823 (clear_istobes): Likewise.
3824 * src/main.c (cipaction, ignoredepends, forceinfos)
3825 (ACTION, OBSOLETE, ACTIONBACKEND, cmdinfos)
3826 (execbackend, commandfd, main): Likewise.
3827 * src/packages.c (queuehead, add_to_queue, packages, process_queue)
3828 (breakses_ok, dependencies_ok): Likewise.
3829 * src/processarc.c (process_archive): Likewise.
3830 * src/remove.c (deferred_remove, removal_bulk_remove_files)
3831 (removal_bulk_remove_leftover_dirs, removal_bulk_remove_configfiles)
3832 (removal_bulk): Likewise.
3833 * src/update.c (updateavailable): Likewise.
3834 * utils/start-stop-daemon.c (xgettimeofday, run_stop_schedule)
3835 (parse_options): Likewise.
3836 (pid_is_cmd, pid_is_user, pid_is_exec) [HAVE_KVM_H]: Likewise.
3837
3838 2008-01-15 Raphaël Hertzog <hertzog@debian.org>
3839
3840 * scripts/dpkg-shlibdeps.pl (filter_deps): Fix filtering of
3841 duplicated dependencies in fields of lesser priority. Dependencies
3842 coming from shlibs files have no associated version and this case
3843 wasn't handled properly.
3844 * scripts/dpkg-shlibdeps.pl: When the same binary is passed
3845 several times as parameters (associated to different fields),
3846 associate it to the most important field.
3847
3848 2008-01-14 Raphaël Hertzog <hertzog@debian.org>
3849
3850 * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
3851 scripts/dpkg-source.pl: Hint Perl into using UTF-8 for output
3852 on *.dsc, *.changes and DEBIAN/control files. Updated some open() calls
3853 for more consistency and added binmode() calls for filehandles that
3854 handle only binary data.
3855
3856 2008-01-13 Raphaël Hertzog <hertzog@debian.org>
3857
3858 * scripts/Dpkg/Fields.pm: Drop public function
3859 set_fields_importance() in favor of a method on
3860 Dpkg::Fields::Object. Integrate public function
3861 sort_field_by_importance() in the output() method where it was
3862 used.
3863 * scripts/Dpkg/Changelog.pm, scripts/dpkg-genchanges.pl,
3864 scripts/dpkg-gencontrol.pl, scripts/dpkg-source.pl: Updated to use
3865 the set_field_importance() method instead of the removed function.
3866 * scripts/Dpkg/Control.pm: Update pod documentation to refer to
3867 Dpkg::Fields::Object instead of the invalid Dpkg::Cdata::Object.
3868
3869 2008-01-13 Frank Lichtenheld <djpig@debian.org>
3870
3871 * scripts/Dpkg/Fields.pm (dump): Allow omitting the
3872 filehandle argument. If the function is called in
3873 non-void context, also remove the printed string
3874 to the caller. Together this avoids having to fiddle
3875 with filehandles if the caller doesn't want to.
3876 (output): Likewise.
3877 * scripts/Dpkg/Changelog.pm (data2rfc822): Simplify
3878 using this new behaviour.
3879
3880 * scripts/t/600_Dpkg_Changelog.t: Add a new changelog
3881 'fields' that tests the handling of the different fields
3882 in the dpkg format.
3883
3884 * scripts/Dpkg/Changelog.pm: Replace all field hashes
3885 with Dpkg::Changelog::Entry objects.
3886 (Dpkg::Changelog::Entry): Base on Dpkg::Fields::Object.
3887 (data2rfc822): Use Dpkg::Fields::Object->output and fix
3888 handling of user-defined fields.
3889 (data2rfc822_mult): Merge into data2rfc822 (autodetect
3890 whether the argument is an object or an array of object).
3891 * scripts/Dpkg/Changelog/Debian.pm: Adapt for
3892 Dpkg::Changelog::Entry changes.
3893 * scripts/t/600_Dpkg_Changelog.t: Likewise.
3894
3895 2008-01-13 Frank Lichtenheld <djpig@debian.org>
3896
3897 * man/dpkg-parsechangelog.1: Document the new command line options.
3898
3899 2008-01-12 Raphaël Hertzog <hertzog@debian.org>
3900
3901 * man/dpkg-shlibdeps.1: Fix a typo reported by Helge Kreutzmann.
3902
3903 2008-01-12 Raphael hertzog <hertzog@debian.org>
3904
3905 * scripts/Dpkg/Fields.pm, scripts/dpkg-source.pl: Add support of
3906 Dm-Upload-Allowed field. It automatically ends up in the dsc.
3907
3908 2008-01-12 Raphael hertzog <hertzog@debian.org>
3909
3910 * scripts/Dpkg/Fields.pm: Define variables containing
3911 authoritative list of fields for debian/control (one for source
3912 stanza, one for package stanza).
3913 * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
3914 scripts/dpkg-source.pl: Use the new variables to properly ignore
3915 valid fields. Some related cleanup.
3916
3917 2008-01-11 Raphaël Hertzog <hertzog@debian.org>
3918
3919 * scripts/dpkg-gencontrol.pl: Also force version in ${binary:Version}
3920 if dpkg-gencontrol -v<version> is used. That way we're consistent
3921 with the definition of that variable in deb-substvars(5).
3922
3923 2008-01-10 Raphaël Hertzog <hertzog@debian.org>
3924
3925 * man/dpkg-source.1: Explain better the first parameter of the '-b'
3926 option.
3927
3928 2008-01-10 Raphaël Hertzog <hertzog@debian.org>
3929
3930 * debian/control: Add a "Breaks: dpkg-dev (= 1.14.13),
3931 dpkg-dev (= 1.14.14)" on dpkg to force upgrade of those dpkg-dev
3932 versions that would break with the move of the compression related
3933 variables from Dpkg.pm into Dpkg/Compression.pm.
3934
3935 2008-01-08 Raphaël Hertzog <hertzog@debian.org>
3936
3937 * scripts/Dpkg/Version.pm: Import missing error function from
3938 Dpkg::ErrorHandling.
3939
3940 * scripts/po/POTFILES.in: Add many modules containing translatable
3941 strings.
3942
3943 * scripts/Dpkg/Changelog.pm (parse_changelog): New function to
3944 replace controllib's parsechangelog.
3945
3946 * scripts/dpkg-buildpackage.pl, scripts/dpkg-checkbuilddeps.pl,
3947 scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
3948 scripts/dpkg-gensymbols.pl, scripts/dpkg-source.pl: Update scripts to
3949 use Dpkg::Changelog::parse_changelog instead of the old controllib.pl's
3950 parsechangelog. With this last change controllib.pl is no more used by
3951 any script.
3952
3953 * scripts/controllib.pl: Removed as it's no more used by any
3954 script.
3955
3956 * debian/dpkg-dev.install: Add missing modules.
3957
3958 2008-01-08 Frank Lichtenheld <djpig@debian.org>
3959
3960 * scripts/dpkg-parsechangelog.pl: Make the
3961 -L option actually work (it's only been eleven
3962 years...)
3963
3964 * scripts/Dpkg/ErrorHandling.pm (report): export.
3965
3966 2008-01-08 Raphaël Hertzog <hertzog@debian.org>
3967
3968 * scripts/Dpkg/Cdata.pm, scripts/Dpkg/Control.pm: Add two new
3969 module to parse and manipulate files like debian/control.
3970 * scripts/t/600_Dpkg_Control.t,
3971 scripts/t/600_Dpkg_Control/control-1: Add non-regression tests for
3972 Dpkg::Control and Dpkg::Cdata.
3973 * scripts/dpkg-checkbuilddeps.pl, scripts/dpkg-genchanges.pl,
3974 scripts/dpkg-gencontrol.pl, scripts/dpkg-gensymbols.pl,
3975 scripts/dpkg-shlibdeps.pl, scripts/dpkg-source.pl: Update scripts
3976 to use the new modules Dpkg::Cdata, Dpkg::Control,
3977 Dpkg::Fields::Object and Dpkg::Substvars.
3978
3979 * scripts/Dpkg/Version.pm (check_version): New function replacing
3980 checkversion of controllib.pl.
3981 * scripts/dpkg-source.pl, scripts/dpkg-buildpackage.pl: Use the
3982 new check_version.
3983
3984 * scripts/Dpkg/Vars.pm (set_source_package): New function to set
3985 and check the global variable $sourcepackage (replacing
3986 controllib's setsourcepackage).
3987 * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
3988 scripts/dpkg-source.pl: Use the new set_source_package.
3989
3990 * scripts/dpkg-distaddfile.pl, scripts/dpkg-gencontrol.pl: Delete
3991 the chown(getfowner(), ...) on new files. It doesn't seem to do
3992 anything useful anymore as it got dropped from several other
3993 scripts over the years without problems.
3994
3995 * scripts/dpkg-source.pl: Integrate readmd5sum from controllib here
3996 as it's the only user of that function.
3997
3998 * scripts/controllib.pl: Get rid of everything except
3999 parsechangelog and its dependencies (parsecdata, syntax) that are
4000 still needed.
4001
4002 * scripts/Makefile.am: Include all the new files in the
4003 distributed tarball.
4004
4005 2008-01-08 Raphaël Hertzog <hertzog@debian.org>
4006
4007 * scripts/Dpkg/ErrorHandling.pm (syntaxerr): New function to
4008 replace the syntax() function in controllib.pl.
4009
4010 2008-01-07 Guillem Jover <guillem@debian.org>
4011
4012 * scripts/dpkg-genchanges.pl: Ignore Homepage field in binary package
4013 stanzas.
4014 * scripts/dpkg-source.pl: Likewise.
4015
4016 2008-01-07 Guillem Jover <guillem@debian.org>
4017
4018 * scripts/dpkg-checkbuilddeps.pl: Remove unused $dep_regex.
4019
4020 2008-01-07 Guillem Jover <guillem@debian.org>
4021
4022 * scripts/dpkg-checkbuilddeps.pl: Add build-essential as an implicit
4023 Build-Depends.
4024
4025 2008-01-07 Guillem Jover <guillem@debian.org>
4026
4027 * configure.ac: Bump version to 1.14.16~.
4028
4029 2008-01-07 Guillem Jover <guillem@debian.org>
4030
4031 * configure.ac: Release 1.14.15.
4032
4033 2008-01-07 Guillem Jover <guillem@debian.org>
4034
4035 * src/archives.c (archivefiles): Use arglist instead of narglist.
4036
4037 2008-01-07 Guillem Jover <guillem@debian.org>
4038
4039 * lib/nfmalloc.c (nfmalloc): Remove inline keyword as extern inline
4040 changes semantics from GNU C to C99.
4041 * lib/varbuf.c (varbufaddc): Likewise.
4042
4043 2008-01-07 Guillem Jover <guillem@debian.org>
4044
4045 * dpkg-deb/extract.c (extracthalf): Move negative member length check
4046 to ...
4047 (parseheaderlength): ... here. Change return type to size_t. Change
4048 variable r to ssize_t. Use strtol instead of strtoul to easily catch
4049 negative values.
4050 * dpkg-deb/info.c (info_spew): Use %zu in a format string instead of
4051 %lu to print pathlen, a size_t variable.
4052 * dpkg-split/queue.c (do_auto): Change j from unsigned int to int.
4053 Cast j to unsigned int when comparing it to i.
4054 * lib/varbuf.c (varbufprintf): Change ou from unsigned int to size_t.
4055 Change r from unsigned int to int. Cast value compared to r to int.
4056 (varbufprintf): Likewise.
4057 * src/archives.c (tarobject): Change r from size_t to ssize_t.
4058 Cast r to size_t when comparing it to symlinkfn.size.
4059 * src/main.c (setforce): Cast string difference to size_t instead of
4060 int.
4061 * utils/start-stop-daemon.c (parse_schedule): Change str_len from
4062 ptrdiff_t to size_t. Cast string difference to size_t instead of
4063 ptrdiff_t. Remove ptrdiff_t cast to sizeof.
4064
4065 2008-01-07 Guillem Jover <guillem@debian.org>
4066
4067 * scripts/Dpkg/BuildOptions.pm (set): Parse all options separated
4068 by spaces or comma, do not lowercase the option names, do not match
4069 on name substrings, and on recognized options with invalid values
4070 discard the value or the entire option.
4071 * scripts/t/300_Dpkg_BuildOptions.t: Adjust test suite.
4072
4073 2008-01-06 Raphaël Hertzog <hertzog@debian.org>
4074
4075 * man/deb-control.5: Explain better the ordering of call of
4076 postinst/prerm during installations and removal between a package
4077 and its dependencies.
4078
4079 2008-01-06 Raphaël Hertzog <hertzog@debian.org>
4080
4081 * scripts/Dpkg/Shlibs/Objdump.pm: Also retrieve dynamic relocation
4082 records from objdump by adding the -R option. Use this information
4083 to mark symbols affected by R_*_COPY relocations as undefined.
4084 They are initialized by the loader with values searched in the
4085 needed libraries.
4086
4087 * scripts/Dpkg/BuildOptions.pm (set): Change the default value of
4088 the overwrite parameter to 1. The only use of this function in
4089 dpkg-buildpackage is missing the parameter and actually wants to
4090 overwrite the whole variable.
4091 * scripts/t/300_Dpkg_BuildOptions.t: Adjust the test suite for this
4092 change.
4093
4094 2008-01-04 Raphaël Hertzog <hertzog@debian.org>
4095
4096 * scripts/Dpkg/Shlibs/SymbolFile.pm: Replace #DEPRECATED by
4097 #MISSING in the output and recognize both while parsing. People
4098 understand better that way.
4099
4100 2008-01-03 Raphaël Hertzog <hertzog@debian.org>
4101
4102 * scripts/dpkg-shlibdeps.pl (find_symbols_file): When libraries
4103 are found in non-packaged files, first try to find the
4104 corresponding symbols file in the build tree containing that
4105 library. On the opposite, don't look up symbols files in debian/*
4106 build directories for libraries found in installed packages (build
4107 trees are scanned first and thus if they contain a needed library
4108 dpkg-shlibdeps will find the library there and not in an installed
4109 package).
4110 * scripts/dpkg-shlibdeps.pl (my_find_library): When defining the
4111 list of package build trees to scan, also consider those that
4112 contain symbols files (instead of only considering those that have
4113 a shlibs file).
4114 * man/dpkg-shlibdeps.1: Document the change listed above.
4115
4116 * scripts/dpkg-shlibdeps.pl: Add a new -S<pkgbuilddir> option to
4117 indicate a package build tree that should be scanned first when
4118 trying to find a library.
4119 * man/dpkg-shlibdeps.1: Document the new -S option.
4120
4121 * scripts/dpkg-shlibdeps.pl (add_shlibs_dep): Use the same logic
4122 as find_symbols_files to find shlibs files. Check
4123 debian/*/DEBIAN/shlibs only when the library has not been found in
4124 an installed package, and give precedence to the shlibs provided
4125 by the binary package where the library has been found. Replaces
4126 the previous work-around that gave precedence to the package
4127 that contained the binary.
4128 * man/dpkg-shlibdeps.1: Document the above change in the shlibs
4129 search order.
4130
4131 2008-01-03 Guillem Jover <guillem@debian.org>
4132
4133 * scripts/dpkg-buildpackage.pl: Do not automatically enable '-j'
4134 if DEB_BUILD_OPTIONS contains parallel=n, and allow overriding
4135 its value from the environment.
4136 * man/dpkg-buildpackage.1: Document new -j behaviour.
4137
4138 2008-01-02 Guillem Jover <guillem@debian.org>
4139
4140 * utils/start-stop-daemon.c [!__GNUC__] (fatal, badusage): Remove
4141 redundant function declarations.
4142
4143 2008-01-02 Guillem Jover <guillem@debian.org>
4144
4145 * src/main.h (struct stat): New forward declaration.
4146
4147 2008-01-02 Guillem Jover <guillem@debian.org>
4148
4149 * lib/dpkg.h (warningf): Add PRINTFFORMAT attribute.
4150 (buffer_copy_setup_PtrInt): Likewise.
4151 (buffer_copy_setup_PtrPtr): Likewise.
4152 (buffer_copy_setup_IntPtr): Likewise.
4153 (buffer_copy_setup_IntInt): Likewise.
4154 (decompress_cat): Likewise.
4155 (compress_cat): Likewise.
4156 * lib/dpkg-db.h (log_message): Likewise.
4157
4158 2008-01-02 Guillem Jover <guillem@debian.org>
4159
4160 * lib/dpkg.h (NONRETURNPRINTFFORMAT): Remove macro.
4161 (ohshit): Use NONRETURNING and PRINTFFORMAT instead of
4162 NONRETURNPRINTFFORMAT.
4163 (ohshite): Likewise.
4164 (badusage): Likewise.
4165 * utils/start-stop-daemon.c (NONRETURNPRINTFFORMAT): Remove macro.
4166 (fatal): Use NONRETURNING and PRINTFFORMAT instead of
4167 NONRETURNPRINTFFORMAT.
4168
4169 2008-01-01 Guillem Jover <guillem@debian.org>
4170
4171 * scripts/dpkg-buildpackage.pl: Use Dpkg::Compression. Use $comp_regex
4172 to match compressed diffs and tarballs.
4173
4174 2008-01-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4175
4176 * utils/start-stop-daemon.c (do_stop): Do not print 'failed to kill'
4177 warning when doing pid polling.
4178
4179 2008-01-01 Guillem Jover <guillem@debian.org>
4180
4181 * src/archives.c (archivefiles): Remove pointless strdup for execvp
4182 arguments.
4183
4184 2008-01-01 Ian Zimmerman <itz@buug.org>
4185
4186 * scripts/install-info.pl: Ignore wrapped lines when matching
4187 section titles.
4188
4189 2008-01-01 John Zaitseff <J.Zaitseff@zap.org.au>
4190
4191 * dselect/baselist.cc (baselist::wordwrapinfo): Stop processing when
4192 exceeding infopad line limit, and add a warning message.
4193
4194 2008-01-01 Sven Rudolph <sr1@loom.sax.de>
4195
4196 * dselect/baselist.cc (baselist::startdisplay): Set helpscreen_attr
4197 on monochrome terminals.
4198
4199 2007-12-30 A. Costa <agcosta@gis.net>
4200
4201 * man/dpkg-gensymbols.1, man/dpkg-shlibdeps.1: Fix some typos.
4202 * man/dpkg-source.1, man/deb-symbols.5: Likewise.
4203
4204 2007-12-28 Raphaël Hertzog <hertzog@debian.org>
4205
4206 * scripts/Dpkg.pm: Add a warning to avoid adding unnecessary stuff
4207 in that module.
4208
4209 2007-12-27 Guillem Jover <guillem@debian.org>
4210
4211 * scripts/Dpkg.pm (%EXPORT_TAGS, @EXPORT_OK): Remove.
4212 (@comp_supported, %comp_supported, %comp_ext, $comp_regex): Move
4213 variables ...
4214 * scripts/Dpkg/Compression.pm: ... here. New file.
4215 * scripts/dpkg-genchanges.pl: Use new module Dpkg::Compression
4216 instead of tag from Dpkg.
4217 * scripts/dpkg-source.pl: Likewise
4218 * scripts/Makefile.am (nobase_dist_perllib_DATA): Add
4219 'Dpkg/Compression.pm'.
4220
4221 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
4222
4223 * scripts/Dpkg/Shlibs/SymbolFile.pm: Blacklist some armel specific
4224 symbols (__exidx_end, __exidx_start).
4225
4226 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
4227
4228 * Makefile.am: Add some missing files in EXTRA_DIST. And add a
4229 dist-hook rule to check that all files contained in the git
4230 repository (except .gitignore) are included in the dist tarball.
4231
4232 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
4233
4234 * configure.ac: Bump version to 1.14.15~.
4235
4236 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
4237
4238 * configure.ac: Release 1.14.14.
4239
4240 2007-12-27 Raphaël Hertzog <hertzog@debian.org>
4241
4242 * debian/control: Bump dpkg dependency to >= 1.14.13 in dpkg-dev
4243 as dpkg-source needs the latest Dpkg.pm.
4244 * debian/control: Add libio-string-perl to Build-Depends as it's
4245 needed for a non-regression test (200_Dpkg_Shlibs.t).
4246 * debian/control: Fix priority of dselect to match the priority
4247 set by ftpmasters.
4248
4249 2007-12-27 Guillem Jover <guillem@debian.org>
4250
4251 * configure.ac: Bump version to 1.14.14~.
4252
4253 2007-12-27 Guillem Jover <guillem@debian.org>
4254
4255 * configure.ac: Release 1.14.13.
4256
4257 2007-12-27 Flavio Stanchina <flavio@stanchina.net>
4258
4259 * scripts/dpkg-divert.pl (checkrename): Do not ignore ENOENT for
4260 destination.
4261
4262 2007-12-27 Daniel Leidert <daniel.leidert@wgdd.de>
4263 Guillem Jover <guillem@debian.org>
4264
4265 * scripts/update-alternatives.pl: Refactor duplicate code into ...
4266 (checked_alternative): ... here. New function.
4267 (set_links): Call it.
4268
4269 2007-12-27 Guillem Jover <guillem@debian.org>
4270
4271 * scripts/update-alternatives.pl (gl): Use defined instead of length.
4272
4273 2007-12-27 Guillem Jover <guillem@debian.org>
4274
4275 * scripts/update-alternatives.pl (set_links): New function.
4276 (config_alternatives): Use set_links instead of duped code.
4277 (set_alternatives): Likewise.
4278
4279 2007-12-27 Guillem Jover <guillem@debian.org>
4280
4281 * scripts/update-alternatives.pl: Refactor all code to use
4282 checked_mv instead of duped code.
4283
4284 2007-12-27 Guillem Jover <guillem@debian.org>
4285
4286 * scripts/update-alternatives.pl: Refactor all code to use
4287 checked_symlink instead of duped code.
4288
4289 2007-12-27 Guillem Jover <guillem@debian.org>
4290
4291 * scripts/update-alternatives.pl (checked_rm): New function. Refactor
4292 all code to use it instead of duped code.
4293
4294 2007-12-26 Raphaël Hertzog <hertzog@debian.org>
4295
4296 * scripts/dpkg-source.pl: Provide a sane default $origtargz in all
4297 cases when such a file exists.
4298
4299 2007-12-24 Guillem Jover <guillem@debian.org>
4300
4301 * man/Makefile.am (all-local): Rename to ...
4302 (all-local-yes): ... this.
4303 (clean-local): Rename to ...
4304 (clean-local-yes): ... this.
4305 (install-data-local): Rename to ...
4306 (install-data-local-yes): ... this.
4307 (uninstall-local): Rename to ...
4308 (uninstall-local-yes): ... this.
4309 (all-local, all-local-no, clean-local, clean-local-no): New targets.
4310 (install-data-local, install-data-local-no): Likewise.
4311 (uninstall-local, uninstall-local-no): Likewise.
4312
4313 2007-12-20 Raphaël Hertzog <hertzog@debian.org>
4314
4315 * scripts/dpkg-shlibdeps.pl: Always consider the shlibs of the
4316 current package before the shlibs of other binary packages when
4317 looking for a dependency.
4318
4319 2007-12-13 Raphaël Hertzog <hertzog@debian.org>
4320
4321 * scripts/t/500_Dpkg_Path.t, scripts/Makefile.am: Add new
4322 non-regression tests for functions provided by the Dpkg::Path
4323 module.
4324
4325 2007-12-12 Guillem Jover <guillem@debian.org>
4326
4327 * scripts/dpkg-genchanges.pl: Fix typo for syserr().
4328
4329 2007-12-12 Guillem Jover <guillem@debian.org>
4330
4331 * scripts/dpkg-gencontrol.pl (spfileslistvalue): Use || to fallback to
4332 a default value instead of using a temporary variable and checking if
4333 it's not defined.
4334
4335 2007-12-12 Guillem Jover <guillem@debian.org>
4336
4337 * scripts/dpkg-genchanges.pl: Use ||= instead of checking if the
4338 variables are not defined.
4339 * scripts/dpkg-gencontrol.pl: Likewise.
4340 * scripts/update-alternatives.pl (fill_missing_slavepaths): Likewise.
4341
4342 2007-12-11 Raphaël Hertzog <hertzog@debian.org>
4343
4344 * scripts/Dpkg/Deps.pm: Add a compare function that compares
4345 dependencies more intelligently than a comparison on their
4346 string representation. In particular we want >= and >> to sort
4347 lower than << and <= so that intervals are nicely displayed
4348 as "a (>= 1), a (<< 2)" instead of the ugly "a (<< 2), a (>= 1)".
4349
4350 2007-12-10 Raphaël Hertzog <hertzog@debian.org>
4351
4352 * README.translators: Explain how to format Git commit messages.
4353
4354 2007-12-10 Raphaël Hertzog <hertzog@debian.org>
4355
4356 * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_symbols): Do not update
4357 the deprecated version of a symbol if it is already marked
4358 deprecated.
4359
4360 2007-12-09 Raphaël Hertzog <hertzog@debian.org>
4361
4362 * scripts/Dpkg/Shlibs/SymbolFile.pm: Parse and dump properly
4363 new meta-information fields (on lines starting with an asterisk).
4364 Bugfix with alternate dependency handling that were not properly
4365 dumped. New functions get_dependencies() and get_field().
4366 * scripts/t/200_Dpkg_Shlibs.t,
4367 scripts/t/200_Dpkg_Shlibs/symbols.fake-2: Add a test case to
4368 verify that meta-information fields and alternate dependencies are
4369 properly parsed and dumped.
4370 * scripts/dpkg-shlibdeps.pl: Take into account the new
4371 Build-Depends-Package field in symbols files.
4372 * man/deb-symbols.5: Describe syntax of meta-information fields and
4373 document the Build-Depends-Package field.
4374 * man/dpkg-shlibdeps.1: Describe how the Build-Depends-Package field
4375 of symbols file is used.
4376
4377 2007-12-09 Raphaël Hertzog <hertzog@debian.org>
4378
4379 * scripts/Dpkg/Shlibs/SymbolFile.pm (load): Pass the current
4380 object as last parameter so that included files do not need to
4381 repeat the header line.
4382 * scripts/t/200_Dpkg_Shlibs/symbols.fake-1,
4383 scripts/t/200_Dpkg_Shlibs/symbols.include-1: Adjust some tests
4384 to also test inclusions with included files lacking a header line.
4385 * man/dpkg-gensymbols.1: Remove the restriction that included files
4386 must be valid symbol files on their own.
4387
4388 2007-12-08 Raphaël Hertzog <hertzog@debian.org>
4389
4390 * scripts/dpkg-shlibdeps.pl: Doesn't warn any more about libm.so.6
4391 being unused if the binary is also linked against libstdc++ since
4392 g++ always add an implicit -lm.
4393
4394 2007-12-08 Raphaël Hertzog <hertzog@debian.org>
4395
4396 * scripts/Dpkg/Shlibs.pm (find_library): When it finds a library
4397 in a directory which is just a symlink to another directory that
4398 is also considered, remember the other directory name as the
4399 canonical one.
4400 * scripts/Dpkg/Path.pm: Add new function canonpath() and
4401 resolve_symlink().
4402
4403 2007-12-05 Frank Lichtenheld <djpig@debian.org>
4404
4405 * scripts/dpkg-buildpackage.pl: Add new
4406 -A option (passed to dpkg-genchanges).
4407 * scripts/dpkg-genchanges.pl: Add new -A
4408 option that will include only arch-indep
4409 packages into the upload.
4410
4411 2007-12-05 Frank Lichtenheld <djpig@debian.org>
4412 Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
4413 Bastian Blank <waldi@debian.org>
4414
4415 * scripts/dpkg-genchanges.pl: Support more
4416 than one arch and more than one type of
4417 a package in debian/files.
4418
4419 2007-12-04 Frank Lichtenheld <djpig@debian.org>
4420
4421 * dpkg-deb/info.c (info_spew): Replace a
4422 %ld with %lu to fix compiler warning.
4423
4424 * scripts/dpkg-genchanges.pl: Use comp_regex
4425 from Dpkg to correctly exlucde the .orig.tar
4426 even if it is not compressed with gzip.
4427
4428 * scripts/dpkg-source.pl: Move definition
4429 of @comp_supported, %comp_supported, %comp_ext,
4430 $comp_regex to...
4431 * scripts/Dpkg.pm: ...here. Make them exportable
4432 via the :compression tag.
4433
4434 * scripts/Dpkg/ErrorHandling.pm (usageerr):
4435 Support format strings like all the other
4436 error reporting functions.
4437
4438 * scripts/Makefile.am (EXTRA_DIST): Add
4439 missing files from scripts/t/.
4440
4441 * debian/rules: Call dh_installchangelogs
4442 and dh_installdocs for all packages instead
4443 of only for dpkg.
4444 * debian/dpkg-dev.docs: Symlink to dpkg.docs.
4445 * debian/dselect.docs: Likewise.
4446 * debian/dpkg-dev.preinst: Remove
4447 /usr/share/doc/dpkg-dev symlink on upgrade.
4448 * debian/dselect.preinst: Likewise.
4449
4450 2007-11-29 Frank Lichtenheld <djpig@debian.org>
4451
4452 * scripts/controllib.pl (parsecdata): Fix
4453 regex to determine the field name correctly
4454 if the field's value starts with a colon.
4455
4456 2007-11-29 Frank Lichtenheld <djpig@debian.org>
4457
4458 * man/deb-control.5: Move description of version format to...
4459 * man/deb-version.5: Take the section from policy describing version
4460 format and sorting since this is probably as good as it gets for
4461 describing these.
4462
4463 2007-11-29 Guillem Jover <guillem@debian.org>
4464
4465 * configure.ac: Bump version to 1.14.13~.
4466
4467 2007-11-29 Guillem Jover <guillem@debian.org>
4468
4469 * configure.ac: Release 1.14.12.
4470
4471 2007-11-29 Guillem Jover <guillem@debian.org>
4472
4473 * scripts/dpkg-scanpackages.pl: Use Dpkg::Version.
4474 (vercmp): Use compare_versions instead of 'dpkg --compare-versions'.
4475
4476 2007-11-29 Guillem Jover <guillem@debian.org>
4477
4478 * scripts/dpkg-scanpackages.pl: Use Dpkg::ErrorHandling. Use error
4479 syserr and subprocerr instead of die and sprintf.
4480 (load_override): Likewise.
4481
4482 2007-11-29 Guillem Jover <guillem@debian.org>
4483
4484 * scripts/dpkg-gencontrol.pl: Unify parsing of Section and Priority
4485 fields with Homepage.
4486 (%spvalue, %spdefault): Remove unused variables.
4487 (spfileslistvalue): Use %f instead of %spvalue.
4488
4489 2007-11-29 Guillem Jover <guillem@debian.org>
4490
4491 * scripts/dpkg-gencontrol.pl (spfileslistvalue): Add prototype. Move
4492 to the top of the file with the other functions.
4493
4494 2007-11-29 Guillem Jover <guillem@debian.org>
4495
4496 * src/main.c (log_file): Move definition to ...
4497 * lib/dpkg-db.h: ... here.
4498 * src/configure.c (status_pipes): Remove extern definition.
4499 * src/errors.c (status_pipes): Likewise.
4500 * lib/tarfn.c (TarExtractor): Do not declare as extern.
4501
4502 2007-11-29 Guillem Jover <guillem@debian.org>
4503
4504 * dpkg-deb/build.c (arbitrary_fields): Define as static.
4505 * lib/dbmodify.c (fnis): Likewise.
4506 * lib/fields.c (conffvalue_lastword): Likewise.
4507 * lib/tarfn.c (StoC): Likewise.
4508 * src/packages.c (breaks_check_target): Likewise.
4509 * utils/start-stop-daemon.c (siglist): Likewise.
4510
4511 2007-11-28 Raphaël Hertzog <hertzog@debian.org>
4512
4513 * scripts/dpkg-gensymbols.pl: The environment variable
4514 DPKG_GENSYMBOLS_CHECK_LEVEL can override the level of checks made
4515 by dpkg-gensymbols. This offers the possibility to unofficial
4516 ports to ignore errors due to symbols files that do not correspond.
4517
4518 2007-11-28 Raphaël Hertzog <hertzog@debian.org>
4519
4520 * scripts/dpkg-shlibdeps.pl: Harmonize a failure message.
4521 * man/dpkg-shlibdeps.1: Provide explanations concerning the two
4522 failures that dpkg-shlibdeps might generate. This is needed so
4523 that maintainers have an idea of what to do to fix the problems.
4524
4525 2007-11-28 Raphaël Hertzog <hertzog@debian.org>
4526
4527 * scripts/dpkg-shlibdeps.pl: Do not fail if it
4528 can't find unversioned libraries, just output a warning.
4529 Consequently skip the check on symbols when some libs were not
4530 found because one can not be sure that the symbols was not
4531 provided by the missing library.
4532
4533 2007-11-28 Raphaël Hertzog <hertzog@debian.org>
4534
4535 * scripts/dpkg-shlibdeps.pl (find_packages): Make sure to always
4536 return [''] for a miss in the 'dpkg -S' query.
4537 * scripts/dpkg-shlibdeps.pl: Always try the realpath($lib) as
4538 fallback to identify the package (even if it's not a symlink)
4539 because due to broken RPATH we might get library filenames such as
4540 "/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libssl.so.9.8"
4541 which is not a symlink and which can still be simplified to
4542 "/usr/lib/libssl.so.9.8" with realpath().
4543
4544 2007-11-25 Raphaël Hertzog <hertzog@debian.org>
4545
4546 * scripts/Dpkg/Shlibs.pm (find_library): Canonicalize paths before
4547 returning them as bad RPATH can lead to non-canonical paths
4548 causing us troubles in dpkg-shlibdeps.
4549 * scripts/dpkg-gensymbols.pl: Some formatting fixes.
4550 * scripts/dpkg-shlibdeps.pl: Likewise.
4551
4552 2007-11-24 Raphaël Hertzog <hertzog@debian.org>
4553
4554 * scripts/dpkg-gensymbols.pl: Add a new -I<file> option to force
4555 the usage of a specific file as basis for the generated symbols
4556 file.
4557 * man/dpkg-gensymbols.1: Document the new -I<file> option.
4558
4559 2007-11-24 Guillem Jover <guillem@debian.org>
4560
4561 * configure.ac: Bump version to 1.14.12~.
4562
4563 2007-11-24 Guillem Jover <guillem@debian.org>
4564
4565 * configure.ac: Release 1.14.11.
4566
4567 2007-11-24 Guillem Jover <guillem@debian.org>
4568
4569 * scripts/Makefile.am (clean-local): Run chmod only if t.tmp exists.
4570
4571 2007-11-24 Guillem Jover <guillem@debian.org>
4572
4573 * scripts/dpkg-scanpackages.pl (%vercache): Declare with 'my' instead
4574 of 'our'.
4575 * scripts/dpkg-shlibdeps.pl ($host_arch): Likewise.
4576
4577 2007-11-24 Guillem Jover <guillem@debian.org>
4578
4579 * scripts/Dpkg/Arch.pm (get_raw_host_arch): Do not shadow
4580 $gcc_host_gnu_type with a local variable.
4581
4582 2007-11-24 Guillem Jover <guillem@debian.org>
4583
4584 * scripts/dpkg-scanpackages.pl: Use parenthesis to force the
4585 precedence when checking if the specified override file exists.
4586
4587 2007-11-24 Guillem Jover <guillem@debian.org>
4588
4589 * scripts/dpkg-scanpackages.pl: Do not require controllib.pl anymore.
4590
4591 2007-11-23 Aaron M. Ucko <ucko@debian.org>
4592
4593 * scripts/dpkg-shlibdeps.pl: Optimize "dpkg -S" lookups by caching
4594 results.
4595
4596 2007-11-23 Raphaël Hertzog <hertzog@debian.org>
4597
4598 * scripts/dpkg-shlibdeps.pl: Limit the number of warnings
4599 displayed about symbols not found in libraries to 10 per binary.
4600
4601 2007-11-23 Raphaël Hertzog <hertzog@debian.org>
4602
4603 * scripts/dpkg-shlibdeps.pl: Look for libs in the package's build
4604 tree even if that package doesn't contain an shlibs file. Then
4605 don't complain about missing dependency information if the lib is in
4606 the same package than the binary. Also ignore it if the library is
4607 not versioned and can't have an shlibs file.
4608 * scripts/Dpkg/Path.pm (guess_pkg_root_dir)
4609 (check_files_are_the_same): New helper functions.
4610
4611 2007-11-23 Guillem Jover <guillem@debian.org>
4612
4613 * configure.ac: Bump version to 1.14.11~.
4614
4615 2007-11-23 Guillem Jover <guillem@debian.org>
4616
4617 * configure.ac: Release 1.14.10.
4618
4619 2007-11-23 Guillem Jover <guillem@debian.org>
4620
4621 * scripts/Dpkg/Arch.pm (get_build_arch): Rename to ...
4622 (get_raw_build_arch): ... this.
4623 (get_build_arch): New function.
4624 (get_host_arch): Rename to ...
4625 (get_raw_host_arch): ... this. Use get_raw_build_arch instead of
4626 get_build_arch.
4627 (get_host_arch): New function.
4628 (@EXPORT_OK): Add get_raw_build_arch and get_raw_host_arch.
4629 * scripts/dpkg-architecture.pl: Import get_raw_build_arch and
4630 get_raw_host_arch instead of get_build_arch and get_host_arch.
4631 Fix all callers.
4632
4633 2007-11-23 Guillem Jover <guillem@debian.org>
4634
4635 * scripts/dpkg-architecture.pl (%env): Rename to ...
4636 (%v): ... this.
4637 ($deb_build_arch, $deb_build_arch_os, $deb_build_arch_cpu)
4638 ($deb_build_gnu_cpu, deb_build_gnu_system, deb_build_gnu_type)
4639 ($deb_host_arch, $deb_host_arch_os, $deb_host_arch_cpu)
4640 ($deb_host_gnu_cpu, $deb_host_gnu_system, $deb_host_gnu_type): Use
4641 the %v hash to store those variables using the values from @ordered
4642 as keys.
4643 ($abi): New variable.
4644
4645 2007-11-23 Guillem Jover <guillem@debian.org>
4646
4647 * scripts/dpkg-gensymbols.pl (@librarypaths): Remove duplicated
4648 declaration.
4649
4650 2007-11-23 Guillem Jover <guillem@debian.org>
4651
4652 * scripts/Dpkg/Fields.pm (%fieldimps): Declare with 'my' instead
4653 of 'our'.
4654
4655 2007-11-22 Guillem Jover <guillem@debian.org>
4656
4657 * scripts/dpkg-name.sh (getname): Get the package extension from the
4658 Package-Type field, or fallback to deb if not present.
4659 * man/dpkg-name.1: Document that the Package-Type field is now
4660 supported.
4661
4662 2007-11-22 Raphaël Hertzog <hertzog@debian.org>
4663
4664 * scripts/dpkg-shlibdeps.pl: Add more debug messages. Accept empty
4665 dependencies in shlibs files again. When symlinks to libraries are
4666 not found by "dpkg -S", try the same on the realpath of the
4667 library as fallback before deciding that it's a library being
4668 built.
4669 * scripts/Dpkg/Shlibs.pm: Always add paths from LD_LIBRARY_PATH
4670 at the beginning of the list of path to search, even if they
4671 are already listed (one might want to use LD_LIBRARY_PATH to
4672 change the search order).
4673 * scripts/dpkg-source.pl: Fix regex used to identify the extension
4674 of the orig.tar.{gz,bz2,lzma} file.
4675
4676 2007-11-21 Raphaël Hertzog <hertzog@debian.org>
4677
4678 * scripts/Dpkg/Shlibs/Objdump.pm (reset): Initialize HASH, GNU_HASH,
4679 SONAME and flags.
4680 (is_executable, is_public_library): Fix the checks.
4681 * scripts/t/200_Dpkg_Shlibs.t: Add some more tests to make sure
4682 the above functions behave as expected.
4683 * scripts/t/400_Dpkg_Deps.t: Add some more tests to make sure that
4684 empty dependency fields are correctly handled.
4685 * scripts/t/200_Dpkg_Shlibs/objdump.dbd-pg: New file.
4686 * scripts/t/200_Dpkg_Shlibs/objdump.ls: Likewise.
4687 * scripts/Makefile.am (EXTRA_DIST): Include
4688 't/200_Dpkg_Shlibs/objdump.dbd-pg' and 't/200_Dpkg_Shlibs/objdump.ls'.
4689 * scripts/controllib.pl (capit, set_field_importance)
4690 (sort_by_field_importance): Move functions to ...
4691 * scrips/Dpkg/Fields.pm: ... here. New file.
4692 * scripts/dpkg-shlibdeps.pl: Use Dpkg::Fields for capit().
4693 * scripts/dpkg-genchanges.pl: Use Dpkg::Fields for capit() and
4694 set_field_importance().
4695 * scripts/dpkg-gencontrol.pl: Likewise.
4696 * scripts/dpkg-source.pl: Likewise.
4697
4698 2007-11-20 Guillem Jover <guillem@debian.org>
4699
4700 * configure.ac: Bump version to 1.14.10~.
4701
4702 2007-11-20 Guillem Jover <guillem@debian.org>
4703
4704 * configure.ac: Release 1.14.9.
4705
4706 2007-11-19 Raphaël Hertzog <hertzog@debian.org>
4707
4708 * scripts/Dpkg/Path.pm: Fix behaviour of get_pkg_root_dir() when
4709 there's no DEBIAN subdirectory in none of the parent directories.
4710 * scripts/dpkg-shlibdeps.pl: Handle undef values returned by
4711 get_pkg_root_dir() and complain when it's likely to create a
4712 problem (when a RPATH contains $ORIGIN and when the value of
4713 this variable can't be determined because we don't know what
4714 is the root directory of the temporary tree).
4715 * scripts/Dpkg/Deps.pm: Fix parse() to handle empty fields instead
4716 of returning undef.
4717
4718 2007-11-19 Guillem Jover <guillem@debian.org>
4719
4720 * configure.ac: Bump version to 1.14.9~.
4721
4722 2007-11-19 Guillem Jover <guillem@debian.org>
4723
4724 * configure.ac: Release 1.14.8.
4725
4726 2007-11-19 Guillem Jover <guillem@debian.org>
4727
4728 * man/dpkg-architecture.1: Remove unneeded formatting surrounding '-c'
4729 in example command, as a side effect get rid of an undefined macro.
4730 * man/dpkg-checkbuilddeps.1: Remove usage of .UR macro, which was
4731 undefined anyway.
4732 * man/dpkg-statoverride.8: Likewise.
4733 * man/dpkg-query.1: Likewise. Remove .T macro cruft.
4734
4735 2007-11-19 Guillem Jover <guillem@debian.org>
4736
4737 * scripts/dpkg-source.pl: Use %dep_field_type for the union option
4738 to Dpkg::Deps::parse, and use capit() to normalize the field names,
4739 instead of hardcoding them.
4740
4741 2007-11-19 Guillem Jover <guillem@debian.org>
4742
4743 * pkg-deb/build.c (arbitrary_fields): Add Package-Type,
4744 Subarchitecture, Kernel-Version and Installer-Menu-Item.
4745 * scripts/dpkg-scanpackages.pl (@fieldpri): Likewise.
4746 (%field_case): Add type argument.
4747 (usage): Document --type argument, and mark --udeb as obsolete.
4748 * man/dpkg-scanpackages.1: Likewise.
4749 * scripts/dpkg-gencontrol.pl: Parse Package-Type, Subarchitecture,
4750 Kernel-Version and Installer-Menu-Item from control file binary
4751 stanza. Warn if udeb specific fields are used on non-udeb packages.
4752 Add package with proper extension to the files list file.
4753 (@control_fields): Add Package-Type, Subarchitecture, Kernel-Version
4754 and Installer-Menu-Item.
4755 ($package_type): New variable.
4756 * scripts/dpkg-genchanges.pl: Ignore Package-Type, Subarchitecture,
4757 Kernel-Version and Installer-Menu-Item fields.
4758 * scripts/dpkg-source.pl: Likewise.
4759
4760 2007-11-15 Guillem Jover <guillem@debian.org>
4761
4762 * scripts/Dpkg/Arch.pm (read_cputable): Force a sane input record
4763 separator.
4764 (read_ostable): Likewise.
4765 (read_triplettable): Likewise.
4766
4767 2007-11-04 Guillem Jover <guillem@debian.org>
4768
4769 * scripts/Makefile.am (clean): Set PERL5LIB to force use of shipped
4770 modules instead of system ones.
4771
4772 2007-11-04 Guillem Jover <guillem@debian.org>
4773
4774 * scripts/dpkg-architecture.pl: Move host and build arch detection
4775 to ...
4776 * scripts/Dpkg/Arch.pm (get_host_arch): ... here.
4777 (get_build_arch, get_gcc_host_gnu_type): Likewise. New function.
4778
4779 2007-11-04 Guillem Jover <guillem@debian.org>
4780
4781 * scripts/dpkg-architecture.pl: Wrap long strings for die calls
4782 at less than 80 chars.
4783
4784 2007-11-04 Guillem Jover <guillem@debian.org>
4785
4786 * scripts/Dpkg/Arch.pm (debarch_to_gnutriplet): New function.
4787 (gnutriplet_to_debarch): Likewise.
4788 * scripts/dpkg-architecture.pl: Use debarch_to_gnutriplet and
4789 gnutriplet_to_debarch instead of nested calls to
4790 debtriplet_to_gnutriplet and debarch_to_debtriplet,
4791 debtriplet_to_debarch and gnutriplet_to_debtriplet.
4792
4793 2007-11-04 Guillem Jover <guillem@debian.org>
4794
4795 * scripts/dpkg-architecture.pl: Move setting of host and build arch
4796 variables after argument processing. Call list_arches from argument
4797 processing loop. Move architecture listing to ...
4798 (list_arches): ... here. New function.
4799
4800 2007-11-04 Guillem Jover <guillem@debian.org>
4801
4802 * scripts/Dpkg/Arch.pm (get_valid_arches): Return an array instead of
4803 printing the architectures.
4804
4805 2007-10-29 Frank Lichtenheld <djpig@debian.org>
4806
4807 * man/dpkg-query.1: Replace ' with \(aq in example.
4808 Reported by Daniel van Eeden <daniel_e -at- dds nl>
4809 * man/dpkg-source.1: Replace ' with \(aq in synopsis.
4810
4811 2007-10-18 Raphaël Hertzog <hertzog@debian.org>
4812
4813 * scripts/controllib.pl (parsedep, showdep): Remove unused functions.
4814 (@pkg_dep_fields, @src_dep_fields): Move variables to ...
4815 * scripts/Dpkg/Deps.pm: ... here. New file.
4816 * scripts/t/400_Dpkg_Deps.t: New file.
4817 * scripts/dpkg-checkbuilddeps.pl: Adapted to use the new
4818 Dpkg::Deps module.
4819 * scripts/dpkg-source.pl: Likewise.
4820 * scripts/dpkg-scanpackages.pl: Likewise.
4821 * scripts/dpkg-gencontrol.pl: Likewise. Also gains new features
4822 such as automatic simplification of dependencies.
4823 * man/dpkg-gencontrol.1: Document the new behaviour with
4824 dependency fields.
4825
4826 2007-10-18 Guillem Jover <guillem@debian.org>
4827
4828 * scripts/Dpkg/ErrorHandling.pm (report): New function.
4829 (warning, warnerror, failure, syserr, error, internerr, unknown)
4830 (usageerr): Use report instead of sprintf. Accept a format string
4831 with variable number of arguments. Fix all callers.
4832 (subprocerr): Use failure instead of die and sprintf. Accept a
4833 format string with variable number of arguments. Fix all callers.
4834
4835 2007-10-18 Guillem Jover <guillem@debian.org>
4836
4837 * scripts/dpkg-buildpackage.pl (mustsetvar): Pass $text to sprintf
4838 instead of _g.
4839
4840 2007-10-15 Raphaël Hertzog <hertzog@debian.org>
4841
4842 * scripts/Dpkg/Version.pm: Fix compare_versions to handle properly
4843 the >= cases (it was improperly handled like >> due to a bad regexp).
4844 * debian/rules: Include cputable ostable triplettable in
4845 build-tree so that they are available during make check (Dpkg.pm
4846 exports ".." as $pkgdatadir during tests).
4847 * scripts/dpkg-shlibdeps.pl (my_find_library): Avoid unwanted
4848 modification of @pkg_shlibs.
4849
4850 2007-10-14 Raphaël Hertzog <hertzog@debian.org>
4851
4852 * scripts/Dpkg/Version.pm: Mark compare_versions as exportable.
4853
4854 2007-10-13 Guillem Jover <guillem@debian.org>
4855
4856 * scripts/Dpkg/Shlibs.pm: Do not call textdomain.
4857 * scripts/Dpkg/Shlibs/Objdump.pm: Likewise.
4858 * scripts/Dpkg/Shlibs/SymbolFile.pm: Likewise.
4859
4860 2007-10-13 Guillem Jover <guillem@debian.org>
4861
4862 * scripts/dpkg-gensymbols.pl: Use new Dpkg::Arch module.
4863 ($host_arch): Initialize with get_host_arch instead of direct call to
4864 'dpkg-architecture'.
4865
4866 2007-10-12 Raphaël Hertzog <hertzog@debian.org>
4867
4868 * scripts/dpkg-shlibdeps.pl: Use get_host_arch from Dpkg::Arch.
4869
4870 2007-10-12 Guillem Jover <guillem@debian.org>
4871
4872 * scripts/controllib.pl ($host_arch, get_host_arch, get_valid_arches)
4873 (@cpu, @os, %cputable, %ostable, %cputable_re, %ostable_re)
4874 (%debtriplet_to_debarch, %debarch_to_debtriplet, read_cputable)
4875 (read_ostable, read_triplettable, debtriplet_to_gnutriplet)
4876 (gnutriplet_to_debtriplet, debtriplet_to_debarch)
4877 (debarch_to_debtriplet, debwildcard_to_debtriplet)
4878 (debarch_eq, debarch_is): Move to ...
4879 * scripts/Dpkg/Arch.pm: ... here. New file.
4880 * scripts/Makefile.am (nobase_dist_perllib_DATA): Add 'Dpkg/Arch.pm'.
4881 * scripts/po/POTFILES.in: Add 'scripts/Dpkg/Arch.pm'.
4882
4883 * scripts/controllib.pl: Use new Dpkg::Arch module.
4884 * scripts/dpkg-architecture.pl: Likewise.
4885 * scripts/dpkg-checkbuilddeps.pl: Likewise.
4886 * scripts/dpkg-genchanges.pl: Likewise.
4887 * scripts/dpkg-gencontrol.pl: Likewise.
4888 * scripts/dpkg-source.pl: Likewise.
4889
4890 * scripts/dpkg-architecture.pl: Do not require controllib.pl anymore.
4891
4892 2007-10-12 Frank Lichtenheld <djpig@debian.org>
4893
4894 * scripts/t/300_Dpkg_BuildOptions.t: New file.
4895 Leads to the following fixes:
4896 * scripts/Dpkg/BuildOptions.pm (parse): Add
4897 support for nocheck and make it actually work.
4898 (set): Really set DEB_BUILD_OPTIONS. Discovered
4899 by Daniel Shepler.
4900
4901 2007-10-12 Frank Lichtenheld <djpig@debian.org>
4902
4903 * man/dpkg.1 (AUTHORS): Remove some unnecessary markup.
4904 Allows reuse of one more msgid.
4905
4906 * man/Makefile.am (update-po): New target to easily
4907 update the .pot and .po files. Uses po4a --force.
4908
4909 2007-10-11 Guillem Jover <guillem@debian.org>
4910
4911 * scripts/controllib.pl ($warnable_error, $quiet_warnings): Remove
4912 variable declarations.
4913 (failure, syserr, error, internerr, warning, warnerror)
4914 (subprocerr): Remove functions.
4915 (unknown, usageerr): Move functions to ...
4916 * scripts/Dpkg/ErrorHandling.pm: ... here.
4917 (usageerr): Call usage from main::.
4918 (@EXPORT_OK): Add usageerr and unknown.
4919
4920 * scripts/822-date.pl: Use Dpkg::ErrorHandling.
4921 * scripts/changelog/debian.pl: Likewise.
4922 * scripts/controllib.pl: Likewise.
4923 * scripts/dpkg-architecture.pl: Likewise.
4924 * scripts/dpkg-buildpackage.pl: Likewise.
4925 * scripts/dpkg-checkbuilddeps.pl: Likewise.
4926 * scripts/dpkg-distaddfile.pl: Likewise.
4927 * scripts/dpkg-genchanges.pl: Likewise.
4928 * scripts/dpkg-gencontrol.pl: Likewise.
4929 * scripts/dpkg-gensymbols.pl: Likewise.
4930 * scripts/dpkg-parsechangelog.pl: Likewise.
4931 * scripts/dpkg-shlibdeps.pl: Likewise.
4932 * scripts/dpkg-source.pl: Likewise.
4933
4934 * scripts/dpkg-buildpackage.pl ($warnable_error): Import from
4935 Dpkg::ErrorHandling instead of declaring as our.
4936 * scripts/dpkg-source.pl ($warnable_error, $quiet_warnings): Likewise.
4937
4938 * scripts/822-date.pl: Do not require controllib.pl anymore.
4939 * scripts/dpkg-parsechangelog.pl: Likewise.
4940 * scripts/dpkg-shlibdeps.pl: Likewise.
4941
4942 2007-10-10 Guillem Jover <guillem@debian.org>
4943
4944 * scripts/Dpkg/ErrorHandling.pm: Use Dpkg.
4945 ($progname): Do not set nor declare it.
4946
4947 2007-10-10 Guillem Jover <guillem@debian.org>
4948
4949 * scripts/Dpkg/ErrorHandling.pm ($warnable_error): Set to 1 to match
4950 controllib.pl.
4951
4952 2007-10-10 Guillem Jover <guillem@debian.org>
4953
4954 * m4/arch.m4(_DPKG_ARCHITECTURE): Set PERL5LIB when calling
4955 dpkg-architecture.pl to use the shipped perl modules instead of
4956 the system ones.
4957
4958 2007-10-09 Guillem Jover <guillem@debian.org>
4959
4960 * scripts/dpkg-gensymbols.pl: Use new Dpkg module. Do not declare
4961 nor initialize $version, $dpkglibdir and $progname anymore.
4962
4963 2007-10-09 Frank Lichtenheld <djpig@debian.org>
4964
4965 * scripts/dpkg-source.pl (usage): -W is the default
4966 for quite some time already. Adapt the description of
4967 -W and -E.
4968 * scripts/dpkg-buildpackage.pl (usage): Likewise.
4969 * man/dpkg-source.1: Likewise.
4970 * man/dpkg-buildpackage.1: Likewise.
4971
4972 * scripts/dpkg-buildpackage.pl: Add -z/-Z to
4973 passthrough opts (will be passed to dpkg-source).
4974 * man/dpkg-buildpackage.1: Document all options only passed to
4975 dpkg-source. -s[nsAkurKUR], -z, and -Z were missing.
4976
4977 * scripts/dpkg-source.pl: Support a subset of
4978 wig&pen (aka Format: 2.0) on build:
4979 Use .orig.tar.(bz2|lzma) if they are available
4980 and no .gz can be found. Also let the user specify
4981 via -Z(gzip|bzip2|lzma) how files that need to be
4982 generated should be compressed. -z([1-9]|best|fast)
4983 can be used to specify the compression level
4984 to use.
4985 * man/dpkg-source.1: Change the rest of the man page to not contain
4986 any hardcoded .gz references. Document -Z and -z.
4987
4988 2007-10-08 Raphaël Hertzog <hertzog@debian.org>
4989 Frank Lichtenheld <djpig@debian.org>
4990
4991 Merge dpkg-shlibdeps-buxy branch.
4992
4993 * scripts/Dpkg/ErrorHandling.pm: New file.
4994 * scripts/Dpkg/Gettext.pm: Likewise.
4995 * scripts/Dpkg/Path.pm: Likewise.
4996 * scripts/Dpkg/Shlibs.pm: Likewise.
4997 * scripts/Dpkg/Shlibs/Objdump.pm: Likewise.
4998 * scripts/Dpkh/Shlibs/SymbolFile.pm: Likewise.
4999 * scripts/Dpkg/Version.pm: Likewise.
5000
5001 * scripts/dpkg-shlibdeps.pl: Add support for "symbols" files.
5002 * man/dpkg-shlibdeps.1: Document "symbols" files support.
5003
5004 * scripts/dpkg-gensymbols.pl: New file.
5005 * man/dpkg-gensymbols.1: Likewise.
5006
5007 * scripts/t/000_pod.t: New file.
5008 * scripts/t/100_Dpkg_Version.t: Likewise.
5009 * scripts/t/200_Dpkg_Shlibs.t: Likewise.
5010 * scripts/t/200_Dpkg_Shlibs/ld.so.conf: Likewise.
5011 * scripts/t/200_Dpkg_Shlibs/ld.so.conf_2: Likewise.
5012 * scripts/t/200_Dpkg_Shlibs/ld.so.conf.d/inf_recurse.conf: Likewise.
5013 * scripts/t/200_Dpkg_Shlibs/ld.so.conf.d/normal.conf: Likewise.
5014 * scripts/t/200_Dpkg_Shlibs/ld.so.conf.d/recursive.conf: Likewise.
5015 * scripts/t/200_Dpkg_Shlibs/objdump.glib-ia64: Likewise.
5016 * scripts/t/200_Dpkg_Shlibs/objdump.libc6-2.3: Likewise.
5017 * scripts/t/200_Dpkg_Shlibs/objdump.libc6-2.6: Likewise.
5018 * scripts/t/200_Dpkg_Shlibs/symbols.fake-1: Likewise.
5019 * scripts/t/200_Dpkg_Shlibs/symbols.fake-2: Likewise.
5020 * scripts/t/200_Dpkg_Shlibs/symbols.include-1: Likewise.
5021 * scripts/t/200_Dpkg_Shlibs/symbols.include-2: Likewise.
5022
5023 2007-10-08 Guillem Jover <guillem@debian.org>
5024
5025 * configure.ac: Bump version to 1.14.8~.
5026
5027 2007-10-08 Guillem Jover <guillem@debian.org>
5028
5029 * configure.ac: Release 1.14.7.
5030
5031 2007-10-08 Guillem Jover <guillem@debian.org>
5032
5033 * scripts/dpkg-source.pl: Do not replace substvars for build
5034 dependencies.
5035
5036 2007-10-08 Guillem Jover <guillem@debian.org>
5037
5038 * man/deb-control.5: Document Origin and Bugs fields.
5039
5040 2007-10-08 Guillem Jover <guillem@debian.org>
5041
5042 * scripts/dpkg-gencontrol.pl: Refer to host architecture (instead of
5043 build) in error string, and quote architecture name.
5044
5045 2007-10-08 Frank Lichtenheld <djpig@debian.org>,
5046 Guillem Jover <guillem@debian.org>
5047
5048 * scripts/controllib.pl (debarch_is): Check if $alias is equal to
5049 $real or 'any' before mapping them to debtriplets.
5050 (debarch_to_debtriplet): Do not special case 'any' nor 'all'.
5051 (debarch_eq): Check if $a and $b are equal before mapping them to
5052 debtriplets.
5053
5054 2007-10-07 Guillem Jover <guillem@debian.org>
5055
5056 * scripts/dpkg-buildpackage.pl: Warn if run as root and $rootcommand
5057 has been specified. Error if run as non-root and $rootcommand is not
5058 found.
5059
5060 2007-10-07 Guillem Jover <guillem@debian.org>
5061
5062 * scripts/dpkg-buildpackage.pl (usage): Remove details about running
5063 fakeroot only if it's available.
5064 * man/dpkg-buildpackage.1: Document that fakeroot is now the default
5065 value in case -r is not specified.
5066
5067 2007-10-07 Frank Lichtenheld <djpig@debian.org>
5068 Marcel Toele <mtoele@kern.nl>
5069
5070 * scripts/dpkg-source.pl (handleformat): Include
5071 a trailing HT character in the diff labels if
5072 the filename contains spaces. Apparently this is
5073 standard but undocumented diff behaviour.
5074
5075 2007-09-30 Frank Lichtenheld <djpig@debian.org>
5076
5077 * man/deb-control.5: Remove obsolete sentence regarding the role of
5078 the Priority and Section field. They have nothing to do with the
5079 archive layout since woody.
5080
5081 * man/dpkg-source.1: Remove superfluous [options] from -b command
5082 description.
5083
5084 2007-09-29 Frank Lichtenheld <djpig@debian.org>
5085
5086 * scripts/dpkg-buildpackage.pl: Call checkversion()
5087 on version extracted from changelog. Since other
5088 program we call later will do the same there is
5089 really no reason not to fail early.
5090
5091 * scripts/dpkg-buildpackage.pl (testcommand):
5092 Make the check more sensible. Instead of testing
5093 /usr/bin/$cmd, test `which $cmd`.
5094
5095 * scripts/dpkg-buildpackage.pl (signfile): Call
5096 gpg with --utf8-strings since otherwise the key
5097 lookup fails with non-ASCII UTF8-encoded names.
5098 Since Debian changelogs should be UTF8 encoded,
5099 this is probably the more sane default. This
5100 will probably break if one uses a non-UTF8 locale
5101 and tries to give a uid on the commandline that
5102 contains non-ASCII chars. I think we can live with
5103 that.
5104
5105 2007-09-28 Frank Lichtenheld <djpig@debian.org>
5106
5107 * scripts/dpkg-buildpackage.pl (withecho): Remove
5108 empty strings at the begin of the command array.
5109 These can be caused by e.g. an empty $rootcommand.
5110 It is easiest to filter them out here.
5111
5112 2007-09-24 Guillem Jover <guillem@debian.org>
5113
5114 * scripts/dpkg-buildpackage.pl (signfile): Do not use absolute path
5115 for 'rm'.
5116
5117 2007-09-24 Guillem Jover <guillem@debian.org>
5118
5119 * scripts/dpkg-buildpackage.pl (usage): Fix typo for dpkg-genchanges.
5120
5121 2007-09-24 Guillem Jover <guillem@debian.org>
5122
5123 * scripts/dpkg-buildpackage.pl ($warnable_errors): Rename to ...
5124 ($warnable_error): ... this, and declare as 'our'.
5125
5126 2007-09-24 Frank Lichtenheld <djpig@debian.org>
5127
5128 * man/dpkg-source.1: Rework documentation of -i and -I options to
5129 give clearer explanations and explain the differences between the
5130 two in syntax and semantics.
5131
5132 2007-09-24 Jari Aalto <jari.aalto@cante.net>
5133 Frank Lichtenheld <djpig@debian.org>
5134
5135 * scripts/dpkg-source.pl: Allow use of -I
5136 without filename pattern and load a list
5137 of default patterns which is in effect as
5138 similar as possible to the default regexp
5139 of -i.
5140 * man/dpkg-source.1: Document new behaviour of -I option.
5141
5142 2007-09-23 Frank Lichtenheld <djpig@debian.org>
5143
5144 * scripts/dpkg-buildpackage.pl: Add new option
5145 -j[<number>] that works like the make option of
5146 the same name. It will be passed to debian/rules in
5147 the MAKEFLAGS environment variable. Also the
5148 parallel=<n> DEB_BUILD_OPTIONS option will be honored
5149 and set correctly. The finally used value is determined by the
5150 following order: -j > DEB_BUILD_OPTIONS > MAKEFLAGS.
5151 Based on an idea by Robert Millan <rmh@aybabtu.com>.
5152 * scripts/Dpkg/BuildOptions.pm: Added. Support code
5153 for DEB_BUILD_OPTIONS handling by dpkg-buildpackage.
5154 * scripts/Makefile.am: Adapt.
5155 * man/dpkg-buildpackage.1: Document the new -j option.
5156
5157 2007-09-23 Jari Aalto <jari.aalto@cante.net>
5158
5159 * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add
5160 _MTN for monotone.
5161
5162 2007-09-20 Frank Lichtenheld <djpig@debian.org>
5163
5164 * scripts/dpkg-sources.pl (version): Don't use
5165 printf if we don't need it, use print instead.
5166
5167 * scripts/dpkg-buildpackage.sh (usage): Fix typo for dpkg-genchanges.
5168
5169 * scripts/Dpkg.pm: Make the regex for determining
5170 $progname more robust.
5171
5172 * scripts/dpkg-buildpackage.sh: Move to...
5173 * scripts/dpkg-buildpackage.pl: Convert from
5174 Shell to Perl.
5175 * scripts/Makefile.am: Adapt to move.
5176 * scripts/po/POTFILES.in: Add dpkg-buildpackage.pl.
5177
5178 2007-09-18 Guillem Jover <guillem@debian.org>
5179
5180 * lib/mlib.c (checksubprocerr): Warn instead of erroring out in case
5181 of receiving a signal and having been asked to only warn.
5182
5183 2007-09-18 Guillem Jover <guillem@debian.org>
5184
5185 * src/remove.c (deferred_remove): Remove duplicate nested conditional,
5186 and move its contents to the outer one.
5187
5188 2007-09-14 Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
5189
5190 * src/remove.c (deferred_remove): Store the previous package status
5191 when calling '<prerm> remove' and pass it to push_cleanup.
5192 * src/cleanup.c (cu_prermremove): Restore previous stored status if
5193 the '<postinst> abort-remove' call succeeds.
5194
5195 2007-09-08 Guillem Jover <guillem@debian.org>
5196
5197 * man/dpkg-scanpackages.1: Document that gzipped files are also used
5198 by apt.
5199
5200 2007-09-08 A. Costa <agcosta@gis.net>
5201
5202 * man/dpkg-deb.1: Fix typo for separated.
5203 * man/start-stop-daemon.8: Fix typo for themselves.
5204
5205 2007-09-08 Guillem Jover <guillem@debian.org>
5206
5207 * scripts/dpkg-buildpackage.sh: Use fakeroot, if present, as default
5208 value for the '-r' option.
5209
5210 2007-09-06 Guillem Jover <guillem@debian.org>
5211
5212 * scripts/dpkg-genchanges.pl: Stop recognizing the obsolete Optional
5213 field.
5214 * scripts/dpkg-gencontrol.pl: Likewise.
5215 * scripts/dpkg-source.pl: Likewise.
5216
5217 2007-09-06 Guillem Jover <guillem@debian.org>
5218
5219 * scripts/dpkg-name.sh: Avoid escaped quotes messing with syntax
5220 highlighting by using $() instead of backticks.
5221 * scripts/dpkg-buildpackage.sh: Likewise.
5222
5223 2007-09-06 Guillem Jover <guillem@debian.org>
5224
5225 * scripts/dpkg-genchanges.pl ($host_arch): Do not declare as 'our'.
5226 * scripts/dpkg-gencontrol.pl ($host_arch): Likewise.
5227
5228 2007-09-06 Guillem Jover <guillem@debian.org>
5229
5230 * scripts/dpkg-genchanges.pl (%fieldimps): Remove unused variable.
5231 * scripts/dpkg-gencontrol.pl (%fieldimps): Likewise.
5232 * scripts/dpkg-source.pl (%fieldimps): Likewise.
5233 * scripts/controllib.pl (%fieldimps): Switch from 'our' to 'my'.
5234
5235 2007-09-06 Guillem Jover <guillem@debian.org>
5236
5237 * man/dpkg-scanpackages.1: Replace gzip with bzip2 as the requirement
5238 for compressed Packages files for apt.
5239
5240 2007-09-06 Guillem Jover <guillem@debian.org>
5241
5242 * scripts/822-date.pl: Add $dpkglib into @INC, needed by the
5243 controllib.pl require.
5244
5245 2007-09-06 Guillem Jover <guillem@debian.org>
5246
5247 * configure.ac: Bump version to 1.14.7~.
5248
5249 2007-09-05 Guillem Jover <guillem@debian.org>
5250
5251 * configure.ac: Release 1.14.6.
5252
5253 2007-09-05 Guillem Jover <guillem@debian.org>
5254
5255 * scripts/dpkg-gencontrol.pl: Properly override Homepage field from
5256 binary package stanzas.
5257
5258 2007-08-31 Guillem Jover <guillem@debian.org>
5259
5260 * dpkg-deb/build.c (arbitrary_fields): Add Tag.
5261 * scripts/dpkg-genchanges.pl: Ignore Tag field.
5262 * scripts/dpkg-gencontrol.pl: Parse Tag from binary package stanza.
5263 (@control_fields): Add Tag.
5264 * scripts/dpkg-scanpackages.pl (@fieldpri): Add Tag.
5265 * scripts/dpkg-source.pl: Ignore Tag field from binary package stanza.
5266 * man/deb-control.5: Document Tag field.
5267 * man/dpkg-query.1: Document Tag as a recognized field.
5268
5269 2007-08-31 Guillem Jover <guillem@debian.org>
5270
5271 * scripts/dpkg-genchanges.pl: Ignore Vcs-Browser, Vcs-Arch, Vcs-Bzr,
5272 Vcs-Cvs, Vcs-Darcs, Vcs-Git, Vcs-Hg, Vcs-Mtn and Vcs-Svn fields
5273 from control file source stanza.
5274 * scripts/dpkg-gencontrol.pl: Likewise.
5275 * scripts/dpkg-source.pl: Parse them instead.
5276 (@dsc_fields): Add them here.
5277
5278 2007-08-31 Guillem Jover <guillem@debian.org>
5279
5280 * scripts/dpkg-genchanges.pl: Do not leave unknown fields unwarned
5281 and explicitly ignore all known ones from control file source
5282 package stanza.
5283
5284 2007-08-30 Guillem Jover <guillem@debian.org>
5285
5286 * scripts/dpkg-genchanges.pl: Ignore XB- fields instead of XC- fields
5287 from control file binary package stanzas.
5288
5289 2007-08-28 Guillem Jover <guillem@debian.org>
5290
5291 * scripts/update-alternatives.pl: Fix regression introduced on commit
5292 from 2007-08-08, which was producing a warning due to usage of
5293 uninitialized variables.
5294
5295 2007-08-28 Guillem Jover <guillem@debian.org>
5296
5297 * scripts/dpkg-gencontrol.pl: Add comments about the second pass
5298 parsing for dependency fields. Remove handling of uninteresting fields
5299 in the second pass parsing.
5300
5301 2007-08-24 Guillem Jover <guillem@debian.org>
5302
5303 * scripts/dpkg-gencontrol.pl: Allow a package stanza to override the
5304 Homepage field from the source stanza.
5305
5306 2007-08-20 Guillem Jover <guillem@debian.org>
5307
5308 * dpkg-deb/build.c (arbitrary_fields): New variable.
5309 (known_arbitrary_field): New function.
5310 (do_build): Call known_arbitrary_field to not warn on known arbitrary
5311 fields.
5312 * scripts/dpkg-genchanges.pl: Ignore Homepage field.
5313 * scripts/dpkg-gencontrol.pl: Parse Homepage from source package
5314 stanza.
5315 (@control_fields): Add Homepage.
5316 * scripts/dpkg-scanpackages.pl (@fieldpri): Add Homepage.
5317 * scripts/dpkg-source.pl: Parse Homepage from source package stanza.
5318 (@dsc_fields): Add Homepage.
5319 * man/deb-control.5: Document Homepage field.
5320 * man/dpkg-query.1: Document Homepage as a recognized field.
5321
5322 2007-08-18 Guillem Jover <guillem@debian.org>
5323
5324 * scripts/dpkg-divert.pl (infol): Check if parameters are defined
5325 before using them. Use defined instead of length to check for undef
5326 variables.
5327
5328 2007-08-14 Guillem Jover <guillem@debian.org>
5329
5330 * lib/parsehelp.c (parseerr): Switch from ternary operator to compose
5331 a string to a conditional call to the function with two different
5332 strings, making life easier for translators.
5333 * src/archives.c (tarobject): Likewise.
5334 * src/query.c (searchoutput): Switch from a loop with two iterations
5335 and ternary operators to compose strings to a conditional with two
5336 sequential calls with different strings, making life easier for
5337 translators.
5338
5339 2007-08-14 Guillem Jover <guillem@debian.org>
5340
5341 * dpkg-split/main.c (rerr): Adjust string so that it gets merged by
5342 gettext with a similar one.
5343
5344 2007-08-14 Guillem Jover <guillem@debian.org>
5345
5346 * src/archives.c (linktosameexistingdir): Mark strings for translation.
5347
5348 2007-08-11 Ian Jackson <iwj@ubuntu.com>
5349
5350 * src/archives.c (linktosameexistingdir): New function.
5351 (tarobject): Call linktosameexistingdir if the tarball and the on-disk
5352 files are symlinks and ignore the symlink if it returns true.
5353
5354 2007-08-08 Ian Jackson <iwj@ubuntu.com>
5355
5356 * scripts/update-alternatives.pl: In the case where the slave is
5357 inapplicable do not attempt to create the slave link before
5358 removing it again.
5359
5360 2007-08-08 Guillem Jover <guillem@debian.org>
5361
5362 * src/configure.c (deferred_configure): Do not print a new line
5363 if maintainer_script_installed returned true.
5364
5365 2007-08-08 Guillem Jover <guillem@debian.org>
5366
5367 * dpkg-deb/build.c (do_build): Use NULL instead of '(char *)0'.
5368 * dpkg-deb/extract.c (movecontrolfiles, extracthalf): Likewise.
5369 * dpkg-deb/info.c (cu_info_prepare, info_prepare): Likewise.
5370 * src/cleanup.c (cu_prermupgrade, cu_prermdeconfigure)
5371 (cu_prerminfavour, cu_preinstverynew, cu_preinstnew)
5372 (cu_preinstupgrade, cu_postrmupgrade, cu_prermremove): Likewise.
5373 * src/configure.c (deferred_configure, suspend): Likewise.
5374 * src/help.c (maintainer_script_alternative)
5375 (ensure_pathname_nonexisting): Likewise.
5376 * src/processarc.c (process_archive): Likewise.
5377 * src/remove.c (deferred_remove, removal_bulk_remove_files)
5378 (removal_bulk_remove_configfiles): Likewise.
5379
5380 2007-08-08 Guillem Jover <guillem@debian.org>
5381
5382 * src/cleanup.c (cu_prermdeconfigure): Split call to
5383 maintainer_script_installed depending on the conflictor variable.
5384 * src/packages.c (dependencies_ok): Remove comment stating that
5385 Breaks needs to be implemented.
5386 * src/depcon.c (depisok): Likewise. Remove return at the beginning
5387 of the function checking for a Breaks dependency, that was
5388 effectively making it a no-op in that case.
5389 * src/processarc.c (process_archive): Fix indentation. Split calls
5390 in deconfigure code to printf and maintainer_script_installed
5391 depending on the removing variable.
5392
5393 2007-08-07 Guillem Jover <guillem@debian.org>
5394
5395 * src/query.c (listpackages): Instead of allocating an additional
5396 packages array with room for the current amount of packages,
5397 sort the existing one, and print the packages matching the pattern,
5398 which fixes segfaults when the resulting array was bigger than the
5399 current amount of packages.
5400 (showpackages): For each package show it only once it matches any
5401 of the patterns, so we avoid duplicated results.
5402
5403 2007-08-07 Ian Jackson <iwj@ubuntu.com>
5404
5405 * man/deb-control.5: Document Breaks field.
5406 * man/dpkg-query.1: Document Breaks as a recognized field.
5407 * man/dpkg.1: Add description of '--force-breaks'.
5408 * scripts/controllib.pl (@pkg_dep_fields): Add 'Breaks'.
5409 * scripts/dpkg-genchanges.pl: Ignore Breaks field.
5410 * scripts/dpkg-source.pl: Likewise.
5411 * src/archives.c (try_remove_can): Rename to ...
5412 (try_deconfigure_can): ... this. Generalize dependency force check
5413 by taking a function as argument. Store the possible package removal
5414 which caused the deconfiguration in the xinfo member of the package
5415 to be deconfigured.
5416 (try_remove_can): New function.
5417 (check_breaks): Likewise.
5418 * src/archives.h (check_breaks): New prototype.
5419 * src/cleanup.c (cu_prermdeconfigure): Handle case when argv[1]
5420 might be 0, if deconfigure was due to Breaks.
5421 * src/configure.c (deferred_configure): Call breakses_ok.
5422 * src/depcon.c (depisok): Add Breaks support.
5423 * src/help.c (force_breaks): New function.
5424 * src/main.c (fc_breaks): New variable.
5425 (forceinfo): Add 'breaks' as a supported option for '--force-...'.
5426 * src/main.h (struct perpackagestate): Add xinfo member.
5427 (fc_breaks): New variable definition.
5428 (breakses_ok): New prototype.
5429 (force_depends): Likewise.
5430 * src/packages.c (breaks_check_one): New function.
5431 (breaks_check_target): Likewise.
5432 (breakses_ok): Likewise.
5433 * src/processarc.c (process_archive): Check for Breaks dependencies,
5434 instead of bailing out if field found. Distinguish between deconfigure
5435 due to a removal due to Conflicts or Depends, and deconfigure due to
5436 an installation due to Breaks. Run the deconfiguration of each
5437 package to be deconfigured once, instead of once per each conflicting
5438 package being removed.
5439
5440 2007-07-31 Ian Jackson <iwj@ubuntu.com>
5441
5442 * src/archives.c (quote_filename): Change formatting to match the
5443 rest of the file (tab -> 2 spaces).
5444
5445 2007-07-25 Guillem Jover <guillem@debian.org>
5446
5447 * scripts/changelog/debian.pl: Switch from 'dpkg-gettext.pl' to
5448 Dpkg::Gettext.
5449
5450 2007-07-22 Guillem Jover <guillem@debian.org>
5451
5452 * scripts/dpkg-gettext.pl: Move ...
5453 * scripts/Dpkg/Gettext.pm: ... here. Add a package statement.
5454 Fix all users.
5455 * scripts/Makefile.am (dist_pkglib_SCRIPTS): Remove 'dpkg-gettext.pl'.
5456 (nobase_dist_perllib_DATA): Add 'Dpkg/Gettext.pm'.
5457
5458 * scripts/822-date.pl: Do not push $dpkglibdir into @INC anymore.
5459 * scripts/cleanup-info.pl: Likewise.
5460 * scripts/controllib.pl: Likewise.
5461 * scripts/dpkg-divert.pl: Likewise.
5462 * scripts/dpkg-scansources.pl: Likewise.
5463 * scripts/dpkg-statoverride.pl: Likewise.
5464 * scripts/install-info.pl: Likewise.
5465 * scripts/update-alternatives.pl: Likewise.
5466
5467 2007-07-22 Guillem Jover <guillem@debian.org>
5468
5469 * scripts/cleanup-info.pl: Use new Dpkg module, and remove variable
5470 declarations already present in the module.
5471 * scripts/controllib.pl: Likewise.
5472 * scripts/dpkg-architecture.pl: Likewise.
5473 * scripts/dpkg-checkbuilddeps.pl: Likewise.
5474 * scripts/dpkg-distaddfile.pl: Likewise.
5475 * scripts/dpkg-divert.pl: Likewise.
5476 * scripts/dpkg-genchanges.pl: Likewise.
5477 * scripts/dpkg-gencontrol.pl: Likewise.
5478 * scripts/dpkg-parsechangelog.pl: Likewise.
5479 * scripts/dpkg-scanpackages.pl: Likewise.
5480 * scripts/dpkg-scansources.pl: Likewise.
5481 * scripts/dpkg-shlibdeps.pl: Likewise.
5482 * scripts/dpkg-source.pl: Likewise.
5483 * scripts/dpkg-statoverride.pl: Likewise.
5484 * scripts/install-info.pl: Likewise.
5485 * scripts/update-alternatives.pl: Likewise.
5486 * scripts/822-date.pl: Likewise.
5487 * changelog/debian.pl: Likewise.
5488
5489 * scripts/controllib.pl (init_substvars): Remove comment about
5490 $version needing to be a global variable set elsewhere.
5491
5492 * scripts/dpkg-scanpackages.pl: Remove $0 mangling.
5493 (version, usage): Use $progname instead of $0.
5494 * scripts/dpkg-statoverride.pl: Likewise.
5495 * scripts/install-info.pl: Likewise.
5496 * scripts/dpkg-divert.pl: Likewise.
5497 (quit, badusage): Use $progname instead of $0.
5498 * scripts/update-alternatives.pl: Likewise.
5499 * scripts/dpkg-scansources.pl ($Me): Remove declaration.
5500 (xwarndie_mess, version, usage): Use $progname instead of $Me.
5501
5502 2007-07-21 Guillem Jover <guillem@debian.org>
5503
5504 * m4/perl.m4 (DPKG_PROG_PERL): Add support for user overridable
5505 PERL_LIBDIR variable, autodetected from the system installation.
5506 * scripts/Makefile.am (perllibdir): New variable.
5507 (nobase_dist_perllib_DATA): Likewise.
5508 (install-data-hook): New target.
5509 * scripts/Dpkg.pm: New file.
5510
5511 2007-07-18 Guillem Jover <guillem@debian.org>
5512
5513 * man/cleanup-info.8: Unify author and copyright information
5514 formatting.
5515 * man/deb-substvars.5: Likewise.
5516 * man/dpkg-checkbuilddeps.1: Likewise.
5517 * man/dpkg-deb.1: Likewise.
5518 * man/dpkg-divert.8: Likewise.
5519 * man/dpkg-name.1: Likewise.
5520 * man/dpkg-query.1: Likewise.
5521 * man/dpkg-split.1: Likewise.
5522 * man/dpkg-statoverride.8: Likewise.
5523 * man/install-info.8: Likewise.
5524 * man/update-alternatives.8: Likewise.
5525
5526 2007-07-18 Guillem Jover <guillem@debian.org>
5527
5528 * man/dpkg.1: Split independent options.
5529 * man/dpkg-buildpackage.1: Likewise.
5530 * man/dpkg-genchanges.1: Likewise.
5531 * man/dpkg-source.1: Likewise.
5532
5533 2007-07-18 Guillem Jover <guillem@debian.org>
5534
5535 * man/dpkg-buildpackage.1: Remove ', and' leftover from man page split.
5536 Substitute 'FILES' with 'SEE ALSO'.
5537
5538 2007-07-18 Guillem Jover <guillem@debian.org>
5539
5540 * man/dpkg-deb.1: Remove space before ellipsis in parameters.
5541 * man/dpkg-query.1: Likewise.
5542 * man/update-alternatives.8: Likewise.
5543 * man/dpkg.1: Likewise. Use commas instead if pipes to separate
5544 alternative options. Remove redundant preceding 'dpkg' from options.
5545
5546 2007-07-18 Guillem Jover <guillem@debian.org>
5547
5548 * man/dpkg.1: Fix italics and bold usage.
5549 * man/dpkg-divert.8: Likewise.
5550 * man/dpkg-buildpackage.1: Likewise.
5551
5552 2007-07-10 Frank Lichtenheld <djpig@debian.org>
5553
5554 * man/dpkg.1, man/dpkg-query.1, man/dpkg-deb.1: Synchronise usage
5555 information between these three man pages. Also fix some formatting
5556 oddities and small mistakes.
5557
5558 2007-07-04 Frank Lichtenheld <djpig@debian.org>
5559
5560 * man/Makefile.am (uninstall-local): New target to remove the
5561 translated man pages. Detected with the help of 'make distcheck'.
5562
5563 2007-07-03 Frank Lichtenheld <djpig@debian.org>
5564
5565 * configure.ac: Bump version to 1.14.6~.
5566
5567 * configure.ac: Release 1.14.5.
5568
5569 2007-07-02 Frank Lichtenheld <djpig@debian.org>
5570
5571 * COPYING: Update to current version of GPL v2
5572 text. Updates FSF address and LGPL name.
5573
5574 2007-07-01 Frank Lichtenheld <djpig@debian.org>
5575
5576 * scripts/dpkg-source.pl: Warn that newly created empty files are
5577 not currently represented in the diff.
5578
5579 2007-07-01 Ian Jackson <ian@davenant.greenend.org.uk>
5580
5581 * scripts/dpkg-source.pl: Don't remove setgid bits
5582 on directories when extracting the .orig tarball
5583 since the user might prefer to have them. Also don't
5584 manually override user and group for extracted
5585 directories. Instead we will take tar take of most
5586 of that.
5587 (extracttar): Explicetly specify --no-same-owner
5588 and --no-same-permissions. They are default anyway
5589 for non-root users, but no need to handle the source
5590 differently (i.e. more carelessly) if working as root.
5591 Since tar still insists on honoring the file permissions in the
5592 tar ball, fix them up so that they match what the user would
5593 expect according to his umask.
5594
5595 2007-06-13 Guillem Jover <guillem@debian.org>
5596
5597 * man/dpkg-source.1: Remove section describing few dpkg-gncontrol
5598 options.
5599
5600 2007-06-12 Jiří Paleček <jpalecek@web.de>
5601
5602 * dpkg-shlibdeps.pl: Support colon separated list of paths in the
5603 ELF RPATH field.
5604
5605 2007-06-12 Guillem Jover <guillem@debian.org>
5606
5607 * man/dpkg-source.1: Fix explanation of '-b' option, remove a
5608 reference to checking for a missing empty string argument, and add a
5609 reference to '-sX' arguments affecting the behaviour.
5610 * man/install-info.8: Remove an additional space. Mark gzip in bold
5611 and remove redundant reference to GNU.
5612
5613 2007-06-12 Guillem Jover <guillem@debian.org>
5614
5615 * man/deb-substvars.5: Unify title header.
5616 * man/dpkg.1: Likewise.
5617 * man/dpkg-buildpackage.1: Likewise.
5618 * man/dpkg-checkbuilddeps.1: Likewise.
5619 * man/dpkg-deb.1: Likewise.
5620 * man/dpkg-divert.8: Likewise.
5621 * man/dpkg-scanpackages.1: Likewise.
5622 * man/dpkg-scansources.1: Likewise.
5623 * man/dpkg-shlibdeps.1: Likewise.
5624 * man/dpkg-source.1: Likewise.
5625 * man/dpkg-statoverride.8: Likewise.
5626 * man/install-info.8: Likewise.
5627 * man/update-alternatives.8: Likewise.
5628
5629 2007-06-12 Guillem Jover <guillem@debian.org>
5630
5631 * man/dpkg-divert.8: Mark dpkg-* commands in bold.
5632 * man/dpkg-buildpackage.1: Likewise.
5633 * man/dpkg-source.1: Likewise.
5634 * man/dpkg-statoverride.8: Likewise.
5635
5636 2007-06-12 Guillem Jover <guillem@debian.org>
5637
5638 * man/dpkg-source.1: Reference deb-substvars instead of dpkg-substvars.
5639 * man/dpkg-genchanges.1: Likewise.
5640 * man/dpkg-gencontrol.1: Likewise.
5641
5642 2007-06-12 Guillem Jover <guillem@debian.org>
5643
5644 * scripts/dpkg-scanpackages.pl: Move check for existence of $override
5645 outside load_override. Move load_override after having filled the
5646 %packages information.
5647 (load_override): Assume $override is always defined.
5648
5649 2007-06-06 Guillem Jover <guillem@debian.org>
5650
5651 * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add '.shelf'.
5652
5653 2007-06-06 Guillem Jover <guillem@debian.org>
5654
5655 * scripts/dpkg-source.pl (%archadded): Move to an outer scope to
5656 avoid duped entries in the output Architecture field.
5657
5658 2007-05-24 Guillem Jover <guillem@debian.org>
5659
5660 * ostable: Add gnulp-linux.
5661 * triplettable: Add gnulp-linux-i386 to lpia mapping.
5662
5663 2007-05-24 Guillem Jover <guillem@debian.org>
5664
5665 * configure.ac: Bump version to 1.14.5~.
5666
5667 2007-05-24 Guillem Jover <guillem@debian.org>
5668
5669 * configure.ac: Release 1.14.4.
5670
5671 2007-05-24 Guillem Jover <guillem@debian.org>
5672
5673 * scripts/controllib.pl (debarch_to_debtriplet): Match exactly 'any'
5674 or 'all', recognize again 'linux-<arch>', and do not accept unknown
5675 debtriplets.
5676 (debwildcard_to_debtriplet): New function.
5677 (debarch_is): Use debwildcard_to_debtriplet for the wildcard
5678 parameter.
5679
5680 2007-05-23 Guillem Jover <guillem@debian.org>
5681
5682 Revert commit on 2007-04-28 by Aaron M. Ucko <ucko@debian.org>.
5683
5684 * scripts/dpkg-shlibdeps.pl: Trim down duplicated files from @libfiles
5685 only when passing it to dpkg-query instead.
5686
5687 2007-05-23 Kylan Robinson <Kylan_Robinson@selinc.com>
5688
5689 * scripts/dpkg-source.pl: Fix regex (/\.debian.tar/ ->
5690 /\.debian\.tar/).
5691
5692 2007-05-23 Guillem Jover <guillem@debian.org>
5693
5694 * scripts/dpkg-source.pl ($copy_required): New variable.
5695 ($dumptardev, $dumptarino): Move declaration inside the block issues
5696 the stat call, and only compare them against $dsctardev and $dsctarino
5697 if the stat succeeded.
5698
5699 2007-05-21 Guillem Jover <guillem@debian.org>
5700
5701 * scripts/dpkg-statoverride.pl ($pat): Rename to ...
5702 ($pattern): ... this. Fixes $pattern being an unused variable.
5703 ($file): Move the declaration to its first usage in the for loop.
5704
5705 2007-05-15 Guillem Jover <guillem@debian.org>
5706
5707 * configure.ac: Bump version to 1.14.4~.
5708
5709 2007-05-15 Guillem Jover <guillem@debian.org>
5710
5711 * configure.ac: Release 1.14.3.
5712
5713 2007-05-15 Guillem Jover <guillem@debian.org>
5714
5715 * scripts/dpkg-divert.pl (checkmanymodes): Change the error message to
5716 say 'commands' instead of 'modes'.
5717 * scripts/dpkg-statoverride.pl (CheckModeConflict): Likewise. Use
5718 gettext for the string.
5719
5720 2007-05-15 Guillem Jover <guillem@debian.org>
5721
5722 * utils/start-stop-daemon.c (daemonize): Use _exit instead of exit, to
5723 avoid side effects while the parents terminate.
5724
5725 2007-05-15 Guillem Jover <guillem@debian.org>
5726
5727 * utils/start-stop-daemon.c (main): Move daemonizing code to ...
5728 (daemonize): ... here. New function. Fork twice.
5729
5730 2007-05-15 Guillem Jover <guillem@debian.org>
5731
5732 * scripts/update-alternatives.pl: Call fill_missing_slavepaths at the
5733 end of the 'install' conditional.
5734 (fill_missing_slavepaths): New function.
5735
5736 2007-05-15 Guillem Jover <guillem@debian.org>
5737
5738 * man/deb-control.5: Document comments in the control file.
5739
5740 2007-05-15 Guillem Jover <guillem@debian.org>
5741
5742 * man/install-info.8: Disambiguate the use of 'Info directory' with
5743 'Info dir file'.
5744
5745 2007-05-15 Kurt B. Kaiser <kbk@shore.net>
5746
5747 * man/install-info.8: Add missing commas, and information on the
5748 behaviour when no '--section' option is specified.
5749
5750 2007-05-14 Guillem Jover <guillem@debian.org>
5751
5752 * scripts/dpkg-divert.pl ($divertto, $package): Initialize to undef
5753 instead of an empty string.
5754
5755 2007-05-13 Guillem Jover <guillem@debian.org>
5756
5757 * scripts/controllib.pl (debarch_eq): Return 0 if
5758 debarch_to_debtriplet returns any undef value.
5759 (debarch_is): Likewise. As a side effect of changing to use arrays for
5760 the real and alias architectures, all parts of the triplet are now
5761 compared against 'any' as well.
5762 * scripts/dpkg-genchanges.pl: Remove redundant debarch_is being
5763 handled already in the grep.
5764 * scripts/dpkg-gencontrol.pl: Likewise.
5765
5766 2007-05-12 Guillem Jover <guillem@debian.org>
5767
5768 * scripts/controllib.pl (debian_arch_eq): Rename to ...
5769 (debarch_eq): ... this. Add prototype. Fix all callers.
5770 (debian_arch_is): Rename to ...
5771 (debarch_is): ... this. Add prototype. Fix all callers.
5772
5773 2007-05-12 Guillem Jover <guillem@debian.org>
5774
5775 * man/deb-substvars.5: Fix title to match the real section.
5776
5777 2007-05-11 Guillem Jover <guillem@debian.org>
5778
5779 * scripts/update-alternatives.pl ($manual): Rename to ...
5780 ($mode): ... this. Fix all users.
5781 (read_link_group): Change gl() name from 'manflag' to 'update_mode',
5782 and badfmt() string from 'manflag' to 'invalid update mode'.
5783
5784 2007-05-11 Guillem Jover <guillem@debian.org>
5785
5786 * scripts/update-alternatives.pl ($mode): Rename to ...
5787 ($action): ... this. Fix all users.
5788 (checkmanymodes): Rename to ...
5789 (check_many_actions): ... this. Fix all callers. Add prototype.
5790 Change the error message to say 'commands' instead of 'modes'.
5791
5792 2007-05-10 Guillem Jover <guillem@debian.org>
5793
5794 * scripts/dpkg-genchanges.pl: Only use the %p2f values if defined.
5795
5796 2007-05-09 Guillem Jover <guillem@debian.org>
5797
5798 * configure.ac: Bump version to 1.14.3~.
5799
5800 2007-05-09 Guillem Jover <guillem@debian.org>
5801
5802 * configure.ac: Release 1.14.2.
5803
5804 2007-05-09 Guillem Jover <guillem@debian.org>
5805
5806 * man/Makefile.am (install-data-local): Install the translated man
5807 pages from the srcdir.
5808
5809 2007-05-09 Guillem Jover <guillem@debian.org>
5810
5811 * Makefile.am (EXTRA_DIST): Add 'debian/dpkg-dev.lintian-overrides',
5812 'debian/dpkg.lintian-overrides', 'debian/dselect.lintian-overrides'
5813 and 'debian/source.lintian-overrides'.
5814
5815 2007-05-09 Guillem Jover <guillem@debian.org>
5816
5817 * scripts/update-alternatives.pl: Create the generic name symlinks
5818 when there's none, or when it differs to the current one.
5819
5820 2007-05-09 Guillem Jover <guillem@debian.org>
5821
5822 * scripts/update-alternatives.pl (config_message): Handle the case
5823 when @versions is empty. Return a negative value if there's nothing to
5824 do, 0 on success.
5825 (config_alternatives): Check for config_message exit value to decide
5826 to return instead of @versions being empty.
5827
5828 2007-05-09 Guillem Jover <guillem@debian.org>
5829
5830 * scripts/dpkg-buildpackage.sh: Remove check for variable being empty,
5831 as the path check quoted, thus removing the bashisms.
5832
5833 2007-05-08 Guillem Jover <guillem@debian.org>
5834
5835 * configure.ac: Bump version to 1.14.2~.
5836
5837 2007-05-08 Guillem Jover <guillem@debian.org>
5838
5839 * configure.ac: Release 1.14.1.
5840
5841 2007-05-08 Guillem Jover <guillem@debian.org>
5842
5843 * configure.ac: Bump version to 1.14.1~.
5844
5845 2007-05-08 Guillem Jover <guillem@debian.org>
5846
5847 * configure.ac: Release 1.14.0.
5848
5849 2007-05-08 Guillem Jover <guillem@debian.org>
5850
5851 * scripts/controllib.pl (read_cputable): Localize $_.
5852 (read_ostable): Likewise.
5853 (read_triplettable): Likewise.
5854 (parsedep): Check first for the negated architectures.
5855 * scripts/dpkg-checkbuilddeps.pl: Do not enable slurp mode globally.
5856 Use get_host_arch instead of directly dpkg-architecture.
5857
5858 2007-05-08 Guillem Jover <guillem@debian.org>
5859
5860 * scripts/dpkg-genchanges.pl ($pkgdatadir): New variable.
5861 * scripts/dpkg-gencontrol.pl: Likewise.
5862 * scripts/dpkg-source.pl: Likewise.
5863 * scripts/dpkg-checkbuilddeps.pl: Likewise.
5864 ($dpkglibdir): Change to '..'.
5865
5866 2007-05-08 Guillem Jover <guillem@debian.org>
5867
5868 * scripts/update-alternatives.pl: Do not exit with an error on
5869 '--remove' with a non-existing link group file for now, to be
5870 consistent with the case when trying to remove an non-existing path.
5871
5872 2007-05-08 Guillem Jover <guillem@debian.org>
5873
5874 * scripts/update-alternatives.pl: Fix warning when executed w/o any
5875 option.
5876
5877 2007-05-08 Guillem Jover <guillem@debian.org>
5878
5879 * Makefile.am (EXTRA_DIST): Rename debian/pseudo-tags to
5880 debian/usertags.
5881 * man/Makefile.am (dist-hook): New target.
5882 (EXTRA_DIST): New variable.
5883
5884 2007-05-07 Guillem Jover <guillem@debian.org>
5885
5886 * ostable: Add gnueabi-linux.
5887 * triplettable: Add gnueabi-linux-arm to armel mapping.
5888
5889 2007-05-07 Guillem Jover <guillem@debian.org>
5890
5891 * scripts/controllib.pl (%debtriplet_to_debarch): New variable.
5892 (%debarch_to_debtriplet): Likewise.
5893 (split_gnu, split_debian): Remove functions.
5894 (debian_arch_fix, debian_arch_split): Likewise.
5895 (debian_to_gnu, gnu_to_debian): Likewise.
5896 (read_triplettable): New function.
5897 (gnutriplet_to_debtriplet, debtriplet_to_gnutriplet): Likewise.
5898 (debtriplet_to_debarch, debarch_to_debtriplet): Likewise.
5899 (get_valid_arches): Call read_cputable and read_ostable if @cpu or @os
5900 are empty. Use debtriplet_to_debarch instead of debian_arch_fix.
5901 (debian_arch_eq): Use debarch_to_debtriplet instead of
5902 debian_arch_split. Compare the whole Debian triplet.
5903 (debian_arch_is): Likewise.
5904 * scripts/dpkg-architecture.pl: Do not call the now internal functions
5905 read_cputable and read_ostable. Use debtriplet_to_gnutriplet,
5906 gnutriplet_to_debtriplet, debarch_to_debtriplet and
5907 debtriplet_to_debarch instead of debian_to_gnu, gnu_to_debian.
5908 * debian/archtable: Update comment to reflect the new Debian triplet.
5909 * cputable: Likewise.
5910 * ostable: Likewise. Include the ABI information in the Debian name.
5911 * triplettable: New file.
5912 * Makefile.am (dist_pkgdata_DATA): Add triplettable.
5913
5914 2007-05-04 Guillem Jover <guillem@debian.org>
5915
5916 * scripts/dpkg-architecture.pl: Use get_valid_arches instead of
5917 directly using @os and @cpu variables.
5918 ($pkgdatadir): Change from a 'my' to an 'our' variable.
5919 (@cpu, @os, %cputable, %ostable, %cputable_re, %ostable_re,
5920 read_cputable, read_ostable, split_debian, debian_to_gnu,
5921 split_gnu, gnu_to_debian): Move to ...
5922 * scripts/controllib.pl: ... here.
5923 ($pkgdatadir): Declare as 'our'.
5924 (get_valid_arches): New function.
5925
5926 2007-05-04 Guillem Jover <guillem@debian.org>
5927
5928 * scripts/update-alternatives.pl: Call read_link_group also in
5929 'install' mode, but do not exit nor print an error if the link goup
5930 file does not exist.
5931
5932 2007-05-02 Guillem Jover <guillem@debian.org>
5933
5934 * scripts/update-alternatives.pl: Move the ENOENT errno check from
5935 the if conditionals to the block body to avoid comparing against an
5936 undef value on the next elsif conditional.
5937
5938 2007-04-28 Aaron M. Ucko <ucko@debian.org>
5939
5940 * scripts/dpkg-shlibdeps.pl (unique_libfiles): New variable. Do not
5941 track duped libraries already on it.
5942
5943 2007-04-11 Guillem Jover <guillem@debian.org>
5944
5945 * scripts/dpkg-parsechangelog.pl: Use static and warnings. Declare
5946 variables with 'my'.
5947 * scripts/dpkg-scansources.pl: Likewise.
5948 * scripts/controllib.pl: Likewise. Globals with 'our'.
5949 * scripts/822-date.pl: Likewise.
5950 * scripts/dpkg-architecture.pl: Likewise.
5951 * scripts/dpkg-checkbuilddeps.pl: Likewise.
5952 * scripts/dpkg-distaddfile.pl: Likewise.
5953 * scripts/dpkg-genchanges.pl: Likewise.
5954 * scripts/dpkg-gencontrol.pl: Likewise.
5955 * scripts/dpkg-shlibdeps.pl: Likewise.
5956 * scripts/dpkg-source.pl: Likewise.
5957 * scripts/controllib.pl (parsecdata): Use 'my' instead of 'local'.
5958 (subprocerr): Likewise.
5959 (debian_arch_fix): Likewise.
5960 * scripts/dpkg-architecture.pl (debian_to_gnu): Likewise.
5961 (gnu_to_debian): Likewise.
5962 * scripts/controllib.pl (getfowner): Remove redundant closures of
5963 STDIN.
5964
5965 2007-04-11 Guillem Jover <guillem@debian.org>
5966
5967 * man/Makefile.am (man.stamp): Use a stamp file for now until po4a
5968 supports them internally.
5969 (all-local): Depend on man.stamp.
5970 (clean-local): Remove the man.stamp file.
5971
5972 2007-04-11 Guillem Jover <guillem@debian.org>
5973
5974 * scripts/controllib.pl (@pkg_dep_fields): Reorder fields by
5975 importance.
5976 (set_field_importance): New function.
5977 (sort_field_by_importance): Likewise.
5978 (outputclose): Use sort_field_by_importance instead of direct sorting.
5979 * scripts/changelog/debian.pl (%fieldimps): Do not set directly, use
5980 set_field_importance instead.
5981 * scripts/dpkg-genchanges.pl: Likewise.
5982 * scripts/dpkg-gencontrol.pl: Likewise.
5983 * scripts/dpkg-source.pl: Likewise.
5984 * scripts/changelog/debian.pl (@changelog_fields): New variable.
5985 * scripts/dpkg-genchanges.pl (@changes_fields): New variable.
5986 * scripts/dpkg-gencontrol.pl (@control_fields): New variable.
5987 * scripts/dpkg-source.pl (@dsc_fields): New variable.
5988 * scripts/dpkg-scanpackages.pl: Require 'controllib.pl'.
5989 (@pkg_dep_fields): Declare as 'our'.
5990 (@fieldpri): Reorder fields, use '@pkg_dep_fields' instead of
5991 hardcoded list.
5992
5993 2007-04-05 Guillem Jover <guillem@debian.org>
5994
5995 * scripts/controllib.pl (get_host_arch): New function.
5996 (findarch): Rename to ...
5997 (init_substvar_arch): ... this. Use get_host_arch to set the substvar.
5998 Fix all callers.
5999 (parsedep): Use get_host_arch instead of directly calling
6000 dpkg-architecture.
6001 * scripts/dpkg-genchanges.pl: Use '$host_arch' instead of '$arch'.
6002 (init_substvar_arch): Delay call until after init_substvars.
6003 * scripts/dpkg-gencontrol.pl: Likewise.
6004
6005 2007-04-03 Guillem Jover <guillem@debian.org>
6006
6007 * dpkg-genchanges.pl: Mark string for translation.
6008
6009 2007-04-03 Guillem Jover <guillem@debian.org>
6010
6011 * scripts/controllib.pl (warn): Rename to ...
6012 (warning): ... this, to avoid collisions with the perl builtin. Fix
6013 all users.
6014
6015 2007-04-03 Guillem Jover <guillem@debian.org>
6016
6017 * scripts/controllib.pl: Use defined instead of length, when variables
6018 might be undefined.
6019 * scripts/update-alternatives.pl: Likewise.
6020 * scripts/dpkg-source.pl: Likewise.
6021 * scripts/dpkg-genchanges.pl: Likewise.
6022 * scripts/dpkg-gencontrol.pl: Likewise.
6023 * scripts/dpkg-shlibdeps.pl: Likewise.
6024
6025 2007-04-03 Guillem Jover <guillem@debian.org>
6026
6027 * scripts/dpkg-checkbuilddeps.pl ($control): Remove redundant
6028 variable.
6029
6030 2007-04-03 Guillem Jover <guillem@debian.org>
6031
6032 * scripts/dpkg-source.pl (fieldimps): Add 'Uploaders'.
6033
6034 2007-03-25 Nicolas François <nicolas.francois@centraliens.net>
6035
6036 * m4/libs.m4: Fix typo for support.
6037
6038 2007-03-23 Guillem Jover <guillem@debian.org>
6039
6040 * debian/pseudo-tags: Renamed to ...
6041 * debian/usertags: ... this. Updated with the usertags information.
6042 * debian/dpkg.docs: Install usertags instead of pseudo-tags.
6043
6044 2007-03-21 Jeffrey W. Baker <jwbaker@acm.org>
6045 Guillem Jover <guillem@debian.org>
6046
6047 * src/archives.c (wanttoinstall): Use vdew_nonambig instead of
6048 vdew_never on versiondescribe.
6049 * src/configure.c (deferred_configure): Likewise.
6050 * src/query.c (list1package): Likewise.
6051 * dselect/pkgsublist.cc (packagelist::add): Likewise.
6052 * dselect/pkgtop.cc (packagelist::redraw1itemsel): Likewise.
6053
6054 2007-03-21 Guillem Jover <guillem@debian.org>
6055
6056 * dselect/main.cc: Remove duplicated included files <sys/types.h> and
6057 <sys/stat.h>. Move <fcntl.h> to the system block.
6058
6059 2007-03-21 Guillem Jover <guillem@debian.org>
6060
6061 * dselect/method.h: Fix typo in 2001 copyright year.
6062
6063 2007-03-21 Guillem Jover <guillem@debian.org>
6064
6065 * configure.ac (AM_GNU_GETTEXT_VERSION): Quote the argument.
6066 (AC_CHECK_HEADERS): Check for 'locale.h'.
6067 * lib/gettext.h: Updated file from gettext 0.16.1.
6068
6069 2007-03-21 Guillem Jover <guillem@debian.org>
6070
6071 * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.16.1.
6072
6073 2007-03-20 Guillem Jover <guillem@debian.org>
6074
6075 * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add '.hg'.
6076
6077 2007-03-13 Guillem Jover <guillem@debian.org>
6078
6079 * scripts/controllib.pl (parsechangelog): Only binmode CDATA from the
6080 parent side of the opened pipe, on the child side binmode STDOUT.
6081
6082 2007-03-13 Guillem Jover <guillem@debian.org>
6083
6084 * scripts/dpkg-shlibdeps.pl: Use new style file handler references.
6085
6086 2007-03-13 Guillem Jover <guillem@debian.org>
6087
6088 * lib/compression.c (compress_cat): Support compress_type_lzma.
6089 * dpkg-deb/build.c (do_build): Likewise.
6090 * dpkg-deb/main.c (usage): Document that '-Z' now accepts lzma as well.
6091 (setcompresstype): Parse 'lzma' as compress_type_lzma.
6092 * man/dpkg-deb.1: Move '-z' to it's own OPTIONS entry. Document '-Z',
6093 and the new 'lzma' value.
6094
6095 2007-03-12 Guillem Jover <guillem@debian.org>
6096
6097 * man/dpkg-source.1: Split individual man pages to ...
6098 * man/deb-shlibs.5: ... here and ...
6099 * man/deb-substvars.5: ... here and ...
6100 * man/dpkg-buildpackage.1: ... here and ...
6101 * man/dpkg-distaddfile.1: ... here and ...
6102 * man/dpkg-genchanges.1: ... here and ...
6103 * man/dpkg-gencontrol.1: ... here and ...
6104 * man/dpkg-parsechangelog.1: ... here and ...
6105 * man/dpkg-shlibdeps.1: ... here.
6106 * man/Makefile.am (all-local): Do not make the symlinks anymore.
6107 (dpkg_source_aliases): Move to ...
6108 (dist_man_MANS): ... here.
6109 (man_MANS): Remove variable.
6110 (CLEANFILES): Likewise.
6111
6112 2007-03-12 Guillem Jover <guillem@debian.org>
6113
6114 * man/Makefile.am (dist_man_MANS): Add deb-override.5.
6115 * man/dpkg-scanpackages.1: Move override file information to ...
6116 * man/deb-override.5: ... here.
6117
6118 * man/dpkg-scanpackages.1: Add a reference to deb-override.5.
6119 * man/dpkg-scansources.1: Likewise.
6120
6121 2007-03-12 Guillem Jover <guillem@debian.org>
6122
6123 * scripts/changelog/debian.pl: Fix call to outputclose by not passing
6124 anything to it.
6125 ($varlistfile): Remove unused variable.
6126
6127 2007-03-12 Guillem Jover <guillem@debian.org>
6128
6129 * lib/dpkg.h (compression_type): Rename to ...
6130 (compress_type): ... this. Fix all users.
6131 (CAT): Rename to ...
6132 (compress_type_cat): ... this. Fix all users.
6133 (GZ): Rename to ...
6134 (compress_type_gzip): ... this. Fix all users.
6135 (BZ2): Rename to ...
6136 (compress_type_bzip2): ... this. Fix all users.
6137
6138 2007-03-06 Guillem Jover <guillem@debian.org>
6139
6140 * lib/compression.c (fd_fd_filter): New function, refactored. As
6141 a side effect the 'failed to exec' string gets unified, and all
6142 commands use oshite now.
6143 (decompress_cat): Use fd_fd_filter instead of the duped code.
6144 (compress_cat): Likewise.
6145
6146 2007-03-06 Guillem Jover <guillem@debian.org>
6147
6148 * scripts/dpkg-scanpackages.pl (usage): Document that the override
6149 file is now optional.
6150 (load_override): New function, refactored. Handle the case where
6151 '$override' is undefined.
6152 * man/dpkg-scanpackages.1: Mark the override argument as optional.
6153
6154 2007-03-06 Guillem Jover <guillem@debian.org>
6155
6156 * man/update-alternatives.8: Reorder EXAMPLES section.
6157
6158 2007-03-06 Guillem Jover <guillem@debian.org>
6159
6160 * man/cleanup-info.8: Unify the summary. Unify '--help' and
6161 '--version' descriptions. Remove unneeded quotes in section names.
6162 * man/update-alternatives.8: Likewise.
6163 * man/start-stop-daemon.8: Likewise.
6164 * man/dpkg-deb.1: Likewise.
6165 * man/dpkg-divert.8: Likewise.
6166 * man/dpkg-query.1: Likewise.
6167 * man/dpkg-name.1: Likewise.
6168 * man/dpkg-checkbuilddeps.1: Likewise.
6169 * man/dpkg-architecture.1: Likewise.
6170 * man/dpkg-split.1: Likewise.
6171 * man/dpkg-statoverride.8: Likewise.
6172 * man/dpkg-scanpackages.1: Likewise.
6173 * man/dpkg-scansources.1: Likewise.
6174
6175 * man/dpkg-deb.1: Split option aliased names with ',' instead of '|'.
6176 * man/dpkg-name.1: Likewise.
6177 * man/dpkg-split.1: Likewise.
6178 * man/dpkg-query.1: Likewise.
6179 * man/start-stop-daemon.8: Likewise.
6180
6181 * man/dpkg-divert.8: List each options in the OPTIONS section.
6182 * man/dpkg-scanpackages.1: Likewise.
6183 * man/start-stop-daemon.8: Likewise.
6184
6185 * man/dpkg-divert.8: Remove redundant '<>' characters to delimit a
6186 replaceable argument.
6187 * man/dpkg-statoverride.8: Likewise.
6188
6189 * man/update-alternatives.8: Mark commands in examples as bold.
6190 * man/dpkg-architecture.1: Reorder sections. Indent examples.
6191 * man/dpkg-name.1: Do not specify in which programming language the
6192 program is written in.
6193 * man/dpkg-deb.1: Split '--extract' and '--vextract' options.
6194
6195 2007-02-28 Guillem Jover <guillem@debian.org>
6196
6197 * scripts/dpkg-checkbuilddeps.pl: Make getopt parse '--admindir'.
6198 ($admindir): New variable.
6199 (usage): Document '--admindir'.
6200 (parse_status): The status argument is not optional anymore.
6201 * scripts/dpkg-shlibdeps.pl: Parse '--admindir'.
6202 ($admindir): New variable.
6203 ($shlibsppdir): Initialize it after parsing the arguments.
6204 (usage): Document '--admindir'.
6205 * scripts/dpkg-buildpackage.sh: Parse '--admindir', and document it in
6206 usage output. Pass it to dpkg-checkbuilddeps.
6207 * man/dpkg-source.1: Document new option '--admindir'.
6208 * man/dpkg-checkbuilddeps.1: Likewise.
6209
6210 2007-02-28 Guillem Jover <guillem@debian.org>
6211
6212 * scripts/update-alternatives.pl (usage): Use '$altdir' instead of
6213 hardcoding its value.
6214
6215 2007-02-28 Colin Watson <cjwatson@ubuntu.com>
6216
6217 * scripts/dpkg-gencontrol.pl: Add missing parenthesis in regular
6218 expression handling Origin, Bugs and Maintainer for control file
6219 fields.
6220
6221 2007-02-17 Guillem Jover <guillem@debian.org>
6222
6223 * scripts/dpkg-source.pl (checkstats): Take '$dscdir' as an explicit
6224 argument. Fix all callers.
6225 (checktype): Take '$dir', '$fn' and '$type' as explicit arguments. Fix
6226 all callers.
6227
6228 2007-02-17 Guillem Jover <guillem@debian.org>
6229
6230 * scripts/update-alternatives.pl: Check if '$alink' is defined before
6231 using '$aslavelinkcount{$alink}'. Only read_link_group if '$mode' is
6232 not 'install'.
6233 ($dataread): Remove now unused variable.
6234 (read_link_group): New function (refactored).
6235 (find_best_version): Likewise.
6236 (display_link_group): Likewise.
6237 (list_link_group): Likewise.
6238 (config_all): Move exit to outside the function.
6239
6240 2007-02-17 Guillem Jover <guillem@debian.org>
6241
6242 * scripts/controllib.pl (parsecdata): Change CDATA to a reference
6243 taken from the arguments. Fix all callers.
6244
6245 2007-02-13 Guillem Jover <guillem@debian.org>
6246
6247 * src/archives.c (MAXCONFLICTORS): New macro.
6248 (conflictor): Use MAXCONFLICTORS instead of hardcoded value '20', and
6249 remove non-matching comments.
6250 (check_conflict): Exit with an error instead of an assert. Move part
6251 of the comment to the error message, remove the rest as non-matching.
6252
6253 2007-02-13 Guillem Jover <guillem@debian.org>
6254
6255 * dpkg-deb/build.c (getfi): Exit with an error instead of an assert.
6256
6257 2007-02-13 Guillem Jover <guillem@debian.org>
6258
6259 * dpkg-deb/dpkg-deb.h (MAXFILENAME): New macro.
6260 * dpkg-deb/build.c (getfi): Use MAXFILENAME instead of the hardcoded
6261 value '2048'.
6262
6263 2007-02-13 Guillem Jover <guillem@debian.org>
6264
6265 * lib/compression.c (decompress_cat): Use BZ_IO_ERROR instead of
6266 Z_ERRNO for the error value returned by BZ2_bzerror.
6267
6268 2007-02-12 Guillem Jover <guillem@debian.org>
6269
6270 * scripts/dpkg-shlibdeps.pl: Move syserr:s to be or'ed after exec:s.
6271
6272 2007-02-12 Guillem Jover <guillem@debian.org>
6273
6274 * scripts/controllib.pl (outputclose): Change argument from a boolean
6275 to an optional filename argument. Fix all callers.
6276 (parsecontrolfile): Take '$controlfile' as an explicit argument.
6277 Fix all callers.
6278 (parsesubstvars): Take '$varlistfile' as an explicit argument.
6279 Fix all callers.
6280 (parsechangelog): Take '$changelogfile' as an explicit argument,
6281 '$changelogformat' and '$since' as optional arguments. Fix all
6282 callers.
6283 (setsourcepackage): Take '$v' as an explicit argument.
6284
6285 2007-02-11 Guillem Jover <guillem@debian.org>
6286
6287 * dselect/pkglist.h (packagelist::severalinfoblurb): Do not take a
6288 string argument. Fix all callers.
6289 * dselect/pkginfo.cc (packagelist::severalinfoblurb): Likewise.
6290 (packagelist::itd_relations): Capitalize and make whatinfo setting
6291 common and move it outside of the if block, and do not add the
6292 package name.
6293 (packagelist::itd_description): Likewise.
6294 (packagelist::itd_statuscontrol): Likewise.
6295 (packagelist::itd_availablecontrol): Likewise.
6296 * dselect/baselist.cc (baselist::itd_keys): Capitalize whatinfo string.
6297 * dselect/methlist.cc (methodlist::itd_description): Likewise and do
6298 not print the method name.
6299
6300 2007-02-11 Ian Jackson <iwj@ubuntu.com>
6301 Guillem Jover <guillem@debian.org>
6302
6303 * src/depcon.c (describedepcon): Use format arguments to make the
6304 strings l10n-friendlier.
6305
6306 2007-02-04 Julien Cristau <jcristau@debian.org>
6307
6308 * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add
6309 '.gitignore'.
6310
6311 2007-01-24 Guillem Jover <guillem@debian.org>
6312
6313 * scripts/controllib.pl: Move substvar initializations to ...
6314 (init_substvars): ... here.
6315
6316 2007-01-24 Frank Lichtenheld <djpig@debian.org>
6317
6318 * scripts/822-date.pl: Convert the script to be a simple wrapper
6319 around 'date -R'.
6320 * man/822-date.1: 822-date is now deprecated. Document this fact in
6321 the man page.
6322
6323 2007-01-23 Sven Joachim <sven_joachim@web.de>
6324 Guillem Jover <guillem@debian.org>
6325
6326 * dselect/helpmsgs.cc (hlp_listkeys): Fix up and down keystrokes.
6327 (hlp_methkeys): Reorder up and down keystrokes.
6328
6329 2007-01-23 Guillem Jover <guillem@debian.org>
6330
6331 * scripts/dpkg-source.pl: Fix typo in $dircreatevariable name, and
6332 append a "/" on each loop.
6333
6334 2007-01-16 Nicolas François <nicolas.francois@centraliens.net>
6335
6336 * configure.ac: There are no more Makefiles to generate in the
6337 man/ subdirectories.
6338 * man/C/: Move the manpages to the root of the man/ directory.
6339 * man/C/Makefile.am, man/po4a.mk: The languages makefiles are no
6340 more needed. Also remove the language directories.
6341 * man/Makefile.am: New build system.
6342 The goal of these changes is to simplify the build system (less
6343 files, less Makefiles, lower the depth of the file hierarchy).
6344
6345 2007-01-15 Ian Jackson <iwj@ubuntu.com>
6346
6347 * src/processarc.c (process_archive): Add a missing newline to a
6348 warning message.
6349
6350 2007-01-15 Guillem Jover <guillem@debian.org>
6351
6352 * scripts/dpkg-gettext.pl: Remove duplicate 'use static'.
6353 * scripts/cleanup-info.pl: Use static and warnings.
6354 * scripts/dpkg-divert.pl: Likewise. Declare variables with 'my'.
6355 * scripts/dpkg-statoverride.pl: Likewise.
6356 * scripts/update-alternatives.pl: Likewise.
6357
6358 2007-01-12 Mark Rosenstand <mark@borkware.net>
6359
6360 * src/help.c (checkpath): Check for the value of the macro
6361 WITH_START_STOP_DAEMON instead of it being defined.
6362
6363 2007-01-11 Riku Voipio <riku.voipio@iki.fi>
6364 Guillem Jover <guillem@debian.org>
6365
6366 * scripts/controllib.pl: Move the getlogin and fowner initialization
6367 to ...
6368 (getfowner): ...here. New function.
6369 * scripts/dpkg-source.pl: Use getfowner() instead of @fowner.
6370 * scripts/dpkg-gencontrol.pl: Likewise.
6371 * scripts/dpkg-distaddfile.pl: Likewise.
6372 * scripts/dpkg-shlibdeps.pl: Likewise.
6373
6374 2007-01-10 Julian Gilbey <jdg@polya.uklinux.net>
6375
6376 * scripts/dpkg-buildpackage.sh: Allow '-b' to properly override a
6377 previously passed '-B'.
6378
6379 2007-01-09 Nicolas Francois <nicolas.francois@centraliens.net>
6380
6381 * man/C/dpkg-deb.1: Make the copyright match the one from the source.
6382 * man/C/dpkg-split.1: Likewise.
6383
6384 2007-01-09 Guillem Jover <guillem@debian.org>
6385
6386 * configure.ac: Bump version to 1.14.0~.
6387
6388 2007-01-02 Guillem Jover <guillem@debian.org>
6389
6390 * configure.ac: Release 1.13.25.
6391
6392 2007-01-01 Guillem Jover <guillem@debian.org>
6393
6394 * scripts/dpkg-shlibdeps.pl (@librarypaths): Add '/emul/ia32-linux/lib'
6395 and '/emul/ia32-linux/usr/lib'.
6396
6397 2006-11-24 Guillem Jover <guillem@debian.org>
6398
6399 * scripts/dpkg-source.pl: Add lzma extracting support.
6400 (checkdiff): Likewise.
6401 (forkgzipread): Likewise.
6402 * lib/dpkg.h (LZMA): New macro.
6403 (compression_type): Add compress_type_lzma.
6404 * lib/compression.c (decompress_cat): Handle compress_type_lzma
6405 decompression.
6406 * dpkg-deb/dpkg-deb.h (DATAMEMBER_LZMA): New macro.
6407 (DATAMEMBER_COMPAT_LZMA): Likewise.
6408 * dpkg-deb/extract.c (extracthalf): Handle DATAMEMBER_LZMA and
6409 DATAMEMBER_COMPAT_LZMA members.
6410
6411 2006-11-24 Brendan O'Dea <bod@debian.org>
6412
6413 * scripts/controllib.pl (subprocerr): Require POSIX for WIFEXITED,
6414 WEXITSTATUS, WIFSIGNALED and WTERMSIG.
6415
6416 2006-11-24 Tomas Pospisek <tpo_deb@sourcepole.ch>
6417
6418 * man/C/update-alternatives.8: Document that it requires cooperation
6419 from all packages dealing with the same file.
6420
6421 2006-10-13 Guillem Jover <guillem@debian.org>
6422
6423 * configure.ac: Bump version to 1.13.25~.
6424
6425 2006-10-13 Guillem Jover <guillem@debian.org>
6426
6427 * configure.ac: Release 1.13.24.
6428
6429 2006-10-13 Guillem Jover <guillem@debian.org>
6430
6431 * dselect/pkgdisplay.cc (relatestrings): Add a string for the Breaks
6432 field as it should match the enum debtype in 'lib/dpkg-db.h'.
6433
6434 2006-10-12 Guillem Jover <guillem@debian.org>
6435
6436 * configure.ac: Bump version to 1.13.24~.
6437
6438 2006-10-12 Guillem Jover <guillem@debian.org>
6439
6440 * configure.ac: Release 1.13.23.
6441
6442 2006-10-06 Guillem Jover <guillem@debian.org>
6443
6444 * README.translators: Add references to the new scripts/po/ChangeLog
6445 file. State that the languages should be listed alphabetically in
6446 debian/changelog.
6447
6448 2006-09-29 Nicolas Francois <nicolas.francois@centraliens.net>
6449
6450 * man/C/dpkg-scansources.1: Fix a typo.
6451
6452 2006-09-27 Guillem Jover <guillem@debian.org>
6453
6454 * m4/compiler.m4: Add a new line at the end of the file, to cope with
6455 an autoreconf failure due to the new m4 1.4.7.
6456
6457 2006-09-27 Ian Jackson <iwj@ubuntu.com>
6458
6459 * dselect/pkgdepcon.cc (packagelist::resolvedepcon): Recognise the
6460 dep_breaks dependency type in the dependency and conflict resolution.
6461
6462 2006-08-10 Guillem Jover <guillem@debian.org>
6463
6464 * dselect/helpmsgs.cc: Replace the comment header about the file being
6465 autogenerated with a proper copyright and license one. Reindented.
6466 * dselect/helpmsgs.h: Likewise.
6467
6468 2006-08-08 Guillem Jover <guillem@debian.org>
6469
6470 * scripts/dpkg-architecture.pl (dpkglibdir): Set to '.' where
6471 controllib.pl is located.
6472 (pkgdatadir): Set to '..' where cputable and ostable are located.
6473 * m4/arch.m4 (_DPKG_ARCHITECTURE): New macro.
6474 (DPKG_CPU_TYPE): Use _DPKG_ARCHITECTURE instead of parsing cputable.
6475 (DPKG_OS_TYPE): Use _DPKG_ARCHITECTURE instead of parsing ostable.
6476 (DPKG_ARCHITECTURE): Use _DPKG_ARCHITECTURE instead of constructing
6477 the value from cpu_type and os_type.
6478
6479 2006-08-08 Ian Jackson <iwj@ubuntu.com>
6480
6481 * lib/dpkg-db.h (deptype): Add dep_breaks.
6482 * lib/fields.c (f_dependency): Bail out if the Breaks field has an
6483 alternative through a '|'.
6484 * lib/parse.c (fieldinfos): Add support for the Breaks field when
6485 parsing them as a dependency field.
6486 * src/depcon.c (describedepcon): Support displaying the Breaks
6487 relationship.
6488 (depisok): Ignore the Breaks field by adding dep_breaks to the assert
6489 and returning as succeeded.
6490 * src/processarc.c (process_archive): Print a message stating that
6491 current dpkg does not support the Breaks field. Do not bail out in
6492 case the Breaks references packages to ignore for dependency handling.
6493 * src/packages.c (dependencies_ok): Add a place holder comment to
6494 be replaced by the code to prevent configuration of Broken packages.
6495
6496 2006-08-05 Nicolas Francois <nicolas.francois@centraliens.net>
6497
6498 * man/C/dpkg-architecture.1: Remove linux-alpha from the architecture
6499 wildcard examples, and fix a formatting issue.
6500
6501 2006-08-05 Nicolas Francois <nicolas.francois@centraliens.net>
6502
6503 * man/C/dpkg-source.1: Typo fix.
6504 * man/C/dpkg-architecture.1: Likewise.
6505
6506 2006-08-02 Nicolas Francois <nicolas.francois@centraliens.net>
6507
6508 * man/C/dpkg.1: Typo fix.
6509 * man/C/dpkg-divert.8: Likewise.
6510 * man/C/deb-control.5: Likewise.
6511
6512 2006-07-29 Nicolas Francois <nicolas.francois@centraliens.net>
6513
6514 * man/C/dpkg-architecture.1: Typo fix.
6515 * man/C/dpkg-statoverride.8: Likewise.
6516
6517 2006-07-29 Nicolas Francois <nicolas.francois@centraliens.net>
6518
6519 * man/C/dpkg-name.1: Typo fix.
6520
6521 2006-07-27 Nicolas Francois <nicolas.francois@centraliens.net>
6522
6523 * man/C/cleanup-info.8: Typo fix.
6524 * man/C/deb.5: Likewise.
6525 * man/C/dpkg-scanpackages.1: Likewise.
6526 * man/C/dpkg-scansources.1: Likewise.
6527
6528 2006-07-23 Helge Kreutzmann <debian@helgefjell.de>
6529
6530 * man/C/822-date.1: Fix the manpage's modification date.
6531
6532 2006-07-23 Nicolas Francois <nicolas.francois@centraliens.net>
6533
6534 * man/C/start-stop-daemon.8: Typo fix.
6535
6536 2006-07-07 Nicolas François <nicolas.francois@centraliens.net>
6537
6538 * dpkg-deb/build.c: Specify --null before the -T option to avoid
6539 the "tar: -: file name read contains nul character" warning.
6540
6541 2006-07-22 Helge Kreutzmann <debian@helgefjell.de>
6542
6543 * man/C/start-stop-daemon.8: Typo fix.
6544 * man/C/update-alternatives.8: Likewise.
6545
6546 2006-06-21 Guillem Jover <guillem@debian.org>
6547
6548 * configure.ac: Bump version to 1.13.23~.
6549
6550 2006-06-21 Guillem Jover <guillem@debian.org>
6551
6552 * configure.ac: Release 1.13.22.
6553
6554 2006-06-21 Guillem Jover <guillem@debian.org>
6555
6556 * utils/start-stop-daemon.c (signal_str, schedule_str): Move
6557 variables inside ...
6558 (parse_options): ... here.
6559
6560 2006-06-21 Guillem Jover <guillem@debian.org>
6561
6562 * utils/start-stop-daemon.c (umask_value): New variable.
6563 (do_help): Print information about the new '--umask' option.
6564 (parse_umask): New function.
6565 (parse_options): Parse the new option using parse_umask.
6566 (main): Set umask, and do not set for the background case if we set
6567 it previously.
6568 * man/C/start-stop-daemon.8: Document the new '--umask' option.
6569
6570 2006-06-21 Guillem Jover <guillem@debian.org>
6571
6572 * scripts/controllib.pl (usageerr): Do not mark "%s: %s" for
6573 translation.
6574 * scripts/changelog/debian.pl: Remove "or argument" from the
6575 "unknown option" string to merge it with other similar ones.
6576 * scripts/dpkg-distaddfile.pl: Quote '%s' in the "unknown option"
6577 string.
6578 * scripts/dpkg-source.pl: Likewise.
6579 * scripts/cleanup-info.pl (ulquit): Print the program name.
6580 Change all callers to not print the program name, and modify the
6581 strings to merge them with similar ones.
6582 * scripts/dpkg-divert.pl: Change strings referring to command line
6583 argument to use '%s' instead of such argument, thus merging them.
6584 (quit): Do not mark the string for translation. Do not hardcode the
6585 program name and use '$0' instead.
6586 (badusage): Likewise. Make it call usage.
6587 * scripts/dpkg-statoverride.pl: Likewise.
6588 * scripts/update-alternatives.pl: Likewise.
6589 * scripts/install-info.pl: Call quit instead of die and do not print
6590 the program name. Prepend "unable to" to most of those strings to
6591 merge them with similar ones. Fix other strings to merge them.
6592 (ulquit): Make it call quit instead of die and do not print the
6593 program name.
6594 (checkpipe): Likewise.
6595 (quit): New function.
6596 * lib/fields.c (f_dependency): Make strings use '%s' instead of
6597 hardcoded character, to merge both.
6598 * lib/dbmodify.c (createimptmp): Quote and increase to 255 the
6599 parameter '%.250s' to merge the string with the other ones.
6600
6601 2006-06-18 Frank Lichtenheld <djpig@debian.org>
6602
6603 * scripts/dpkg-buildpackage.sh: Fix testing
6604 the content of $signinterface by moving the
6605 test to a place where it can actually fail.
6606 Give the user a correct warning message about
6607 what we do (i.e. defaulting to pgp style).
6608
6609 2006-06-17 Guillem Jover <guillem@debian.org>
6610
6611 * man/C/dpkg-architecture.1: Clarify new -e and -i options, give
6612 backward compatibility information and add some examples.
6613
6614 2006-06-17 Frank Lichtenheld <djpig@debian.org>
6615
6616 * scripts/dpkg-source.pl: Fix typo in regex that caused
6617 spurious warnings for user defined fields even though they
6618 used the correct XB- syntax.
6619
6620 2006-06-16 Robert Luberda <robert@debian.org>
6621
6622 * man/C/dpkg-deb.1: Fix typo for "--showformat".
6623
6624 2006-06-16 Guillem Jover <guillem@debian.org>
6625
6626 * scripts/controllib.pl (parsechangelog): Move substvar initialization
6627 to ...
6628 (init_substvars): ... here. New function. Move the dpkg substvars
6629 initialization to this function.
6630 * scripts/dpkg-source.pl: Call init_substvars after parsechangelog.
6631 * scripts/dpkg-genchanges.pl: Replace setting dpkg substvars with
6632 init_substvars. If the version field or the one forced from command
6633 line differs from the substvar, add the later to the output Source
6634 field inside parenthesis.
6635 * scripts/dpkg-gencontrol.pl: Likewise.
6636
6637 2006-06-16 Andrew Ferrier <andrew@new-destiny.co.uk>
6638 Guillem Jover <guillem@debian.org>
6639
6640 * scripts/update-alternatives.pl (usage): Clarify the legend for the
6641 help text.
6642
6643 2006-06-16 Guillem Jover <guillem@debian.org>
6644
6645 * scripts/update-alternatives.pl (config_message): Print '--config'
6646 listing layout evenly spaced.
6647
6648 2006-06-07 Guillem Jover <guillem@debian.org>
6649
6650 * scripts/dpkg-scansources.pl: Remove invalid comment mentioning
6651 documentation being after __END__.
6652
6653 2006-06-07 Guillem Jover <guillem@debian.org>
6654
6655 * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add
6656 '.bzrtags'.
6657
6658 2006-06-04 Guillem Jover <guillem@debian.org>
6659
6660 * configure.ac: Bump version to 1.13.22~.
6661
6662 2006-06-04 Guillem Jover <guillem@debian.org>
6663
6664 * configure.ac: Release 1.13.21.
6665
6666 2006-06-04 Ian Jackson <ian@davenant.greenend.org.uk>
6667
6668 * src/depcon.c (foundcyclebroken): Replace possi->ed argument to
6669 findbreakcyclerecursive call with dependedon.
6670 (findbreakcyclerecursive): Remove the last foundcyclebroken call
6671 which was wrongly using the unrelated provider->installed.depended
6672 linked list. Remove findbreakcyclerecursive call which may lead to
6673 infinite recursion.
6674
6675 2006-06-04 Guillem Jover <guillem@debian.org>
6676
6677 * scripts/dpkg-parsechangelog.pl: Pass forward the '-l' option to
6678 the format parser.
6679 * scripts/changelog/debian.pl: Add '-l' option and set $changelogfile.
6680 (usage): Document the new '-l' option.
6681 (clerror): Print $changelogfile instead of 'changelog'.
6682 (clwarn): Likewise.
6683
6684 2006-06-02 Guillem Jover <guillem@debian.org>
6685
6686 * scripts/install-info.pl: Do not use English non-essential module.
6687
6688 2006-06-02 Guillem Jover <guillem@debian.org>
6689
6690 * scripts/dpkg-shlibdeps.pl (@librarypaths): Add '/lib32' and
6691 '/usr/lib32/'.
6692
6693 2006-06-02 Guillem Jover <guillem@debian.org>
6694
6695 * src/query.c (setaction): Print also the short command line action.
6696 * src/main.c (setaction): Likewise.
6697 * dpkg-deb/main.c (setaction): Likewise.
6698 * dpkg-split/main.c (setaction): Likewise.
6699
6700 2006-05-31 Guillem Jover <guillem@debian.org>
6701
6702 * configure.ac: Bump version to 1.13.21~.
6703
6704 2006-05-31 Guillem Jover <guillem@debian.org>
6705
6706 * configure.ac: Release 1.13.20.
6707
6708 2006-05-31 Koblinger Egmont <egmont@uhulinux.hu>
6709
6710 * src/processarc.c (process_archive): Do not pass to parsedb
6711 pdb_weakclassification, so that the Section and Priority fields
6712 gets updated with new packages.
6713
6714 2006-05-31 Julian Gilbey <jdg@debian.org>
6715
6716 * scripts/changelog/debian.pl: Remove duped string ' , at changelog '.
6717
6718 2006-05-31 Guillem Jover <guillem@debian.org>
6719
6720 * src/enquiry.c (cmpversions): Prefix the bad syntax error with a
6721 'dpkg: ' and print the bogus version string.
6722
6723 2006-05-25 Guillem Jover <guillem@debian.org>
6724
6725 * scripts/install-info.pl: Exit if the lock file already exists.
6726 This change was lost when doing the i18n of the scripts.
6727
6728 2006-05-25 Ben Pfaff <blp@cs.stanford.edu>
6729
6730 * scripts/install-info.pl: Use %! instead if $! to check for EEXIST.
6731 * man/C/install-info.8: Correct default info directory for '--infodir'.
6732
6733 2006-05-23 Guillem Jover <guillem@debian.org>
6734
6735 * scripts/controllib.pl (parsechangelog): Do not strip the epoch from
6736 the source:Upstream-Version substvar.
6737 * man/C/dpkg-source.1: Document that the source:Upstream-Version
6738 substvar can have an epoch.
6739
6740 2006-05-23 Guillem Jover <guillem@debian.org>
6741
6742 * scripts/controllib.pl (usageerr): Use usage instead of
6743 usageversion.
6744 * scripts/dpkg-statoverride.pl (UsageVersion): Rename to ...
6745 (usageversion): ... this.
6746 * scripts/dpkg-parsechangelog.pl (usageversion): Split into usage
6747 and version functions. Print to stdout. Standarize output format.
6748 Add '--help' and '--version'.
6749 * scripts/dpkg-shlibdeps.pl: Likewise.
6750 * scripts/dpkg-distaddfile.pl: Likewise.
6751 * scripts/dpkg-gencontrol.pl: Likewise.
6752 * scripts/dpkg-genchanges.pl: Likewise.
6753 * scripts/dpkg-source.pl: Likewise.
6754 * scripts/changelog/debian.pl: Likewise.
6755 * scripts/dpkg-statoverride.pl: Likewise. Basename $0.
6756 * scripts/dpkg-architecture.pl: Likewise. Do not basename $0,
6757 use $progname instead.
6758 * scripts/dpkg-checkbuilddeps.pl: Use $progname instead of $me.
6759 (me): Remove variable.
6760 (usage): Standarize output format. Print to stdout. Add '-h' option.
6761 * scripts/dpkg-buildpackage.sh (usageversion): Split into
6762 showversion and usage functions. Print to stdout. Standarize output
6763 format. Add '--help' and '--version'.
6764 (version): Rename variable to ...
6765 (changesversion): ... this, otherwise there was no program version
6766 shown on output.
6767 * scripts/dpkg-scanpackages.pl: Basename $0.
6768 (options): Pass a sub to the help option calling usage and exit.
6769 Add '--version'.
6770 (usage): Switch variable to a function. Print to stdout. Standarize
6771 output.
6772 (version): New function.
6773 * scripts/dpkg-scansources.pl (Version): Rename variable to ...
6774 (version): ... this (so it will be automatically updated by the
6775 Makefile).
6776 (Option_spec): Pass \&usage to help option and \&version to version.
6777 (Usage): Remove variable.
6778 (version): New function.
6779 (usage): Move xwarn call to where the actual check is made. Replace
6780 the die call with a printf and an exit.
6781 * scripts/dpkg-name.sh: Standarize output format.
6782 * scripts/dpkg-divert.pl: Basename $0.
6783 (showversion): Rename to ...
6784 (version): ... this. Print to stdout. Standarize output format.
6785 * scripts/update-alternatives.pl: Basename $0.
6786 (usageversion): Split into usage and version functions. Print to
6787 stdout. Standarize output format.
6788 * scripts/cleanup-info.pl: Basename $0.
6789 (version): Print to stdout. Standarize output format.
6790 (usage): Likewise. Print option descriptions.
6791 * scripts/install-info.pl: Basename $0. Add '--version'. On
6792 argument error print only usage.
6793 (version): Print to stdout. Standarize output format.
6794 (usage): Likewise. Print option descriptions.
6795 * man/C/dpkg-source.1: Add '--help' and '--version' options.
6796 * man/C/dpkg-architecture.1: Likewise.
6797 * man/C/dpkg-checkbuilddeps.1: Add '-h' option.
6798 * man/C/dpkg-divert.8: Option '--help' does not print the version
6799 anymore.
6800 * man/C/update-alternatives.8: Likewise.
6801 * man/C/dpkg-statoverride.8: Likewise. Add '--version' option.
6802
6803 2006-05-19 David Lopez Moreno <david.lopez.moreno@hispalinux.es>
6804
6805 * dpkg-deb/build.c (do_build): If failing to stat a
6806 conffile check for trailing whitespace in the conffiles
6807 file to give a more useful error message.
6808
6809 2006-05-19 Piotr Engelking <inkerman42@gmail.com>
6810
6811 * lib/database.c (informative): Don't regard
6812 architecture information alone as informative.
6813 * src/processarc.c (process_archive): Also
6814 delete origin, bugs and architecture information
6815 for disappearing packages.
6816 * src/remove.c (removal_bulk): Likewise for
6817 removed packages.
6818
6819 2006-05-19 Frank Lichtenheld <djpig@debian.org>
6820
6821 * src/help.c (hasdirectoryconffiles): New function
6822 to test whether a directory contains conffiles of
6823 a given package.
6824 * src/main.h: Add declaration of hasdirectoryconffiles.
6825 * src/remove.c (removal_bulk_remove_files): Don't
6826 drop directories from our file list that hold
6827 our conffiles.
6828 (removal_bulk_remove_leftover_dirs) Likewise.
6829
6830 * utils/enoent.c: Add a comment at the top of the
6831 file explaining why we use this odd program at all.
6832
6833 2006-05-18 Frank Lichtenheld <djpig@debian.org>
6834
6835 * lib/showpkg.c (show1package): Test the correct
6836 pointer against NULL so that arbitrary fields get
6837 be printed.
6838
6839 2006-05-18 Frank Lichtenheld <djpig@debian.org>
6840
6841 * man/C/dpkg-query.1: Document that user defined
6842 fields can also be printed with --showformat.
6843
6844 2006-05-17 Frank Lichtenheld <djpig@debian.org>
6845
6846 * man/C/dpkg.1: We don't actually set DPKG_OLD_CONFFILE and
6847 DPKG_NEW_CONFFILE on subshells, so we shouldn't claim to do so.
6848
6849 2006-05-15 Nicolas François <nicolas.francois@centraliens.net>
6850
6851 * src/packages.c: Use fc_dependsversion (set by
6852 --force-depends-version) when only the version of a
6853 dependency is not satisfied. fc_dependsversion is never
6854 used otherwise.
6855
6856 2006-05-15 Nicolas François <nicolas.francois@centraliens.net>
6857
6858 * src/configure.c: Flush the terminal's input before
6859 prompting the user.
6860
6861 2006-05-15 Frank Lichtenheld <djpig@debian.org>
6862
6863 * debian/archtable: Update to reflect current
6864 archive: Add amd64 and remove sh.
6865
6866 * src/depcon.c (findbreakcyclerecursive): Try
6867 to find cycles also by moving up Provides links.
6868
6869 2006-05-15 Ian Jackson <iwj@ubuntu.com>
6870
6871 * debian/control (dpkg[Depends]): Move
6872 coreutils dependency to Pre-Depends and
6873 depend on >= 5.93-1 to ensure that md5sum
6874 is present.
6875 * debian/dpkg.postinst: Don't create a
6876 diversion from coreutil's md5sum.
6877 * debian/dpkg.prerm: Delete the code
6878 that removed the diversion generated
6879 in the postinst. We rely on coreutils
6880 to clean up the mess we created.
6881
6882 2006-05-12 Frank Lichtenheld <djpig@debian.org>
6883
6884 * src/main.c (ignoredepends): Fix parsing of the
6885 --ignore-depends argument value.
6886
6887 * dpkg-deb/info.c (info_spew): Prepend the name of the
6888 directory we're in to the control component name. This
6889 way we don't spew out garbage if we get an absolute
6890 path as component name.
6891
6892 * scripts/dpkg-scanpackages.pl: Print usage
6893 information on stderr instead of stdout in
6894 case of error. Only print it on stdout if
6895 requested via -h.
6896
6897 * scripts/dpkg-architecture.pl: Convert encoding
6898 of the file from iso-8859-1 to utf-8.
6899
6900 2006-05-12 Nicolas François <nicolas.francois@centraliens.net>,
6901 Frank Lichtenheld <djpig@debian.org>
6902
6903 * scripts/dpkg-gettext.pl: New module. Acts like a
6904 wrapper around Locale::gettext so that the scripts
6905 are usable without it, too.
6906 * debian/dpkg.install: Install dpkg-gettext.pl.
6907 * scripts/Makefile.am (dist_pkglib_SCRIPTS): Add dpkg-gettext.pl.
6908
6909 * po/POTFILES.in: Add scripts installed with dpkg
6910 to the list.
6911 * po/Makevars (XGETTEXT_OPTIONS): Add _g to list of keywords.
6912 * debian/dpkg-dev.install: Install .mo files.
6913 * debian/control (dpkg-dev[Depends]): Bump dependency on dpkg
6914 to 1.13.20 since it needs dpkg-gettext.pl.
6915 * scripts/cleanup-info.pl: Add gettext support.
6916 * scripts/controllib.pl: Likewise.
6917 * scripts/dpkg-architecture.pl: Likewise.
6918 * scripts/dpkg-checkbuilddeps.pl: Likewise.
6919 * scripts/dpkg-distaddfile.pl: Likewise.
6920 * scripts/dpkg-divert.pl: Likewise.
6921 * scripts/dpkg-genchanges.pl: Likewise.
6922 * scripts/dpkg-gencontrol.pl: Likewise.
6923 * scripts/dpkg-parsechangelog.pl: Likewise.
6924 * scripts/debian/changelog.pl: Likewise.
6925 * scripts/dpkg-scanpackages.pl: Likewise.
6926 * scripts/dpkg-scansources.pl: Likewise.
6927 * scripts/dpkg-shlibdeps.pl: Likewise.
6928 * scripts/dpkg-source.pl: Likewise.
6929 * scripts/dpkg-statoverride.pl: Likewise.
6930 * scripts/install-info.pl: Likewise.
6931 * scripts/update-alternatives.pl: Likewise.
6932
6933 2006-05-10 Frank Lichtenheld <djpig@debian.org>
6934
6935 * scripts/dpkg-buildpackage.sh: Pass all
6936 remotely sensible -sX option through to
6937 dpkg-source (-s[nsAkurKUR]).
6938
6939 * scripts/changelog/debian.pl: Use same regex for
6940 distribution names as for packages. Since the policy
6941 doesn't define these names very strict, we should give
6942 the user more freedom here though all official names
6943 are matched by a way stricter regex. (Characters now
6944 allowed are '+' and '.').
6945
6946 2006-05-10 Robert Millan <rmh@aybabtu.com>,
6947 Frank Lichtenheld <djpig@debian.org>
6948
6949 * scripts/dpkg-source.pl: When checking the
6950 signature of a .dsc file, use the Debian
6951 keyring if available.
6952
6953 2006-05-10 Frank Lichtenheld <djpig@debian.org>
6954
6955 * man/C/dpkg-deb.1: Mention the --show-format option also
6956 separately, not just in the description of --show.
6957 Point the reader to the explanation of --show-format
6958 in dpkg-query.1 to avoid having to duplicate it.
6959
6960 2006-05-10 Frank Lichtenheld <djpig@debian.org>
6961
6962 * man/C/dpkg-deb.1: Mention the --show-format option also
6963 separately, not just in the description of --show.
6964 Point the reader to the explanation of --show-format
6965 in dpkg-query.1 to avoid having to duplicate it.
6966
6967 * man/C/dpkg-scanpackages.1: Add remark that apt ignores
6968 uncompressed Packages files on non-local access.
6969 * man/C/dpkg-scansources.1: Likewise (with Sources instead of
6970 Packages files of course).
6971
6972 2006-05-10 Nicolas François <nicolas.francois@centraliens.net>
6973
6974 * lib/showpkg.c (show1package): Honour the requested tabbing
6975 of fields even if they are empty.
6976
6977 2006-05-04 Guillem Jover <guillem@debian.org>
6978
6979 * configure.ac: Bump version to 1.13.20~.
6980
6981 2006-05-04 Guillem Jover <guillem@debian.org>
6982
6983 * configure.ac: Release 1.13.19.
6984
6985 2006-05-04 Guillem Jover <guillem@debian.org>
6986
6987 * man/C/dpkg-divert.8: Escape hyphens used in command line.
6988 * man/C/dpkg-architecture.1: Likewise.
6989 * man/C/dpkg-statoverride.8: Likewise.
6990
6991 2006-05-04 Guillem Jover <guillem@debian.org>
6992
6993 * scripts/dpkg-genchanges.pl: Do not use $version to refer to the
6994 source package version, as it denotes the dpkg version.
6995
6996 2006-05-04 Nicolas François <nicolas.francois@centraliens.net>,
6997 Guillem Jover <guillem@debian.org>
6998
6999 * scripts/install-info.pl: Use the numerical value of $! instead of
7000 the string when checking if the locking error was due to an already
7001 existing file, which is locale dependent, and die accordingly.
7002
7003 2006-05-04 Nicolas François <nicolas.francois@centraliens.net>
7004
7005 * scripts/install-info.pl: Add a new line after adding the last
7006 entry at the end of the dir file, which makes the info readers
7007 able to see those last entries.
7008
7009 2006-05-04 Wayne Davison <wayned@users.sourceforge.net>,
7010 Guillem Jover <guillem@debian.org>
7011
7012 * scripts/install-info.pl: Make '--dir-file' option compatible
7013 with GNU install-info by renaming the infodir variable to dirfile
7014 and not appending the '/dir' string except when initializing from
7015 '--info-dir' or '--infodir'.
7016
7017 2006-05-04 Guillem Jover <guillem@debian.org>
7018
7019 * scripts/dpkg-gencontrol.pl: Use the source:Version substvar when
7020 setting the Source field version, in case the binary package
7021 has a different one from the source package.
7022
7023 2006-05-02 Guillem Jover <guillem@debian.org>
7024
7025 * utils/start-stop-daemon.c (do_help): Standarize output format.
7026
7027 2006-05-02 Guillem Jover <guillem@debian.org>
7028
7029 * dselect/main.cc (usage): Split string and align so duped strings get
7030 merged.
7031 * dpkg-deb/main.c (usage): Likewise.
7032 * dpkg-split/main.c (usage): Likewise.
7033 * src/query.c (usage): Likewise.
7034 * src/main.c (usage): Likewise.
7035
7036 2006-05-02 Guillem Jover <guillem@debian.org>
7037
7038 * scripts/dpkg-genchanges.pl: Rename dpkg:UpstreamVersion to
7039 dpkg:Upstream-Version. Make dpkg:Version and dpkg:Upstream-Version
7040 get the current dpkg versions instead of the package being built.
7041 * scripts/dpkg-gencontrol.pl: Likewise.
7042 * man/C/dpkg-source.1: Rename dpkg:UpstreamVersion to
7043 dpkg:Upstream-Version.
7044
7045 2006-05-02 Ken Bloom <kbloom@gmail.com>,
7046 Jeroen van Wolffelaar <jeroen@wolffelaar.nl>,
7047 Guillem Jover <guillem@debian.org>
7048
7049 * scripts/controllib.pl (parsechangelog): Add new source:Version,
7050 source:Upstream-Version and binary:Version substvars.
7051 * man/C/dpkg-source.1: Document new source:Version,
7052 source:Upstream-Version and binary:Version substvars.
7053
7054 2006-04-29 Justin Pryzby <justinpryzby@users.sourceforge.net>
7055
7056 * src/filesdb.c: Fix a typo.
7057
7058 2006-04-21 Guillem Jover <guillem@debian.org>
7059
7060 * src/query.c (enqperpackage): Change dynamically constructed
7061 grammar to proper sentences.
7062 * src/packages.c (deppossi_ok_found): Likewise.
7063 * src/main.c (commandfd): Do not use digits, use textual numbers.
7064 * lib/dbmodify.c (createimptmp): Use proper verb forms.
7065 * lib/showcright.c (showcopyright): Remove trailing space from string.
7066 * lib/parsehelp.c (illegal_packagename): Clarify what is the last '%s'.
7067 * dpkg-deb/extract.c (movecontrolfiles): Likewise.
7068 (extracthalf): Do not use abbreviations in the strings.
7069
7070 2006-04-21 Guillem Jover <guillem@debian.org>
7071
7072 * src/main.c (printforhelp, setdebug, setforce): Quote each string
7073 line instead of escaping its new line at the end.
7074
7075 2006-04-19 Nicolas Francois <nicolas.francois@centraliens.net>
7076
7077 * man/C/install-info.8: Add a missing quote around the date.
7078 * man/C/dpkg-source.1: Add a reference to the Debian Policy Manual
7079 for a detailed description of the shlibs format.
7080 Thanks to Russ Allbery.
7081
7082 2006-04-16 Nicolas Francois <nicolas.francois@centraliens.net>
7083
7084 * man/C/dpkg-source.1: Document the shlibs.local format.
7085
7086 2006-04-11 Frank Lichtenheld <djpig@debian.org>
7087
7088 * src/archives.c (quote_filename): Fix typo in
7089 variable name. If hit, this could lead to a
7090 infinite loop and OOM in varbufvprintf. (A
7091 good way to hit it is installing files with
7092 long non-ASCII filenames in UTF-8 locales).
7093 Fixed also some typos in the comment for this
7094 function.
7095
7096 * scripts/dpkg-scanpackages.pl: Add -follow
7097 to @find_args. This was lost in a previous patch
7098 apparently.
7099
7100 2006-04-10 Guillem Jover <guillem@debian.org>
7101
7102 * configure.ac: Bump version to 1.13.19~.
7103
7104 2006-04-10 Guillem Jover <guillem@debian.org>
7105
7106 * configure.ac: Release 1.13.18.
7107
7108 2006-04-10 Guillem Jover <guillem@debian.org>
7109
7110 * man/C/dpkg.1: Document the new way to replicate the package status
7111 to another installation by using '--clear-selections'.
7112
7113 2006-04-10 Andrew Suffield <asuffield@debian.org>
7114
7115 * src/main.h (clearselections): New prototype.
7116 * src/main.c (usage): Print '--clear-selections' option description.
7117 (cmdinfos): Add clear-selections action.
7118 * src/select.c (clearselections): New function.
7119 * man/C/dpkg.1: Document the new '--clear-selections' option.
7120
7121 2006-04-10 Guillem Jover <guillem@debian.org>
7122
7123 * src/main.h (fc_autoselect): Remove.
7124 * src/main.c (fc_autoselect): Likewise.
7125 (forceinfos): Mark 'auto-select' as obsolete.
7126 (setforce): Remove mention of 'auto-select' from the help text.
7127 Handle obsolete options, and display a warning.
7128 * man/C/dpkg.1: Remove mention of obsolete force/refuse 'auto-select'
7129 option.
7130
7131 2006-04-09 Guillem Jover <guillem@debian.org>
7132
7133 * man/C/dpkg.1: Document that '--get-selections' without a pattern
7134 will not list packages in state purge.
7135 * man/C/dpkg-query.1: Document that '-l' without a pattern will not
7136 list packages in state purge.
7137
7138 2006-04-09 Guillem Jover <guillem@debian.org>
7139
7140 * scripts/dpkg-shlibdeps.pl: Support system library directories
7141 symlinked from '/lib/ldconfig/'.
7142
7143 2006-04-09 Branden Robinson <branden@debian.org>,
7144 Guillem Jover <guillem@debian.org>
7145
7146 * src/main.c (execbackend): Pass '--admindir' over to dpkg-query
7147 when passing '--admindir' or '--root' to dpkg.
7148
7149 2006-04-04 Andrew Suffield <asuffield@debian.org>
7150
7151 * dpkg-buildpackage.sh: Use mustsetvar to set sversion variable.
7152
7153 2006-04-04 Jared Spiegel <jrrs@frontiernet.net>
7154
7155 * utils/start-stop-daemon.c (do_help): Add '-r' option to the help
7156 output.
7157
7158 2006-04-04 Guillem Jover <guillem@debian.org>
7159
7160 * utils/start-stop-daemon.c (main): Prefix the chroot path, if any,
7161 when stating the exec file.
7162
7163 2006-03-30 Guillem Jover <guillem@debian.org>
7164
7165 * src/main.c (setforce): Add a '[!]' next to 'all' to denote that
7166 '--force-all' is dangerous.
7167
7168 2006-03-20 Guillem Jover <guillem@debian.org>
7169
7170 * configure.ac: Bump version to 1.13.18~.
7171
7172 2006-03-20 Guillem Jover <guillem@debian.org>
7173
7174 * configure.ac: Release 1.13.17.
7175
7176 2006-03-20 Guillem Jover <guillem@debian.org>
7177
7178 * utils/start-stop-daemon.c [OSLinux] (pid_is_exec): Revert back to
7179 take a struct stat instead of an execname. Get the filename pointed
7180 by the '/proc/<pid>/exe' symlink, strip any ' (deleted)' string, and
7181 stat that filename comparing the result with the new argument.
7182
7183 2006-03-15 Guillem Jover <guillem@debian.org>
7184
7185 * scripts/controllib.pl.in: Rename to ...
7186 * scripts/controllib.pl: ... this.
7187 (debian_arch_expand): Remove function. Fix all callers.
7188 (pkgdatadir, read_cputable, read_ostable): Move to ...
7189 * scripts/dpkg-architecture.pl: ... here.
7190 * scripts/Makefile.am (%.pl): Remove rule.
7191
7192 2006-03-05 Guillem Jover <guillem@debian.org>
7193
7194 * scripts/controllib.pl.in (quiet_warnings): New variable.
7195 (warn): Do not print if quiet_warnings.
7196 * dpkg-source.pl (usageversion): Document new option `-q'.
7197
7198 2006-03-05 Guillem Jover <guillem@debian.org>
7199
7200 * debian/control (Build-Depends): Do not depend on libselinux1-dev
7201 in GNU/kFreeBSD amd64.
7202
7203 2006-03-04 Christian Perrier <bubulle@debian.org>
7204
7205 * man/C/dpkg-architecture.1: Typo corrections.
7206 * man/C/dpkg-checkbuilddeps.1: Likewise.
7207 * man/C/dpkg-name.1: Likewise.
7208 * man/C/dpkg-source.1: Likewise.
7209 * man/C/deb-control.5: Likewise.
7210
7211 2006-02-28 Guillem Jover <guillem@debian.org>
7212
7213 * man/C/dpkg.1 (SEE ALSO): Add dpkg-query(1).
7214
7215 2006-02-28 Guillem Jover <guillem@debian.org>
7216
7217 * man/C/822-date.1: Lower case title header. Put options in bold,
7218 files and arguments to options in italic. Escape hyphens used in
7219 command line. Unescape dashes. Remove spaces after full stops and
7220 after end of line. Separate sections with a dot. Do not put the
7221 manpage section number in bold.
7222 * man/C/cleanup-info.8: Likewise.
7223 * man/C/deb.5: Likewise.
7224 * man/C/deb-control.5: Likewise.
7225 * man/C/deb-old.5: Likewise.
7226 * man/C/dpkg.1: Likewise.
7227 * man/C/dpkg.cfg.5: Likewise.
7228 * man/C/dpkg-checkbuilddeps.1: Likewise.
7229 * man/C/dpkg-deb.1: Likewise.
7230 * man/C/dpkg-divert.8: Likewise.
7231 * man/C/dpkg-name.1: Likewise.
7232 * man/C/dpkg-query.1: Likewise.
7233 * man/C/dpkg-scanpackages.1: Likewise.
7234 * man/C/dpkg-source.1: Likewise.
7235 * man/C/dpkg-split.1: Likewise.
7236 * man/C/dpkg-statoverride.8: Likewise.
7237 * man/C/dselect.1: Likewise.
7238 * man/C/dselect.cfg.5: Likewise.
7239 * man/C/install-info.8: Likewise.
7240 * man/C/start-stop-daemon.8: Likewise.
7241 * man/C/update-alternatives.8: Likewise.
7242 * man/C/dpkg-scansources.1: Likewise. Remove '.IX' entries.
7243 * man/C/dpkg-architecture.1: Likewise. Split most of the body of the
7244 section DESCRIPTION into OPTIONS and ACTIONS.
7245
7246 2006-02-28 Matt Kraai <kraai@ftbfs.org>
7247
7248 * scripts/dpkg-gencontrol.pl: Fix typo for occurred.
7249 * scripts/dpkg-source.pl: Likewise.
7250
7251 2006-02-20 Matt Kraai <kraai@ftbfs.org>
7252
7253 * man/C/dpkg-source.1: Add missing parentheses around manpage
7254 section number.
7255
7256 2006-02-19 Guillem Jover <guillem@debian.org>
7257
7258 * po/README.translators: Move to ...
7259 * README.translators: ... here. Formatting fixes. Update to refer
7260 to latest new ChangeLog files, and rules.
7261
7262 2006-02-19 Frank Lichtenheld <djpig@debian.org>
7263
7264 * scripts/dpkg-scanpackages.pl: Fix option
7265 parsing of arch option. Also fix a mistake
7266 in constructing @find_args.
7267
7268 2006-02-18 Frank Lichtenheld <djpig@debian.org>
7269
7270 * scripts/dpkg-gencontrol.pl: Call parsedep
7271 with use_arch and reduce_arch parameters to
7272 allow using architectures in dependency
7273 fields of binary packages in debian/control.
7274
7275 * scripts/dpkg-gencontrol.pl: Fix handling of
7276 debian/files when architecture is set via -D
7277 command line option. The value override was
7278 applied too late.
7279
7280 * configure.ac: Bump version to 1.13.17~.
7281
7282 * configure.ac: Release 1.13.16.
7283
7284 2006-02-18 A. Costa <agcosta@gis.net>
7285
7286 * man/C/dpkg-deb.1: Typo fix.
7287 * man/C/dpkg-statoverride.8: Likewise.
7288 * man/C/install-info.8: Likewise.
7289 * man/C/start-stop-daemon.8: Likewise.
7290 * man/C/update-alternatives.8: Likewise.
7291 * man/C/dpkg.1: Likewise.
7292 * man/C/dpkg.cfg.5: Likewise.
7293
7294 2006-02-17 Frank Lichtenheld <djpig@debian.org>
7295
7296 * man/ChangeLog: Start an own changelog for the
7297 manpages.
7298
7299 * scripts/dpkg-scanpackages.pl: Fix override handling
7300 which was broken by the latest changes.
7301
7302 * scripts/dpkg-gencontrol.pl: Make -isp the default
7303 behaviour.
7304 * man/C/dpkg-source.1: Document the behaviour
7305 change in dpkg-gencontrol.
7306
7307 * man/Makefile.am (updatepo): New target that calls
7308 'make updatepo' in all subdirectories.
7309
7310 2006-02-17 Guillem Jover <guillem@debian.org>
7311
7312 * debian/dselect.install: Install only dselect domain.
7313 * debian/dpkg.install: Install only dpkg domain.
7314 * dselect/po: New directory.
7315 * dselect/main.cc (main): Use DSELECT domain.
7316 * dselect/Makefile.am (SUBDIRS): Add po.
7317 * configure.ac (AC_CONFIG_FILES): Add dselect/po/Makefile.in.
7318
7319 2006-02-17 Guillem Jover <guillem@debian.org>
7320
7321 * methods/: Move directory to dselect/methods/.
7322 * Makefile.am (SUBDIRS): Move methods to ...
7323 * dselect/Makefile.am (SUBDIRS): ... here. New variable.
7324 * configure.ac (AC_CONFIG_FILES): Rename methods/Makefile to
7325 dselect/methods/Makefile.
7326
7327 2006-02-17 Guillem Jover <guillem@debian.org>
7328
7329 * configure.ac: Require gettext 0.14.5.
7330
7331 2006-02-17 Guillem Jover <guillem@debian.org>
7332
7333 * configure.ac: Use AC_CONFIG_AUX_DIR to move auxiliary scripts to
7334 config/.
7335
7336 2006-02-16 Frank Lichtenheld <djpig@debian.org>
7337
7338 * configure.ac: Bump version to 1.13.16~.
7339
7340 2006-02-15 Frank Lichtenheld <djpig@debian.org>
7341
7342 * configure.ac: Release 1.13.15.
7343
7344 2006-02-13 Jordi Mallach <jordi@debian.org>
7345
7346 * src/processarc.c (process_archive): Add missing closing parenthesis
7347 in a string.
7348
7349 2006-02-12 Frank Lichtenheld <djpig@debian.org>
7350
7351 * configure.ac: Bump version to 1.13.15~.
7352
7353 * configure.ac: Release 1.13.14.
7354
7355 2006-02-11 Denis Barbier <barbier@debian.org>
7356
7357 * man/C/dpkg.1: Escape ` and ', otherwise they are converted to
7358 quotation marks, which makes cut and paste useless.
7359 * man/C/dpkg-query.1: Likewise.
7360 * man/C/dpkg-name.1: Likewise.
7361 * man/C/dpkg-architecture.1: Likewise.
7362
7363 2006-02-11 Frank Lichtenheld <djpig@debian.org>
7364
7365 * scripts/dpkg-source.pl: Add .git to
7366 $diff_ignore_default_regexp.
7367
7368 * scripts/dpkg-source.pl: Remove any
7369 newlines from Uploaders field to allow
7370 people to make it multi-line in the
7371 source package.
7372
7373 2006-02-10 Denis Barbier <barbier@linuxfr.org>
7374
7375 * scripts/dpkg-source.pl: Touch all patched files
7376 to have the same timestamp. This should mitigate
7377 time-skew problems until we can finally add proper
7378 timestamps to the diffs.
7379
7380 2006-02-10 Ian Jackson <iwj@ubuntu.com>
7381
7382 * src/configure.c: Differentiate between modified
7383 and deleted configuration files. Gives and more
7384 accurate description to the user and eliminates
7385 a warning that was produced when trying to
7386 backup a non-existent file.
7387
7388 * lib/dpkg-db.h (conffile): Add `obsolete' field.
7389 * lib/dump.c (w_conffiles): Write "obsolete" at the
7390 end of conffile entry if obsolete is set.
7391 * lib/fields.c (f_conffiles): Parse entries for
7392 obsolete conffiles correctly.
7393 * src/filesdb.h (filenamenode.flags): Add new
7394 flag for obsolete conffiles.
7395 * src/remove.c (removal_bulk_remove_configfiles):
7396 Handle obsolete conffiles.
7397 * src/archives.c (newconff_append): New function
7398 to append a filenamenode to a fileinlist.
7399 (addfiletolist): New function to add a filenamenode
7400 to a tarcontext.
7401 (tarobject): Use new addfiletolist function.
7402 Handle case where a new package takes over
7403 an obsolete conffile from another package.
7404 * src/archives.h: Add declaration of the
7405 addfiletolist function.
7406 * src/processarc.c (process_archive): Use new
7407 newconff_append function from archives.c.
7408 Detect obsoleted conffiles and mark them as such.
7409 * src/help.c (chmodsafe_unlink): Make it possible
7410 to differentiate between failed chmod and failed
7411 unlink by adding a new `failed' argument which
7412 will be set to the name of the failed command.
7413 (chmodsafe_unlink_statted): New function that
7414 can be called if we already have a stat result for
7415 the file/directory to be removed.
7416 (ensure_pathname_nonexisting): Give better error
7417 messages by utilizing the changes to
7418 chmodsafe_unlink.
7419 * src/main.h: Reflect changes in archives.c
7420 and help.c (add declarations for newconff_append
7421 and chmodsafe_unlink_statted and change the
7422 one of chmodsafe_unlink).
7423 (conffopt): Add new isold flag.
7424
7425 2006-02-10 James R. Van Zandt <jrvz@comcast.net>
7426
7427 * man/C/dpkg.1: Document the default log file. The behaviour in case
7428 of multiple --log options. And add a reference to dpkg.cfg manpage.
7429
7430 2006-02-10 Philippe Batailler <philippe.batailler@free.fr>,
7431 Guillem Jover <guillem@debian.org>
7432
7433 * man/C/dpkg-query.1: Use dots instead of blank lines to logically
7434 separate sections.
7435 (SYNOPSIS): Add command descriptions.
7436 (COMMANDS): Use package-name instead of package.
7437 (OPTIONS): Give an example for --showformat.
7438 (SEE ALSO): Add a final dot to reference.
7439
7440 2006-02-08 Guillem Jover <guillem@debian.org>
7441
7442 * man/po4a.mk (%): Replace % with $@ as the former is not substituted
7443 in the rule's command.
7444
7445 2006-02-08 Guillem Jover <guillem@debian.org>
7446
7447 * debian/contrl (Build-Depends): Depend on version >= 1.28-4 of
7448 libselinux1-dev as it has pkg-config support. Remove libsepol1-dev,
7449 now dragged by libselinux1-dev. Add pkg-config.
7450 * m4/libs.m4 (DPKG_LIB_SELINUX): Use pkg-config to get the static
7451 and dynamic linker flags, thus no more hardcoding the transitional
7452 libraries.
7453
7454 2006-02-07 Nicolas François <nicolas.francois@centraliens.net>
7455
7456 * man/C/dselect.1: Fix a typo for '.sp'.
7457 * man/C/dpkg-scansources.1: Fix a typo for '.sp'.
7458
7459 2006-02-07 Guillem Jover <guillem@debian.org>
7460
7461 * man/C/update-alternatives.8: Remove trailing 'C'.
7462
7463 2006-02-06 Changwoo Ryu <cwryu@debian.org>,
7464 Guillem Jover <guillem@debian.org>
7465
7466 * lib/dump.c (writerecord): Mark strings as translatable.
7467 * lib/fields.c (f_priority): Likewise.
7468 * lib/mlib.c (checksubprocerr): Likewise.
7469
7470 2006-02-06 Guillem Jover <guillem@debian.org>
7471
7472 * src/main.c (printversion): Do not split strings with a macro in
7473 the middle, use C format arguments. Use printf instead of fputs.
7474 * src/query.c (printversion): Likewise.
7475 * dpkg-deb/main.c (printversion): Likewise.
7476 * dpkg-split/main.c (printversion): Likewise.
7477
7478 * src/main.c (usage): Use printf instead of fprintf. Uppercase initial
7479 letter for commands descriptions. Quote strings per line. Standarize
7480 indentation. Split globally common strings. Remove program name prefix
7481 from command descriptions. Standarize 'Usage:' and 'Commands:'
7482 headings. Split independent commands into different lines.
7483 * src/query.c (usage): Likewise.
7484 * dpkg-deb/main.c (usage): Likewise.
7485 * dpkg-split/main.c (usage): Likewise.
7486
7487 * src/main.c (printforhelp): Use 'license' instead of 'licence'.
7488 * src/query.c (printforhelp): Likewise.
7489
7490 * dselect/main.cc (programdesc): Add version string from ...
7491 (copyrightstring): ... here. Move GPL license notice to ...
7492 (licensestring): ... here. New variable.
7493 (printversion): Use printf instead of fprintf. Give proper arguments
7494 to the new formatted strings. Print 'licensestring'.
7495 (usage): Use printf instead of fprintf. Standarize indentation. Add
7496 options descriptions. Add a new line after each section.
7497 (curseson): Do not split strings with a macro in the middle, use
7498 C format arguments.
7499 (refreshmenu): Fix arguments given to 'programdesc' and
7500 'copyrightstring' variables. Print 'licensestring' variable.
7501
7502 2006-02-06 Guillem Jover <guillem@debian.org>
7503
7504 * utils/start-stop-daemon.c (main): When using --chuid set the HOME
7505 environment variable.
7506
7507 2006-02-05 Christian Perrier <bubulle@debian.org>
7508
7509 * man/*: Switch all translations to po4a. Work contributed
7510 by Nicolas François.
7511
7512 2006-01-30 Frank Lichtenheld <djpig@debian.org>
7513
7514 * scripts/dpkg-shlibdeps.pl: Fix some variable name
7515 typos that lead to semantic errors. Also change
7516 the names of the variables to prevent such errors
7517 in the future.
7518
7519 2006-01-29 Frank Lichtenheld <djpig@debian.org>
7520
7521 * man/C/dpkg-scanpackages.1: Document new dpkg-scanpackages
7522 -m option added by Don Armstrong.
7523 * scripts/dpkg-scanpackages.pl: Fix some bugs introduced by
7524 the rewrite.
7525
7526 * man/C/dpkg-source.1: Document that the -sX switches for
7527 dpkg-source are mutually exclusive and only one can be in
7528 effect.
7529 * scripts/dpkg-source.pl: Warn if more than one -sX switch
7530 is specified on the command line.
7531
7532 * scripts/dpkg-source.pl: Make dpkg-source -b more robust
7533 regarding to existing symlinks by creating all files
7534 in secure temporary files and renaming them afterwards.
7535 This fixes problems with packages retrieved with
7536 apt-get source from local repositories.
7537
7538 2006-01-29 Don Armstrong <don@debian.org>
7539
7540 * scripts/dpkg-scanpackages.pl: Rewrite the script to support
7541 multiple versions of packages in a single Packages file;
7542 use Getopt::Long instead of attempting to parse the command line
7543 ourselves and doing it badly;
7544 get rid of unnecessary hashes and arrays that aren't used at all;
7545 output help when given the --help/-h/-? options
7546
7547 2006-01-29 maximilian attems <debian@sternwelten.at>
7548
7549 * scripts/dpkg-source.pl: Add files and
7550 dirs used by bzr to $diff_ignore_default_regexp.
7551
7552 2006-01-29 Julian Gilbey <jdg@debian.org>
7553
7554 * scripts/dpkg-buildpackage.sh: Create .changes
7555 file even if signing .dsc file fails to make it
7556 easier to just sign the package later.
7557
7558 * scripts/dpkg-buildpackage.sh: Change heuristics
7559 of gpg check so that it allows for more complex
7560 setups.
7561
7562 2006-01-29 Anand Kumria <wildfire@progsoc.org>
7563
7564 * scripts/dpkg-source.pl (checkdiff): Ignore comments
7565 hunk header line as used by diff -p.
7566
7567 2006-01-29 Guillem Jover <guillem@debian.org>
7568
7569 * utils/start-stop-daemon.c (do_help): Print the proper version
7570 giving it as an argument to printf, instead of printing 'VERSION'.
7571
7572 2006-01-29 Guillem Jover <guillem@debian.org>
7573
7574 * configure.ac: Bump version to 1.13.14~.
7575
7576 2006-01-28 Frank Lichtenheld <djpig@debian.org>
7577
7578 * configure.ac: Release 1.13.13.
7579
7580 2006-01-28 Guillem Jover <guillem@debian.org>
7581
7582 * scripts/dpkg-architecture.pl: Do not print the warning about a
7583 mismatch between gcc target machine type and GNU target system
7584 type if the actions are '-e' or '-i'.
7585
7586 2006-01-27 Frank Lichtenheld <djpig@debian.org>
7587
7588 * scripts/dpkg-shlibdeps.pl: Honor LD_LIBRARY_PATH when
7589 searching for shared libraries.
7590 * scripts/dpkg-shlibdeps.pl: Don't recurse into package
7591 directories when searching for local shlibs files.
7592
7593 2006-01-26 Zefram <zefram@fysh.org>,
7594 Guillem Jover <guillem@debian.org>
7595
7596 * man/C/dpkg-query.1: Document the correct format string for
7597 the '--showformat' option. Update '-l' example. Lower case program
7598 name in title header.
7599
7600 2006-01-26 Christoph Maser <cm@financial.com>
7601
7602 * utils/start-stop-daemon.c (do_help): Fix typo ('-C' -> '-d').
7603
7604 2006-01-26 A Costa <agcosta@gis.net>
7605
7606 * man/C/dselect.1: Fix typos.
7607
7608 2006-01-26 Bastian Kleineidam <calvin@debian.org>
7609
7610 * man/C/dpkg.1: Document the --no-debsig option.
7611
7612 2006-01-26 Marc Haber <mh+debian-packages@zugschlus.de>
7613
7614 * man/C/dpkg-statoverride.8: Fix typo.
7615
7616 2006-01-24 Frank Lichtenheld <djpig@debian.org>
7617
7618 * debian/control (Section): dpkg and dselect are now in section
7619 admin, not section base. Correct info in the control file.
7620 (Standards-Version): Bump Standards-Version to 3.6.2 (no changes).
7621
7622 * man/C/dpkg-architecture.1: Fix typo.
7623
7624 2006-01-23 Vasilis Vasaitis <v.vasaitis@sms.ed.ac.uk>
7625
7626 * utils/start-stop-daemon.c (pid_is_exec) [OSLinux]: Change function
7627 prototype to take a constant string instead of a struct stat. Compare
7628 the filename pointed by the '/proc/<pid>/exe' symlink, instead of the
7629 stat device and inode numbers. Fix all callers.
7630
7631 2006-01-23 Frank Lichtenheld <djpig@debian.org>
7632
7633 * scripts/dpkg-shlibdeps.pl: Rewrite of the script
7634 to not use the path information from ldd anymore (which
7635 is unreliable in the case of symlinked directories and
7636 not necessarily available for biarch builds). Instead
7637 build an own representation of the search patch.
7638
7639 * scripts/dpkg-source.pl: Don't use \b to match the end
7640 of the version in filenames, use (?=[.-]) and (?=\.) instead.
7641 \b doesn't work in case the version ends with ~.
7642
7643 * AUTHORS: Updated for new maintenance team
7644 * debian/copyright: Add myself as copyright holder since
7645 I also added a note to that effect with my dpkg-shlibdeps
7646 patch.
7647
7648 2006-01-23 Guillem Jover <guillem@debian.org>
7649
7650 Support for architecture wildcards.
7651
7652 * scripts/controllib.pl: Rename to ...
7653 * scripts/controllib.pl.in: ... this.
7654 * scripts/dpkg-architecture.pl: Add new actions '-e' and '-i' that
7655 call debian_arch_eq and debian_arch_is, to check for architecture
7656 equality and identity respectively. Use debian_arch_fix instead of
7657 the duplicated code.
7658 (pkgdatadir, read_cputable, read_ostable): Move to ...
7659 * scripts/controllib.pl.in: ... here.
7660 (debian_arch_fix): New function. Fix normalized kernel-cpu input to
7661 legacy Debian architecture output.
7662 (debian_arch_split): New function. Normalize and split input into
7663 kernel and cpu components.
7664 (debian_arch_eq): New function. Compare two tuples for equality after
7665 having normalized them with debian_arch_split.
7666 (debian_arch_is): New function. Check two tuples for identity after
7667 having normalized them with debian_arch_split.
7668 (debian_arch_expand): New function. Expand the normalized input
7669 into all possible legacy Debian architectures matching the wildcard.
7670 (parsedep): Use debian_arch_is to check if the host architecture is
7671 part of the architecture listed in the dependency relationship.
7672 (showdep): Use debian_arch_expand to normalize the architectures for
7673 binary and source packages, so generated packages will be backward
7674 compatible in regard to architecture format.
7675 * scripts/dpkg-genchanges.pl: Use new dpkg_arch_is and dpkg_arch_eq
7676 instead of the hardcoded checks.
7677 * scripts/dpkg-gencontrol.pl: Likewise.
7678 * scripts/dpkg-source.pl: Likewise. Use dpkg_arch_expand to fill
7679 the Architecture field with the legacy Debian architectures.
7680 * scripts/Makefile.am: New rule to generate .pl from .pl.in files.
7681 * man/C/dpkg-architecture.1: Update. Add new options, and few words
7682 about the format of the wildcards.
7683
7684 2006-01-23 Guillem Jover <guillem@debian.org>
7685
7686 * scripts/dpkg-source.pl: Add a missing '+' in the architecture
7687 validator regex.
7688
7689 2006-01-23 Bart Martens <bart.martens@advalvas.be>,
7690 Guillem Jover <guillem@debian.org>
7691
7692 * debian/contrl (Build-Depends): Add libsepol1-dev as a temporary
7693 workaround until libselinux1-dev has pkg-config support.
7694 * m4/libs.m4 (DPKG_LIB_SELINUX): Explicitly statically link against
7695 libsepol.
7696
7697 2006-01-20 Aurelien Jarno <aurel32@debian.org>
7698
7699 * debian/control (Build-Depends): Do not depend on libselinux1-dev
7700 in GNU/kFreeBSD.
7701
7702 2006-01-20 Lennert Buytenhek <buytenh+debian@wantstofly.org>
7703
7704 * cputable: Add armeb.
7705
7706 2006-01-18 Joey Hess <joeyh@debian.org>
7707
7708 * scripts/dpkg-shlibdeps.pl: Add possibility to specify a package
7709 type in the shlibs file and add a -t switch to dpkg-shlibdeps to
7710 specify the wanted type. Entries without package type will have
7711 type 'deb' and will serve as fallback if no entry with the correct
7712 type is found.
7713 * man/C/dpkg-source.1: Document new -t switch for dpkg-shlibdeps.
7714
7715 2005-10-11 Frank Lichtenheld <djpig@debian.org>
7716
7717 * man/C/*.[158]: Update references to dpkg and dselect
7718 man pages with correct section (8->1).
7719 * man/C/dselect.1: Update reference to debconf
7720 man page with correct section (8->1).
7721
7722 * scripts/dpkg-source.pl: Warn on -b if we add a file with
7723 special (i.e. executable or set{u,g}id) permission in the
7724 diff since this mode will get lost.
7725
7726 2005-10-07 Frank Lichtenheld <djpig@debian.org>
7727
7728 * scripts/controllib.pl (checkversion): Add generic check for valid
7729 version numbers.
7730 (checkpackagename): Add generic check for valid package names.
7731 (readmd5sum): Add generic function to extract md5sum from md5sum
7732 program output. This also fixes the handling of md5sum -b output in
7733 dpkg-source.
7734 (setsourcepackage): Call checkpackagename on new value.
7735 * scripts/dpkg-source.pl: Use the new checks added to
7736 controllib to ensure validity of version and packagename
7737 on build, too. Previously this was only done on
7738 unpack.
7739
7740 * scripts/dpkg-source.pl: Test on build if directories
7741 added by diff already exist with other type in the original
7742 source since we already tested that on unpack.
7743
7744 * scripts/dpkg-source.pl (addfile): Test if files are added
7745 twice. Should not happen but as we error out on unpack
7746 better make sure it doesn't.
7747
7748 2005-10-04 Frank Lichtenheld <djpig@debian.org>
7749
7750 * scripts/dpkg-source.pl: Check build relation
7751 fields for correctness before putting them into
7752 the .dsc when building. This also normalizes the
7753 fields.
7754
7755 2005-10-03 Matt Zimmerman <mdz@debian.org>,
7756 Frank Lichtenheld <djpig@debian.org>
7757
7758 * scripts/dpkg-source.pl: If gpg is installed, check
7759 the signature of the .dsc file before unpacking.
7760 Allow the unpacking to succeed if the .dsc is unsigned
7761 but error out if the signature is bad. If gpg exits
7762 with a code >2 (e.g. missing key), show the user the gpg
7763 output but continue.
7764
7765 2005-10-03 Frank Lichtenheld <djpig@debian.org>
7766
7767 * scripts/dpkg-source.pl: Try to chown files extracted from
7768 a tar file to the uid and gid of the user. This should make
7769 dpkg-source -x safer to use as root. Also create the temporary
7770 directory mode 0700 to not allow anyone exploiting races
7771 between the extraction and the chown.
7772
7773 * scripts/dpkg-gencontrol.pl: Warn about illegal architecture
7774 strings. This will warn e.g. about comma-separated architecture
7775 lists.
7776 * scripts/dpkg-source.pl: Also check architecture strings and
7777 error out if we find illegal ones.
7778
7779 2005-08-27 Frank Lichtenheld <djpig@debian.org>
7780
7781 * scripts/dpkg-gencontrol.pl: Bail out with an error if parsedep
7782 found an error while parsing a dependency field.
7783
7784 2005-08-17 Scott James Remnant <scott@netsplit.com>
7785
7786 * configure.ac: Bump version to 1.13.12~.
7787
7788 * configure.ac: Release 1.13.11.
7789
7790 * scripts/dpkg-source.pl: Re-work the logic that handles the Files
7791 field when unpacking source packages; always remove the revision
7792 component and thereby allow -$rev.orig.tar.gz as well as native
7793 diff.gz or debian.tar.gz; improve the "unrecognised file" error to
7794 give the full filename, not the mangled suffix; check whether the
7795 revision has length, rather than is non-zero ("0" is false in Perl).
7796
7797 2005-08-17 Frank Lichtenheld <djpig@debian.org>
7798
7799 * scripts/controllib.pl (parsedep): Correct a bug that caused wrong
7800 architecture requirements in some cases, due to only "my"ing the
7801 @arches list in some circumstances.
7802
7803 2005-08-17 Colin Watson <cjwatson@ubuntu.com>
7804
7805 * src/processarc.c (process_archive): When copying the forward
7806 dependency tree, blank the version field of unversioned dependencies
7807 rather than leaving them uninitialized.
7808
7809 2005-08-17 Scott James Remnant <scott@netsplit.com>
7810
7811 * scripts/dpkg-source.pl: Fix a few problems found with the
7812 $diff_ignore_default_regexp value; it'd match any path with
7813 DEADJOE in it somewhere (or .cvsignore, etc.), wouldn't match
7814 an initial CVS or {arch}, etc.
7815 Took the opportunity to reformat the string and add some comments,
7816 which get stripped out before it's used.
7817 Added tla/baz junk ",,.*" to the list of filters.
7818
7819 * lib/dbmodify.c (log_message): Call setcloexec() on the log
7820 file descriptor, otherwise we leak it to our children.
7821
7822 2005-08-17 Ludovic Rousseau <rousseau@debian.org>
7823
7824 * src/filesdb.c: Replace all references to "statusoverride" file
7825 with "statoverride".
7826
7827 2005-08-17 Scott James Remnant <scott@netsplit.com>
7828
7829 * src/query.c (enqperpackage): Only output a newline between
7830 different packages and not after the last one.
7831
7832 * man/C/dpkg-deb.1: Document -W/--show and --showformat.
7833
7834 2005-08-14 Bastian Kleineidam <calvin@debian.org>
7835
7836 * man/C/dpkg-architecture.1: Fix typo.
7837
7838 2005-08-14 Frank Lichtenheld <djpig@debian.org>
7839
7840 * scripts/dpkg-genchanges.pl: Give a warning when one tries
7841 to use -sd on a native Debian package.
7842
7843 * scripts/dpkg-source.pl: Handle absolute paths in the argument
7844 given for -b.
7845
7846 * scripts/dpkg-source.pl: Give more meaningful error message
7847 if first argument to dpkg-source -x is a directory
7848
7849 * scripts/controllib.pl (parsecdata): Ignore trailing newlines
7850 in single paragraph control files.
7851
7852 * scripts/controllib.pl (parsedep): Give a warning explaining
7853 the problem when failing to parse the dependency.
7854 * scripts/dpkg-checkbuilddeps.pl: Pass the dependency field name
7855 to all calls to &build_depends() and &build_conflicts(), which
7856 both call &check_line().
7857 (check_line): Take an argument specifying the field name, and
7858 use it to output an error if the dependency list is not
7859 defined (caused by a failure of &parsedep()).
7860
7861 * scripts/controllib.pl: Remove the %capit map, it's no longer
7862 used and everything uses the &capit() function instead.
7863 (capit): Uppercase all letters that come after a minus ('-'),
7864
7865 2005-08-14 Moritz Muehlenhoff <jmm@inutil.org>,
7866 Frank Lichtenheld <djpig@debian.org>
7867
7868 * scripts/controllib.pl (parsedep): Allow whitespace before
7869 version operators in dependencies.
7870
7871 2005-08-14 Goswin Brederlow <brederlo@informatik.uni-tuebingen.de>
7872
7873 * scripts/dpkg-name.sh (stderr): Use shell redirect rather than
7874 /dev/stderr.
7875
7876 2005-08-14 Scott James Remnant <scott@netsplit.com>
7877
7878 * debian/control ([dselect]Description): Remove "a" from the start
7879 of the description synopsis line.
7880 ([dpkg]Description): De-capitalise description synopsis line.
7881 ([dpkg-dev]Description): Likewise.
7882
7883 2005-08-14 Guillem Jover <guillem@debian.org>
7884
7885 * scripts/dpkg-architecture.pl (usageversion): Correct punctuation
7886 in copyright message and escape the @ so Perl doesn't treat it as
7887 an array reference. Same for initial comment.
7888
7889 2005-07-17 Scott James Remnant <scott@netsplit.com>
7890
7891 * src/remove.c (removal_bulk_remove_files): Call lstat() rather
7892 than stat() when removing a character, block or setuid file so
7893 we change the thing itself and not what the symlink points to.
7894 * src/processarc.c (process_archive): Likewise.
7895
7896 * src/processarc.c (process_archive): Call ohshit() after finding
7897 out we don't have an errno, not ohshite().
7898
7899 * src/cleanup.c (cu_preinstverynew): Blank the status information
7900 of a newly installed package that we aborted the install of,
7901 to avoid having packages in a not-installed state but with a version.
7902
7903 2005-07-16 Scott James Remnant <scott@netsplit.com>
7904
7905 * src/filesdb.h (filenamenode.flags): Add fnnf_placed_on_disk flag
7906 to indicate that the file is now on the disk, and thus needs to be
7907 removed in cleanup if that happens.
7908 * src/cleanup.c (cu_installnew): If <foo>.dpkg-tmp did not exist,
7909 and the fnnf_placed_on_disk flag is set, we now remove the newly
7910 created file.
7911 * src/archives.c (tarobject): Set the fnnf_placed_on_disk flag once
7912 the rename to the final destination succeeds. Add additional
7913 comments to the source so we know what's on the disk at each point.
7914 Fix up the #ifdef syntax to not confuse emacs.
7915
7916 * src/archives.c (filesavespackage): Check whether the file we're
7917 going to install is going to be diverted, before whether it's in the
7918 new archive.
7919
7920 * src/processarc.c (process_archive): When removing files that
7921 were in the old version of the package only, don't just call
7922 isdirectoryinuse(), actually check whether it's a directory first;
7923 otherwise we won't remove diverted things.
7924
7925 2005-07-15 Scott James Remnant <scott@netsplit.com>
7926
7927 * lib/ehandle.c (run_cleanups): Modify the value of flagset
7928 according to the checkpoint mask and value after processing,
7929 otherwise we'll run handlers we didn't mean to.
7930 (pop_cleanup): Remove the flagset setting, we don't mix
7931 checkpoints and calls anywhere.
7932
7933 2005-06-28 Scott James Remnant <scott@netsplit.com>
7934
7935 * configure.ac: Bump version to 1.13.11~.
7936
7937 * configure.ac: Release 1.13.10.
7938
7939 * debian/dpkg.preinst (create_logfile): Remove from preinst.
7940 * debian/dpkg.postinst (create_logfile): To postinst; I can't think
7941 of any particular reason it needs to happen before configuration.
7942 In addition, use numeric ids for the chown call to avoid requirement
7943 that base-passwd be configured first.
7944
7945 2005-06-28 Manoj Srivastava <srivasta@debian.org>
7946
7947 * src/archives.c: Look at the security context of the final
7948 destination, not the temporary file.
7949
7950 2005-06-24 Scott James Remnant <scott@netsplit.com>
7951
7952 * po/POTFILES.in: Remove lib/star.c.
7953
7954 2005-06-24 Manoj Srivastava <srivasta@debian.org>
7955
7956 * src/archives.c: Restore selinux code incorrectly placed in
7957 lib/star.c, modified to fit in with tarobject.
7958
7959 2005-06-17 Scott James Remnant <scott@netsplit.com>
7960
7961 * debian/dpkg.preinst (confirm_dselect_split): When set -e,
7962 following a command with "|| return" doesn't eat the exit status.
7963
7964 * lib/dbmodify.c (log_message): Set the log to be line-buffered.
7965
7966 2005-06-16 Scott James Remnant <scott@netsplit.com>
7967
7968 * lib/star.c: Remove, it's unused code and causes confusion.
7969 * lib/Makefile.am (libdpkg_a_SOURCES): Don't compile star.c.
7970
7971 2005-06-15 Bastian Kleineidam <calvin@debian.org>
7972
7973 * man/C/dpkg.cfg.5: Correct reference to dpkg(8) to dpkg(1).
7974
7975 2005-06-14 Scott James Remnant <scott@netsplit.com>
7976
7977 * man/C/dpkg-architecture.1: Add missing "recent" from paragraph
7978 on backward compatibility.
7979
7980 2005-06-13 Scott James Remnant <scott@netsplit.com>
7981
7982 * debian/rules: Check DEB_HOST_ARCH_OS and only add the option
7983 to enable SELinux if we're on Linux.
7984 * debian/control (Build-Depends): Don't build-depend on
7985 libselinux1-dev on hurd-i386. The complete list is too long to
7986 maintain, so wait until we can put "[linux-any]" in here.
7987
7988 * scripts/dpkg-source.pl: Handle native tarballs with a
7989 Debian revision.
7990
7991 * lib/dbmodify.c (log_message): Use the local time, not UTC;
7992 this is more consistent with syslog.
7993
7994 2005-06-13 Johannes Veser <veser@gmx.de>
7995
7996 * debian/dpkg.prerm (undivert_md5sum): dpkg-divert takes the
7997 diverted filename, not the destination.
7998
7999 2005-06-13 Scott James Remnant <scott@netsplit.com>
8000
8001 * debian/dpkg.install: Remove start-stop-daemon rule, as that
8002 copies it rather than moves it.
8003 * debian/rules (binary-arch): Move start-stop-daemon into sbin
8004 my hand.
8005
8006 2005-06-12 Scott James Remnant <scott@netsplit.com>
8007
8008 * configure.ac: Bump version to 1.13.10~.
8009
8010 * configure.ac: Release 1.13.9.
8011
8012 2005-06-11 Scott James Remnant <scott@netsplit.com>
8013
8014 * scripts/dpkg-source.pl: Add .arch-inventory to default diff
8015 ignore regexp.
8016
8017 * scripts/dpkg-source.pl: If two arguments are given to dpkg-source,
8018 use the second to set $newdirectory rather than creating it ourselves.
8019 It's an error to specify an output directory that exists.
8020 (usageversion): Document optional second argument to dpkg-source -x.
8021
8022 * man/C/dpkg-source.1: Document optional second argument.
8023
8024 2005-06-11 Matt Kraai <kraai@alumni.cmu.edu>,
8025 Scott James Remnant <scott@netsplit.com>
8026
8027 * scripts/dpkg-source.pl: Move the .orig directory out of the way
8028 during the duration of the script, moving it back again afterwards.
8029
8030 2005-06-11 Brendan O'Dea <bod@debian.org>
8031
8032 Support unpacking of "Wig And Pen" (Format: 2.0) source packages.
8033
8034 * scripts/dpkg-source.pl: When unpacking a source package with a
8035 2.x format, allow multiple orig tarballs and allow the diff to be
8036 replaced by a debian.tar. Additional orig tarballs are named
8037 "*.orig-xxx.tar" where the "xxx" is the name of the sub-directory
8038 of the source where they should be unpacked. The debian.tar is
8039 unpacked as the debian sub-directory of the source and may contain
8040 binaries (which the diff can't) and patches (in a patches
8041 sub-directory) which are automatically applied during unpacking.
8042 (checkdiff): Move diff checking code into sub-routine as we call
8043 it multiple times now. Allow uncompressed patches, cruft
8044 at the start of a patcha and be less strict about patched directory
8045 name (including allowing /dev/null). Skip "Index:" header generated
8046 by CVS.
8047 (forkgzipread): Run either gunzip or bunzip2 depending on the
8048 filename, allowing us to support .tar.bz2, and .diff.bz2.
8049 (handleformat): Compare a range of major versions, as we now
8050 support both 1.0 and 2.0 formats.
8051 (def_dscformat): Generate 1.0 format packages by default.
8052 (setfile): Removed unused function.
8053 * debian/control ([dpkg-dev]Recommends): Recommend bzip2, it's
8054 not an absolute dependency until bz2 packages are supported by
8055 katie and policy.
8056
8057 2005-06-11 Scott James Remnant <scott@netsplit.com>
8058
8059 * m4/libs.m4 (DPKG_LIB_ZLIB, DPKG_LIB_BZ2): Rewrite to match the
8060 way --with-selinux works. Actually check whether the library and
8061 header files we need are available, using the configure option to
8062 determine whether the tests should be skipped (=no) or cause a
8063 hard failure if not present (=yes or =static).
8064 * lib/Makefile.am (INCLUDES): Remove ZLIB_CFLAGS and BZ2_CFLAGS as
8065 we don't set these to anything in configure anymore (WITH_ZLIB and
8066 WITH_BZ2 are set in config.h) and users would set CFLAGS itself to
8067 supply missing -I arguments.
8068 * dpkg-deb/Makefile.am (INCLUDES): Remove ZLIB_CFLAGS and BZ2_CLFAGS.
8069 * src/Makefile.am (dpkg_query_LDADD): Remove ZLIB_LIBS and CFLAGS_LIBS
8070 as dpkg-query doesn't use them.
8071
8072 * m4/libs.m4 (DPKG_LIB_SELINUX): Add new test for the selinux
8073 library and header. This works a little differently from the
8074 current --with-{zlib,bz2} tests in that if no option is given it
8075 still tries to enable it if possible. If "yes" or "static" is given,
8076 that forces the requirement (configure fails if not present), if "no"
8077 is given the tests are skipped.
8078 * configure.ac: Include selinux test.
8079
8080 2005-06-11 Manoj Srivastava <srivasta@debian.org>
8081
8082 * lib/star.c (ExtractFile, SetModes): If dpkg is compiled with
8083 SELinux, test once whether SELinux is enabled on the system. If it
8084 is enabled, find out the security context of the file from its path
8085 and either set what we think it should be or let the default security
8086 context for the process be applied.
8087 * debian/control (Build-Depends): Add libselinux1-dev as a build
8088 dependency.
8089 * debian/rules: Compile-in support for selinux and link statically.
8090 * dpkg-deb/Makefile.am (dpkg_deb_LDADD): Link dpkg-deb with
8091 SELINUX_LIBS.
8092 * src/Makefile.am (dpkg_LDADD): Link dpkg with SELINUX_LIBS.
8093
8094 2005-06-10 Scott James Remnant <scott@netsplit.com>
8095
8096 * lib/dbmodify.c (log_message): New function that writes a
8097 formatted string to the log file, opening it if it hasn't been
8098 yet. In case of error, we print it and don't try to open the
8099 file again.
8100 (modstatdb_note): Replace log writing code with call to new
8101 log_message function.
8102 * src/configure.c (promptconfaction): Replace log writing code
8103 with call to log_message function.
8104 * src/help.c (log_action): Simplify to just a log_message call.
8105 * lib/dpkg-db.h: Remove extern definition of log_pipes, replace
8106 with log_message function.
8107 * src/main.c (cmdinfos): Change --log argument action to just
8108 storing the string in the log_file variable.
8109 (setfile): Remove function.
8110 * lib/myopt.c (myfileopt): strdup the string option argument
8111 before storing it, otherwise it just gets overwritten by the next
8112 line.
8113
8114 * configure.ac: Bump version to 1.13.9~.
8115
8116 * configure.ac: Release 1.13.8.
8117
8118 * lib/parse.c (parsedb): Check whether the file size is greater
8119 than zero bytes in size before trying to mmap or malloc it, if it
8120 isn't don't process the file.
8121
8122 2005-06-09 Scott James Remnant <scott@netsplit.com>
8123
8124 * configure.ac: Bump version to 1.13.8~.
8125
8126 * configure.ac: Release 1.13.7.
8127
8128 * src/main.c (setfile): Make inability to open the log file a
8129 warning only, rather than bailing out; and if not running as root,
8130 don't even show the warning.
8131
8132 2005-06-09 Colin Watson <cjwatson@ubuntu.com>
8133
8134 * man/C/dpkg-architecture.1: Include example debian/rules snippet
8135 to support older versions of dpkg-dev after updating to use new
8136 variables.
8137
8138 2005-06-09 Scott James Remnant <scott@netsplit.com>
8139
8140 * man/C/dpkg-architecture.1: Clean up examples using .nf and .fi
8141 to produce a pre-like effect. Indent the examples a little.
8142
8143 2005-06-06 Scott James Remnant <scott@netsplit.com>
8144
8145 * configure.ac: Bump version to 1.13.7~.
8146
8147 * debian/dpkg.install: Don't use dh_install to copy the logrotate
8148 file because it can't rename things.
8149 * debian/rules (binary-arch): Install and rename manually instead.
8150 * configure.ac: Release 1.13.6 (Brown Paper Bag).
8151
8152 * configure.ac: Bump version to 1.13.6~.
8153
8154 * configure.ac: Release 1.13.5.
8155
8156 2005-06-06 Philippe Batailler <philippe.batailler@free.fr>
8157
8158 * man/fr/*: All french man pages updated
8159
8160 2005-06-06 Christian Perrier <bubulle@debian.org>
8161
8162 * man/pt_BR/update-alternatives.8: Syntax error corrected.
8163
8164 2005-06-06 Kevin Ryde <user42@zip.com.au>
8165
8166 * man/sv/dpkg-deb.1: Syntax error corrected.
8167 * man/es/dpkg-scanpackages.1: Syntax error corrected.
8168
8169 2005-06-06 Scott James Remnant <scott@netsplit.com>
8170
8171 * src/configure.c (promptconfaction): Record user's decision about
8172 a conffile in the log file as either "install" or "keep".
8173 * man/C/dpkg.1: Document the conffile output that'll appear in the
8174 log file.
8175
8176 * debian/dpkg.cfg: Create a log-file by default.
8177 * debian/dpkg.logrotate: Include a logrotate file for the log.
8178 * debian/dpkg.install: Install the debian/dpkg.logrotate file as
8179 /etc/logrotate.d/dpkg
8180 * Makefile.am (EXTRA_DIST): Ship the debian/dpkg.logrotate file.
8181 * debian/dpkg.preinst (create_logfile): Create a log file with
8182 the default permissions.
8183 * debian/dpkg.postrm (remove_logfile): Remove log files when dpkg
8184 is purged (not that it will happen, but it pays to be compliant).
8185
8186 * debian/dpkg.preinst (confirm_dselect_split): Only check process
8187 list for dselect if ps is installed; this should be the case during
8188 upgrades anyway.
8189
8190 * debian/dpkg.prerm (undivert_md5sum): Remove md5sum diversion
8191 when the package is removed or downgraded to a version where
8192 we supplied our own md5sum.
8193 * debian/dpkg.postinst (divert_md5sum): Divert md5sum as long as
8194 there isn't one, don't explicitly check for the textutils file
8195 being there as it may be installed afterwards.
8196
8197 2005-05-26 Scott James Remnant <scott@netsplit.com>
8198
8199 * debian/control (Maintainer): I'm going to officially take blame for
8200 this package Ian-style, we'll keep bugs going to the list using the
8201 PTS instead.
8202
8203 2005-05-25 Scott James Remnant <scott@netsplit.com>
8204
8205 * scripts/dpkg-source.pl: Recognise Enhances in the package's
8206 section of control files.
8207
8208 2005-05-23 Scott James Remnant <scott@netsplit.com>
8209
8210 * cputable: Change GNU name of the i386 CPU to i486, to reflect
8211 reality.
8212 * debian/archtable: Update first field of i386 and hurd-i386 to
8213 use i486 as the CPU name.
8214
8215 2005-04-03 Scott James Remnant <scott@netsplit.com>
8216
8217 * scripts/dpkg-architecture.pl (gnu_to_debian): Check cputable
8218 and ostable in file order.
8219 * ostable: Place hurd at the bottom so it's checked last.
8220
8221 2005-03-29 Scott James Remnant <scott@netsplit.com>
8222
8223 * configure.ac: Bump version to 1.13.5~.
8224
8225 * configure.ac: Release 1.13.4.
8226
8227 2005-03-28 Scott James Remnant <scott@netsplit.com>
8228
8229 * scripts/dpkg-architecture.pl: Catch -L and list every possible
8230 os and cpu combination.
8231 (usageversion): Add -L option to description.
8232 (read_cputable): Add in-order list of cpu values to @cpu array.
8233 (read_ostable): Add in-order list of os values to @os array.
8234 * man/C/dpkg-architecture.1: Document -L option.
8235
8236 2005-03-27 Scott James Remnant <scott@netsplit.com>
8237
8238 * m4/arch.m4 (DPKG_OS_TYPE): Allow a vendor to appear at the start
8239 of $os_type.
8240 * scripts/dpkg-architecture.pl (gnu_to_debian): Don't strip the
8241 vendor out, just allow it to appear at the start of the string.
8242
8243 2005-03-21 Scott James Remnant <scott@netsplit.com>
8244
8245 * configure.ac: Bump version to 1.13.4~.
8246
8247 * configure.ac: Release 1.13.3.
8248
8249 * scripts/controllib.pl (unknown): Output field name we have in
8250 hand, rather than trying to look it up in a dictionary in which
8251 it doesn't exist yet.
8252
8253 * scripts/changelog/debian.pl: Revert accidental half-patch that
8254 turned the Maintainer field into a Changed-By field.
8255
8256 2005-03-21 Marc Dequènes <duck@duckcorp.org>
8257
8258 * scripts/dpkg-gencontrol.pl: Fix filename regexp to allow '-'
8259 in architecture names.
8260
8261 2005-03-20 Scott James Remnant <scott@netsplit.com>
8262
8263 * scripts/dpkg-buildpackage.sh: Output "source changed by"
8264 rather than "source maintainer is".
8265
8266 * man/C/dpkg.1: Document that --get-selections takes a package
8267 name pattern. Document format of file --set-selections takes.
8268
8269 * man/C/dpkg-source.1: Remove unnecessary references to policy
8270 and non-existent packaging manual. Refer to dpkg-shlibdeps(1)
8271 for shlibs file format. Will need to document changelog format
8272 at some point.
8273 * man/C/dselect.1: Remove unnecessary reference to policy, refer
8274 other reference to the package by name.
8275 * man/C/deb-old.5: Remove reference to non-existent packaging
8276 manual.
8277 * man/C/deb.5: Remove reference to non-existent packaging
8278 manual, will have to document control contents better here later.
8279
8280 * man/C/dpkg.1: Fix typo for "file is".
8281
8282 * origins/debian: Remove trailing line.
8283
8284 2005-03-20 Mathias Weidner <mathias@weidner.in-bad-schmiedeberg.de>
8285
8286 * scripts/dpkg-scansources.pl (getopt): Add (@) to prototype.
8287
8288 2005-03-20 Scott James Remnant <scott@netsplit.com>
8289
8290 * man/C/update-alternatives.8: Document what the '+' and '*'
8291 marked choices in --config output mean.
8292
8293 * src/main.c (usage): Make aptitude quoting consistent.
8294
8295 * man/C/dpkg-divert.8: Mention --truename alongside the comment
8296 about what it does.
8297
8298 * src/main.c (printforhelp): Mention aptitude alongside dselect.
8299 * dpkg-deb/main.c (usage): Mention aptitude alongside dselect.
8300
8301 * lib/ehandle.c (warningf): Add missing newline to end of format
8302 string.
8303
8304 * man/C/update-alternatives.8: Harmonise names for arguments to
8305 --install option.
8306
8307 * man/C/dpkg.1: Remove "medium-level" from dpkg's description,
8308 it's somewhere between medium and low. The fact it's a package
8309 manager is sufficient description.
8310
8311 * src/query.c (listpackages): Create a second filtered list of
8312 packages, sort that (rather than the complete list) and use that
8313 when calling list1package. This means we only expand to the
8314 longest field in the result, not the database. Hopefully the
8315 speed gain of only sorting a filtered list outweighs the slighty
8316 extra computation time.
8317
8318 2005-03-18 Scott James Remnant <scott@netsplit.com>
8319
8320 * configure.ac: Bump version to 1.13.3~.
8321
8322 * configure.ac: Release 1.13.2.
8323
8324 * src/query.c (getwidth): Return -1 if we're not on a tty.
8325 (list1package): Take a package list as well, and if getwidth()
8326 returns -1 determine the longest name, version and description
8327 and use those for output.
8328 (listpackages): Pass the package list and length to both
8329 calls to list1package to allow them to go wide.
8330
8331 * lib/dbmodify.c (modstatdb_note): Every time we'd output a
8332 status change to the status-fd, also output a log message to
8333 the log-fd if we have one.
8334 * lib/dpkg-db.h: Add definition of log_pipes.
8335 * src/help.c (log_action): Write an action line to the log-fd.
8336 * src/processarc.c (process_archive): Log installation and
8337 upgrade actions.
8338 * src/remove.c (removal_bulk_remove_configfiles): Log purge
8339 action.
8340 (deferred_remove) Log remove action.
8341 * src/main.c (setfile): Take a filename, open it and add the
8342 file descriptor to a list of pipes.
8343 (cmdinfos): Add log command-line option that takes a filename
8344 and adds it to log_pipes.
8345 (usage): Add --log=<filename> usage.
8346 * man/C/dpkg.1: Document --log=filename.
8347 * debian/dpkg.cfg: Include a commented-out log option.
8348
8349 2005-03-18 Peter van Dijk <peter@dataloss.nl>
8350
8351 * lib/tarfn.c (TarExtractor): Only remove the last character
8352 from directory names if it's a trailing slash.
8353
8354 2005-03-18 Scott James Remnant <scott@netsplit.com>
8355
8356 * man/C/dpkg-divert.8: Add an EXAMPLES section giving the two
8357 most common uses of dpkg-divert, for both add and remove.
8358
8359 * man/C/dpkg-architecture.1: Update (should have done this with
8360 the changes below, really).
8361
8362 * src/help.c (preexecscript): The first member of argv is always
8363 NULL because it's filled in by the return value of this function,
8364 so increment argv first when debug-outputting maintainer script
8365 arguments.
8366
8367 * utils/md5sum.c: Remove file.
8368 * lib/dpkg.h (MD5SUM): Remove definition of md5sum program name.
8369 * utils/Makefile.am (bin_PROGRAMS): Remove md5sum.
8370 * man/C/md5sum.1: Remove manual page.
8371 * man/C/Makefile.am (dist_man_MANS): Remove md5sum.1.
8372 * man/de/md5sum.1: Remove manual page.
8373 * man/de/Makefile.am (dist_man_MANS): Remove md5sum.1.
8374 * man/es/md5sum.1: Remove manual page.
8375 * man/es/Makefile.am (dist_man_MANS): Remove md5sum.1.
8376 * man/ja/md5sum.1: Remove manual page.
8377 * man/ja/Makefile.am (dist_man_MANS): Remove md5sum.1.
8378 * man/sv/md5sum.1: Remove manual page.
8379 * man/sv/Makefile.am (dist_man_MANS): Remove md5sum.1.
8380 * debian/dpkg.postinst (divert_md5sum): Divert the version of
8381 md5sum installed by textutils or coreutils to the place where we
8382 used to put our copy, include its manual page.
8383 * debian/control ([dpkg]Depends): Depend on coreutils, which has
8384 always included md5sum, or the version of textutils that has.
8385 * debian/dpkg.install: Remove md5sum-related files.
8386 * debian/copyright: Remove mentions of utils/md5sum.c.
8387 * debian/pseudo-tags: Remove md5sum tag; no point filing bugs on
8388 a non-existent program.
8389
8390 * ostable (netbsd): Restore missing "*" on the end of the regex.
8391
8392 Take a further step towards having separate CPU and system names
8393 instead of just a joined architecture name; in particular add
8394 support to dpkg-architecture.
8395
8396 * cputable: Create new table of cpu names with canonical GNU
8397 names and a regex to match against config.guess output.
8398 * ostable: Create new table of operating system names with
8399 canonical GNU names and a regex to match against config.guess
8400 output.
8401 * archtable: Move to debian directory.
8402 * debian/archtable: Reduce to a simple set of architecture names
8403 in Debian's sid distribution.
8404 * scripts/dpkg-architecture.pl: Add support for split cputable
8405 and ostable, including new DEB_*_ARCH_OS and DEB_*_ARCH_CPU
8406 variables containing the Debian system and cpu names appropriately.
8407 (usageversion): Remove list of known architectures, as we can't
8408 easily compute this anymore (cputable * ostable).
8409 (read_archtable): Removed function, we no longer touch archtable.
8410 (read_cputable): Add function to parse cputable.
8411 (read_ostable): Add function to parse ostable.
8412 (split_debian): Add function to split a Debian "os-cpu" name.
8413 (debian_to_gnu): Add function to split and look up the GNU names
8414 for the Debian os and cpu, and return the joined GNU name.
8415 (split_gnu): Add function to split a GNU triplet/quartet.
8416 (gnu_to_debian): Add function to split and look up the Debian
8417 names for the GNU os and cpu (by regex), and return the joined
8418 Debian name.
8419 (rewrite_gnu): Removed, replaced by regexes in the tables.
8420 * m4/arch.m4 (DPKG_CPU_TYPE): Use awk to parse the new cputable
8421 and define an ARCHITECTURE_CPU macro with the result.
8422 (DPKG_OS_TYPE): Use awk to parse the new ostable and define an
8423 ARCHITECTURE_OS macro with the result.
8424 (DPKG_ARCHITECTURE): Simply join the os and cpu names together,
8425 or omit the os name if "linux".
8426 * Makefile.am (dist_pkgdata_DATA): Remove archtable, add
8427 cputable and ostable instead.
8428 (EXTRA_DIST): Add debian/archtable.
8429 * debian/dpkg.install: Install debian/archtable in /usr/share/dpkg
8430 for packages that still want it.
8431 * debian/pseudo-tags: Replace mention of archtable.
8432
8433 * archtable: Add ppc64 for powerpc-linux.
8434 * scripts/dpkg-architecture.pl (rewrite_gnu): Rewrite powerpc64
8435 and ppc64 into powerpc64 for archtable.
8436
8437 2005-03-17 Scott James Remnant <scott@netsplit.com>
8438
8439 * debian/dpkg.preinst (confirm_dselect_split): Check that dselect
8440 is running before bitching; it's easy to do and will stop this
8441 question more often than not.
8442
8443 2005-03-17 Scott James Remnant <scott@ubuntu.com>,
8444 Anthony Towns <aj@azure.humbug.org.au>
8445
8446 * src/archives.c (tarobject): Detect when installing a file that
8447 exists in a package that replaces the one being installed. Leave
8448 that on the disk and remove the file from the list for the package
8449 being installed.
8450
8451 2005-03-16 Scott James Remnant <scott@netsplit.com>
8452
8453 * lib/parsedump.h: Move definitions of fieldinfos and nicknames
8454 arrays to the bottom of the file, to ensure we know the size of
8455 the arrays we're declaring.
8456 * lib/mlib.c (buffer_write): Cast unsigned char * to plain old
8457 char * when calling sprintf.
8458
8459 2005-03-12 Frank S. Thomas <frank@thomas-alfeld.de>
8460
8461 * man/C/dpkg-architecture.1: Correct typo for "variables".
8462
8463 2005-03-08 Scott James Remnant <scott@netsplit.com>
8464
8465 * Makefile.am (package): Remove rule, as it is only really
8466 required outside of arch (otherwise you have a tarball).
8467 * Makefile.maint: New file holding the package rule.
8468
8469 2005-03-03 Scott James Remnant <scott@netsplit.com>
8470
8471 * archtable: Describe column 2 as the value returned by
8472 dpkg --print-architecture not --print-installation-architecture
8473 which we deprecated in the last release.
8474
8475 * configure.ac: Bump version to 1.13.2~.
8476
8477 * configure.ac: Release 1.13.1.
8478
8479 2005-03-03 Michael Vogt <mvo@ubuntu.com>
8480
8481 * src/configure.c (promptconfaction): Output conffile-prompt
8482 status onto status-fd to let front-ends capture conflicts.
8483 * src/errors.c (print_error_perpackage): Output package errors
8484 onto status-fd to let front-ends capture them.
8485 * man/C/dpkg.1: Document how errors and configuration file
8486 conflicts are reported on the status-fd.
8487
8488 2005-01-22 Scott James Remnant <scott@netsplit.com>
8489
8490 * man/C/dpkg.1: Remove --print-gnu-build-architecture and
8491 --print-installation-architecture from documentation, correct
8492 --print-architecture.
8493 * man/C/dpkg-architecture.1: Give --print-architecture in examples,
8494 instead of --print-installation-architecture.
8495 * scripts/dpkg-name.sh (getname): Call 'dpkg --print-architecture'
8496 instead of 'dpkg --print-installation-architecture'.
8497 * scripts/dpkg-architecture.pl: Set the default $pkgdatadir to
8498 point at an installed copy.
8499 Call 'dpkg --print-architecture' instead of
8500 'dpkg --print-installation-architecture'.
8501 * methods/disk/setup (iarch): Call dpkg --print-architecture.
8502 * debian/control ([dpkg-dev]Depends, [dselect]Depends): Depend on
8503 dpkg (>= 1.13.1) so we get a dpkg with the right print options.
8504
8505 * src/enquiry.c (printarch): Completely nuke this function, we'll
8506 no longer parse the compiler output and look up things in archtable.
8507 (printinstarch): Rename to printarch, and change the output message
8508 to refer to --print-architecture.
8509 (badlgccfn): Remove unused function.
8510 * src/main.c (cmdinfos): Remove --print-gnu-build-architecture option,
8511 make --print-installation-architecture call printarch.
8512 (usage): Remove both --print-gnu-build-architecture and
8513 --print-installation-architecture and describe --print-architecture
8514 as doing what --p-i-a used to do. Use dpkg-architecture for host
8515 information.
8516 * src/main.h (action): Remove act_printgnuarch from enum, leave
8517 act_printinstarch so we can later deprecate use of the longer command.
8518 * src/Makefile.am (archtable.h): No need to generate archtable.h
8519 seeing as we don't parse it within dpkg, remove rule to generate it.
8520 (CLEANFILES): We don't generate archtable.h, so no need to clean it.
8521 * src/.arch-inventory: Don't treat archtable.h specially.
8522 * archtable: Remove unused third field, entirely inaccurate too.
8523 Correct typo for 'sh3eb'.
8524 * scripts/dpkg-architecture.pl (read_archtable): Parse only two
8525 fields from archtable.
8526
8527 * scripts/dpkg-architecture.pl: Remove out-of-date history from the
8528 top, ChangeLog serves better now and is less confusing.
8529 Reset $gcc if we get less than, or more than one archtable result.
8530 Remove extra newline from mismatched -a/-t warning.
8531 (usageversion): Pedant the usage message while we scroll past.
8532 (read_archtable): New function to read /usr/share/dpkg/archtable
8533 rather than hard-coding some values in the script.
8534 (rewrite_gnu): Rewrite along the lines of the code in m4/arch.m4 so
8535 they should actually be vaguely consistent now.
8536
8537 * scripts/Makefile.am (do_perl_subst): Replace occurrences of
8538 $pkgdatadir in scripts with the right value.
8539
8540 2005-01-22 Robert Millan <rmh@debian.org>
8541
8542 * configure.ac: Check for kvm.h.
8543 * utils/start-stop-daemon.c: Remove includes for <sys/user.h>,
8544 <sys/sysctl.h> and <kvm.h> for the BSDs unless configure found
8545 <kvm.h>.
8546 (fatal): Output the message associated with errno.
8547
8548 2005-01-22 Rakesh 'arky' Ambati <rakesh_ambati@yahoo.com>
8549
8550 * scripts/dpkg-architecture.pl: Correct typo for 'failed'.
8551
8552 2005-01-22 Robert Millan <rmh@debian.org>,
8553 Scott James Remnant <scott@netsplit.com>
8554
8555 * m4/arch.m4 (DPKG_CPU_TYPE): Add a new macro to turn common
8556 groups of CPU names into a single type (e.g. i*86 to i386).
8557 (DPKG_OS_TYPE): Match linux*-gnu* for Linux (in case we get a
8558 non-GNU Linux at some point) and produce a 'linux' type. Remove
8559 the initial '*' from the rest of the entries. Restore gnu* as
8560 gnu (for the Hurd). Add support for darwin* as darwin. Sort
8561 into almost-alphabetical order with i386/linux at the top.
8562 (DPKG_ARCHITECTURE): Call DPKG_CPU_TYPE and use $cpu_type instead of
8563 $target_cpu.
8564 * archtable: Rewrite the top comment to be a little clearer and
8565 correct the lie that the third column is 'dpkg --print-architecture'
8566 when it is, in fact, 'dpkg --print-gnu-build-architecture'. Correct
8567 third columns of the non-Linux architecture to actually return a
8568 GNU name. Sort the file into i386/linux-first alphabetical order.
8569
8570 2005-01-22 Robert Millan <rmh@debian.org>
8571
8572 * archtable: Add x86_64-kfreebsd to archtable as 'kfreebsd-amd64'.
8573 * scripts/dpkg-architecture.pl: Add 'kfreebsd-amd64' to archtable.
8574
8575 2005-01-22 NIIBE Yutaka <gniibe@fsij.org>
8576
8577 * archtable: Add m32r-linux-gnu to archtable as 'm32r'.
8578 * scripts/dpkg-architecture.pl: Add 'm32r' to archtable.
8579
8580 2005-01-22 Scott James Remnant <scott@netsplit.com>
8581
8582 * src/query.c (cmdinfos): Make -f alternative for --showformat.
8583 * src/query.c (usage): Document that -f is alternative for
8584 --showformat.
8585 * man/C/dpkg-query.1: Update documentation to match.
8586
8587 2005-01-22 Stephane Bortzmeyer <stephane@sources.org>
8588
8589 * scripts/dpkg-source.pl (diff_ignore_default_regexp): Add the
8590 darcs _darcs directory to the ignore list.
8591
8592 2005-01-22 Scott James Remnant <scott@netsplit.com>
8593
8594 * utils/md5sum.c (main): Correct md5sum according to the wishes
8595 of the Debian technical committee; when given a file on standard
8596 input, it now simply outputs the md5sum and does not append " -"
8597 or " *-" on the end.
8598
8599 2005-01-22 Adam Heath <doogie@debian.org>
8600
8601 * lib/tarfn.c (TarExtractor): Fix handling of GNU longname and
8602 longlink support when there is both types for the same file entry
8603 in a tarball.
8604
8605 2005-01-19 Dafydd Harries <daf@muse.19inch.net>
8606
8607 * man/C/dpkg-source.1: Make the summary for dpkg-source -b invocation
8608 in the manpage match that output by dpkg-source --help. (I.e. indicate
8609 the possibility of specifying the upstream tarball rather than the
8610 upstream source directory as a second parameter.)
8611
8612 2005-01-17 Scott James Remnant <scott@netsplit.com>
8613
8614 * debian/dpkg.preinst (confirm_dselect_split): Support pre-sarge
8615 upgrades by checking that they've upgraded dselect first, and
8616 prompting if they haven't.
8617
8618 2005-01-14 Scott James Remnant <scott@netsplit.com>
8619
8620 * .arch-inventory: Ignore the upload result file as well.
8621
8622 * configure.ac: Bump version to 1.13.1~.
8623
8624 * configure.ac: Release 1.13.0.
8625
8626 * dpkg-deb/main.c (main): Remove NONRETURNING declaration as
8627 this function does actually call return sometimes.
8628 * dpkg-split/main.c (main): Remove NONRETURNING declaration as
8629 this function does actually call return sometimes.
8630 * utils/start-stop-daemon.c (main): Remove NONRETURNING declaration
8631 as this function does actually call return sometimes.
8632 * m4/compiler.m4 (SJR_COMPILER_WARNINGS): Enable warnings for CXX
8633 too, my original macro doesn't do this.
8634
8635 * configure.ac: Use AC_GNU_SOURCE to get some of the extra goodies
8636 in the GNU C library, use DPKG_C_C99 to test for C99 features.
8637 * m4/compiler.m4 (DPKG_C_C99): New macro to determine whether
8638 compiler supports C99 features.
8639 (SJR_COMPILER_WARNINGS): Don't use -pedantic yet, dpkg isn't ready
8640 for it.
8641
8642 * lib/dpkg.h: Provide C99-conformant variadic macros if the
8643 compiler supports them in place of gnu-style ones.
8644 * lib/tarfn.c: Add missing include of config.h to get some useful
8645 information (and prototype of strnlen).
8646 * src/help.c: Cast arguments to (char * const *) explicitly.
8647 * dpkg-deb/main.c: Include dpkg-db.h to get nffreeall prototype.
8648 * .arch-inventory: Ignore config.cache if the user uses it.
8649
8650 * scripts/controllib.pl: Add #!/usr/bin/perl to satisfy lintian.
8651 * debian/control ([dpkg]Pre-Depends): Needs to pre-depend on shlibs
8652 dependencies like libc6, accidentally dropped earlier.
8653 ([dpkg-dev]Recommends): Added gcc as first choice for c-compiler.
8654 * debian/rules: Generate shlibdeps for all arch packages, not just
8655 dselect (so we get them for dselect too).
8656 * debian/.arch-inventory: Ignore dpkg.substvars.
8657 * debian/dpkg.conffiles: Removed, debhelper does the right thing.
8658 * debian/dpkg-dev.conffiles: Removed, debhelper does the right thing.
8659 * debian/dselect.conffiles: Removed, debhelper does the right thing.
8660 * Makefile.am (EXTRA_DIST): Updated for debian directory changes.
8661 (package): Add missing distdir dependency, also don't treat lintian
8662 problems as errors, just report them.
8663 * man/C/dpkg.8: Moved to section 1 where it belongs.
8664 * man/C/dpkg-query.8: Moved to section 1 where it belongs.
8665 * man/C/dpkg-split.8: Moved to section 1 where it belongs.
8666 * man/C/dselect.8: Moved to section 1 where it belongs.
8667 * man/C/Makefile.am: Install dpkg.1, dpkg-query.1, dselect.1
8668 * man/es/dpkg.8: Moved to section 1 where it belongs.
8669 * man/es/dpkg-split.8: Moved to section 1 where it belongs.
8670 * man/es/dselect.8: Moved to section 1 where it belongs.
8671 * man/es/Makefile.am: Install dpkg.1, dpkg-split.1, dselect.1
8672 * man/fr/dpkg.8: Moved to section 1 where it belongs.
8673 * man/fr/dpkg-query.8: Moved to section 1 where it belongs.
8674 * man/fr/dpkg-split.8: Moved to section 1 where it belongs.
8675 * man/fr/Makefile.am: Install dpkg.1, dpkg-query.1, dpkg-split.1
8676 * man/ja/dpkg.8: Moved to section 1 where it belongs.
8677 * man/ja/dpkg-query.8: Moved to section 1 where it belongs.
8678 * man/ja/dselect.8: Moved to section 1 where it belongs.
8679 * man/ja/Makefile.am: Install dpkg.1, dpkg-query.1, dselect.1
8680 * man/pt_BR/dpkg.8: Moved to section 1 where it belongs.
8681 * man/pt_BR/dselect.8: Moved to section 1 where it belongs.
8682 * man/pt_BR/Makefile.am: Install dselect.1, dpkg.1
8683 * man/ru/dpkg.8: Moved to section 1 where it belongs.
8684 * man/ru/Makefile.am: Install dpkg.1
8685 * man/sv/dpkg.8: Moved to section 1 where it belongs.
8686 * man/sv/dpkg-query.8: Moved to section 1 where it belongs.
8687 * man/sv/dpkg-split.8: Moved to section 1 where it belongs.
8688 * man/sv/dselect.8: Moved to section 1 where it belongs.
8689 * man/sv/Makefile.am: Install dpkg.1, dpkg-query.1, dpkg-split.1,
8690 dselect.1
8691 * debian/dpkg.install: Install dpkg.1, dpkg-query.1, dpkg-split.1
8692 * debian/dselect.install: Install dselect.1
8693
8694 * Makefile.am (EXTRA_DIST): Distribute files in the debian directory
8695 in the source tarball.
8696 (package): Create source and binary packages using dpkg-buildpackage
8697 and some magic to give us a directory containing only 'dist' files.
8698 Check the resulting changes file with lintian if we have it.
8699
8700 * .arch-inventory: Apply l33t regex skills to ignore source tarballs,
8701 packages and the dist directory.
8702
8703 * utils/Makefile.am (rootsbin_PROGRAMS): Install start-stop-daemon
8704 into the ordinary sbindir by default.
8705 * debian/dpkg.install: Install usr/sbin/start-stop-daemon into /sbin.
8706
8707 * debian/control (Build-Depends): The source tarball now includes
8708 the generated gmo files, so there's no reason for the package to
8709 build-depend on gettext.
8710
8711 * getopt/getdate.c: Remove unused file.
8712
8713 * methods/disk/update: Remove {...} glob, as it's a bashism.
8714
8715 * debian/control (Build-Depends): Fix dependency on virtual
8716 package `libncurses-dev'.
8717
8718 * m4/funcs.m4 (DPKG_FUNC_VA_COPY): Wrap TRY_RUN and TRY_COMPILE
8719 calls in AC_CACHE_CHECK, missed when I copied it over and updated.
8720
8721 * debian/dpkg.prerm: Give the script a bit of a spring clean,
8722 add a comment block at the top to serve as documentation of how
8723 prerm is called for anyone wanting a quick reference; this seems
8724 a reasonable place to do it as any. Don't remove the historic
8725 info scripts anymore (dating back to 1.3.3) as we haven't shipped
8726 them in ages and 1.3.3's upgrade script did it anyway.
8727 * debian/dpkg.postrm: Equal spring clean and documentation comment
8728 added to the top. Removed code to purge dpkg.cfg now we include it
8729 in the package as a conffile again anyway.
8730 * debian/dpkg.preinst: Equal spring clean and documentation comment
8731 added to the top. Separated each discreet piece of upgrade behaviour
8732 for the 0.93.50 jump into different functions.
8733 * debian/dpkg.postinst: Equal spring clean and documentation comment
8734 added to the top. Separated each bit of behaviour into a separate
8735 function.
8736 (move_info_directory): No longer create symlinks to the new location.
8737 (remove_info_symlink): Remove /usr/info or /usr/info/dir symlinks.
8738
8739 2005-01-13 Scott James Remnant <scott@netsplit.com>
8740
8741 * debian/control (Build-Depends): Add forgotten build-depend on
8742 debhelper, I picked 4.1.81 after reading the changelog as it has the
8743 first feature we need (upstream and debian changelogs in a native
8744 package).
8745
8746 * man/C/Makefile.am (dpkg_source_aliases): I missed a whole bunch
8747 of manpages created as aliases to dpkg-source, put the rules in to
8748 do that.
8749 * man/C/.arch-inventory: Ignore generated aliased pages.
8750
8751 * debian/rules: Rewrite from scratch to use debhelper, this breaks
8752 being able to bootstrap dpkg from its own source directory; but that
8753 didn't really work anyway. You can always just 'make install' first.
8754 * debian/compat: Set debhelper compatibility to v4.
8755 * debian/dpkg.docs: List documentation to ship with dpkg.
8756 * debian/dpkg.install: List files that belong to dpkg.
8757 * debian/dselect.install: List files that belong to dselect.
8758 * debian/dpkg-dev.install: List files that belong to dpkg-dev.
8759 * .arch-inventory: Ignore build-tree, created by debian/rules.
8760 * debian/.arch-inventory: Ignore files and directories created by
8761 debian/rules.
8762
8763 * lib/Makefile.am (INCLUDES): Correct sharedstatedir to datadir,
8764 common-licenses isn't in /usr/com (whatever that is).
8765
8766 * dpkg-split/Makefile.am (install-data-local): Use $(mkdir_p) instead
8767 of $(MKINSTALLDIRS), better style.
8768 * methods/Makefile.am (install-data-local): Use $(mkdir_p) instead of
8769 $(MKINSTALLDIRS) here too.
8770 * origins/Makefile.am (install-data-local): And here.
8771 * scripts/Makefile.am (install-exec-local): Here as well.
8772 (install-data-local): Likewise.
8773 * src/Makefile.am (install-data-local): And finally, here too.
8774
8775 * scripts/Makefile.am: Automake doesn't create out-of-tree output
8776 directories for us, so do so if it they don't exist (but quiet, like).
8777 (do_perl_subst): Remove space in #! line.
8778 * dpkg-split/Makefile.am: Create out-of-tree directories.
8779 (do_perl_subst): Remove space in #! line.
8780
8781 * lib/dpkg.h: Include locale.h, for LC_ALL which is expanded in
8782 a macro here. This is needed if we build without optimisations
8783 as libintl.h won't include it for us.
8784
8785 2005-01-12 Scott James Remnant <scott@netsplit.com>
8786
8787 * debian/pseudo-tags: Rewrite and clear up, put tags into a decent
8788 order and add a new [DEPENDS] tag to track dependency handling
8789 issues.
8790
8791 * debian/shlibs.default: Clean up.
8792 * debian/shlibs.override: Clean up.
8793
8794 * debian/dselect.cfg: Clean up atrocious English spelling.
8795 * debian/dpkg.cfg: Clean up atrocious English spelling; remove old
8796 configuration values as this file would be useful to be installed
8797 to describe its use.
8798 * debian/dpkg.conffiles: Add dpkg.cfg.
8799
8800 * debian/copyright: Clean up, utf-8ify and add missing copyright
8801 declarations.
8802
8803 * debian/control (Build-Depends): Remove SGML-related tools now we no
8804 longer have docs in that format; increase gettext build-dependency to
8805 0.14.1; remove build-dependency on autotools-dev.
8806 (Standards-Version): Bump to keep lintian happy, we're conformant.
8807 ([dpkg]Pre-Depends): Remove pre-dependency on dselect put in place
8808 to ease transition between woody and sarge where dselect was split
8809 into a separate binary package.
8810 ([dpkg]Suggests): It's about time we suggested apt.
8811 ([dpkg]Description): The dselect program is no longer included in the
8812 dpkg package, so don't mention it in the description.
8813 ([dselect]Description): Rewrite as dselect is no longer the primary
8814 interface for package management, and that users may prefer apt-based
8815 interfaces.
8816
8817 * debian/control (dpkg-static): The dpkg (and dpkg-deb) binaries
8818 have been linked statically to zlib for some time, and the
8819 dpkg-static package hasn't actually been created either. Remove
8820 from the control file.
8821
8822 * debian/control (dpkg-doc): The documentation shipped in the
8823 dpkg-doc package was rather incomplete and out-of-date, so was
8824 removed from the distribution. Remove package from control file.
8825 * debian/dpkg-doc.doc-base: Remove dpkg-doc file.
8826 * debian/dpkg-doc.postinst: Remove dpkg-doc maintainer script.
8827 * debian/dpkg-doc.prerm: Remove dpkg-doc maintainer script.
8828 * debian/README.compile: Removed this file as it's both out of
8829 date, and entirely replaced by Build-Depends anyway for those
8830 that care about such things.
8831
8832 * Makefile.am: Remove rules to install common documentation and
8833 licence under /usr/share/doc/dpkg, leave that up to the package.
8834 * lib/Makefile.am (INCLUDES): Define COPYINGFILE to point to
8835 /usr/share/common-licenses/GPL-2.
8836
8837 2005-01-11 Colin Watson <cjwatson@debian.org>
8838
8839 * dselect/basecmds.cc (baselist::displayhelp): Revert to former
8840 Space/Enter/'Q' behaviour, so that Space leaves the help screen
8841 and Enter and 'Q' do nothing. It's dangerous to encourage users
8842 to press Enter or 'Q', since they commit changes in the package
8843 selection screen.
8844 * dselect/helpmsgs.cc (hlp_readonlyintro, hlp_recurintro): Update
8845 help text to match.
8846 (hlp_mainintro): 'Q' quits and overrides dependency problems;
8847 'X' quits without saving changes.
8848
8849 2005-01-10 Scott James Remnant <scott@netsplit.com>
8850
8851 * configure.ac: Fix --without-dselect and --without-start-stop-daemon
8852 so they actually work, Autoconf was preserving the old value of the
8853 variable. Always call AC_PROG_CXX otherwise things aren't happy
8854 as it gets partially expanded.
8855
8856 * dpkg-split/Makefile.am (EXTRA_DIST): Distribute mksplit.pl.
8857 * dselect/Makefile.am (EXTRA_DIST): Distribute mkcurkeys.pl.
8858 * lib/Makefile.am (libdpkg_a_SOURCES): Distribute gettext.h.
8859 * scripts/Makefile.am (EXTRA_DIST): Distribute the scripts and
8860 README.alternatives, oops.
8861 (all-local): Build install-info from install-info.pl manually.
8862 (install-exec-local): Install install-info manually.
8863 (uninstall-local): Remove install-info manually.
8864 * scripts/.arch-inventory: Ignore install-info-stamp file we need.
8865 * src/Makefile.am (dpkg_query_SOURCES): There is no errors.h.
8866
8867 * Makefile.conf.in: Remove file used by old build system.
8868
8869 * lib/mlib.c (buffer_write): Remove cast from lvalue, deprecated
8870 in recent versions of gcc.
8871 * m4/compiler.m4 (SJR_COMPILER_OPTIMISATIONS): Explicitly set -O0
8872 when disabling compiler optimisations, as recent versions of gcc
8873 have some on by default.
8874
8875 Now we're not using CVS at all, replace the old .cvsignore files
8876 with .arch-inventory files Arch can use to ignore generated files.
8877
8878 * .cvsignore: Remove old file.
8879 * .arch-inventory: Replace with more complete regex rules.
8880 * dpkg-deb/.cvsignore: Remove old file.
8881 * dpkg-deb/.arch-inventory: Replace with more complete regex rules.
8882 * dpkg-split/.cvsignore: Remove old file.
8883 * dpkg-split/.arch-inventory: Replace with more complete regex rules.
8884 * dselect/.cvsignore: Remove old file.
8885 * dselect/.arch-inventory: Replace with more complete regex rules.
8886 * getopt/.cvsignore: Remove old file.
8887 * getopt/.arch-inventory: Replace with more complete regex rules.
8888 * lib/.cvsignore: Remove old file.
8889 * lib/.arch-inventory: Replace with more complete regex rules.
8890 * m4/.arch-inventory: Ignore files copied in by 'autopoint'.
8891 * man/.cvsignore: Remove old file.
8892 * man/.arch-inventory: Replace with more complete regex rules.
8893 * man/C/.cvsignore: Remove old file.
8894 * man/C/.arch-inventory: Replace with more complete regex rules.
8895 * man/de/.cvsignore: Remove old file.
8896 * man/de/.arch-inventory: Replace with more complete regex rules.
8897 * man/es/.arch-inventory: Ignore generated 'Makefile' and 'Makefile.in'.
8898 * man/fr/.cvsignore: Remove old file.
8899 * man/fr/.arch-inventory: Replace with more complete regex rules.
8900 * man/ja/.cvsignore: Remove old file.
8901 * man/ja/.arch-inventory: Replace with more complete regex rules.
8902 * man/pt_BR/.cvsignore: Remove old file.
8903 * man/pt_BR/.arch-inventory: Replace with more complete regex rules.
8904 * man/ru/.cvsignore: Remove old file.
8905 * man/ru/.arch-inventory: Replace with more complete regex rules.
8906 * man/sv/.cvsignore: Remove old file.
8907 * man/sv/.arch-inventory: Replace with more complete regex rules.
8908 * methods/.cvsignore: Remove old file.
8909 * methods/.arch-inventory: Replace with more complete regex rules.
8910 * origins/.arch-inventory: Ignore generated 'Makefile'
8911 and 'Makefile.in'.
8912 * po/.cvsignore: Remove old file.
8913 * po/.arch-inventory: Replace with more complete regex rules.
8914 * scripts/.cvsignore: Remove old file.
8915 * scripts/.arch-inventory: Replace with more complete regex rules.
8916 * scripts/changelog/.arch-inventory: Ignore generated file.
8917 * src/.cvsignore: Remove old file.
8918 * src/.arch-inventory: Replace with more complete regex rules.
8919 * utils/.cvsignore: Remove old file.
8920 * utils/.arch-inventory: Replace with more complete regex rules.
8921
8922 * man/sv/.check.pl: Remove as it uses CVS to check whether the
8923 translations are up to date, and we don't use that anymore.
8924 * dselect/checkunimp.pl: Remove unused file.
8925 * dselect/keys.c: Remove unused file.
8926
8927 For at least the second time in dpkg's history, convert the build
8928 system to use GNU Automake. I'm sure some future maintainer will
8929 come along and get rid of it again, but for now, Automake is the
8930 way forward.
8931
8932 * Makefile.in: Remove old file.
8933 * Makefile.am: Replace with shiny Automake goodness, don't distribute
8934 TODO anymore; it's only useful for developers.
8935 * dpkg-deb/Makefile.in: Remove old file.
8936 * dpkg-deb/Makefile.am: Replace with shiny Automake goodness, don't
8937 include rules to build dpkg-deb-static.
8938 * dpkg-split/Makefile.in: Remove old file.
8939 * dpkg-split/Makefile.am: Replace with shiny Automake goodness.
8940 * dselect/Makefile.in: Remove old file.
8941 * dselect/Makefile.am: Replace with shiny Automake goodness.
8942 * getopt/Makefile.in: Remove old file.
8943 * getopt/Makefile.am: Replace with shiny Automake goodness.
8944 * lib/Makefile.in: Remove old file.
8945 * lib/Makefile.am: Replace with shiny Automake goodness.
8946 (libdpkg_a_SOURCES): add refugee files from 'include'.
8947 * man/Makefile.in: Remove old file.
8948 * man/Makefile.am: Replace with shiny Automake goodness.
8949 * man/C/Makefile.in: Remove old file.
8950 * man/C/Makefile.am: Replace with shiny Automake goodness.
8951 * man/de/Makefile.in: Remove old file.
8952 * man/de/Makefile.am: Replace with shiny Automake goodness.
8953 * man/es/Makefile.in: Remove old file.
8954 * man/es/Makefile.am: Replace with shiny Automake goodness.
8955 * man/fr/Makefile.in: Remove old file.
8956 * man/fr/Makefile.am: Replace with shiny Automake goodness.
8957 * man/ja/Makefile.in: Remove old file.
8958 * man/ja/Makefile.am: Replace with shiny Automake goodness.
8959 * man/pt_BR/Makefile.in: Remove old file.
8960 * man/pt_BR/Makefile.am: Replace with shiny Automake goodness.
8961 * man/ru/Makefile.in: Remove old file.
8962 * man/ru/Makefile.am: Replace with shiny Automake goodness.
8963 * man/sv/Makefile.in: Remove old file.
8964 * man/sv/Makefile.am: Replace with shiny Automake goodness.
8965 * methods/Makefile.in: Remove old file.
8966 * methods/Makefile.am: Replace with shiny Automake goodness, taking
8967 into account the new filesystem structure.
8968 * origins/Makefile.am: New Automake file to install origin files.
8969 * scripts/Makefile.in: Remove old file.
8970 * scripts/Makefile.am: Replace with shiny Automake goodness.
8971 * src/Makefile.in: Remove old file.
8972 * src/Makefile.am: Replace with shiny Automake goodness, don't
8973 include rules to build either dpkg-static or dpkg-query-static.
8974 * utils/Makefile.in: Remove old file.
8975 * utils/Makefile.am: Replace with shiny Automake goodness, don't
8976 include rules to build md5sum-static.
8977
8978 * dpkg-deb/build.c: Replace USE_ZLIB with WITH_ZLIB.
8979 * dpkg-deb/extract.c: Replace USE_ZLIB with WITH_ZLIB.
8980 * dpkg-deb/main.c: Remove version.h include.
8981 * dpkg-split/main.c: Remove version.h include.
8982 * dselect/main.cc: Remove version.h include.
8983 * lib/compression.c: Replace USE_ZLIB with WITH_ZLIB and USE_BZ2
8984 with WITH_ZLIB.
8985 * src/help.c: Remove version.h include and replace
8986 USE_START_STOP_DAEMON with WITH_START_STOP_DAEMON.
8987 * src/main.c: Remove version.h include.
8988
8989 We're going to move to using 'autoreconf' to generate the build
8990 scripts after a checkout and 'make dist' to get a clean tarball.
8991 Various files will get copied automatically so there's no point
8992 having them under version control, they'll still appear in the
8993 tarballs though.
8994
8995 * INSTALL: Remove from version control.
8996 * config.guess: Remove from version control.
8997 * config.sub: Remove from version control.
8998 * install-sh: Remove from version control.
8999 * autogen.sh: Remove unnecessary script, just run 'autoreconf'.
9000 * release.sh: Remove unnecessary script, just run 'make dist'.
9001
9002 The old 'configure.in' arranged for a bunch of code to be added
9003 to the bottom of 'config.h' with the assumption that it'd be
9004 included everywhere. That's not good style, the file is only
9005 supposed to contain settings and not real code. Put the code in
9006 real header files and source.
9007
9008 * lib/dpkg.h: Include <sys/cdefs.h> and <stddef.h> if available.
9009 (INTERPRETER_MAX): Define to PATH_MAX or 1024 if not available.
9010 (DPKG_VERSION_ARCH): Define using PACKAGE_VERSION instead of
9011 DPKG_VERSION, which no longer exists.
9012 (ADMINDIR): Remove definition, define in Makefiles where needed.
9013 (CONFIGDIR): Remove definition, define in Makefiles where needed.
9014 (LIBDIR): Remove definition, define in Makefiles where needed.
9015 (CONSTANT, PRINTFFORMAT, NONRETURNING, UNUSED, NONRETURNPRINTFFORMAT):
9016 Define attribute markers used in function prototypes.
9017 (strerror, strsignal, scandir, alphasort, unsetenv): Define prototypes
9018 for functions in 'compat.c' if the system lacks them.
9019 (strtoul, va_copy, WCOREDUMP): Provide compatible macros for functions
9020 the system lacks.
9021 (BUILDOLDPKGFORMAT): Define here.
9022 (_, N_): Include gettext.h and define friendlier macros.
9023 * lib/gettext.h: Include from gettext distribution useful header
9024 file that does the heavy lifting of enabling or disabling gettext.
9025 * lib/md5.h: Add code to define UWORD32 used by this implementation.
9026 * getopt/error.h (error, error_at_line): Remove printf format
9027 attribute marker from prototypes to keep the code clean.
9028 * getopt/getopt.c (store_args_and_env): Remove unused attribute
9029 marker from function to keep the code clean.
9030 * utils/md5sum.c: Let gettext.h (included through dpkg.h) do the
9031 heavy lifting and define the right things for us.
9032 * utils/start-stop-daemon.c: Duplicate includes of <sys/cdefs.h>
9033 and <stddef.h> along with attribute marker definitions to avoid
9034 having to include 'dpkg.h'.
9035
9036 * configure.in: Rename to 'configure.ac' and rewrite from the
9037 ground-up with Autoconf 2.59 in mind.
9038 * m4/arch.m4: New file of macros for 'configure.ac':
9039 (DPKG_OS_TYPE): Code from old 'configure.in' to turn output from
9040 'config.guess' into an operating system name we recognise.
9041 (DPKG_ARCHITECTURE): Code from old 'configure.in' to look up
9042 CPU and operating system name in the 'archtable'.
9043 * m4/compiler.m4: New file of macros for 'configure.ac':
9044 (SJR_COMPILER_WARNINGS): Add my standard macro to enable additional
9045 compiler warnings and treat them as errors.
9046 (SJR_COMPILER_OPTIMISATIONS): Add my standard macro to allow
9047 disabling of optimisations.
9048 (DPKG_C_ATTRIBUTE): Macro to check whether the C compiler supports
9049 __attribute__, we assume that compilers that do ignore unknown
9050 attributes like gcc does.
9051 * m4/funcs.m4: New file of macros for 'configure.ac':
9052 (DPKG_FUNC_VA_COPY): Code from old 'configure.in' to determine
9053 whether the system supports va_copy or directly copying the values.
9054 * m4/libs.m4: New file of macros for 'configure.ac':
9055 (DPKG_LIB_ZLIB): Rework of old 'configure.in' code to allow the
9056 user to decide whether to use zlib, and whether to link it statically.
9057 (DPKG_LIB_BZ2): Rework of old 'configure.in' code to allow the user
9058 to decide whether to use the bz2 library, and whether to link it
9059 statically.
9060 (DPKG_LIB_CURSES): Code from old 'configure.in' to pick the right
9061 curses library on the system.
9062 (DPKG_LIB_SSD): Code from old 'configure.in' to look for libraries
9063 used by start-stop-daemon.
9064 * m4/linker.m4: New file of macros for 'configure.ac':
9065 (SJR_LINKER_OPTIMISATIONS): Add my standard macro to enable linker
9066 optimisations and allow them to be disabled.
9067 * m4/perl.m4: New file of macros for 'configure.ac':
9068 (DPKG_PROG_PERL): Macro to locate the Perl interpreter in the PATH,
9069 or allow the user to specify it with PERL=.
9070 * m4/types.m4: New file of macros for 'configure.ac':
9071 (DPKG_TYPE_PTRDIFF_T): Macro to replace obsolete AC_TYPE_PTRDIFF_T
9072 macro from Autoconf.
9073 (DPKG_DECL_SYS_SIGLIST): Macro to replace obsolete AC_DECL_SYS_SIGLIST
9074 macro from Autoconf.
9075 (DPKG_CHECK_DEFINE): Rework of old 'automake/dpkg.m4' code.
9076 * version-nr: Remove, version should be changed in configure.ac
9077 directly.
9078 * automake: Remove older Autoconf macros.
9079
9080 * po/ChangeLog: Add new ChangeLog to describe changes affecting
9081 translations and their infrastructure.
9082
9083 * origin: Move to 'origins/debian' so we can ship additional
9084 origins in future.
9085
9086 Rearrange changelog parsers under 'scripts' into a separate
9087 directory so they also don't need to be renamed on installation.
9088
9089 * scripts/cl-debian.pl: Move to 'scripts/changelog/debian.pl'.
9090
9091 Rearrange 'methods' directory into the same hierarchy used when
9092 installed to save having to rename files on installation.
9093
9094 * methods/disk.desc.cdrom: Move to 'methods/disk/desc.cdrom'.
9095 * methods/disk.desc.harddisk: Move to 'methods/disk/desc.harddisk'.
9096 * methods/disk.desc.mounted: Move to 'methods/disk/desc.mounted'.
9097 * methods/disk.desc.nfs: Move to 'methods/disk/desc.nfs'.
9098 * methods/disk.install: Move to 'methods/disk/install' and chmod +x.
9099 * methods/disk.names: Move to 'methods/disk/names'.
9100 * methods/disk.setup: Move to 'methods/disk/setup' and chmod +x.
9101 * methods/disk.update: Move to 'methods/disk/update' and chmod +x.
9102 * methods/floppy.desc.floppy: Move to 'methods/floppy/desc.floppy'.
9103 * methods/floppy.install: Move to 'methods/floppy/install' and
9104 chmod +x.
9105 * methods/floppy.names: Move to 'methods/floppy/names'.
9106 * methods/floppy.setup: Move to 'methods/floppy/setup' and chmod +x.
9107 * methods/floppy.update: Move to 'methods/floppy/update' and chmod +x.
9108 * methods/hd.setup: Remove unused method script.
9109 * methods/hd.unpack: Remove unused method script.
9110 * methods/hd.update: Remove unused method script.
9111
9112 Consolidate the library code into one directory, so the headers are
9113 alongside the code rather than somewhere else.
9114
9115 * include/dpkg-db.h: Move to 'lib'.
9116 * include/myopt.h: Move to 'lib'.
9117 * include/parsedump.h: Move to 'lib'.
9118 * include/tarfn.h: Move to 'lib'.
9119 * include/dpkg.h.in: Move to 'lib' and rename to 'dpkg.h', we'll
9120 set ADMINDIR, CONFIGDIR and LIBDIR in Makefile where needed as they
9121 can contain shell paths.
9122 * include: Remove directory.
9123
9124 * AUTHORS: Add new file detailing the original authors of dpkg and
9125 the maintainers through the years.
9126 * COPYING: Update to include correct FSF address.
9127 * NEWS: Add new file that just points to debian/changelog for major
9128 changes between releases.
9129 * README: Add new file to briefly describe the package.
9130
9131 Instead of scattering manpages throughout the source, we'll keep
9132 all of the original pages in one place under 'man/C'. This should
9133 make it easier to keep track of them, especially translators.
9134
9135 * dpkg-deb/dpkg-deb.1: Move to 'man/C'.
9136 * dpkg-split/dpkg-split.8: Move to 'man/C'.
9137 * dselect/dselect.8: Move to 'man/C'.
9138 * scripts/822-date.1: Move to 'man/C'.
9139 * scripts/cleanup-info.8: Move to 'man/C'.
9140 * scripts/dpkg-architecture.1: Move to 'man/C'.
9141 * scripts/dpkg-checkbuilddeps.1: Move to 'man/C'.
9142 * scripts/dpkg-divert.8: Move to 'man/C'.
9143 * scripts/dpkg-name.1: Move to 'man/C'.
9144 * scripts/dpkg-scanpackages.1: Move to 'man/C'.
9145 * scripts/dpkg-scansources.1: Move to 'man/C'.
9146 * scripts/dpkg-source.1: Move to 'man/C'.
9147 * scripts/dpkg-statoverride.8: Move to 'man/C'.
9148 * scripts/install-info.8: Move to 'man/C'.
9149 * scripts/update-alternatives.8: Move to 'man/C'.
9150 * src/dpkg-query.8: Move to 'man/C'.
9151 * src/dpkg.8: Move to 'man/C'.
9152 * utils/md5sum.1: Move to 'man/C'.
9153 * utils/start-stop-daemon.8: Move to 'man/C'.
9154
9155 * man/en: Rename directory to 'man/C', reserving country codes for
9156 manpages that have actually undergone translation. These are the
9157 "original" format, and like the strings in the code itself don't
9158 really belong to any particular locale.
9159
9160 Continuing the spirit of having only one markup format for manpages,
9161 fix up the two generated from POD and remove the POD.
9162
9163 * scripts/dpkg-architecture.1: Generate with pod2man and remove
9164 damage from the top, turning it into respectable nroff.
9165 * scripts/dpkg-architecture.pl: Remove POD documentation from script.
9166 * scripts/dpkg-scansources.1: Generate with pod2man and remove
9167 damage from the top, turning it into respectable nroff.
9168 * scripts/dpkg-scansources.pl: Remove POD documentation from script.
9169
9170 Remove the SGML files containing the same content as the manpages,
9171 but which were never used to generate them. This avoids confusion,
9172 and as one markup format is just as good as another, we'll settle
9173 on nroff's man format.
9174
9175 * man/en/cleanup-info.8.sgml: Remove SGML format documentation.
9176 * man/en/deb-control.5.sgml: Remove SGML format documentation.
9177 * man/en/deb-old.5.sgml: Remove SGML format documentation.
9178 * man/en/deb.5.sgml: Remove SGML format documentation.
9179 * man/en/dpkg-checkbuilddeps.1.sgml: Remove SGML format documentation.
9180 * man/en/dpkg.8.sgml: Remove SGML format documentation.
9181 * man/en/dpkg.cfg.5.sgml: Remove SGML format documentation.
9182 * man/en/dselect.8.sgml: Remove SGML format documentation.
9183 * man/en/dselect.cfg.5.sgml: Remove SGML format documentation.
9184 * man/paths.ent.in: Remove now we have no SGML format pages.
9185
9186 * attic: Remove historical interest directory, that's what version
9187 control is for.
9188 * doc: Remove obsolete, incomplete and out-of-date documentation
9189 including that licensed under the GFDL (ie the entire directory).
9190 * md5sum: Remove empty directory.
9191
9192 * main: Rename directory to 'src' so it's consistent with 'lib'.
9193 * optlib: Rename directory to 'getopt' as that's what's really in it.
9194 * split: Rename directory to 'dpkg-split' so it's consistent with
9195 'dpkg-deb'.
9196
9197 Tue Nov 09 15:23:54 CEST 2004 Christian Perrier <bubulle@debian.org>
9198
9199 * po/dpkg.pot: msguniq to remove duplicate entries
9200
9201 Tue Nov 09 15:21:54 CEST 2004 Bartosz Fenski aka fEnIo <fenio@o2.pl>
9202
9203 * po/pl.po: updated
9204
9205 Fri Oct 29 21:55:54 CEST 2004 Carlos Liu <carlos_liu@yahoo.com>
9206
9207 * po/zh_CN.po: Fix errors
9208
9209 Fri Oct 29 08:58:54 CEST 2004 Bart Cornelis <cobaco@linux.be>
9210
9211 * po/nl.po: Updated
9212
9213 Fri Oct 29 08:55:54 CEST 2004 Carlos Liu <carlos_liu@yahoo.com>
9214
9215 * po/zh_CN.po: Mess cleaned
9216
9217 Fri Oct 29 08:50:00 CEST 2004 Christian Perrier <bubulle@debian.org>
9218
9219 * po/*po: msguniq and msgcat on all files
9220
9221 Thu Oct 28 09:39:00 CEST 2004 Christian Perrier <bubulle@debian.org>
9222
9223 * po/dpkg.pot: regenerated
9224 * po/*po: synced with dpkg.pot
9225 * po/fr.po: complete the translation
9226
9227 Thu Oct 28 15:55:14 BST 2004 Scott James Remnant <scott@netsplit.com>
9228
9229 * dpkg-deb/dpkg-deb.h: Add '/' onto the end of the COMPAT values for
9230 bzip2 and tar.
9231
9232 Wed Oct 27 12:22:08 BST 2004 Scott James Remnant <scott@netsplit.com>
9233
9234 * version-nr, debian/changelog: Bump version to 1.13~.
9235
9236 Wed Oct 27 10:14:29 BST 2004 Scott James Remnant <scott@netsplit.com>
9237
9238 * version-nr, debian/changelog: Bump version to 1.10.25~.
9239
9240 Wed Oct 27 09:58:27 BST 2004 Scott James Remnant <scott@netsplit.com>
9241
9242 * lib/compression.c: Which revealed some brown-paper bag issues:
9243 Replace "BZFILE" with "BZFILE *", "file" with "bzfile"
9244 and "bzdopen" to "BZ2_bzdopen".
9245
9246 Wed Oct 27 09:49:15 BST 2004 Scott James Remnant <scott@netsplit.com>
9247
9248 * lib/compression.c: Replace USE_BZ2 with USE_BZ2LIB to match configure.in.
9249
9250 Tue Oct 26 19:24:54 CEST 2004 Havard Korsvoll <korsvoll@skulelinux.no>
9251
9252 * po/nn.po: Updated
9253
9254 Tue Oct 26 17:24:54 CEST 2004 Carlos Liu <carlos_liu@yahoo.com>
9255
9256 * po/zh_CN.po: Updated
9257
9258 Tue Oct 26 06:54:54 CEST 2004 Peter Karlsson <peter@softwolves.pp.se>
9259
9260 * po/sv.po: Updated
9261
9262 Tue Oct 26 06:54:54 CEST 2004 CEST 2004 Piarres Beobide Egana <pi@beobide.net>
9263
9264 * po/eu.po: updated
9265
9266 Tue Oct 26 06:54:54 CEST 2004 Miguel Figueiredo <elmig@debianpt.org>
9267
9268 * po/pt.po: Updated
9269
9270 Mon Oct 25 18:26:54 CEST 2004 Miroslav Kure <kurem@upcase.inf.upol.cz>
9271
9272 * po/cs.po: Updated
9273
9274 Mon Oct 25 18:26:54 CEST 2004 Michael Piefel <piefel@debian.org>
9275
9276 * po/de.po: updated
9277
9278 Mon Oct 25 18:26:54 CEST 2004 Yuri Kozlov <yuray@id.ru>
9279
9280 * po/ru.po: Updated
9281
9282 Mon Oct 25 15:09:43 CEST 2004 Trorrr [Héctor Fernández] <trorrr@yahoo.es>
9283
9284 * po/gl.po: Updated
9285
9286 Mon Oct 25 08:03:00 CEST 2004 Lele Gaifax <lele@nautilus.homeip.net>
9287
9288 * po/it.po: Updated
9289
9290 Mon Oct 25 07:18:36 CEST 2004 Changwoo Ryu <cwryu@debian.org>
9291
9292 * po/ko.po: Updated
9293
9294 Mon Oct 25 07:18:36 CEST 2004 Kenshi Muto <kmuto@topstudio.co.jp>
9295
9296 * po/ja.po: Updated
9297
9298 Mon Oct 25 07:18:36 CEST 2004 Claus Hindsgaul <claus_h@image.dk>
9299
9300 * po/da.po: Updated
9301
9302 Mon Oct 25 07:18:36 CEST 2004 Javier Fernandez-Sanguino Pena <jfs@dat.etsit.upm.es>
9303
9304 * po/es.po: Updated
9305
9306 Sun Oct 24 21:51:55 CEST 2004 Jordi Mallach <jordi@debian.org>
9307
9308 * po/ca.po: Updated Catalan translation.
9309
9310 Sun Oct 24 20:16:43 CEST 2004 Lele Gaifax <lele@nautilus.homeip.net>
9311
9312 * po/it.po: Updated
9313
9314 Sun Oct 24 20:06:43 CEST 2004 Trorrr [Héctor Fernández] <trorrr@yahoo.es>
9315
9316 * po/gl.po: Updated
9317
9318 Sun Oct 24 19:20:43 CEST 2004 Bartosz Fenski aka fEnIo <fenio@o2.pl>
9319
9320 * po/pl.po: Updated
9321
9322 Sun Oct 24 19:20:43 CEST 2004 Andre Luis Lopes <andrelop@debian.org>
9323
9324 * po/pt_BR.po: Updated
9325
9326 Sun Oct 24 19:20:43 CEST 2004 Bart Cornelis <cobaco@linux.be>
9327
9328 * po/nl.po: Updated
9329
9330 Sun Oct 24 16:18:52 CEST 2004 Christian Perrier <bubulle@debian.org>
9331
9332 * po/dpkg.pot: regenerated
9333 * po/*po: synced with dpkg.pot
9334 * po/fr.po: complete the translation
9335
9336 Sun Oct 24 09:40:27 CEST 2004 Christian Perrier <bubulle@debian.org>
9337
9338 * po/nl.po: Correct obvious typo from the translator
9339
9340 Sun Oct 24 09:21:17 CEST 2004 Christian Perrier <bubulle@debian.org>
9341
9342 * debian/changelog: Close *all* Portuguese translation bug reports
9343
9344 Sun Oct 24 12:58:36 BST 2004 Scott James Remnant <scott@netsplit.com>
9345
9346 * po/POTFILES.in: Add lib/compression.c here.
9347
9348 Fri Jun 18 17:04:44 BST 2004 Scott James Remnant <scott@netsplit.com>
9349
9350 * configure.in: Add checks for bz2 in a similar manner to zlib.
9351 * Makefile.conf.in: Add definitions for BZ2LIB macros.
9352 * lib/compression.c: New file taken from HEAD that implements
9353 compression and decompression for gzip, bzip2 and pass-through.
9354 * lib/Makefile.in: Compile the new source file.
9355 * include/dpkg.h.in: Add BZIP2 macro expanding to the name of the
9356 bzip2 tool. Add compression_type enum and headers for functions in
9357 compression.c
9358 * dpkg-deb/Makefile.in: Also link static bzip2 libraries to static dpkg-deb.
9359 * dpkg-deb/build.c: Remove internalGzip() function, replace calling
9360 code with call to new compress_cat() function. Choose the appropriate
9361 name for the data member based on compress_type.
9362 * dpkg-deb/extract.c: Remove gzip calling code, replace with call to
9363 new decompress_cat() function. Add code to detect compression type
9364 of data member.
9365 * dpkg-deb/main.c: Add new -Z option to set compression type, set
9366 default to gzip.
9367 * dpkg-deb/dpkg-deb.h: Add extern definition of compress_type option,
9368 add macros to define the bzip2 and pass-through data member filenames.
9369
9370 Tue Oct 19 08:28:46 CEST 2004 Javier Fernández-Sanguino Peña <jfs@computer.org>
9371
9372 * po/es.po: updated (complete)
9373
9374 Sun Oct 17 08:40:46 CEST 2004 Piarres Beobide Egana <pi@beobide.net>
9375
9376 * po/eu.po: updated (complete)
9377
9378 Thu Oct 14 17:01:21 CEST 2004 Michael Piefel <piefel@debian.org>
9379
9380 * po/de.po: updated (now complete)
9381
9382 Wed Oct 13 17:01:31 CEST 2004 George Papamichelakis <george@step.gr>
9383
9384 * po/el.po: Updated
9385
9386 Wed Oct 13 08:45:54 CEST 2004 Peter Karlsson <peterk@debian.org>
9387
9388 * man/sv/dpkg-split.8: Updated
9389 * man/sv/start-stop-daemon.8: Updated
9390 * man/sv/deb-control.5: Updated
9391 * man/sv/dpkg.8: Updated
9392 * man/sv/md5sum.1: Updated
9393 * man/sv/dpkg-deb.1: Updated
9394 * man/sv/dpkg-query.8: Updated
9395 * man/sv/dselect.8: Updated
9396
9397 Tue Oct 12 22:22:55 CEST 2004 Miroslav Kure <kurem@upcase.inf.upol.cz>
9398
9399 * po/cs.po: Updated (now complete)
9400
9401 Tue Oct 12 22:22:55 CEST 2004 Peter Karlsson <peter@softwolves.pp.se>
9402
9403 * po/sv.po: Updated (now complete)
9404
9405 Tue Oct 12 07:50:21 CEST 2004 Philippe Batailler <philippe.batailler@free.fr>
9406
9407 * man/fr/cleanup-info.8: updated
9408 * man/fr/dpkg.8: updated
9409 * man/fr/dpkg-deb.1: updated
9410 * man/fr/dpkg-divert.8: updated
9411 * man/fr/dpkg-name.1: updated
9412 * man/fr/dpkg-query.8: updated
9413 * man/fr/dpkg-source.1: updated
9414 * man/fr/dpkg-split.8: updated
9415 * man/fr/dpkg-statoverride.8: updated
9416 * man/fr/install-info.8: updated
9417 * man/fr/start-stop-daemon.8: updated
9418 * man/fr/update-alternatives.8: updated
9419
9420 Mon Oct 11 18:11:54 CEST 2004 Robert Luberda <robert@debian.org>
9421
9422 * po/pl.po: Updated
9423
9424 Mon Oct 11 18:11:54 CEST 2004 Lior Kaplan <webmaster@guides.co.il>
9425
9426 * po/he.po: Added
9427
9428 Mon Oct 11 18:11:54 CEST 2004 Piarres Beobide Egana <pi@beobide.net>
9429
9430 * po/eu.po: Added
9431
9432 Mon Oct 11 18:11:54 CEST 2004 Yongtao Yang <yongtao.yang@telia.com>
9433
9434 * po/zh_CN.po: Added
9435
9436 Mon Oct 11 18:11:54 CEST 2004 Miguel Figueiredo <elmig@debianpt.org>
9437
9438 * po/pt.po: Updated
9439
9440 Mon Oct 11 18:11:54 CEST 2004 Yuri Kozlov <yuray@id.ru>
9441
9442 * po/ru.po: Updated
9443
9444 Mon Oct 11 18:11:54 CEST 2004 Kenshi Muto <kmuto@debian.org>
9445
9446 * po/ja.po: Updated
9447
9448 Mon Oct 11 18:11:54 CEST 2004 Changwoo Ryu <cwryu@debian.org>
9449
9450 * po/ko.po: Updated
9451
9452 Mon Oct 11 18:11:54 CEST 2004 Bart Cornelis <cobaco@linux.be>
9453
9454 * po/nl.po: Updated
9455
9456 Mon Oct 11 18:11:54 CEST 2004 Havard Korsvoll <korsvoll@skulelinux.no>
9457
9458 * po/nn.po: Updated
9459
9460 Mon Oct 11 18:11:54 CEST 2004 Miroslav Kure <kurem@upcase.inf.upol.cz>
9461
9462 * po/cs.po: Updated
9463
9464 Mon Oct 11 18:11:54 CEST 2004 Andre Luis Lopes <andrelop@debian.org>
9465
9466 * po/pt_BR.po: Updated
9467
9468 Mon Oct 11 18:11:54 CEST 2004 Ruben Porras <nahoo82@telefonica.net>
9469
9470 * man/es/md5sum.1: updated
9471 * man/es/start-stop-daemon.8: updated
9472 * man/es/dpkg-scansources.1: updated
9473 * man/es/dpkg-scanpackages.1: updated
9474 * man/es/update-alternatives.8: updated
9475 * man/es/dpkg-divert.8: updated
9476 * man/es/cleanup-info.8: updated
9477 * man/es/dpkg-checkbuilddeps.1: updated
9478 * man/es/dpkg-split.8: updated
9479 * man/es/dpkg-statoverride.8: updated
9480 * man/es/dpkg.8: updated
9481 * man/es/dselect.8: updated
9482 * man/es/dpkg-source.1: updated
9483 * man/es/dpkg-deb.1: updated
9484 * man/es/dpkg-name.1: updated
9485
9486 Mon Oct 11 18:11:54 CEST 2004 Christian Perrier <bubulle@debian.org>
9487
9488 * configure.in: Added he to ALL_LINGUAS.
9489 * configure.in: Added eu to ALL_LINGUAS.
9490 * configure.in: Added zh_CN to ALL_LINGUAS.
9491
9492 Mon Oct 11 16:33:49 CEST 2004 George Papamichelakis <george@step.gr>
9493
9494 * po/el.po: Added
9495
9496 Mon Oct 11 16:33:49 CEST 2004 Christian Perrier <bubulle@debian.org>
9497
9498 * configure.in: Added el to ALL_LINGUAS.
9499
9500 Mon Jul 19 20:17:09 BST 2004 Scott James Remnant <scott@netsplit.com>
9501
9502 * version-nr, debian/changelog: Bump version to 1.10.24.
9503
9504 Sat Jun 26 18:38:34 CEST 2004 David Weinehall <tao@debian.org>
9505
9506 * scripts/dpkg-buildpackage.sh, scripts/dpkg-name.sh, methods/disk.update,
9507 methods/disk.setup: Change non-POSIX -a and -o test options to shell
9508 && and || for portability.
9509
9510 Sat Jun 26 16:41:31 CEST 2004 Changwoo Ryu <cwryu@debian.org>
9511
9512 * po/ko.po: Updated.
9513
9514 Wed Jun 23 17:57:45 BST 2004 Changwoo Ryu <cwryu@debian.org>
9515
9516 * po/ko.po: Added.
9517 * configure.in: Added ko to ALL_LINGUAS.
9518
9519 Tue Jun 22 17:50:57 BST 2004 Christian Perrier <bubulle@debian.org>
9520
9521 * po/fr.po: Updated.
9522
9523 Tue Jun 22 17:48:22 BST 2004 Claus Hindsgaul <claus_h@image.dk>
9524
9525 * po/da.po: Updated.
9526
9527 Sat Jun 19 23:11:38 BST 2004 Scott James Remnant <scott@netsplit.com>
9528
9529 * dselect/Makefile.in: Remove helpmsgs.h from the GENFILES list so
9530 we don't wipe it on "make clean" (it's not generated anymore).
9531
9532 Fri Jun 18 11:49:21 BST 2004 Ognyan Kulev <ogi@fmi.uni-sofia.bg>
9533
9534 * utils/start-stop-daemon.c: Moved pid_is_running inside OSHURD sentry,
9535 provided Hurd version. Removed dependency on C99 code and replaced
9536 constructor with an init function.
9537
9538 Fri Jun 18 06:34:43 BST 2004 Scott James Remnant <scott@netsplit.com>
9539
9540 * archtable: Requested the technical committee to make the mentioned
9541 decision -- we're going with amd64 (that'll please my boss :-)
9542 * scripts/dpkg-architecture.pl: Likewise.
9543
9544 Tue Jun 15 19:19:36 BST 2004 Bartosz Fenski aka fEnIo <fenio@o2.pl>
9545
9546 * po/pl.po: Updated.
9547
9548 Mon Jun 14 09:35:30 BST 2004 Ruben Porras <nahoo82@telefonica.net>
9549
9550 * man/es/dpkg-scanpackages.1, man/es/start-stop-daemon.8,
9551 man/es/dpkg-scansources.1, man/es/dpkg.8, man/es/dpkg-checkbuilddeps.1,
9552 man/es/dselect.8, man/es/dpkg-deb.1: Updated again from the BTS, for
9553 some reason the previous update lost the foreign characters.
9554
9555 Mon Jun 14 09:12:08 BST 2004 Scott James Remnant <scott@netsplit.com>
9556
9557 * scripts/dpkg-divert.8: Correct typo for library.
9558
9559 Mon Jun 14 08:58:27 BST 2004 Lele Gaifax <lele@nautilus.homeip.net>
9560
9561 * po/it.po: Updated.
9562
9563 Mon Jun 7 17:47:13 CEST 2004 Jordi Mallach <jordi@debian.org>
9564
9565 * po/ca.po: Update Catalan translation.
9566
9567 Thu Jun 3 12:03:49 BRT 2004 Scott James Remnant <scott@netsplit.com>
9568
9569 * archtable, scripts/dpkg-architecture.pl: Remove support for amd64/x86-64,
9570 the porters clearly can't make up their mind what they want.
9571
9572 Wed Jun 2 15:32:47 BRT 2004 Scott James Remnant <scott@netsplit.com>
9573
9574 * version-nr, debian/changelog: Bump version to 1.10.23.
9575
9576 Tue Jun 1 17:42:58 BRT 2004 Scott James Remnant <scott@netsplit.com>
9577
9578 * scripts/Makefile.in: Move dpkg-scanpackages and dpkg-scansources
9579 manpages to section 1.
9580 * scripts/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted
9581 reference to dpkg-scansources.
9582 * scripts/dpkg-scansources.pl: Adjusted reference to dpkg-scanpackages.
9583 * dselect/dselect.8: Adjusted reference to dpkg-scanpackages.
9584
9585 * man/es/Makefile.in: Move dpkg-scanpackages and dpkg-scansources
9586 manpages to section 1.
9587 * man/es/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted
9588 reference to dpkg-scansources.
9589 * man/es/dpkg-scansources.8: Renamed to dpkg-scansources.1,
9590
9591 * man/fr/Makefile.in: Move dpkg-scanpackages and dpkg-scansources
9592 manpages to section 1.
9593 * man/fr/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted
9594 reference to dpkg-scansources.
9595 * man/fr/dpkg-scansources.8: Renamed to dpkg-scansources.1
9596
9597 * man/ja/Makefile.in: Move dpkg-scanpackages and dpkg-scansources
9598 manpages to section 1.
9599 * man/ja/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted
9600 reference to dpkg-scansources.
9601 * man/ja/dpkg-scansources.8: Renamed to dpkg-scansources.1, adjusted
9602 reference to dpkg-scanpackages.
9603 * man/ja/dselect.8: Adjusted references to dpkg-scanpackages.
9604
9605 * man/pt_BR/dselect.8: Adjusted reference to dpkg-scanpackages.
9606 * man/sv/.check.pl: Adjusted reference to dpkg-scanpackages.
9607 * man/sv/dselect.8: Adjusted reference to dpkg-scanpackages.
9608
9609 Tue Jun 1 17:27:50 BRT 2004 Scott James Remnant <scott@netsplit.com>
9610
9611 * scripts/dpkg-shlibdeps.pl: Guard chown call with a check that we're
9612 running as root, if we're not, it's not necessary.
9613
9614 Tue Jun 1 17:23:30 BRT 2004 Scott James Remnant <scott@netsplit.com>
9615
9616 * script/dpkg-source.1: Documented dpkg:Version and dpkg:UpstreamVersion
9617 substvars.
9618
9619 Tue Jun 1 14:52:27 BRT 2004 KISE Hiroshi <kise@fuyuneko.jp>
9620
9621 * man/ja/dpkg-checkbuilddeps.1: Updated.
9622 * man/ja/dpkg-divert.8: Updated.
9623
9624 Tue Jun 1 14:45:47 BRT 2004 Nikolai Prokoschenko <nikolai@prokoschenko.de>
9625
9626 * po/ru.po: Updated.
9627
9628 Tue Jun 1 14:41:30 BRT 2004 Helge Kreutzmann <kreutzm@itp.uni-hannover.de>
9629
9630 * man/de/start-stop-daemon.8: New translation.
9631 * man/de/Makefile.in: Added new manpage.
9632
9633 Tue Jun 1 14:37:52 BRT 2004 Ruben Porras <nahoo82@telefonica.net>
9634
9635 * man/es/dpkg-divert.8: Updated.
9636
9637 Tue Jun 1 13:53:29 BRT 2004 Lele Gaifax <lele@nautilus.homeip.net>
9638
9639 * po/it.po: Updated.
9640
9641 Mon May 31 20:44:21 BRT 2004 Scott James Remnant <scott@netsplit.com>
9642
9643 * archtable: Change amd64 to x86-64 or x86_64 to match the GNU strings
9644 until someone better than me makes a real decision about this.
9645 * scripts/dpkg-architecture.pl: Likewise.
9646
9647 Mon May 31 12:48:35 BRT 2004 Michal Cihar <michal@cihar.com>
9648
9649 * dpkg-deb/extract.c: Swap %zi and %ld in printf expression.
9650 * split/info.c: Correct %zi and %lu in printf expression.
9651 * split/main.c: Include missing sys/types.h and sys/stat.h headers.
9652
9653 Sun May 30 19:51:52 BRT 2004 Robert Millan <zeratul2@wanadoo.es>
9654
9655 * archtable: Change i386-kfreebsd-gnu to kfreebsd-i386 and add
9656 i386-knetbsd-gnu.
9657 * scripts/dpkg-archtable.pl: Return i386-freebsd for freebsd-i386 and
9658 i386-kfreebsd-gnu for kfreebsd-i386 instead. Add knetbsd-i386.
9659 * configure.in: Identify knetbsd-gnu.
9660
9661 Fri May 28 18:45:26 BRT 2004 Steinar H. Gunderson <sesse@dessverre.samfundet.no>
9662
9663 * main/depcon.c: Colour packages as we check them for break cycles to
9664 reduce the amount of recursion required to break a cycle.
9665 * include/dpkg-deb.h, lib/database.c: Add colour to the package structure.
9666 * main/main.h, main/configure.c, main/remove.c: Remove second
9667 argument from findbreakcycle() function.
9668
9669 Wed May 26 23:05:01 BRT 2004 Ognyan Kulev <ogi@fmi.uni-sofia.bg>
9670
9671 * utils/start-stop-daemon.c: On hurd, proc_stat_set_flags may return
9672 NULL as Hurd can have processes with no uid, replace ihash_iterate
9673 with HURD_IHASH_ITERATE.
9674
9675 Sat May 22 15:28:33 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9676
9677 * utils/md5sum.1: s/asterix/asterisk/. Thanks to Matt Zimmermann for
9678 noticing this.
9679
9680 Wed May 12 23:25:16 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9681
9682 * main/packages.c: Apply patch from Daniel Kobras to disappear empty
9683 packages that are replaced in the same run.
9684
9685 Fri May 7 04:46:01 BST 2004 Scott James Remnant <scott@netsplit.com>
9686
9687 * doc/Makefile.in: Ensure that $(docdir) exists before attempting
9688 to install the ChangeLog there.
9689
9690 Fri May 7 01:21:49 BST 2004 Scott James Remnant <scott@netsplit.com>
9691
9692 * dselect/pkginfo.cc: Replace &c. with the slightly clearer etc.
9693
9694 * main/dpkg.8: Update from sgml, document --force-bad-verify.
9695 * main/dpkg-query,8: Correct --list documentation, without pattern it
9696 searches status not available.
9697 * scripts/dpkg-divert.8: Remove obsolete reference to the Debian Packaging
9698 Manual.
9699 * scripts/dpkg-source.1: Rather than keeping dpkg-source(1) always up to
9700 date with the -i option, document the intent of the default.
9701 * scripts/dpkg-statoverride.8: Correct typo and documentation of --update.
9702 * scripts/update-alternatives.8: Correct documentation of --install
9703 and --remove actions.
9704 * man/en/dpkg.8.sgml: Add missing </para> from last commit.
9705 * utils/start-stop-daemon.c: Correct typo.
9706 * utils/start-stop-daemon.8: Correct --pidfile documentation and mention
9707 what happens if you don't supply it; document that it will chdir("/")
9708 unless -d is specified.
9709
9710 * dpkg-deb/dpkg-deb.1, main/dpkg.8, main/dpkg-query.8, scripts/cleanup-info.8,
9711 scripts/dpkg-checkbuilddeps.1, scripts/dpkg-divert.8, scripts/dpkg-name.1,
9712 scripts/dpkg-scanpackages.8, scripts/dpkg-source.1,
9713 scripts/dpkg-statoverride.8, scripts/install-info.8,
9714 scripts/update-alternatives.8, split/dpkg-split.8, utils/md5sum.1,
9715 utils/start-stop-daemon.8: Correct manpage hyphenation for those in a
9716 UTF-8 locale.
9717
9718 Fri May 7 01:13:36 BST 2004 Scott James Remnant <scott@netsplit.com>
9719
9720 * man/en/dpkg.8.sgml: Add a new Additional Functionality section at the
9721 bottom where we can refer readers to other packages that provide the
9722 functionality they may be looking for. Suggest aptitude and debsums.
9723
9724 Fri May 7 00:55:39 BST 2004 Scott James Remnant <scott@netsplit.com>
9725
9726 * man/en/dpkg.8.sgml: Document dselect update alongside --update-avail.
9727
9728 Fri May 7 00:47:39 BST 2004 Geoff Richards <qef@rosies-dumplings.co.uk>
9729
9730 * scripts/dpkg-source.1: Suggest 'fakeroot' for the dpkg-source -r command.
9731
9732 Fri May 7 00:42:44 BST 2004 Scott James Remnant <scott@netsplit.com>
9733
9734 * main/main.c: Suggest 'aptitude' as well as 'dselect' now that
9735 d-i installs it.
9736
9737 Fri May 7 00:39:01 BST 2004 Christian Perrier <bubulle@debian.org>
9738
9739 * po/fr.po: Updated French translation.
9740
9741 Fri May 7 00:04:28 BST 2004 Scott James Remnant <scott@netsplit.com>
9742
9743 * lib/parsehelp.c, scripts/dpkg-source.pl, scripts/cl-debian.pl: Remove
9744 restriction that package names be at least two characters long.
9745
9746 Thu May 6 23:57:52 BST 2004 Andrew Shugg <andrew@neep.com.au>
9747
9748 * utils/md5sum.c: Add support for DOS line-endings (\r\n).
9749
9750 Thu May 6 23:52:28 BST 2004 Daniel Kobras <kobras@debian.org>
9751
9752 * archtable: Add ia64-unknown-linux-gnu.
9753
9754 Thu May 6 23:50:17 BST 2004 Daniel Kobras <kobras@debian.org>
9755
9756 * main/enquiry.c: Remove dereference of uninitialized and unused pointer
9757 variable, fixing segfault on when "gcc -dumpmachine" returns a
9758 non-matching triplet.
9759
9760 Thu May 6 23:44:55 BST 2004 Colin Watson <cjwatson@debian.org>
9761
9762 * dselect/helpmsgs.cc: Pressing 'n' repeats the last search, not
9763 moves down; pressing 'p' does nothing.
9764
9765 Thu May 6 23:39:59 BST 2004 Helge Kreutzmann <kreutzm@itp.uni-hannover.de>
9766
9767 * man/de/Makefile.in: Install update-alternatives.8
9768 * man/de/update-alternatives.8: Translated into German.
9769
9770 Thu May 6 23:23:10 BST 2004 Scott James Remnant <scott@netsplit.com>
9771
9772 * utils/md5sum.1, man/es/md5sum.1, man/de/md5sum.1, men/ja/md5sum.1:
9773 Correct "et al" to "et al."
9774 * main/main.c, man/en/dpkg.8.sgml: Correct description of
9775 --compare-versions command to describe versions as "empty" rather
9776 than "missing" or "no version" as "" has to be passed.
9777 * man/en/dpkg.8.sgml: Add dpkg-reconfigure(8) to SEE ALSO section.
9778 * utils/start-stop-daemon.8: Move documentation of --retry to the
9779 paragraph about --stop where it belongs.
9780 * scripts/update-alternatives.8: Remove strange &quot; usage and
9781 replace with appropriate .BR.
9782
9783 Sun May 2 10:22:25 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9784
9785 * scripts/dpkg-scanpackages.pl: Give proper case for Origin and
9786 Bugs.
9787
9788 Sun May 2 10:04:25 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9789
9790 * scripts/controllib.pl: Fix unknown() so it actually manages to pick
9791 out the correct field name.
9792
9793 Fri Apr 30 11:20:13 CEST 2004 Jordi Mallach <jordi@debian.org
9794
9795 * po/ca.po: Update Catalan translation.
9796
9797 Tue Apr 27 21:49:25 BST 2004 Ruben Porras <nahoo82@telefonica.net>
9798
9799 * man/es/dpkg-scansources.8: Added Spanish manpage.
9800 * man/es/Makefile.in: Install it.
9801
9802 Tue Apr 27 19:47:37 BST 2004 Scott James Remnant <scott@netsplit.com>
9803
9804 * scripts/dpkg-architecture.pl (rewrite_gnu): Add a new regexp for
9805 parsing i386-gnu style triplets on the Hurd.
9806
9807 Tue Apr 27 19:23:01 BST 2004 Scott James Remnant <scott@netsplit.com>
9808
9809 * main/dpkg.8: Correct reference to non-existent --force-reinstreq
9810 option to --force-remove-reinstreq.
9811
9812 Tue Apr 27 19:01:28 BST 2004 Ruben Porras <nahoo82@telefonica.net>
9813
9814 * man/es/start-stop-daemon.8, man/es/dselect.8, man/es/dpkg.8,
9815 man/es/dpkg-checkbuilddeps.8, man/es/dpkg-deb.1,
9816 man/es/dpkg-scanpackages.8: Updated Spanish manpages.
9817
9818 Mon Apr 26 20:28:58 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9819
9820 * scripts/dpkg-architecture.pl, archtable: Add AMD64/x86_64 support.
9821 Also reindent archtable so the columns line up nicely.
9822
9823 Mon Apr 26 18:53:15 BST 2004 Scott James Remnant <scott@netsplit.com>
9824
9825 * configure.in: Put the man page directories in alphabetical order.
9826 * man/Makefile.in: Likewise
9827 * debian/rules: Extract manual page directories from Makefile.in and
9828 use that list instead of hardcoding them.
9829
9830 Sun Apr 25 19:00:20 BST 2004 Scott James Remnant <scott@netsplit.com>
9831
9832 * version-nr, debian/changelog: Bump version to 1.10.22.
9833
9834 Sun Apr 25 18:02:34 BST 2004 Scott James Remnant <scott@netsplit.com>
9835
9836 * scripts/install-info.pl: Add --dir-file option for compatibility
9837 with GNU install-info. Correct code to break infinite loop.
9838
9839 Sun Apr 25 17:57:46 BST 2004 Scott James Remnant <scott@netsplit.com>
9840
9841 * scripts/dpkg-divert.8: Document that diverting shared libraries
9842 can be troublesome when combined with ldconfig.
9843
9844 Sun Apr 25 17:53:06 BST 2004 Scott James Remnant <scott@netsplit.com>
9845
9846 * scripts/dpkg-checkbuilddeps.1: This script no longer checks for
9847 build-essential, so don't document that it does.
9848
9849 Sun Apr 25 17:45:47 BST 2004 Scott James Remnant <scott@netsplit.com>
9850
9851 * scripts/dpkg-genchanges.pl: Group the -o expression to find
9852 using braces.
9853
9854 Sun Apr 25 17:17:16 BST 2004 Scott James Remnant <scott@netsplit.com>
9855
9856 * man/es/Makefile.in: Add new dpkg-source.1 manpage.
9857
9858 Sun Apr 25 17:08:57 BST 2004 Scott James Remnant <scott@netsplit.com>
9859
9860 * man/ja/Makefile.in: Add new dpkg-source.1 manpage.
9861
9862 Sun Apr 25 16:59:09 BST 2004 Scott James Remnant <scott@netsplit.com>
9863
9864 * configure.in: Add Norwegian Nynorsk and Portuguese linguas.
9865
9866 Sun Apr 25 12:27:38 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9867
9868 * main/archive.c: make block and char devices work properly when
9869 extracting. mknod can create other kinds of devices than just char
9870 and block devices, so we need to pass the type of device to mknod in
9871 the mode argument.
9872
9873 Sun Apr 25 00:46:38 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9874
9875 * split/mksplit.pl: cut off anything after the first piece of whitespace
9876 when getting the md5sum, since we now get a different-formatted md5sum
9877 back. (It now has a trailing dash.)
9878
9879 Sun Apr 25 00:23:27 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9880
9881 * lib/dump.c: Terminate buffer in order to not display garbage when
9882 displaying dependency fields.
9883
9884 Sun Apr 25 00:12:27 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9885
9886 * main/query.c, dpkg-deb/main.c: Fix up the query format to be
9887 consistent with what the library expects. Remove the pkg: prefix from
9888 the default showformat.
9889
9890 Sun Apr 25 00:06:27 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9891
9892 * scripts/dpkg-statoverride.pl: Make sure the permissions passed to
9893 dpkg-statoverride are numeric.
9894
9895 Sat Apr 24 23:11:12 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9896
9897 * include/dpkg.h.in, lib/ehandle.c, lib/myopt.c: Failed opening of
9898 configuration files are no longer a fatal error. Thanks to Max
9899 Vozeler <max@hinterhof.net> for the patch.
9900
9901 Mon Apr 19 12:24:40 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9902
9903 * scripts/dpkg-shlibdeps.pl: Set LC_ALL to C before spawning off dpkg
9904 --search, to avoid searching on localized strings.
9905
9906 Sun Mar 28 18:32:19 CEST 2004 Jordi Mallach <jordi@debian.org>
9907
9908 * po/ca.po: Update Catalan translation.
9909
9910 Fri Mar 12 19:02:21 GMT 2004 Scott James Remnant <scott@netsplit.com>
9911
9912 * main/remove.c (removal_bulk_remove_configfiles): Don't change the
9913 "previous pointer" pointer if we remove the node from the linked list,
9914 ensuring that if the next node is to be removed the right thing will
9915 happen.
9916
9917 This corrects the bug where every second shared or diverted conffile
9918 would be incorrectly deleted by dpkg.
9919
9920 Fri Mar 12 15:05:52 GMT 2004 Scott James Remnant <scott@netsplit.com>
9921
9922 * utils/start-stop-daemon.c: Don't require an argument for -V (version).
9923
9924 Thu Mar 11 11:36:06 GMT 2004 Scott James Remnant <scott@netsplit.com>
9925
9926 * version-nr, debian/changelog: Bump version to 1.10.21.
9927
9928 Thu Mar 11 11:23:09 GMT 2004 Scott James Remnant <scott@netsplit.com>
9929
9930 * man/ja/Makefile.in: Add new pages to Makefile.in so they get
9931 installed.
9932
9933 Thu Mar 11 11:18:29 GMT 2004 Scott James Remnant <scott@netsplit.com>
9934
9935 * scripts/dpkg-buildpackage.sh: Revert change suggested by Javier
9936 Fernandez-Sanguino Pena, and don't echo a blank line when dealing
9937 with PGP. PGP itself will fail if we do this, it's needed to
9938 satisfy pgpgp, which quite frankly is a bug in pgpgp's emulation
9939 of pgp.
9940
9941 Thu Mar 8 01:10:00 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9942
9943 * po/pt_BR.po: Fix typo.
9944
9945 Thu Mar 8 01:10:00 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9946
9947 * man/de/md5sum.1: Fix spelling error as per patch in #230750
9948
9949 Thu Mar 8 01:00:00 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9950
9951 * man/fr/dpkg-source.1 man/fr/update-alternatives.8
9952 man/fr/start-stop-daemon.8 man/fr/dpkg.8 man/fr/dpkg-query.8
9953 man/fr/deb-control.5 man/fr/dpkg-scanpackages.8: Update French translation
9954 per patches in #218713
9955
9956 Thu Mar 8 00:54:00 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9957
9958 * man/ja/{dpkg-architecture.1,dpkg-query.8,dselect.8}: Update Japanese
9959 translation. Closes: #224616
9960
9961 Thu Mar 8 00:38:00 CEST 2004 Tollef Fog Heen <tfheen@debian.org>
9962
9963 * release.sh: Remove .svn directories as well.
9964
9965 Mon Mar 8 19:37:00 GMT 2004 Scott James Remnant <scott@netsplit.com>
9966
9967 * version-nr, debian/changelog: Bump version to 1.10.20.
9968
9969 Mon Mar 8 19:02:25 GMT 2004 Andrew Suffield <asuffield@debian.org>
9970
9971 * utils/md5sum.c: Check the bounds of the line before processing.
9972
9973 Mon Mar 8 18:55:13 GMT 2004 Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
9974
9975 * utils/md5sum.c: Don't print offending lines as they may not be NULL
9976 terminated.
9977
9978 Mon Mar 8 18:34:16 GMT 2004 Goswin Brederlow <brederlo@informatik.uni-tuebingen.de>
9979
9980 * lib/parse.c, main/processarc.c: Store Architecture in the status file
9981 and don't remove it when processing. This is a first step towards
9982 multi-arch support in a future release of Debian.
9983
9984 Mon Mar 8 18:28:07 GMT 2004 Robert Millan <rmh@debian.org>
9985
9986 * archtable, configure.in, scripts/dpkg-architecture.pl: Update
9987 support for Debian FreeBSD.
9988
9989 Mon Mar 8 18:20:38 GMT 2004 Javier Fernandez-Sanguino Pena <jfs@computer.org>
9990
9991 * scripts/dpkg-buildpackage.sh: Add blank line to .dsc before
9992 signing with PGP.
9993
9994 Mon Mar 8 18:10:06 GMT 2004 Scott James Remnant <scott@netsplit.com>
9995
9996 * debian/control: Remove duplicated uploaders field and add myself
9997 to the one that's left.
9998
9999 Mon Mar 8 16:49:13 GMT 2004 Christian Haggstrom <chm@c00.info>
10000
10001 * lib/mlib.c: Remove extraneous %s in ohshite() call when out of
10002 disk space so that condition gets handled correctly and not with
10003 a SEGV.
10004
10005 Mon Mar 8 10:14:27 GMT 2004 Colin Watson <cjwatson@debian.org>
10006
10007 * dselect/methlist.cc, dselect/pkgdisplay.cc: Set the total display width
10008 to the maximum of TOTAL_LIST_WIDTH and COLS, improving display on wide
10009 terminals.
10010
10011 Thu Mar 4 13:28:11 GMT 2004 Scott James Remnant <scott@netsplit.com>
10012
10013 * lib/tarfn.c: Copy the Name and LinkName elements and ensure they
10014 are NULL-terminated, freeing these copies before returning. The
10015 tar spec doesn't require a NULL byte if the filename is exactly
10016 100 characters long.
10017
10018 Sun Feb 29 21:56:25 GMT 2004 Scott James Remnant <scott@netsplit.com>
10019
10020 * scripts/dpkg-checkbuilddeps.pl: Push build-conflicts errors into
10021 @conflicts instead of @unmet, this looks like an accidental error
10022 introduced by bad copy&pasting.
10023
10024 Mon Mar 8 17:26:06 GMT 2004 Scott James Remnant <scott@netsplit.com>
10025
10026 * debian/changelog, version-nr: Bump to 1.10.19.
10027
10028 Thu Feb 26 01:48:15 GMT 2004 Scott James Remnant <scott@netsplit.com>
10029
10030 * main/processarc.c (process_archive): Copy code from main/remove.c
10031 to ensure that hardlinks to devices, setuid files or setgid files
10032 cannot be stashed away in the hope that they become compromisable
10033 in the future. This was handled when removing a package, but not
10034 when upgrading one.
10035
10036 Thu Feb 26 01:23:13 GMT 2004 Scott James Remnant <scott@netsplit.com>
10037
10038 * version-nr: Bump to 1.10.18.1
10039
10040 Mon Feb 23 22:46:21 GMT 2004 Scott James Remnant <scott@netsplit.com>
10041
10042 * dpkg-deb/main.c: Clean up previous badly applied multiline string
10043 patch.
10044
10045 Mon Feb 23 01:30:13 CET 2004 Steinar H. Gunderson <sesse@debian.org>
10046
10047 * main/remove.c: Terminate string buffer correctly.
10048
10049 Fri Feb 20 10:22:24 CET 2004 Colin Watson <cjwatson@debian.org>
10050
10051 * dpkg-deb/main.c: Don't use multiline strings (a removed GCC extension).
10052
10053 Tue Jan 27 20:08:12 CST 2003 Adam Heath <doogie@debian.org>
10054
10055 * debian/control: Update dpkg conflicts to << 1.10, instead of 1.9.
10056
10057 Mon Oct 27 13:39:56 CST 2003 Adam Heath <doogie@debian.org>
10058
10059 * version-nr, debian/changelog: Rebuild, tagging and releasing correctly
10060 from cvs this time.
10061
10062 Mon Oct 27 13:01:12 CST 2003 Adam Heath <doogie@debian.org>
10063
10064 * scripts/dpkg-gencontrol.pl: Fix errors with dependency fields that
10065 reference ${dpkg:Version}.
10066
10067 Mon Oct 27 18:45:19 CET 2003 Jordi Mallach <jordi@debian.org>
10068
10069 * po/ca.po: Update Catalan translation and recode to UTF-8.
10070
10071 Mon Oct 27 11:06:25 CST 2003 Adam Heath <doogie@debian.org>
10072
10073 * debian/dpkg.postinst: Don't assume /usr/info/dir exists if /usr/info
10074 does.
10075
10076 Mon Oct 27 10:57:54 CST 2003 Adam Heath <doogie@debian.org>
10077
10078 * scripts/dpkg-source.pl: Add .#* to the default ignore filter.
10079
10080 Mon Oct 27 09:49:29 CST 2003 Adam Heath <doogie@debian.org>
10081
10082 * scripts/dpkg-scanpackages.pl: Add -u -a<arch> commands.
10083
10084 Mon Oct 27 09:42:57 CST 2003 Adam Heath <doogie@debian.org>
10085
10086 * scripts/dpkg-checkbuilddeps.pl: Set $reduce_arch when calling parsedep.
10087
10088 Sun Oct 26 19:29:16 CST 2003 Adam Heath <doogie@debian.org>
10089
10090 * scripts/dpkg-checkbuilddeps.pl: s/dpkg-checkbuild/dpkg-checkbuilddeps/
10091 in usage.
10092 * version-nr: Bump to 1.10.17.
10093 * debian/changelog: Make the date UNRELEASED.
10094
10095 Sun Oct 26 14:55:53 CET 2003 Wichert Akkerman <wichert@wiggy.net>
10096
10097 * dselect/pkgdepcon.cc: change return value for pkgdepcon() to indicate
10098 a conflict resolution is needed when dealing with autoselected
10099 recommends
10100
10101 Sat Oct 25 15:46:16 CDT 2003 Adam Heath <doogie@debian.org>
10102
10103 * debian/changelog: Tag for 1.10.16 release date(for real this time).
10104
10105 Sat Oct 25 15:45:48 CDT 2003 Adam Heath <doogie@debian.org>
10106
10107 * scripts/install-info.pl: Change formatting of info.dir.
10108
10109 Sat Oct 25 15:04:41 CDT 2003 Adam Heath <doogie@debian.org>
10110
10111 * lib/mlib.c, include/dpkg.h.in, utils/md5sum.c: Change limit and the
10112 return value for buffer_copy to off_t, which fixes large file handling.
10113
10114 Sat Oct 25 15:02:27 CDT 2003 Adam Heath <doogie@debian.org>
10115
10116 * almost all .c files: Almost *EVERY* damn file was including config.h in
10117 the wrong spot. After making it the first include, then
10118 off_t/size_t/etc could actually be redefined to be 64-bit compatible.
10119
10120 Sat Oct 25 12:47:22 CDT 2003 Adam Heath <doogie@debian.org>
10121
10122 * scripts/dpkg-checkbuilddeps.pl: Fix dpkg-checkbuilddeps calling of
10123 parsedep. It wasn't setting use_arch.
10124
10125 Tue Sep 23 12:20:35 CDT 2003 Adam Heath <doogie@debian.org>
10126
10127 * configure.in: Add man/es/Makefile.
10128
10129 Tue Sep 23 12:12:38 CDT 2003 Adam Heath <doogie@debian.org>
10130
10131 * debian/changelog: Set release date for 1.10.16.
10132
10133 Sat Sep 20 21:17:45 CDT 2003 Adam Heath <doogie@debian.org>
10134
10135 * utils/md5sum.c: Fix handling of large files.
10136
10137 Sat Sep 20 20:42:35 CDT 2003 Adam Heath <doogie@debian.org>
10138
10139 * man/*
10140 * Imported several translated manpages, from debian-doc cvs:
10141 * Spanish: 822-date.1 cleanup-info.8 deb-control.5 deb-old.5
10142 deb.5 dpkg-checkbuilddeps.1 dpkg-deb.1 dpkg-divert.8 dpkg-name.1
10143 dpkg-scanpackages.8 dpkg-split.8 dpkg-statoverride.8 dpkg.8
10144 dselect.8 md5sum.1 start-stop-daemon.8 update-alternatives.8
10145 * French: deb.5
10146 * Portuguese: dpkg.8 dselect.8
10147 * main/dpkg.8: -O had an inverted word.
10148 * po/cz.po: Improve translation of: "dpkg - warning: ignoring request to
10149 remove %s which isn't installed."
10150 * po/it.po: Fix missing space in translation when listing files, and the
10151 file is diverted.
10152 * po/pl.po:
10153 * Updated.
10154 * Fix translation of 'conflicts with'
10155 * po/ja.po: Fix typo for 'downgrade' in translation of dpkg --force-help.
10156 * po/fr.po:
10157 * Fix translation when listing files, and the file is diverted.
10158 * Fix missing space in translation of: "%s - warning: downgrading %.250s
10159 from %.250s to %.250s.\n"
10160 * po/da.po: Fix translation of(was missing the leading space): " does not
10161 appear to be available\n"
10162
10163 Sat Sep 20 18:45:11 CDT 2003 Adam Heath <doogie@debian.org>
10164
10165 * utils/start-stop-daemon.[c8]:
10166 * Add a -d|--chdir option to start-stop-daemon.
10167 * Split the background block into 2 parts: one that does the fork, and
10168 opens /dev/tty and /dev/null, and one that does everything else. The
10169 second block is then moved to be run right before the exec. This
10170 allows error messages to be seen from the child(previously, they were
10171 lost), and allows for the chroot to not require the device files.
10172 * When --start, --startas and --pidfile are given, print 'process'
10173 instead of '(null)' for the process name, if it's already running.
10174
10175 Sat Sep 20 17:44:40 CDT 2003 Adam Heath <doogie@debian.org>
10176
10177 * configure.in, include/dpkg.h.in: Fix (non-)detection of setlocale.
10178
10179 Fri Sep 19 20:02:19 CDT 2003 Adam Heath <doogie@debian.org>
10180
10181 * debian/changelog: Set date/time for 1.10.15 release.
10182
10183 Fri Sep 19 19:56:48 CDT 2003 Adam Heath <doogie@debian.org>
10184
10185 * lib/varbuf.c, configure.in: Fix va_copy detection.
10186 * scripts/dpkg-buildpackage.sh: Back out debian/rules build-arch
10187 detection. It is *not* possible *at all* to detect available targets
10188 in a rules file. Period.
10189
10190 Fri Sep 19 12:26:54 CDT 2003 Adam Heath <doogie@debian.org>
10191
10192 * scripts/{controllib,dpkg-{source,checkbuilddeps,control}}.pl:
10193 * Rewrote the parsedep stuff, so that it wasn't done during control
10194 file parsing. Scripts that need the internal parsed format should
10195 call parsedep on the field's value.
10196 * Split the substvars parsing into a separate function.
10197 * No longer validate dependency fields when reading the control file.
10198 Some fields may have vars in them, which breaks the validation.
10199 * dpkg-gencontrol calls substvars after parsing the control file, and
10200 then validates the substituted depends lines. Originally,
10201 substitution occurred only during writing of the final output file.
10202 * Andreas Barth <aba@not.so.argh.org>:
10203 Fix bad regex that didn't allow spaces in dependency field parsing.
10204 It now directly matches what the c code expects. It previously was
10205 allowing all of \S, which matched on '('.
10206 Closes: #211660.
10207 * debian/control: Remove stale debug that would have broken installation
10208 on s390.
10209 * debian/rules: We were calling our own local copy of dpkg-gencontrol,
10210 but the system-installed copy of dpkg-shlibdeps. Now, both are called
10211 from the build directory.
10212
10213 Wed Sep 17 13:26:14 CDT 2003 Adam Heath <doogie@debian.org>
10214
10215 * debian/changelog, version-nr: Updated to 1.10.13.
10216
10217 Wed Sep 17 13:23:15 CDT 2003 Adam Heath <doogie@debian.org>
10218
10219 * scripts/controllib.pl: Fix parsing of deps when both () and [] are
10220 specified.
10221 * scripts/controllib.pl: Set $host_arch in controllib.pl:parsedep.
10222 * scripts/dpkg-checkbuilddeps.pl: Don't output the [] stuff when finding
10223 invalid deps.
10224
10225 Tue Sep 16 13:44:06 CDT 2003 Adam Heath <doogie@debian.org>
10226
10227 * scripts/dpkg-source.pl: Fix generation of dependency lines.
10228
10229 Tue Sep 16 13:06:01 CDT 2003 Adam Heath <doogie@debian.org>
10230
10231 * scripts/dpkg-genchanges.pl: Ignore 'o:.*' in %fi.
10232
10233 Tue Sep 16 13:02:10 CDT 2003 Adam Heath <doogie@debian.org>
10234
10235 * scripts/dpkg-source.pl: Ignore 'o:.*' in %fi.
10236
10237 Tue Sep 16 12:57:02 CDT 2003 Adam Heath <doogie@debian.org>
10238
10239 * po/update.sh: Remove helpmsgs.cc generation.
10240
10241 Tue Sep 16 12:52:42 CDT 2003 Adam Heath <doogie@debian.org>
10242
10243 * version-nr, debian/changelog: Updated for 1.10.11 release.
10244
10245 Tue Sep 16 12:50:44 CDT 2003 Adam Heath <doogie@debian.org>
10246
10247 * scripts/update-alternatives.pl: Remove -w, as it causes runtime
10248 warnings. The code isn't clean enough yet to support it.
10249
10250 Mon Sep 15 19:08:28 CDT 2003 Adam Heath <doogie@debian.org>
10251
10252 * debian/rules: No longer generate any BYHAND files. Also, fix bug in
10253 pseudo-tags installation.
10254
10255 Mon Sep 15 18:53:06 CDT 2003 Adam Heath <doogie@debian.org>
10256
10257 * debian/rules, debian/pseudo-tags: Install
10258 /usr/share/doc/dpkg/pseudo-tags, which talks about the bug titling we
10259 use to mark bugs for filtering in the Debian bts.
10260
10261 Mon Sep 15 18:48:39 CDT 2003 Adam Heath <doogie@debian.org>
10262
10263 * scripts/dpkg-buildpackage.sh: Call debian/rules -qn build-arch, and if
10264 it's available, modify -B handling appropriately. If build-arch is not
10265 available, then when -B was called, do *not* pass -B on to
10266 dpkg-checkbuilddeps.
10267
10268 Sun Sep 14 21:45:44 CDT 2003 Adam Heath <doogie@debian.org>
10269
10270 * configure.in: Fix broken os_type detection on linux.
10271
10272 Sun Sep 14 21:44:01 CDT 2003 Adam Heath <doogie@debian.org>
10273
10274 * po/ca.po: Updated.
10275
10276 Sun, 14 Sep 2003 21:16:18 -0500 Adam Heath <doogie@debian.org>
10277
10278 * scripts/controllib.pl, scripts/dpkg-checkbuilddeps.pl: Moved dependency
10279 parsing logic from dpkg-checkbuilddeps. The dpkg-checkbuilddeps parser
10280 didn't support empty fields, while the controllib parser did.
10281 * scripts/controllib.pl:
10282 * Dependency fields are now parsed into a nested list structure.
10283 * All dependency fields now support [arch] constructs. Those that
10284 don't apply for the current host_arch are removed during parsing.
10285 * Comment lines(those that start with '#') are ignored during parsing.
10286 * Store the original field's casing with 'o:' prepended in %fi.
10287 * scripts/dpkg-checkbuilddeps.pl: Because of the above controllib.pl
10288 changes, this script is much simpler now.
10289 * scripts/dpkg-gencontrol.pl:
10290 * Use the original casing of field names when reporting unknown fields.
10291 * scripts/dpkg-gencontrol.pl, scripts/controllib.pl: After opening files,
10292 set binmode.
10293
10294 Sun Sep 14 17:24:20 CDT 2003 Adam Heath <doogie@debian.org>
10295
10296 * dselect/{Makefile.in,helpmsgs.{cc,h,src},mkhelpmsgs.pl,.cvsignore}:
10297 No longer generate helpmsgs.{cc,h}.
10298
10299 Sun Sep 14 16:53:09 CDT 2003 Adam Heath <doogie@debian.org>
10300
10301 * scripts/update-alternatives.{pl,8}:
10302 * Apply patch that provides --set and --remove-all commands.
10303 * --all calls --config on all alternatives.
10304 * scripts/update-alternatives.pl:
10305 * Alter --config prompt, to be more clear, that one must 'press' enter
10306 to accept the default.
10307 * Fix some -w issues.
10308 * Check whether the target path exists when removing.
10309
10310 Sat Sep 13 20:48:02 CDT 2003 Adam Heath <doogie@debian.org>
10311
10312 * scripts/update-alternatives.8: Add --config to action section, and add
10313 as EXAMPLES section.
10314 * scripts/install-info.pl: install-info --version and --help now display
10315 on stdout.
10316 * main/dpkg{,-query}.8: Mention what -S will not find.
10317 * main/dpkg.8: Mention that downgrading a package can have serious
10318 consequences.
10319 * scripts/dpkg-scanpackages.8: Include small note that other tools might
10320 use the generated Packages file.
10321 * scripts/dpkg-source.1: Fix some typos.
10322 * dselect/dselect.8: dselect is not the only interface for installing
10323 packages nowadays.
10324 * utils/start-stop-daemon.8: Note that --nicelevel takes an argument.
10325 * man/en/deb-control.8: Remove duplicate 'can'.
10326 * scripts/dpkg-scansources.pl: Fix short description.
10327 * main/dpkg.8: Move dpkg-query options to their own subsection, like
10328 dpkg-deb.
10329 * main/main.c, main/dpkg.8: Add --dry-run and --simulate as synonyms to
10330 --no-act.
10331 * scripts/dpkg-architecture.pl: Fix wrong reference to
10332 DEB_BUILD_GNU_SYSTEM on --host
10333 * man/en/deb-control.5: s/Usuaully/Usually/
10334 * dselect/dselect.8: Removed reference in dselect(8) about recommends not
10335 being handled well.
10336 * scripts/dpkg-parsechangelog.pl: s/dpkg-source/dpkg-parsechangelog/ in
10337 -h
10338 * scripts/dpkg-source.1: Unhighlight "May be repeated multiple times."
10339 * dpkg-deb/main.c: Make all actions in -h lower case.
10340 * utils/start-stop-daemon.[c8]: Add -g|--group.
10341 * main/dpkg.8: s/THANKS/THANKS.gz/
10342 * main/dpkg.8: Mention running dselect, install after --set-selections.
10343 * main/main.c: Remove disabled --command-fd from help.
10344
10345 Sat Sep 13 18:42:27 CDT 2003 Adam Heath <doogie@debian.org>
10346
10347 * Makefile.conf.in, archtable, configure.in, dselect/Makefile.in,
10348 lib/varbuf.c, scripts/dpkg-{architecture,shlibdeps}.pl,
10349 utils/start-stop-daemon.c: Support OpenBSD.
10350
10351 Sat Sep 13 18:39:41 CDT 2003 Adam Heath <doogie@debian.org>
10352
10353 * archtable: Added alphaev68-linux-gnu to archtable.
10354
10355 Sat Sep 13 17:18:46 CDT 2003 Adam Heath <doogie@debian.org>
10356
10357 * scripts/dpkg-source.pl: Add .svn, {arch}, and .arch-ids to dpkg-source
10358 -i default regex.
10359
10360 Sat Sep 13 16:34:53 CDT 2003 Adam Heath <doogie@debian.org>
10361
10362 * lib/parse.c: Change use of strncpy in parsedb to memcpy.
10363
10364 Sat Sep 13 16:28:52 CDT 2003 Adam Heath <doogie@debian.org>
10365
10366 * main/main.c: Fix segfault with --status-fd.
10367
10368 Sat Sep 13 16:26:36 CDT 2003 Adam Heath <doogie@debian.org>
10369
10370 * scripts/dpkg-source.pl: Add .cvsignore to dpkg-source's default diff
10371 ignore regex. Also fix missing \ escape for .deps.
10372
10373 Sat Sep 13 16:16:52 CDT 2003 Adam Heath <doogie@debian.org>
10374
10375 * main/remove.c: Retry removing empty dirs during purge.
10376
10377 Sat Sep 13 16:09:13 CDT 2003 Adam Heath <doogie@debian.org>
10378
10379 * main/filesdb.c: Increase filesdb bin size, and alter hashing function.
10380
10381 Sat Sep 13 16:04:37 CDT 2003 Adam Heath <doogie@debian.org>
10382
10383 * scripts/dpkg-statoverride.pl: Fix "stripping trailing /" message from
10384 dpkg-statoverride.
10385
10386 Sat Sep 13 15:56:13 CDT 2003 Adam Heath <doogie@debian.org>
10387
10388 * automake/tools.m4, dselect/Makefile.in, methods/disk.setup,
10389 scripts/dpkg-parsechangelog.pl, scripts/dpkg-source.pl: Apply patch to
10390 make dpkg work with POSIX 1003.1-2001.
10391
10392 Sat Sep 13 15:40:39 CDT 2003 Adam Heath <doogie@debian.org>
10393
10394 * lib/database.c: Apply patch to change hashing function, and increase
10395 bin size, for the package database.
10396
10397 Sat Sep 13 15:20:56 CDT 2003 Adam Heath <doogie@debian.org>
10398
10399 * lib/enquiry.c, scripts/dpkg-architecture.pl: dpkg --print-architecture
10400 now does gcc -dumpmachine instead of --print-libgcc-file-name.
10401
10402 Sat Sep 13 14:38:55 CDT 2003 Adam Heath <doogie@debian.org>
10403
10404 * debian/dpkg-doc.postinst: Add set -e.
10405
10406 Sat Sep 13 14:36:37 CDT 2003 Adam Heath <doogie@debian.org>
10407
10408 * lib/parse.c: Fix inverted test of eof in parsedb, while looking for eof
10409 after field name.
10410
10411 Sat Sep 13 14:34:10 CDT 2003 Adam Heath <doogie@debian.org>
10412
10413 * scripts/update-alternatives.pl: Fix inversion test of $state against
10414 'expected' when removing an alternative.
10415
10416 Sat Sep 13 14:31:22 CDT 2003 Adam Heath <doogie@debian.org>
10417
10418 * lib/startup.c, lib/Makefile.in, include/dpkg.h.in: Change
10419 standard_startup and standard_shutdown into macros.
10420
10421 Sat Sep 13 14:24:14 CDT 2003 Adam Heath <doogie@debian.org>
10422
10423 * scripts/install-info.pl: Apply patch, to handle missing infodir.bak,
10424 and empty files.
10425
10426 Sat Sep 13 14:21:13 CDT 2003 Adam Heath <doogie@debian.org>
10427
10428 * config.sub, config.guess: Updated
10429
10430 Sat Sep 13 14:20:12 CDT 2003 Adam Heath <doogie@debian.org>
10431
10432 * debian/control: Add build-depends on sgml-base, and increase
10433 gettext build-depends to 0.12.1-3.
10434
10435 Sat Sep 13 14:18:02 CDT 2003 Adam Heath <doogie@debian.org>
10436
10437 * configure.in:
10438 * Change AC_SYS_SIGLIST_DECLARED to AC_DECL_SYS_SIGLIST.
10439 * Add locale.h to list of checked headers.
10440 * Pass external to AM_GNU_GETTEXT
10441
10442 Sat Sep 13 13:57:22 CDT 2003 Adam Heath <doogie@debian.org>
10443
10444 * Makefile.conf.in: s/top_srcdir/abs_top_srcdir/
10445
10446 Sat Sep 13 13:56:23 CDT 2003 Adam Heath <doogie@debian.org>
10447
10448 * lib/compat.c: s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/
10449
10450 Sat Sep 13 13:55:25 CDT 2003 Adam Heath <doogie@debian.org>
10451
10452 * po/Makevars: Define MSGID_BUGS_ADDRESS
10453
10454 Fri, 12 Sep 2003 17:15:33 +0200 Wichert Akkerman <wichert@deephackmode.org>
10455
10456 * scripts/dpkg-source.pl: allow ~ in version numbers
10457
10458 Sat Apr 26 15:10:24 CDT 2003 Adam Heath <doogie@debian.org>
10459
10460 * version-nr, debian/changelog: Updated for 1.10.10 release.
10461
10462 Sat Apr 26 15:09:10 CDT 2003 Adam Heath <doogie@debian.org>
10463
10464 * debian/control: Updated to standards-version 3.5.8.
10465 * debian/{dpkg,{-dev,-doc},dselect}.{prerm,postinst}, debian/rules: No
10466 longer manage /usr/doc symlinks.
10467
10468 Sat Apr 26 14:28:17 CDT 2003 Adam Heath <doogie@debian.org>
10469
10470 * .cvsignore, po/.cvsignore: Added generated/symlinked files.
10471
10472 Sat Apr 26 14:24:05 CDT 2003 Adam Heath <doogie@debian.org>
10473
10474 * mkinstalldirs: removed, as this is generated.
10475
10476 Sat Apr 26 14:22:16 CDT 2003 Adam Heath <doogie@debian.org>
10477
10478 * po/Makevars: Needed to work with the newer gettext.
10479
10480 Sat Apr 26 11:29:30 CDT 2003 Adam Heath <doogie@debian.org>
10481
10482 * configure.in, Makefile.in: Updated for gettext 0.11.5.
10483 * po/*: Updated.
10484
10485 Tue Apr 15 11:32:22 CDT 2003 Adam Heath <doogie@debian.org>
10486
10487 * archtable, utils/start-stop-daemon.c, scripts/dpkg-architecture.pl:
10488 Add netbsd support.
10489 * scripts/dpkg-architecture.pl: Support hyphenated values.
10490
10491 Tue Apr 15 01:05:04 CDT 2003 Adam Heath <doogie@debian.org>
10492
10493 * config.sub, config.guess: Updated.
10494
10495 Tue Apr 15 00:48:06 CDT 2003 Adam Heath <doogie@debian.org>
10496
10497 * debian/control, debian/rules, debian/changelog: Modified to use
10498 autotools-dev.
10499
10500 Tue Apr 15 00:35:40 CDT 2003 Adam Heath <doogie@debian.org>
10501
10502 * scripts/dpkg-statoverride.pl: Strip trailing / from the file args in
10503 dpkg-statoverride.
10504
10505 Tue Apr 15 00:26:06 CDT 2003 Adam Heath <doogie@debian.org>
10506
10507 * Makefile.in: Surround sed call with ''.
10508
10509 Tue Apr 15 00:16:44 CDT 2003 Adam Heath <doogie@debian.org>
10510
10511 * debian/control: Make the dpkg-iasearch conflicts versioned.
10512
10513 Mon Apr 14 21:13:04 CDT 2003 Adam Heath <doogie@debian.org>
10514
10515 * archtable: Updated for hurd.
10516
10517 Sun Sep 15 13:25:29 CDT 2002 Adam Heath <doogie@debian.org>
10518
10519 * scripts/dpkg-architecture.pl: Add s390x.
10520
10521 Sun Sep 15 13:21:38 CDT 2002 Adam Heath <doogie@debian.org>
10522
10523 * debian/changelog: Set date for 1.10.9 release.
10524
10525 Sun Sep 15 13:19:40 CDT 2002 Adam Heath <doogie@debian.org>
10526
10527 * archtable: Add s390x.
10528
10529 Sun Sep 15 12:48:36 CDT 2002 Adam Heath <doogie@debian.org>
10530
10531 * main/help.c: Fix dereference in cu_closefd(), which was the cause of
10532 close(random number) on most arches, but close(0) on s390x.
10533
10534 Sun Sep 15 12:43:00 CDT 2002 Adam Heath <doogie@debian.org>
10535
10536 * version-nr, debian/changelog: Set 1.10.9 version.
10537
10538 Thu Sep 5 16:32:01 CDT 2002 Adam Heath <doogie@debian.org>
10539
10540 * debian/changelog: Set date for 1.10.8 release.
10541
10542 Thu Sep 5 16:31:11 CDT 2002 Adam Heath <doogie@debian.org>
10543
10544 * scripts/install-info.pl: Make the multiline regex have an upper bound,
10545 instead of being unbounded, as newer perls have a larger stack frame,
10546 which cause them to segfault quicker with larger inputs.
10547
10548 Thu Sep 5 16:29:39 CDT 2002 Adam Heath <doogie@debian.org>
10549
10550 * version-nr, debian/changelog: Set 1.10.8 version.
10551
10552 Tue Sep 3 18:59:19 CDT 2002 Adam Heath <doogie@debian.org>
10553
10554 * debian/changelog: Set date for 1.10.7 release.
10555
10556 Tue Sep 3 18:40:08 CDT 2002 Adam Heath <doogie@debian.org>
10557
10558 * lib/dbmodify.c: Fix double free in modstatdb_init, in the case that
10559 modstatdb_shutdown was called previously.
10560
10561 Tue Sep 3 18:37:45 CDT 2002 Adam Heath <doogie@debian.org>
10562
10563 * lib/nfmalloc.c: Protect duplicate calls to obstack_free(),
10564 as obstack_free segfaults when called without initializing.
10565
10566 Tue Sep 3 18:36:42 CDT 2002 Adam Heath <doogie@debian.org>
10567
10568 * version-nr, debian/changelog: Set 1.10.7 version.
10569
10570 Sun Sep 1 23:46:04 CDT 2002 Adam Heath <doogie@debian.org>
10571
10572 * debian/changelog: Set date for 1.10.6 release.
10573
10574 Sat Aug 31 23:46:04 CDT 2002 Adam Heath <doogie@debian.org>
10575
10576 * dpkg-deb/main.c, dselect/main.cc, include/dpkg.h.in, lib/startup.c
10577 main/main.c, main/query.c, split/main.c: Don't call nffreeall, in any
10578 of the c/c++ programs. It appears dselect slightly corrupts it's
10579 memory enough that it can't be freed without segfaulting.
10580
10581 Sat Aug 31 23:42:08 CDT 2002 Adam Heath <doogie@debian.org>
10582
10583 * version-nr, debian/changelog: Modified for version 1.10.6.
10584
10585 Thu Aug 29 16:43:45 CDT 2002 Adam Heath <doogie@debian.org>
10586
10587 * debian/changelog: Set date for release.
10588
10589 Thu Aug 29 16:38:15 CDT 2002 Adam Heath <doogie@debian.org>
10590
10591 * main/filesdb.c: Back out one memleak fix.
10592
10593 Thu Aug 29 15:13:59 CDT 2002 Adam Heath <doogie@debian.org>
10594
10595 * debian/rules: Remove /usr/sbin/start-stop-daemon.
10596
10597 Thu Aug 29 14:51:35 CDT 2002 Adam Heath <doogie@debian.org>
10598
10599 * lib/dbmodify.c, lib/dump.c, lib/lock.c, lib/startup.c, lib/tarfn.c
10600 main/configure.c, main/filesdb.c, main/query.c: Fix several minor
10601 memleaks.
10602
10603 Thu Aug 29 14:42:05 CDT 2002 Adam Heath <doogie@debian.org>
10604
10605 * lib/parsehelp.c: Fix corruption of available file, caused by use of
10606 memory that was previously freed.
10607
10608 Thu Aug 29 14:31:22 CDT 2002 Adam Heath <doogie@debian.org>
10609
10610 * lib/parse.c: Check for eof before we getc(), not after.
10611
10612 Sat Aug 24 15:36:41 CDT 2002 Adam Heath <doogie@debian.org>
10613
10614 * scripts/install-info.pl: Previous install-infos(before 1.10) handled
10615 multiple dir file entries, because they would copy the entire stanza
10616 unmodified. The newest version does not do this, as it reformats the
10617 options, and thereby only takes the first line. So, we now split all
10618 the lines from the stanza, and process them all.
10619
10620 Sat Aug 24 14:47:56 CDT 2002 Adam Heath <doogie@debian.org>
10621
10622 * archtable: Add i386-gnu0.3.
10623 * main/Makefile.in, utils/Makefile.in: Fix handling of static compiles,
10624 with regard to zlib.
10625
10626 Sat Aug 24 14:41:45 CDT 2002 Adam Heath <doogie@debian.org>
10627
10628 * lib/fields.c: Allow spaces between the end of a version, and the
10629 trailing ')'.
10630
10631 Sat Aug 24 14:16:13 CDT 2002 Adam Heath <doogie@debian.org>
10632
10633 * lib/archives.c: Fix segfault when --auto-deconfigure is given. This is
10634 causes because the deconfigure list is allocated in an obstack, but
10635 then freed with normal free().
10636
10637 Thu Aug 22 23:37:45 CDT 2002 Adam Heath <doogie@debian.org>
10638
10639 * lib/database.c, lib/parse.c, lib/parsehelp.c, main/main.c: Fix several
10640 read pass buffer bugs, and a memleak.
10641
10642 Thu Aug 22 23:25:23 CDT 2002 Adam Heath <doogie@debian.org>
10643
10644 * lib/nfmalloc.c: Fix read past buffer in lib/nfmalloc.c.
10645
10646 Thu Aug 22 23:16:02 CDT 2002 Adam Heath <doogie@debian.org>
10647
10648 * utils/md5sum.c: Handle directories better in md5sum.
10649
10650 Thu Aug 22 23:06:39 CDT 2002 Adam Heath <doogie@debian.org>
10651
10652 * scripts/dpkg-scanpackages.pl: Fix extraction of md5sum in
10653 dpkg-scanpackages.
10654
10655 Thu Aug 22 23:01:53 CDT 2002 Adam Heath <doogie@debian.org>
10656
10657 * utils/md5sum.c: Fix segfault in md5sum if the file being checked
10658 doesn't exist.
10659
10660 Thu Aug 22 22:59:54 CDT 2002 Adam Heath <doogie@debian.org>
10661
10662 * version-nr, debian/changelog: Modified for 1.10.5.
10663
10664 Sun Jul 14 15:10:22 CDT 2002 Adam Heath <doogie@debian.org>
10665
10666 * configure.in: Remove -ffunction-sections and -fdata-sections.
10667 * Makefile.conf.in, Makefile.in, debian/rules: Install archtable into
10668 /usr/share/dpkg/.
10669
10670 Sun Jul 14 15:09:24 CDT 2002 Adam Heath <doogie@debian.org>
10671
10672 * version-nr, debian/changelog: Updated for 1.10.4 version.
10673
10674 Thu Jul 11 23:33:13 CDT 2002 Adam Heath <doogie@debian.org>
10675
10676 * debian/control: dselect replaces dpkg << 1.10.3, as we moved the
10677 dselect config file and manpages from dpkg.deb to dselect.deb.
10678
10679 Thu Jul 11 22:26:30 CDT 2002 Adam Heath <doogie@debian.org>
10680
10681 * utils/start-stop-daemon.c: If in --test mode, and --stop is given,
10682 increment n_killed, so that start-stop-daemon returns the proper exit
10683 value. Thanks Thomas Morin <thomas.morin@enst-bretagne.fr>.
10684
10685 Thu Jul 11 22:19:12 CDT 2002 Adam Heath <doogie@debian.org>
10686
10687 * utils/start-stop-daemon.c: Fix test inversion in start-stop-daemon,
10688 when checking the pid given in a pid file. Thanks Thomas Morin
10689 <thomas.morin@enst-bretagne.fr>.
10690
10691 Sun Jul 7 14:54:44 CDT 2002 Adam Heath <doogie@debian.org>
10692
10693 * debian/rules: Fix install location of /usr/lib/dpkg/methods.
10694
10695 Sat Jul 6 23:51:03 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10696
10697 * debian/rules: Move dselect.cfg to dselect package.
10698
10699 Thu Jul 4 21:31:57 CDT 2002 Adam Heath <doogie@debian.org>
10700
10701 * debian/rules: Install debian/dselect.conffiles.
10702
10703 Thu Jul 4 19:33:20 CDT 2002 Adam Heath <doogie@debian.org>
10704
10705 * scripts/dpkg-source.pl: Remove -Z from patch call, as it makes patch
10706 warn about missing timestamps.
10707
10708 Tue Jul 2 12:11:59 CDT 2002 Adam Heath <doogie@debian.org>
10709
10710 * debian/changelog, debian/control: dpkg + dpkg-static conflict dpkg-dev
10711 << 1.9, as dpkg-source 1.9 doesn't work with md5sum 1.10.
10712
10713 Tue Jul 2 12:29:52 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10714
10715 * Merge from HEAD:
10716 + lib/myopt: check for malloc failure and actually look in $HOME for
10717 file instead of looking in confdir twice
10718
10719 Tue Jul 2 10:20:40 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10720
10721 * debian/rules: cp instead of mv since we need files for both dpkg
10722 and dpkg-static (ugh)
10723
10724 Tue Jul 2 10:08:18 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10725
10726 * debian/rules: Remove autom4te.cache in clean target
10727
10728 Tue Jul 2 09:52:41 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10729
10730 * debian/rules: move dpkg.cfg.5 and dselect.cfg.5 into dpkg package
10731
10732 Tue Jul 2 09:46:01 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10733
10734 * Merge from HEAD:
10735 + scripts/dpkg-genchanges.pl: Add ~ to the list of legal characters
10736 in a package filename
10737 + scripts/dpkg-checkbuilddeps.pl: remove forced check for build-essential,
10738 we should not hardcode Debian policy into dpkg
10739
10740 Tue Jul 2 09:41:44 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10741
10742 * debian/control: sync dpkg and dpkg-static dependencies, fix double
10743 conflict for dpkg
10744
10745 Tue Jul 2 01:04:29 CDT 2002 Adam Heath <doogie@debian.org>
10746
10747 * debian/rules: Don't always call autoheader during build.
10748
10749 Mon Jul 1 14:45:11 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10750
10751 * debian/control: add conflict with dpkg-iasearch which intruded on
10752 our namespace and replace manpages-de which includes one of our manpages
10753
10754 Fri Jun 21 21:53:24 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10755
10756 * debian/dpkg.postinst: Merge patch from Josip Rodin to improve
10757 the move from /usr/info to /usr/share/info
10758
10759 Fri Jun 21 21:11:02 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10760
10761 * po/ca.po: Updated
10762
10763 Fri Jun 21 19:09:38 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10764
10765 * scripts/dpkg-genchanges.pl: Handle substvars in the Binary field
10766
10767 Thu Jun 20 00:54:54 CDT 2002 Adam Heath <doogie@debian.org>
10768
10769 * scripts/install-info.pl: Fix broken merge from 1.9 branch.
10770
10771 Sat Jun 1 23:22:19 CDT 2002 Adam Heath <doogie@debian.org>
10772
10773 * dpkg-deb/main.c, main/main.c, main/query.c, dselect/main.cc,
10774 split/main.c: Revert last modification. It'll be fixed properly for
10775 dpkg 1.11.
10776
10777 Sat Jun 1 16:45:13 CDT 2002 Adam Heath <doogie@debian.org>
10778
10779 * dpkg-deb/main.c, main/main.c, main/query.c, dselect/main.cc,
10780 split/main.c: Fixed printversion(), to allow translations to be done
10781 better.
10782
10783 Sat Jun 1 16:17:59 CDT 2002 Adam Heath <doogie@debian.org>
10784
10785 * po/pt_BR.po: Updated.
10786
10787 Sat Jun 1 22:04:02 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10788
10789 * po/ru.po: Updated
10790
10791 Fri May 31 21:46:03 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10792
10793 * man/fr/dpkg-scanpackages.8, man/fr/dpkg-source.1, man/fr/dpkg.8,
10794 man/fr/start-stop-daemon.8, man/fr/deb-control.5: Updated
10795
10796 Mon May 27 21:13:00 CDT 2002 Adam Heath <doogie@debian.org>
10797
10798 * po/de.po, po/fr.po, po/gl.po: Updated.
10799
10800 Sun May 26 18:50:10 CET 2002 Peter Karlsson <peterk@debian.org>
10801
10802 * man/sv/dpkg.8, man/sv/start-stop-daemon.8, po/sv.po: Updated Swedish
10803 translation.
10804
10805 Sun May 26 01:35:34 CDT 2002 Adam Heath <doogie@debian.org>
10806
10807 * lib/tarfn.c: dpkg now reorders symlinks when extracting debs. However,
10808 this is also still done when building debs. After a stable release of
10809 Debian has occurred with this modified dpkg, the reordering when
10810 building can be removed.
10811
10812 Sun May 26 01:28:00 CDT 2002 Adam Heath <doogie@debian.org>
10813
10814 * debian/dpkg.postinst: Fix /usr/info/dir moving/symlink code.
10815
10816 Sun May 26 01:10:24 CDT 2002 Adam Heath <doogie@debian.org>
10817
10818 * Fix some mis-merging of the 1.9 branch:
10819 * debian/rules, debian/dpkg.conffiles: dselect was split to a separate
10820 deb, no longer install dselect.cfg into dpkg.deb. Also, dpkg.cfg is
10821 no longer a conffile.
10822
10823 Sat May 25 22:45:06 CDT 2002 Adam Heath <doogie@debian.org>
10824
10825 * Merge changes from 1.9.20 and 1.9.21.
10826 * utils/start-stop-daemon.8: Fix some nroff formatting errors
10827 ? po.ru.po: Fix mistranslation
10828 * main/dpkg.8: document --force-confmiss, improve description for
10829 --force-conf{old,new}
10830 * lib/mlib.c: Detect truncated debs, and abort the unpack.
10831 * debian/rules: install dpkg.cfg in docdir, install dpkg.postrm. Also
10832 install dselect.cfg in /etc/dpkg.
10833 * debian/dpkg.cfg: add force-overwrite
10834 * debian/dpkg.postrm: new file
10835 ? po/sv.po: Removed fuzzy translation.
10836 ? po/sv.po: Fixed broken c-format escapes which would make some error
10837 messages display incorrectly.
10838 * debian/control: Fix build-depends on zlib1g-dev to >= 1:1.1.3-19.1.
10839 * debian/changelog: The missing 1.9 entries.
10840
10841 Fri May 24 22:38:01 CDT 2002 Adam Heath <doogie@debian.org>
10842
10843 * scripts/dpkg-scanpackages.8: Add dpkg-scansources to
10844 dpkg-scanpackages(8).
10845
10846 Fri May 24 22:14:04 CDT 2002 Adam Heath <doogie@debian.org>
10847
10848 * scripts/dpkg-source.1: Fix typo in dpkg-source(1) for '-sU'.
10849
10850 Fri May 24 22:11:53 CDT 2002 Adam Heath <doogie@debian.org>
10851
10852 * scripts/dpkg-source.1: Fix documentation of -v<version> for
10853 dpkg-parsechangelog, removing the requirement that the version has to
10854 be in the changelog.
10855
10856 Fri May 24 22:06:48 CDT 2002 Adam Heath <doogie@debian.org>
10857
10858 * scripts/dpkg-gencontrol.pl: Close the old debian/files file,
10859 before doing a rename.
10860
10861 Fri May 24 22:00:01 CDT 2002 Adam Heath <doogie@debian.org>
10862
10863 * scripts/dpkg-buildpackage.sh, scripts/dpkg-source.pl,
10864 scripts/dpkg-source.1: Add -I<filename> to dpkg-buildpackage and
10865 dpkg-source, to excludes files from tar, when building a native
10866 package.
10867
10868 Fri May 24 21:49:52 CDT 2002 Adam Heath <doogie@debian.org>
10869
10870 * scripts/controllib.pl: Properly count recursive expansion of variables,
10871 instead of just counting all variable expansions.
10872
10873 Fri May 24 21:20:04 CDT 2002 Adam Heath <doogie@debian.org>
10874
10875 * scripts/cl-debian.pl: Recognize emergency as valid in changelogs.
10876
10877 Fri May 24 21:12:36 CDT 2002 Adam Heath <doogie@debian.org>
10878
10879 * scripts/dpkg-architecture.pl: s/build on/built on/; same for
10880 'build for'.
10881
10882 Fri May 24 21:03:43 CDT 2002 Adam Heath <doogie@debian.org>
10883
10884 * scripts/dpkg-scanpackages.pl: Give proper case for Source and
10885 Installed-Size.
10886
10887 Fri May 24 01:10:45 CDT 2002 Adam Heath <doogie@debian.org>
10888
10889 * scripts/dpkg-source.pl, debian/changelog: Match fields case
10890 insensitively in debian/control.
10891
10892 Fri May 24 00:22:39 CDT 2002 Adam Heath <doogie@debian.org>
10893
10894 * scripts/dpkg-source.pl: Clean up after ctrl-c is received.
10895
10896 Fri May 24 00:11:01 CDT 2002 Adam Heath <doogie@debian.org>
10897
10898 * include/dpkg.h.in, include/myopt.h, lib/Makefile.in, lib/myopt.c,
10899 main/main.c main/query.c dpkg-deb/main.c split/main.c dselect/main.cc,
10900 lib/startup.c: New functions, standard_startup, standard_shutdown, that
10901 contain the most common functions that all dpkg binaries call.
10902
10903 Thu May 23 23:23:03 CDT 2002 Adam Heath <doogie@debian.org>
10904
10905 * lib/lock.c: Use setcloexec wrapper instead of calling fcntl directly.
10906
10907 Thu May 23 15:21:09 CDT 2002 Adam Heath <doogie@debian.org>
10908
10909 * TODO: Add items for --reconfigure and --call-maint-script.
10910
10911 Thu May 23 11:16:28 CDT 2002 Adam Heath <doogie@debian.org>
10912
10913 * lib/lock.c: Always set CLOEXEC on the lock fd.
10914
10915 Wed May 22 13:03:41 CDT 2002 Adam Heath <doogie@debian.org>
10916
10917 * lib/Makefile.in: Remove hash.c from SOURCES, as it is a test file.
10918
10919 Tue May 21 17:20:12 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
10920
10921 * debian/dpkg.postinst: remove compat stuff for ancient dpkg versions.
10922 This also enables the /usr/info/dir move code which was never reached
10923
10924 Mon May 20 00:58:17 CDT 2002 Adam Heath <doogie@debian.org>
10925
10926 * main/enquiry.c, main/main.h, utils/md5sum.c, split/dpkg-split.h,
10927 split/split.c, lib/Makefile.in, include/dpkg.h.in, dpkg-deb/build.c,
10928 dpkg-deb/dpkg-deb.h: Even more gcc warning fixes.
10929
10930 Sun May 19 23:39:02 CDT 2002 Adam Heath <doogie@debian.org>
10931
10932 * <all Makefile.in>, Makefile.conf.in: Add rules to Makefile.conf, to
10933 rebuild Makefile if $(srcdir)/Makefile.in is modified. This also
10934 required adding a 'default' target to all Makefiles.
10935
10936 Sun, 19 May 2002 22:56:41 -0500 Adam Heath <doogie@debian.org>
10937
10938 * utils/md5sum.c: Fairly heavy work(net no lines changed), to fix
10939 longjmp() clashing variable warnings. Also, a few miscellaneous gcc
10940 -W<foo> fixes.
10941
10942 Sun May 19 20:25:05 CDT 2002 Adam Heath <doogie@debian.org>
10943
10944 * lib/showpkg.c, lib/utils.c, optlib/long-options.c, main/archives.c,
10945 main/configure.c, main/main.c, main/main.h, main/query.c,
10946 optlib/long-options.c, lib/showpkg.c, lib/utils.c: Several more gcc
10947 -W<foo> fixes.
10948
10949 Sun May 19 18:48:39 CDT 2002 Adam Heath <doogie@debian.org>
10950
10951 * debian/rules: Fix overzealous running of autoheader for every build.
10952
10953 Sun May 19 06:05:24 CDT 2002 Adam Heath <doogie@debian.org>
10954
10955 * configure.in: Split out the -W*-prototype warnings into separate
10956 checks.
10957
10958 Sun May 19 06:01:31 CDT 2002 Adam Heath <doogie@debian.org>
10959
10960 * configure.in, automake/dpkg.m4: Make a new macro, DPKG_C_GCC_ATTRIBUTE.
10961
10962 Sun May 19 05:57:24 CDT 2002 Adam Heath <doogie@debian.org>
10963
10964 * automake/dpkg.m4. Gah, I hate gcc. AC_TRY_COMPILE() produces code
10965 of the form 'int main() { ... }'. When -Werror -Wstrict-prototypes is
10966 given to gcc, it thinks the above code snippet is an error, and aborts.
10967 This was making DPKG_C_GCC_TRY_WARNS disable some -W options. So, I
10968 no longer use AC_TRY_COMPILE.
10969
10970 Sun May 19 04:56:51 CDT 2002 Adam Heath <doogie@debian.org>
10971
10972 * debian/rules: Oops. The command to run is aclocal, not aclocal.m4.
10973
10974 Sun May 19 04:45:41 CDT 2002 Adam Heath <doogie@debian.org>
10975
10976 * configure.in, config.h.bot(removed), acconfig.h(removed): The latest
10977 autoheader/autoconf combination allows us to do everything in
10978 configure.in. config.h.bot is now in AH_BOTTOM(), and the
10979 descriptions for all the defines(from acconfig.h) are now part of
10980 AC_DEFINE().
10981
10982 Sun May 19 04:41:07 CDT 2002 Adam Heath <doogie@debian.org>
10983
10984 * debian/rules: All the hard-coded calls to scripts/dpkg-gencontrol.pl
10985 are now down thru a variable, GENCONTROL.
10986
10987 Sun May 19 04:26:58 CDT 2002 Adam Heath <doogie@debian.org>
10988
10989 * debian/rules: Remove all calls to $(shell pwd), and use $(CURDIR).
10990 Also, `pwd` is removed. There was a var, DIR := $(shell pwd);
10991 instances of this var were also replaced with CURDIR.
10992
10993 Sun May 19 04:18:46 CDT 2002 Adam Heath <doogie@debian.org>
10994
10995 * debian/rules: If automake/*.m4 is modified, rebuild aclocal.m4. If
10996 aclocal.m4 or configure.in are modified, rebuild configure.in.
10997 config.h.in gets rebuilt if configure.in is modified. And, lastly,
10998 configure is rerun, if configure or config.h.in is modified.
10999
11000 Sun May 19 04:09:25 CDT 2002 Adam Heath <doogie@debian.org>
11001
11002 * debian/rules: Fix targets, so that if configure fails, but actually
11003 succeeds in creating config.status(as might happen if one has a
11004 c-style comment in configure.in, and the shell trys running /foo), then
11005 the build will actually fail correctly.
11006
11007 Sun May 19 02:31:11 CDT 2002 Adam Heath <doogie@debian.org>
11008
11009 * acconfig.h: Oops. Forgot to add #undef HAVE_GNUC25_UNUSED.
11010
11011 Sun May 19 02:31:11 CDT 2002 Adam Heath <doogie@debian.org>
11012
11013 * config.h.bot, configure.in, optlib/getopt.c: Define an UNUSED macro,
11014 for __attribute__((unused)).
11015
11016 Sun May 19 02:31:11 CDT 2002 Adam Heath <doogie@debian.org>
11017
11018 * optlib/error.h, optlib/getopt.c, utils/start-stop-daemon.c: Use
11019 the configure detected gcc __attribute__ macros, instead of
11020 hard-coding them.
11021
11022 Thu May 16 19:09:48 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11023
11024 * po/da.po: New version from Claus Hindsgaul <claus_h@image.dk>
11025
11026 Mon May 13 22:44:48 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11027
11028 * man/en/dpkg.8.sgml: document --force-confmiss and --force-bad-verify
11029
11030 Mon May 6 16:26:51 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11031
11032 * lots-a-files: update email address for Ian Jackson
11033
11034 Sun May 5 22:27:50 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11035
11036 * configure.in: expand all paths before doing substitution
11037
11038 Sun May 5 17:42:21 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11039
11040 * Makefile.conf.in: use @PACKAGE@ for dpkgconfdir as well
11041 * man/paths.ent.in: new file
11042 * configure.in: generate man/paths.ent
11043
11044 Sun Apr 21 12:23:40 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11045
11046 * include/dpkg.h.in: add DIFF #define
11047 * main/configure.c: use it
11048
11049 Sun Apr 14 16:13:16 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11050
11051 * man/en/deb-old.5.sgml: DocBook version of deb-old manpage
11052 * man/en/cleanup-info.8.sgml: DocBook version of cleanup-info manpage
11053 * man/en/dpkg-checkbuilddeps.1.sgml: DocBook version of dpkg-checkbuilds
11054 manpage
11055
11056 Sun Apr 14 00:49:09 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11057
11058 * scripts/controlllib.pl: accept multiple consecutive empty lines
11059
11060 Sat Apr 13 22:59:25 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11061
11062 * man/en/deb-control.5.sgml: DocBook version of deb-control manpage
11063
11064 Sat Apr 13 18:07:48 CET 2002 peter karlsson <peterk@debian.org>
11065
11066 * po/sv.po: Removed fuzzy translation.
11067
11068 Sat Apr 13 18:34:09 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11069
11070 * man/en/dselect.8.sgml: DocBook version of dselect manpage
11071 * man/en/dselect.cfg.5.sgml: DocBook version of dselect.cfg manpage
11072 * man/en/dpkg.cfg.5.sgml: DocBook version of dpkg.cfg manpage
11073 * man/en/deb.5.sgml: DocBook version of deb manpage
11074
11075 Fri Apr 12 18:46:16 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11076
11077 * man/en/dpkg.8.sgml: DocBook version of dpkg manpage
11078
11079 Wed Apr 10 00:39:58 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11080
11081 * configure.in: use AC_SYS_LARGEFILE and bump autoconf requirement to 2.50
11082 since 2.13 does not include AC_SYS_LARGEFILE
11083 * utils/md5sum.h: include config.h earlier so we pick up the LFS flags
11084 before including the system includefiles
11085 * scripts/dpkg-source.1: fix typo for shlibs
11086
11087 Mon Apr 1 18:57:02 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
11088
11089 * dselect/pkgdepcon.cc: treat enhances like suggests in
11090 packagelist::resolvedepcon()
11091
11092 Mon Mar 11 23:22:37 CST 2002 Adam Heath <doogie@debian.org>
11093
11094 * configure.in: Bad Wichert. Always modify configure.in when adding
11095 subdirs(add pt_BR).
11096
11097 Fri Mar 1 23:51:06 CST 2002 Adam Heath <doogie@debian.org>
11098
11099 * Makefile.in: Allow for make -j to work thru the top-level targets.
11100 There are problems, however, as the system will try to compile the
11101 programs before libdpkg is done.
11102
11103 Fri Mar 1 23:27:16 CST 2002 Adam Heath <doogie@debian.org>
11104
11105 * main/help.c, debian/changelog: Fix segfault with getenv("PATH") returns
11106 null.
11107
11108 Fri Mar 1 23:22:55 CST 2002 Adam Heath <doogie@debian.org>
11109
11110 * configure.in: Remove old doc/*/Makefile. Bad Wichert.
11111
11112 Fri Mar 1 23:21:35 CST 2002 Adam Heath <doogie@debian.org>
11113
11114 * po/pt_BR.po: Fix broken translations.
11115
11116 Mon Feb 25 15:22:34 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11117
11118 * scripts/dpkg-gencontrol.pl: Fix test for incorrect packagename
11119 for -p option.
11120
11121 Sat Feb 16 15:14:30 CET 2002 peter karlsson <peterk@debian.org>
11122
11123 * man/sv/deb-control.5, deb-old.5, deb.5, dpkg-split.8,
11124 start-stop-daemon.8: Fixed CVS revision pointers after move and
11125 updated translations to match latest versions.
11126 * man/sv/dpkg.cfg.5, man/sv/dselect.cfg.5: Translated new files.
11127 * man/en/dselect.cfg.5: Fixed numerous copy'n'paste errors.
11128
11129 Sun Feb 10 01:40:52 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11130
11131 * utils/start-stop-daemon.c: add FreeBSD support
11132
11133 Sun Feb 10 01:31:57 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11134
11135 * man/en/dselect.cfg.5, man/en/dpkg.cfg.5: new files
11136 * man/en/Makefile.in: install new manpages
11137
11138 Sun Feb 10 01:16:58 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11139
11140 * scripts/update-alternatives.pl: Improve working of --config output
11141
11142 Thu Feb 7 15:27:35 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11143
11144 * main/processarc.c: copy origin and bugs info into status file
11145
11146 Thu Feb 7 00:38:42 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11147
11148 * po/pt_BR.po: Fix bogosity in previous update
11149
11150 Thu Feb 7 00:28:35 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11151
11152 * scripts/update-alternatives.pl: fix logic error, alternatives are
11153 now correctly restored to auto when removing a manually selected
11154 alternative
11155
11156 Wed Feb 6 12:29:18 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11157
11158 * dselect/method.cc: check fgetc() for EOF return so we don't spin
11159 if we can't read input
11160
11161 Sun Feb 3 22:21:08 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11162
11163 * po/fr.po: Updated
11164
11165 Sun Feb 3 20:44:20 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11166
11167 * po/pt_BR.po: Updated
11168
11169 Sun Feb 3 01:50:02 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11170
11171 * doc/reference.sgml: new file
11172
11173 Sat Feb 2 23:00:25 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11174
11175 * More imports from v1_9
11176 * debian/changelog: add changes from 1.9.18 and 1.9.19
11177 * debian/dpkg.conffiles: Mark /etc/alternatives/README as a conffile.
11178 * debian/control: Changed maintainer to debian-dpkg@lists and add Uploaders
11179 * main/processarc.c: Fix MD5Sum corruption when upgrading a package, and
11180 the width of the ASCII representation of the file system increased by
11181 one, thereby overwriting the start of the MD5Sum field. This may also
11182 fix a segfault in certain cases.
11183
11184 Sat Feb 2 22:59:06 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11185
11186 * scripts/install-info.pl: Continue to read all data from a pipe, until
11187 EOF.
11188
11189 Sat Feb 2 22:52:50 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11190
11191 * scripts/dpkg-gencontrol: Make dpkg-gencontrol not warn about Uploaders.
11192
11193 Sat Feb 2 18:14:24 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11194
11195 * man/Makefile.in: add pt_BR to SUBDIRS
11196 * man/pt_BR/Makefile.in, man/pt_BR/update-alternatives.8,
11197 man/pt_BR/.cvsignore: new files
11198
11199 Sat Feb 2 16:47:41 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11200
11201 * Makefile.in: add man to subdirs
11202 * man/*: new directory with all manpages
11203
11204 Sat Feb 2 16:23:43 CET 2002 Adam Heath <doogie@debian.org>
11205
11206 * po/da.po: Updated
11207
11208 Sat Feb 2 00:18:04 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11209
11210 * automake/dpkg.m4: add DPKG_CHECK_DEFINE
11211 * configure.in: test for TIOCNOTTY in sys/ioctl.h
11212 * utils/start-stop-daemon.c: move tty change outside OS specific ifdef
11213 and use the new TIOCNOTTY test instead
11214
11215 Fri Feb 1 19:10:02 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11216
11217 * po/ca.po: New Catalan translation
11218 * configure.in: Add ca to LINGUAS
11219
11220 Fri Feb 1 17:37:24 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11221
11222 * configure.in: add test for setsid
11223 * utils/start-stop-daemon.c: use setsid if it exists and only use
11224 setpgid if it does not exist
11225
11226 Fri Feb 1 16:41:23 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11227
11228 * utils/start-stop-daemon.c: Merge patch from Andres Voegele
11229 <voegelas@users.sourceforge.net> to add HP-UX support
11230
11231 Fri Feb 1 13:58:59 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11232
11233 * po/fr.po: updated.
11234
11235 Thu Jan 31 21:34:14 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11236
11237 * scripts/install-info.pl: add -c option to gzip invocation
11238
11239 Thu Jan 31 14:56:38 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11240
11241 * doc/fr/install-info.8, doc/fr/update-alternatives.8: updated with
11242 new version from Philippe Batailler
11243
11244 Wed Jan 30 10:31:38 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11245
11246 * scripts/update-alternative.pl: exit with non-zero exitcode when
11247 doing --display for a nonexisting alternative
11248
11249 Wed Jan 30 00:29:07 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11250
11251 * split/Makefile.in: create parts directory
11252
11253 Wed Jan 30 00:24:36 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11254
11255 * utils/start-stop-daemon.c: Fix tyop in help message
11256
11257 Fri Jan 18 20:40:42 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11258
11259 * scripts/dpkg-source.pl: Use -Z option for patch and set TZ to UTC0
11260 when calling diff. This gives us reliable timestamps in diffs.
11261
11262 Thu Jan 3 15:49:14 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11263
11264 * scripts/dpkg-genchanges.pl, scripts/dpkg-scanpackages.pl,
11265 scripts/dpkg-scansources.pl: Accept GNU md5sum style output
11266
11267 Thu Jan 3 15:20:25 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11268
11269 * utils/md5sum.c: add error handling to do_check
11270
11271 Wed Jan 2 16:08:02 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11272
11273 * scripts/dpkg-source.pl: Update default ignore expression to also
11274 match *~ and *.swp in subdirs.
11275
11276 Wed Jan 2 15:00:26 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11277
11278 * scripts/dpkg-checkbuilddeps.pl: use space separated output instead
11279 of comma separated
11280
11281 Tue Jan 1 14:10:55 CET 2002 Wichert Akkerman <wakkerma@debian.org>
11282
11283 * archtable, scripts/dpkg-architecture.pl: Update SuperH architecture
11284
11285 Mon Dec 31 17:38:26 CET 2001 Wichert Akkerman <wakkerma@debian.org>
11286
11287 * dselect/main.cc, main/main.c, main/query.c: no longer set LC_CTYPE
11288 to C since that breaks the braindead gettext.
11289 * dpkg-deb/build.c, lib/dbmodify.c, lib/vercmp.c, main/remove.c: Switch
11290 to using cisdigit and cisalpha.
11291
11292 Mon Dec 31 17:28:10 CET 2001 Wichert Akkerman <wakkerma@debian.org>
11293
11294 * lib/utils.c: new file with general utility functions. Add
11295 cisalpha() and cisdigit() functions, similar to the ctype is*
11296 ones but which only accept C locale
11297 * lib/Makefile.in: add utils.c
11298 * include/dpkg.h: add utils.c functions
11299
11300 Mon Dec 31 15:25:46 CET 2001 Wichert Akkerman <wakkerma@debian.org>
11301
11302 * scripts/dpkg-architecture.pl: fix syntax error
11303
11304 Wed Nov 28 18:11:38 CST 2001 Adam Heath <doogie@debian.org>
11305
11306 * scripts/dpkg-checkbuilddeps.{1,pl}: Make dpkg-checkbuilddeps always
11307 check for build-essential.
11308
11309 Wed Nov 28 17:46:23 CST 2001 Adam Heath <doogie@debian.org>
11310
11311 * debian/changelog: Note that the dselect.deb split closes a bug.
11312
11313 Wed Nov 28 17:40:52 CST 2001 Adam Heath <doogie@debian.org>
11314
11315 * scripts/update-alternatives.{pl,8}: Apply patch from debian bug 120924,
11316 to give update-alternatives a --list command.
11317
11318 Wed Nov 28 17:30:16 CST 2001 Adam Heath <doogie@debian.org>
11319
11320 * utils/md5sum.c: When parsing stdin, md5sum now displays '-' as the
11321 filename, to match textutils md5sum.
11322
11323 Wed Nov 28 17:20:28 CST 2001 Adam Heath <doogie@debian.org>
11324
11325 * scripts/install-info.pl: Copy dir from backup if the file is empty
11326 as well.
11327
11328 Sat Nov 17 17:20:52 CET 2001 Wichert Akkerman <wakkerma@debian.org>
11329
11330 * doc/sv/Makefile.in: install dpkg-query and dpkg-deb manpages
11331
11332 Sat Nov 17 17:16:44 CET 2001 Wichert Akkerman <wakkerma@debian.org>
11333
11334 * debian/control: add missing space in dpkg-doc description
11335
11336 Sat Nov 17 15:57:57 CET 2001 peter karlsson <peterk@debian.org>
11337
11338 * doc/sv/dpkg-query.8, dpkg-deb.1: Initial Swedish translation.
11339 dpkg.8: Translation fixups.
11340 * dpkg/dpkg-query.8: Corrected spelling.
11341
11342 Thu Oct 25 16:56:06 JST 2001 Wichert Akkerman <wakkerma@debian.org>
11343
11344 * po/{de,it,pt_BR,sv}.po: Fix translation with inconsistent printf
11345 format strings
11346
11347 Sun Oct 21 12:58:04 CDT 2001 Adam Heath <doogie@debian.org>
11348
11349 * optlib/Makefile.in: Run ranlib after creating the library.
11350
11351 Sun Oct 21 12:56:37 CDT 2001 Adam Heath <doogie@debian.org>
11352
11353 * archtable, scripts/dpkg-architecture.pl: Add darwin. The source
11354 doesn't quite work yet on darwin however, as some of the changes are
11355 being discussed.
11356
11357 Sun Oct 21 03:57:08 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11358
11359 * po/pl.po: Updated
11360
11361 Wed Oct 17 12:34:19 CDT 2001 Adam Heath <doogie@debian.org>
11362
11363 * Merge 1.9.17 branch:
11364 * debian/rules: remove update-rc.d from the package
11365 * debian/control: update conflict with sysvinit to deal with moved
11366 update-rc.d
11367
11368 Tue Oct 16 13:09:21 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11369
11370 * po/pl.po: Updated
11371
11372 Sun Oct 14 15:04:24 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11373
11374 * po/da.po: Updated
11375
11376 Mon Oct 8 19:51:36 CDT 2001 Adam Heath <doogie@debian.org>
11377
11378 * main/main.c: Turn setstatuspipe into a generic setpipe, in preparation
11379 for --result-fd.
11380
11381 Mon Oct 8 19:48:28 CDT 2001 Adam Heath <doogie@debian.org>
11382
11383 * main/main.c: Make sure the integer passed to --result-fd is correct
11384 before manipulating the pointers(we checked after we manipulated
11385 previously)
11386
11387 Sun Oct 7 22:23:54 CDT 2001 Adam Heath <doogie@debian.org>
11388
11389 * Makefile.in: Remove duplicate inclusion of utils in SUBDIRS.
11390
11391 Sun Oct 7 19:38:56 CDT 2001 Adam Heath <doogie@debian.org>
11392
11393 * scripts/install-info.pl: oops. We weren't adding '\n' when printing
11394 out the reformatted info text.
11395
11396 Sun Oct 7 05:00:02 CDT 2001 Adam Heath <doogie@debian.org>
11397
11398 * scripts/install-info.pl: Don't print out the info entry every time we
11399 are called.
11400
11401 Sun Oct 7 03:12:35 CDT 2001 Adam Heath <doogie@debian.org>
11402
11403 * debian/control: Several fixes:
11404 * dpkg-static needs the same set of Depends(and others) lines as dpkg.
11405 * Modify the dpkg-static description to note that it's a static
11406 compile.
11407 * Bump the conflicts on sysvinit to 2.82-1, as that is the version
11408 that actually has the proper replaces line.
11409 * debian/rules: dpkg-static was actually being built as dpkg.deb.
11410
11411 Thu Sep 20 17:06:48 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11412
11413 * debian/rules: strip enoent as well
11414
11415 Sat Sep 15 20:19:57 CDT 2001 Adam Heath <doogie@debian.org>
11416
11417 * scripts/install-info.pl: Several fixes:
11418 * Move /usr/info/dir to /usr/share/info/dir.
11419 * Improve message when locking and /usr/share/info/dir doesn't exist.
11420 * Use /var/backups/infodir.bak if the above doesn't exist.
11421 * Allow for relative filenames, and add a --remove-exactly option.
11422 * Use section from the .info file if --section is not given.
11423 * Include current filename in error messages.
11424 * Format /usr/share/info/dir entries to uniform width.
11425 * --calign|--align|--maxwidth are now ignored.
11426
11427 Wed Sep 12 18:45:57 CDT 2001 Adam Heath <doogie@debian.org>
11428
11429 Fixes for building of dpkg-static.deb.
11430 * Can't build both dpkg.deb and dpkg-static.deb in single run, because
11431 /etc is moved from $(INSTALL_TMP), instead of copied.
11432 * dpkg-static.deb is added to debian/files, even if it isn't created.
11433 * dpkg-static.tar.gz is added to debian/files, even if it doesn't exist.
11434
11435 Wed Sep 12 17:28:57 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11436
11437 * dpkg-deb/main.c: Fix unterminated line in usage text
11438
11439 Mon Sep 10 12:57:21 PDT 2001 Wichert Akkerman <wakkerma@debian.org>
11440
11441 * dpkg-deb/dpkg-deb.h: add parseformat prototype
11442 * dpkg-deb/main.c: add parseformat and show options, change layout
11443 for usage info, remove copyright from version output and refer to
11444 the dpkg --license option instead
11445 * dpkg-deb/info.c: implement do_show
11446
11447 Mon Sep 10 12:41:14 PDT 2001 Wichert Akkerman <wakkerma@debian.org>
11448
11449 * main/showpkg.c: move to lib/ so multiple tools can share it
11450 * main/Makefile.in: remove showpkg.c
11451 * lib/Makefile.in: add showpkg.c
11452 * include/dpkg-db.h: add showpkg.c prototypes
11453 * main/query.h: obsolete now, removed
11454
11455 Mon Sep 10 12:07:20 PDT 2001 Wichert Akkerman <wakkerma@debian.org>
11456
11457 * dpkg-deb/info.c: count how many control components are missing
11458 in info_spew()
11459 * main/processarc.c: change two more 0s into NULLs
11460
11461 Mon Sep 10 10:59:53 PDT 2001 Wichert Akkerman <wakkerma@debian.org>
11462
11463 * include/parsedump.h, lib/dump.c: add flags to fwritefunction.
11464 Implement fw_printheader to toggle printing of field headers.
11465 * main/showpkg.c: modify show1package() to no longer remove the
11466 fieldname and newline itself but make wcall not print it instead
11467
11468 Mon Sep 10 09:44:54 PDT 2001 Wichert Akkerman <wakkerma@debian.org>
11469
11470 * lib/dump.c: make w_booleandefno get the fieldname from the fip
11471 instead of hardcoding Essential
11472 * lib/fields.c: don't hardcode `essential' fieldname in f_boolean
11473 convert_string call
11474
11475 Sun Aug 19 15:20:53 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11476
11477 * utils/start-stop-daemon.c: do not start a command if the pidfile
11478 option is used and the pid in that file is still running
11479
11480 Sun Aug 19 00:25:12 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11481
11482 * doc/fr/dpkg-{query,split,statoverride}.8: added
11483 * doc/fr/*: Updated
11484
11485 Thu Aug 16 00:43:23 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11486
11487 * po/fr.po: Updated
11488
11489 Sat Aug 11 22:54:18 CEST 2001 peter karlsson <peterk@debian.org>
11490
11491 * po/sv.po, doc/sv/dpkg.8: Updated Swedish translation.
11492
11493 Wed Aug 1 17:31:23 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11494
11495 * main/dpkg-query.8: added
11496 * main/Makefile.in, debian/rules: install dpkg-query.8
11497
11498 Wed Aug 1 16:37:47 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11499
11500 * main/dpkg.8: remove Linux references
11501
11502 Wed Aug 1 15:35:32 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11503
11504 * debian/copyright: mention we have copyright for 2001 as well
11505 * main/query.c: improve help and version texts
11506 * main/main.c: use DPKG define in printversion output
11507
11508 Wed Aug 1 15:10:06 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11509
11510 * main/query.c: fmt can't be const since we free it in the same function
11511
11512 Tue Jul 31 12:26:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11513
11514 * po/de.po: Updated
11515 * main/query.c: Fix help texts a bit to reflect that dpkg-query is
11516 not dpkg
11517 * dselect/main.cc: Use `colour' consistently for printed texts.
11518
11519 Fri Jul 27 04:21:51 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11520
11521 * debian/control: fix typo in section for dpkg-doc, correct
11522 replaces for dselect and remove Linux references
11523
11524 Fri Jul 27 04:05:55 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11525
11526 * po/POTFILES.in: add main/query.c and main/showpkg.c
11527
11528 Fri Jul 27 04:04:26 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11529
11530 * po/da.po: Updated
11531
11532 Fri Jul 27 03:54:34 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11533
11534 * lib/parsedump.h: move to include/parsedump.h so dpkg-query can
11535 use it
11536
11537 Fri Jul 27 03:52:33 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11538
11539 * main/Makefile.in: changed things around to dpkg-query builds more
11540 easily
11541
11542 Fri Jul 27 03:43:52 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11543
11544 * main/query.c: remove -D from usage, we don't support it
11545 * main/showpkg.c: add support for field width specification
11546
11547 Thu Jul 26 14:27:23 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11548
11549 * scripts/Makefile.in, doc/fr/Makefile.in, doc/ja/Makefile.in,
11550 debian/rules: no longer install update-rc.d, it moved to the sysvinit
11551 package
11552 * debian/control: Update sysvinit conflicts to version 2.80
11553 * doc/ja/update-rc.d.8, doc/fr/update-rc.d.8, scripts/update-rc.d.8,
11554 scripts/update-rc.d.pl: removed
11555
11556 Thu Jul 26 13:52:43 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11557
11558 * utils/start-stop-daemon.c: seems glibc has a completely non-standard
11559 return value for nice(2), so deal with that properly now so things also
11560 work on non-glibc systems.
11561
11562 Tue Jul 24 19:07:43 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11563
11564 * main/showpkg.c, main/query.h: new files
11565 * main/query.c: add support for show options
11566
11567 Wed Jul 18 17:28:38 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11568
11569 * main/Makefile.in, debian/rules: install dpkg-query as well
11570
11571 Wed Jul 18 01:04:15 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11572
11573 * doc/ru.po: Updated
11574
11575 Tue Jul 17 16:53:12 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11576
11577 * Merge changes from v1_9 branch
11578 + debian/changelog: add 1.9.15 and 1.9.16 releases
11579 + scripts/dpkg-source.pl:
11580 - Add handleformat sub to check if we can handle a dscformat
11581 - Revert dscformat to 1.0. Technically we changed a few things
11582 but older versions of dpkg-source did not handle minor updates
11583 to the dscformat. New policy is that minor updates (last digit
11584 changes) to the dscformat have to be fully backward and forward
11585 compatible.
11586 - restore test if tar exited with exited with a non-zero exitcode
11587 - remove a bunch of commented debug statements
11588 + main/help.c: fix narglist construction building and usage in do_script()
11589
11590 Tue Jul 17 00:36:32 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11591
11592 * dselect/dselect.8: document new search features
11593
11594 Mon Jul 16 18:14:16 CEST 2001 peter karlsson <peterk@debian.org>
11595
11596 * po/sv.po, doc/sv/deb.5, doc/sv/deb-old.5, doc/sv/dselect.8, doc/sv/dpkg.8:
11597 Swedish translation updates.
11598
11599 Mon Jul 16 17:19:21 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11600
11601 * dselect/basecmds.cc, dselect/dselect.h:
11602 + add checksearch and matchsearch functions to abstract searching algorithm
11603 + add displayerror member function
11604 * dselect/baselist.cc: use new checksearch and matchsearch functions to
11605 do the real search/matching
11606 * dselect/pkglist.cc, dselect/pkglist.h: implement checksearch and
11607 matchsearch using regular expressions
11608
11609 Mon Jul 16 15:20:07 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11610
11611 * main/main.c, main/query,c. dselect/main.cc: use C locale for LC_CTYPE
11612 so we can be sure packagename and version comparisons work as expected
11613
11614 Mon Jul 16 14:10:18 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11615
11616 * lib/vercmp.c: New verrevcmp() from Anthony Towns
11617
11618 Mon Jul 16 13:27:44 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11619
11620 * Merge a modified patch from Josip Rodin:
11621 + dselect/basecmds.cc: Improve some help texts and helpscreen keybindings
11622 + dselect/helpmsgs.src: Improve text
11623
11624 Mon Jul 16 12:55:49 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11625
11626 * utils/start-stop-daemon.c: Fix test for nice(2) failure
11627
11628 Mon Jul 16 12:44:51 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11629
11630 * dselect/dselect.h: make baselist::setheights() virtual
11631 * dselect/method.h: add setheights() member and fix protection
11632 * dselect/methlist.cc: override setheights() to make list_height 1
11633 higher then the default so we draw the list correctly
11634 * dselect/methkeys.cc: make Q do abort so we are consistent with the pkglist
11635
11636 Mon Jul 16 01:50:58 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11637
11638 * Merge a reworked version of a patch from Joey Hess
11639 + dselect/dselect.8: Document new colour options
11640 + dselect/basecmds.cc: properly draw the background using helpscreen_attr
11641 + dselect/baselist.cc: change drawing code to use new changeable colours
11642 + dselect/dselect.h: Add all the colour structures
11643 + dselect/main.cc: Parse --colour options
11644
11645 Mon Jul 16 00:01:24 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11646
11647 * dselect/baselist.cc: include unistd.h which is needed to get the
11648 ioctl prototype on Solaris
11649
11650 Sun Jul 15 00:37:13 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11651
11652 * debian/preinst: removed (we now use dpkg.preinst)
11653 * debian/control:
11654 + add dselect package
11655 + fix section of dpkg-doc
11656 * debian/dpkg.conffiles: remove dselect.cfg
11657 * debian/dselect.{conffiles,postinst,prerm}: added
11658 * debian/rules:
11659 + add German to list of manpage translations
11660 + split out dselect into its own package
11661 + strip enoent and start-stop-daemon as well
11662
11663 Sat Jul 14 23:35:57 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11664
11665 * dselect/main.cc, dpkg/main.c: add per-user configuration file
11666
11667 Sat Jul 14 01:38:27 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11668
11669 * Merge dselect patch from Joey Hess
11670 + dselect/dselect.h: add manual_install prototype
11671 + dselect/pkgcmds.cc, dselect/pkgsublist.cc: modify kd_select() and
11672 repeatedly display() to set/unset manual_install so we can identify
11673 user-selected packages
11674 + dselect/pkglist.h: add dp_should priority
11675 + dselect/pkgdepcon.cc: modify resolvedepcon() to handle recommends
11676 and suggests differently
11677
11678 Sat Jul 14 01:18:33 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11679
11680 * doc/de/Makefile.in: fix syntax error
11681
11682 Fri Jul 13 20:39:24 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11683
11684 * doc/deb-old.5, doc/deb.5: remove emacs hints and Linux references
11685 * dpkg-deb/dpkg-deb.1: Fix typo
11686 * scripts/dpkg-name.1: Don't mention the non-existing dpkg(5)
11687 * dselect/dselect.8: Merged changes from Joost Kooij
11688
11689 Fri Jul 13 00:54:24 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11690
11691 * doc/de/Makefile.in, doc/de/md5sum.1: added
11692 * configure.in, doc/Makefile.in: Process German documentation
11693
11694 Fri Jul 13 00:46:02 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11695
11696 * po/de.po: New version
11697
11698 Fri Jul 13 00:43:23 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11699
11700 * scripts/dpkg-architecture.pl: improve documentation
11701
11702 Mon May 21 03:48:29 CEST 2001 Marcus Brinkmann <brinkmd@debian.org>
11703
11704 * scripts/dpkg-checkbuilddeps.pl: Call dpkg-architecture instead dpkg
11705 to determine the host architecture. Rename BUILD_ARCH to HOST_ARCH.
11706
11707 Fri Jul 6 00:27:17 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11708
11709 * scripts/dpkg-divert.8: Fix layout error in synopsis
11710
11711 Mon Jul 2 00:00:04 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11712
11713 * configure.in: add doc/ru/Makefile.in
11714 * debian/rules: don't pass CFLAGS to configure
11715 * dselect/pkgkeys.cc: make `n' do searchagain instead
11716
11717 Sun Jul 1 16:12:30 CDT 2001 Adam Heath <doogie@debian.org>
11718
11719 * main/archives.c: When a package is on hold, -E will not skip the same
11720 version when installing.
11721
11722 Sat Jun 30 01:48:15 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11723
11724 * doc/ru/*: Added Russian translations from Alexey Mahotkin
11725 <alexm@hsys.msk.ru>
11726
11727 Mon Jun 25 03:31:55 CDT 2001 Adam Heath <doogie@debian.org>
11728
11729 * Merged in changes from 1.9.11 to 1.9.14 branches.
11730
11731 + scripts/dpkg-source.pl: Disable source package sanity checking.
11732 + scripts/dpkg-source.pl: make Uploaders optional.
11733 + scripts/controllib.pl: Set the default to convert warnerrors
11734 into warnings.
11735 + scripts/dpkg-source.pl: Remove a warnable error if the orig.tar.gz
11736 contains './'.
11737 + scripts/dpkg-source.pl: Handle symlinks in the tarball, and don't
11738 error out if found.
11739 + scripts/dpkg-source.pl: Add support for an Uploaders field, which is
11740 read from the first paragraph of debian/control, and propagated to
11741 the .dsc. This lists the people allowed to upload a package. If it
11742 is not set, then the value of the Maintainer is placed into this
11743 field of the .dsc. This bumps the .dsc format to 1.1.
11744 + scripts/dpkg-source.pl: Handle stating of truncated cpio filenames
11745 (100 char limit, bah)
11746 + scripts/dpkg-source.pl: Set LC_ALL before calling external programs,
11747 when we are going to parse their output.
11748 + scripts/dpkg-source.pl: Move the check for '\n' and '././@LongLink'
11749 before the check for leading './'.
11750 + dselect/main.cc: Handle window resize in main menu
11751 + scripts/dpkg-source.pl: Add a warnable error if the orig.tar.gz
11752 contains './'.
11753 + scripts/dpkg-source.pl: Handle the case where a single directory
11754 exists in the orig.tar.gz, but it is NOT of the form <pkg>-<ver>.
11755 + scripts/dpkg-source.pl: Don't error out if the files in the tar
11756 have leading './'.
11757 + scripts/dpkg-source.pl, scripts/controllib.pl, scripts/dpkg-source.1,
11758 scripts/dpkg-buildpackage.sh: Add support for -W, which turns certain
11759 errors into warnings, and -E, which turns them back into errors again.
11760 + scripts/dpkg-source.pl: When the tarball doesn't contain directories,
11761 only display the warning once for each directory.
11762 + THANKS: Added Colin Watson. Also put in an email address for Colin
11763 Plumb.
11764 + scripts/dpkg-source.pl: Grumble. Fix case where top-dir in
11765 orig.tar.gz was renamed to .orig.
11766
11767 Fri Jun 22 19:26:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11768
11769 * dselect/main.cc: Handle window resize in main menu
11770
11771 Wed Jun 20 18:56:35 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11772
11773 * main/help.c: actually use narglist in do_script()
11774
11775 Wed Jun 20 11:28:25 CDT 2001 Adam Heath <doogie@debian.org>
11776
11777 * Merged in changes from 1.9.10 to 1.9.11 branch.
11778
11779 + scripts/dpkg-source.pl: Fix typo.
11780 + scripts/dpkg-buildpackage.sh: Option -a implies option -d.
11781 Set ARCH correctly to host architecture, rather than build arch.
11782 + scripts/dpkg-gencontrol.pl: Error if an illegal package name is used.
11783 + scripts/cl-debian.pl: Change list of allowed urgencies to: low, medium,
11784 high, and critical.
11785 + scripts/dpkg-scanpackages.pl: warn instead of die when find returns
11786 an error(which happens if there is a dangling symlink, because we use
11787 -follow).
11788 + scripts/dpkg-source.pl: Apply patch from Colin Watson:
11789 * Reset SIGPIPE to DEFAULT when forking gzip.
11790 * set LANG to C before execing cpio, as we parse its output.
11791 * In checktarcpio() and checktarsane(), use the previously open pipes,
11792 instead of the opening files on disk(which was the old, ancient way).
11793 * Improve the output parsing of tar in checktarsane().
11794 + scripts/dpkg-source.pl: When both arch: all and arch: <arch> packages
11795 exist in debian/control, don't promote the source arch: to any, but
11796 only list all and <arch>.
11797 + scripts/dpkg-source.pl: Make it work with GNU md5sum.
11798 + scripts/dpkg-source.1: Document -nc for dpkg-buildpackage.
11799 + scripts/dpkg-genchanges.pl: Set the Architecture to 'source' only when
11800 doing source only uploads in the generated changes files.
11801 + scripts/dpkg-shlibdeps.pl: Fix infinite directory recursion thru
11802 symlinks.
11803 + doc/deb.5: Changed see-also reference to deb-old(5).
11804 + scripts/{Makefile.in,dpkg-architecture.1}: Removed the manpage, and
11805 generate it from the script now.
11806 + scripts/dpkg-architecture.pl: Apply patch to correctly check the output
11807 of gcc on hurd.
11808 + scripts/dpkg-checkbuilddeps.pl: Fix logic error that kept everything
11809 but Build-Deps from working.
11810 + scripts/dpkg-checkbuilddeps.pl: Trim trailing spaces from packages.
11811
11812 Sat Jun 16 18:52:17 CDT 2001 Adam Heath <doogie@debian.org>
11813
11814 * Merge changes from v1_9_10 tag:
11815 + scripts/update-alternatives.pl: Fix switching to auto mode if
11816 alternative symlink goes missing.
11817 + scripts/dpkg-source.pl: s/DEAD_JOE/DEADJOE/
11818 + scripts/dpkg-divert.pl: Fix cleanup of devert.tmp files.
11819 + scripts/dpkg-checkbuilddeps.pl: Fix [arch] parsing, and handle
11820 more variations of spaces.
11821
11822 Sat Jun 16 22:04:04 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11823
11824 * po/es.po: Updated
11825
11826 Sat Jun 09 10:48:14 CEST 2001 peter karlsson <peterk@debian.org>
11827
11828 * po/sv.po, doc/sv/dpkg.8: Updated
11829
11830 Sat Jun 9 00:28:11 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11831
11832 * debian/changelog: import 1.9 releases
11833 * debian/control: add sgmltools-lite to Build-Depends
11834 * Merge changes from v19 branch:
11835 + archtable: add i386-gnu0.2
11836 + dpkg-deb/extract.c: More %z format fixes.
11837 + dselect/method.cc: don't include curses.h since dselect.h already
11838 does that for us
11839 + dselect/method.cc: handle interrupted getc in falliblesubprocess()
11840 prompt
11841 + include/dpkg.h.in: add setcloexec declaration
11842 + lib/mlib.c: add setcloexec(), utility function to set FD_CLOEXEC flag
11843 + lib/dbmodify.c: use setcloexec() on status file
11844 + main/filesdb.c: use setcloexec for diversions and statoverride files
11845 + main/archives.c: add functions to initialize and destroy the obstack,
11846 ensure obstack is initialized in try_remove_can() as well
11847 + lib/parsehelp.c: Correctly handle trailing spaces in versions.
11848 + main/dpkg.8: it's /etc/dpkg/dpkg.cfg, not /etc/dpkg.cfg
11849 + main/dpkg.8: Improve description of --force-confdef
11850 + main/help.c: don't ignore failed maintainer scripts
11851 + scripts/dpkg-architecture.pl: spell dependency consistently
11852 + scripts/dpkg-checkbuilddeps.1: spell dependency consistently
11853 + scripts/dpkg-source.1: spell dependency consistently
11854 + scripts/dpkg-buildpackage: fix pausing logic, and use $changedby as the
11855 signing ID
11856 + scripts/dpkg-checkbuilddeps.pl: Handle varied use of spaces.
11857 + scripts/dpkg-checkbuilddeps.pl: handle multi-line fields
11858 + scripts/dpkg-divert.pl: fix test for illegal packagename
11859 + split/info.c: Change format string, to handle size_t.
11860 + utils/start-stop-daemon.c: consistently use pid_t and uid_t
11861 + debian/control: use a Conflict for sysvinit instead of a Depends
11862
11863 Fri Jun 8 19:42:43 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11864
11865 * po/fr.po: updated
11866
11867 Sat Jun 2 15:09:01 CDT 2001 Adam Heath <doogie@debian.org>
11868
11869 * scripts/dpkg-architecture.pl: Remove bogus check of $!.
11870
11871 Sat Jun 2 15:04:09 CDT 2001 Adam Heath <doogie@debian.org>
11872
11873 * scripts/dpkg-source.pl: Reset SIGPIPE back to a default handler, for
11874 callers that have it masked off.
11875
11876 Sat Jun 2 14:48:35 CDT 2001 Adam Heath <doogie@debian.org>
11877
11878 * scripts/dpkg-checkbuilddeps.pl: Handle varied use of spaces.
11879
11880 Sat Jun 2 14:09:28 CDT 2001 Adam Heath <doogie@debian.org>
11881
11882 * lib/parsehelp.c: Remove leading and trailing spaces from versions, and
11883 check if there are embedded spaces in versions.
11884
11885 Tue May 29 07:27:31 CEST 2001 peter karlsson <peterk@debian.org>
11886
11887 * po/sv.po: Updated.
11888
11889 Mon May 28 22:54:35 CDT 2001 Adam Heath <doogie@debian.org>
11890
11891 * configure.in: AC_REQUIRE is not valid outside of AC_DEFUN.
11892 * automake/dpkg.m4: DPKG_CACHED_TRY_COMPILE was defined with both
11893 AC_DEFUN() AND define().
11894
11895 Mon May 28 19:07:15 CDT 2001 Adam Heath <doogie@debian.org>
11896
11897 * debian/changelog: Update for 1.9.7.
11898
11899 Mon May 28 19:02:52 CDT 2001 Adam Heath <doogie@debian.org>
11900
11901 * scripts/dpkg-divert.pl: Fix cleanup of .dpkg-devert.tmp files.
11902
11903 Mon May 28 16:40:19 CDT 2001 Adam Heath <doogie@debian.org>
11904
11905 * po/it.po: Updated.
11906
11907 Mon May 28 16:27:43 CDT 2001 Adam Heath <doogie@debian.org>
11908
11909 * main/archives.c: If extracting a directory, and it doesn't already
11910 exist on disk, and is shared with another package, don't error cause an
11911 error.
11912
11913 Mon May 28 16:23:26 CDT 2001 Adam Heath <doogie@debian.org>
11914
11915 * doc/ja/822-date.1, doc/ja/Makefile.in, doc/ja/cleanup-info.8,
11916 doc/ja/deb-control.5, doc/ja/deb-old.5, doc/ja/deb.5,
11917 doc/ja/dpkg-checkbuilddeps.1, doc/ja/dpkg-deb.1, doc/ja/dpkg-divert.8,
11918 doc/ja/dpkg-name.1, doc/ja/dpkg-scanpackages.8,
11919 doc/ja/dpkg-scansources.8, doc/ja/dpkg-statoverride.8, doc/ja/dpkg.8,
11920 doc/ja/install-info.8, doc/ja/start-stop-daemon.8,
11921 doc/ja/update-alternatives.8, doc/ja/update-rc.d.8: Updated.
11922
11923 Mon May 28 16:19:51 CDT 2001 Adam Heath <doogie@debian.org>
11924
11925 * dpkg-deb/extract.c, dselect/main.cc, lib/database.c, main/help.c,
11926 main/main.c, split/info.c, utils/start-stop-daemon.c: Fix some
11927 gcc 3.0 warnings.
11928
11929 Mon May 7 23:07:01 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11930
11931 * main/depcon.c: restore previous statement to break reverse cycles
11932
11933 Mon May 7 23:04:55 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11934
11935 * main/dump.c: break up an assertion so it is easier to figure out what
11936 went wrong.
11937
11938 Sun May 6 13:20:07 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11939
11940 * main/archives.c: add safe_read() to read from a pipe and deal
11941 with partial reads. Modify tarobject() and tarfileread() to use
11942 those.
11943
11944 Sat May 5 00:49:31 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11945
11946 * pl/cs.po: Updated
11947 * pl/de.po: Updated
11948 * po/pl.po: Updated
11949 * dselect/pkgtop.cc: Mark another strang as translatable
11950
11951 Fri May 4 00:19:05 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11952
11953 * dselect/main.cc: oops, swapped j and k key bindings for main menu
11954
11955 Wed May 2 20:41:10 CDT 2001 Adam Heath <doogie@debian.org>
11956
11957 * include/dpkg.h.in, main/Makefile.in main/enquiry.c main/main.c,
11958 main/query.c: Split out code for commands -sSlLp into a separate
11959 binary, dpkg-query, and have the normal dpkg binary exec this. Also,
11960 dpkg now uses a macro to define external backends to call.
11961
11962 Wed May 2 12:32:24 CDT 2001 Adam Heath <doogie@debian.org>
11963
11964 * configure.in: If --without-zlib was given, and static programs were
11965 enabled, the compile would fail.
11966
11967 Tue May 1 23:05:48 CDT 2001 Adam Heath <doogie@debian.org>
11968
11969 * lib/parse.c: Oops. EOF_mmap was incorrectly detecting the end of the
11970 data block.
11971 * main/depcon.c: After fixing the above bug, and using debootstrap to
11972 build a sid chroot, I discovered that my previous dependency cycle fix
11973 could cause segfaults in some situations.
11974
11975 Tue May 1 00:24:49 CDT 2001 Adam Heath <doogie@debian.org>
11976
11977 * acconfig.h, config.h.bot, configure.in, lib/varbuf.c, debian/changelog:
11978 Check for __va_copy, and use it, instead of a direct assignment, for
11979 broken arches, like ppc.
11980
11981 Mon Apr 30 17:34:47 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
11982
11983 * configure.in: remove last list reference.
11984
11985 Mon Apr 30 14:22:25 EDT 2001 Adam Heath <doogie@debian.org>
11986
11987 * debian/changelog: Recompile for 1.9.2, to fix badly generated
11988 dpkg-divert.
11989
11990 Mon Apr 30 10:04:36 CDT 2001 Adam Heath <doogie@debian.org>
11991
11992 * lib/mlib.c: EAGAIN patch from 1.8 branch was not applied to HEAD.
11993
11994 Sun Apr 29 22:39:55 CDT 2001 Adam Heath <doogie@debian.org>
11995
11996 * lib/database.c, lib/fields.c: Fix Eterm/eterm problem. findpackage()
11997 now does tolower() before searching for a name, and f_name() uses the
11998 name field from the return value of findpackage().
11999
12000 Sun Apr 29 22:08:37 CDT 2001 Adam Heath <doogie@debian.org>
12001
12002 * Makefile.conf.in, configure.in, debian/control, debian/rules,
12003 dpkg-deb/Makefile.in, main/Makefile.in, utils/Makefile.in,
12004 .cvsignore debian/.cvsignore: Added -static support. There is support
12005 for building a dpkg-static.deb, but this is not used during a normal
12006 run. However, a -static.nondebbin.tar.gz file is created, in addition
12007 to the normal nondebbin.tar.gz.
12008
12009 Mon Apr 30 02:35:02 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12010
12011 * debian/control: update section and priorities to match the dinstall
12012 overrides
12013
12014 Sat Apr 28 16:34:24 CDT 2001 Adam Heath <doogie@debian.org>
12015
12016 * version-nr: Oops, forgot to update this.
12017
12018 Sat Apr 28 16:17:58 CDT 2001 Adam Heath <doogie@debian.org>
12019
12020 * utils/md5sum.c, debian/changelog: Fix md5sum -c.
12021
12022 Sat Apr 28 15:22:25 CDT 2001 Adam Heath <doogie@debian.org>
12023
12024 * lib/nfmalloc.c: in nfstrnsave, don't set the char after the end, but
12025 set the end, to \0.
12026 * lib/parse.c: Don't loose the last char of a field value, when EOF is
12027 hit.
12028
12029 Sat Apr 28 14:31:27 CDT 2001 Adam Heath <doogie@debian.org>
12030
12031 * scripts/dpkg-divert.pl, debian/changelog: Fix removing of diversions.
12032 This has always been broken, but was just masked by another bug, that
12033 made it work. :|
12034
12035 Sat Apr 28 12:18:55 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12036
12037 * scripts/dpkg-buildpackage.sh: only check for valid sign interface
12038 when the user specifies one
12039
12040 Sat Apr 28 03:33:28 CDT 2001 Adam Heath <doogie@debian.org>
12041
12042 * debian/dpkg.cfg: Changed to include no-debsig by default, as no debs
12043 are currently signed, and we get false errors when debsig-verify is
12044 installed. This will be removed in the future, when the archive tools
12045 support package signatures.
12046
12047 Fri Apr 27 20:43:25 CDT 2001 Adam Heath <doogie@debian.org>
12048
12049 * lib/nfmalloc.c: nfstrnsave() was not allocated n+1 chars, and was not
12050 setting the n+1 byte to \0.
12051
12052 Sat Apr 28 02:52:56 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12053
12054 * scripts/dpkg-shlibdeps.pl: do not care if dpkg --search returns
12055 with an error: it will do that know if we search for something
12056 that is not installed which is a valid case for us.
12057
12058 Fri Apr 27 13:14:04 CDT 2001 Adam Heath <doogie@debian.org>
12059
12060 * lib/parse.c, debian/changelog: Fix a segfault when reading an empty
12061 file in parsedb(), imported from head.
12062
12063 Thu Apr 26 13:15:02 CDT 2001 Adam Heath <doogie@debian.org>
12064
12065 * main/configure.c: Update to work with recent lib/mlib.c change in
12066 md5 handling.
12067
12068 Thu Apr 26 11:51:34 CDT 2001 Adam Heath <doogie@debian.org>
12069
12070 * split/{info,join,main,queue,split}.c: s/0/NULL/
12071
12072 Thu Apr 26 13:36:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12073
12074 * utils/md5sum.c: use libdpkg error handling since fd_md5 uses that
12075 to report errors.
12076
12077 Wed Apr 25 20:20:07 CDT 2001 Adam Heath <doogie@debian.org>
12078
12079 * utils/md5sum.c, lib/mlib.c: Modified mlib.c, to malloc enough space
12080 for the digest, instead of modifying the static buffer that was
12081 previously passed in.
12082
12083 Thu Apr 26 00:32:35 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12084
12085 * po/da.po: Updated
12086
12087 Wed Apr 25 18:46:47 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12088
12089 * dselect/dselect.8: document dselect.cfg
12090
12091 Wed Apr 25 17:27:36 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12092
12093 * po/es.po: Updated
12094
12095 Wed Apr 25 13:15:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12096
12097 * main/dpkg.8: document dpkg.cfg
12098
12099 Wed Apr 25 13:05:13 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12100
12101 * main/dpkg.8: Fix formatting error
12102
12103 Wed Apr 25 02:20:40 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12104
12105 * po/gl.po: Updated
12106
12107 Wed Apr 25 01:09:50 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12108
12109 * po/{ja,ru}.po: fix inconsistencies in line endings wrt \n
12110
12111 Wed Apr 25 00:56:14 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12112
12113 * po/ru.po: Updated
12114
12115 Wed Apr 25 00:29:51 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12116
12117 * po/da.po: New Danish translation
12118 * configure.in: add da to ALL_LINGUAS
12119
12120 Tue Apr 24 20:57:48 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12121
12122 * po/ja.po: Updated
12123
12124 Tue Apr 24 20:28:04 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12125
12126 * po/cs.po: Updated
12127 * po/pl.po: Updated
12128
12129 Tue Apr 24 17:23:05 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12130
12131 * main/main.c, po/*.po: fix typo
12132
12133 Tue Apr 24 14:44:28 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12134
12135 * bunch-o-files: move dpkg-scansources manpage to section 8
12136
12137 Tue Apr 24 14:31:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12138
12139 * debian/rules: install enoent in the dpkg package
12140
12141 Tue Apr 24 14:29:03 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12142
12143 * debian/rules: actually install French manpages as well
12144
12145 Tue Apr 24 13:38:58 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12146
12147 * scripts/dpkg-divert.pl: Fix wrong errno test
12148
12149 Tue Apr 24 13:35:08 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12150
12151 * po/it.po: New version from Lele Gaifax
12152
12153 Tue Apr 24 13:21:39 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12154
12155 * Merge SuperH patch from YAEGASHI Takeshi
12156 * archtable: add SuperH variants
12157 * scripts/dpkg-architecture.pl: fix typo for sheb
12158 * scripts/dpkg-buildpackage.sh: fix dpkg-architecture call
12159
12160 Tue Apr 24 13:03:54 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12161
12162 * utils/enoent.c: new utility to get ENOENT value at runtime
12163 * utils/Makefile.in: install ENOENT in dpkglibdir
12164 * scripts/dpkg-divert.pl, update-alternatives.pl: use enoent to get
12165 ENOENT value
12166
12167 Tue Apr 24 13:01:28 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12168
12169 * dselect/Makefile.in, main/Makefile.in, utils/Makefile.in: use
12170 INSTALL_PROGRAM to install programs
12171
12172 Tue Apr 24 11:57:48 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12173
12174 * main/archives.c: spell recursive correctly
12175 * po/sv.po: updated so it still translates the fixed message
12176 * po/ru.po: updated
12177
12178 Tue Apr 24 07:02:01 CEST 2001 peter karlsson <peterk@debian.org>
12179
12180 * doc/sv/dpkg.8, po/sv.po: Updated Swedish translation.
12181
12182 Tue Apr 24 02:55:21 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12183
12184 * po/de.po: remove Language-Team header, the debian-l10n-german
12185 list it pointed to does not exist.
12186
12187 Tue Apr 24 02:41:23 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12188
12189 * main/enquiry.c: add missing newline after error message
12190
12191 Tue Apr 24 02:13:43 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12192
12193 * dselect/main.cc: use myfileopt as well to read dselect.cfg
12194 * debian/dselect.cfg: new file
12195 * debian/rules: install dselect.cfg
12196 * debian/dpkg.conffiles: add dselect.cfg
12197
12198 Tue Apr 24 01:40:11 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12199
12200 * dselect/pkglist.cc: repair qsort_compareentries
12201
12202 Mon Apr 23 18:08:37 CDT 2001 Adam Heath <doogie@debian.org>
12203
12204 * lib/parsehelp.c: Reduce memory a tad.
12205 * debian/changelog: Close additional bugs.
12206 * debian/rules: Added a build-static rule.
12207
12208 Mon Apr 23 17:17:35 CDT 2001 Adam Heath <doogie@debian.org>
12209
12210 * main/enquiry.c: Additional add error returns for -L, -s, and -p.
12211 * debian/changelog: Close a debian bug because of this.
12212
12213 Mon Apr 23 23:54:34 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12214
12215 * main/main.h: add declaration for nerrs
12216 * main/enquiry.c: exit with non-zero exitcode if -l or -S do not
12217 produce any output
12218
12219 Mon Apr 23 16:09:38 CDT 2001 Adam Heath <doogie@debian.org>
12220
12221 * include/dpkg.h.in, lib/mlib.c, main/archives.c, debian/changelog: Added
12222 new PROCNOERR flag, which disabled the error message that is displayed
12223 when a process has an error return.
12224
12225 Mon Apr 23 22:26:23 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12226
12227 * main/dpkg.8: note that force-overwrite is not enabled per default
12228
12229 Mon Apr 23 15:39:37 CDT 2001 Adam Heath <doogie@debian.org>
12230
12231 * dpkg-deb/{build,extract,info}.c, include/dpkg.h.in, lib/mlib.c,
12232 main/{archives,enquiry,help,processarc}.c: Convert waitsubproc and
12233 checksubprocerr to use a flags variable, instead of separate ints.
12234
12235 Mon Apr 23 15:36:58 CDT 2001 Adam Heath <doogie@debian.org>
12236
12237 * main/depcon.c, debian/changelog: When walking the list of providers of
12238 a dependency, the arguments were passed in reverse to the cyclebreak
12239 checker, so cycles involving provides were never detected.
12240 * debian/changelog: Document that we fixed a segfault.
12241
12242 Mon Apr 23 14:13:48 CDT 2001 Adam Heath <doogie@debian.org>
12243
12244 * main/help.c: Fix bad memory access do_script(), introduced when the
12245 casting errors were fixed previously.
12246
12247 Mon Apr 23 06:27:47 CDT 2001 Adam Heath <doogie@debian.org>
12248
12249 * lib/*.c: Changed 0 to NULL.
12250
12251 Mon Apr 23 06:25:36 CDT 2001 Adam Heath <doogie@debian.org>
12252
12253 * dpkg-deb/extract.c: More %z format fixes.
12254
12255 Mon Apr 23 05:31:03 CDT 2001 Adam Heath <doogie@debian.org>
12256
12257 * split/info.c: Change format string, to handle size_t.
12258
12259 Mon Apr 23 04:45:23 CDT 2001 Adam Heath <doogie@debian.org>
12260
12261 * main/main.c: s/--no-debsign/--no-debsig/ in help.
12262
12263 Mon Apr 23 03:21:10 CDT 2001 Adam Heath <doogie@debian.org>
12264
12265 * dpkg-deb/{build,extract,main}.c, split/{info,join,main,queue}.c,
12266 split/dpkg-split.h, lib/{dump,ehandle,fields,mlib,parse{,help},varbuf,
12267 vercmp}.c, lib/parsedump.h, main/{archives,configure,enquiry,filesdb,
12268 help,main,packages,processarc,remove}.c, main/{filesdb,main}.h,
12269 utils/{md5sum, start-stop-daemon}.c, dselect/pkg{list.cc,list.hh,
12270 top.cc}, include/dpkg{-db.h,.h.in}: Fixed up several warning types.
12271 const, casting, incorrect sizes, signed/unsigned comparisons.
12272
12273 Mon Apr 23 02:17:26 CDT 2001 Adam Heath <doogie@debian.org>
12274
12275 * dpkg-deb/info.c, main/processarc.c: Add comments telling why we
12276 use tempnam() and tmpnam().
12277
12278 Sun Apr 22 23:59:00 CDT 2001 Adam Heath <doogie@debian.org>
12279
12280 * archtable: Added alphaev67-linux-gnu.
12281
12282 Sun Apr 22 19:02:12 CDT 2001 Adam Heath <doogie@debian.org>
12283
12284 * lib/parse.c: s/PARSE_MMAP/HAVE_MMAP/, so that we now use mmap
12285 to read status and available(and like files).
12286
12287 Sun Apr 22 18:32:02 CDT 2001 Adam Heath <doogie@debian.org>
12288
12289 * lib/parse.c: Fix another segfault when parsing single-paragraph
12290 files(ie, tmp.ci/control).
12291
12292 Sun Apr 22 17:13:17 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12293
12294 * main/filesdb.c: fix putat logic we broke earlier today
12295
12296 Sun Apr 22 16:42:22 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12297
12298 * main/filesdb.c: don't read a statoverride or .list file if they
12299 are 0 bytes
12300
12301 Sun Apr 22 15:15:56 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12302
12303 * main/help.c: ensure_package_clientdata() only needs to allocate memory
12304 for a perpackagestate struct, not a pkginfoperfile.
12305
12306 Sun Apr 22 02:46:06 CDT 2001 Adam Heath <doogie@debian.org>
12307
12308 * dpkg-deb/build.c, dpkg-deb/extract.c, dpkg-deb/main.c, lib/mlib.c(*),
12309 lib/showcopyright.c, main/enquiry.c, main/main.c, split/main.c,
12310 split/split.c, utils/md5sum.c, utils/start-stop-daemon.c: Added
12311 macro NONRETURNING to several functions.
12312
12313 Sun Apr 22 02:02:34 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12314
12315 * main/filesdb: change initialization of putat in
12316 ensure_packagefiles_available() so gcc won't warn about possible
12317 uninitialized usage
12318
12319 Sun Apr 22 01:45:25 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12320
12321 * utils/start-stop-daemon.c: no longer use deprecated multi-line string
12322 * utils/md5sum.c: include stdlib.h to get declaration of exit
12323
12324 Sat Apr 21 18:00:31 CDT 2001 Adam Heath <doogie@debian.org>
12325
12326 * main/main.c: reworked \\ parsing in commandfd.
12327 * lib/dbmodify.c: fix non-full initializer.
12328
12329 Sun Apr 22 00:48:18 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12330
12331 * main/main.c: fixed some bizar pointer usage
12332
12333 Sun Apr 22 00:33:26 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12334
12335 * Makefile.conf.in: remove no longer used warning flags
12336
12337 Sat Apr 21 17:16:28 CDT 2001 Adam Heath <doogie@debian.org>
12338
12339 * main/help.c, main/processarc.c, main/filesdb.c, main/configure.c,
12340 main/archives.c, lib/parse.c: Fix int/pointer casting warnings.
12341 * include/dpkg.h.in, lib/mlib.c: Rewrote buffer_copy_setup, to avoid
12342 int/pointer casting warnings. These means there are several
12343 variations of buffer_copy_setup. Also, converted the desc parameter
12344 to const.
12345
12346 Sun Apr 22 00:09:58 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12347
12348 * optlib/long-options.c, lib/showcright.c: include stdlib.h to get
12349 declaration of exit
12350
12351 Sat Apr 21 17:10:32 CEST 2001 peter karlsson <peterk@debian.org>
12352
12353 * po/sv.po, doc/sv/dpkg.8, doc/sv/start-stop-daemon.8:
12354 Updated Swedish translation.
12355
12356 Fri Apr 20 16:02:51 CDT 2001 Adam Heath <doogie@debian.org>
12357
12358 * debian/changelog: Document stuff that was done in December.
12359
12360 Sat Apr 21 04:02:58 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12361
12362 * main/dpkg.8: remove Linux reference
12363
12364 Sat Apr 21 02:39:37 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12365
12366 * scripts/dpkg-scanpackages.pl: fix typo in vercmp version cache
12367 * scripts/dpkg-shlibdeps.pl: remove statement that was basically
12368 a strange no-op
12369 * scripts/controllib.pl: give syntax error for unexpected PGP signature
12370 * debian/changelog: updated
12371
12372 Fri Apr 20 19:46:38 CDT 2001 Adam Heath <doogie@debian.org>
12373
12374 * po/pl.po: Remove spurious '%s' in Polish translation
12375
12376 Fri Apr 20 19:37:00 CDT 2001 Adam Heath <doogie@debian.org>
12377
12378 * scripts/dpkg-source.pl: Import fix for broken dpkg-source.pl from
12379 1.8.3 version.
12380
12381 Fri Apr 20 19:05:44 CDT 2001 Adam Heath <doogie@debian.org>
12382
12383 * lib/dbmodify.c: Fix varbufprintf call in modstatdb_note(found when
12384 printf format warnings were enabled).
12385
12386 Fri Apr 20 19:02:46 CDT 2001 Adam Heath <doogie@debian.org>
12387
12388 * configure.in: New option, --with-Werror, to convert all warnings
12389 into errors.
12390
12391 Fri Apr 20 18:21:45 CDT 2001 Adam Heath <doogie@debian.org>
12392
12393 * automake/dpkg.m4, configure.in: Add support for gcc attributes,
12394 printfformat, etc.
12395
12396 Fri Apr 20 18:18:20 CDT 2001 Adam Heath <doogie@debian.org>
12397
12398 * lib/database.c: initialize otherpriority with 0, not an int.
12399
12400 Sat Apr 21 00:43:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12401
12402 * lib/parse.c: swap order for %.*s formats
12403
12404 Fri Apr 20 22:59:39 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12405
12406 * lib/database.c: initialize otherpriority as well in blankpackage()
12407
12408 Fri Apr 20 22:59:39 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12409
12410 * lib/ehandle.c: make sure we never overflow errmsgbuf
12411
12412 Fri Apr 20 14:59:14 CDT 2001 Adam Heath <doogie@debian.org>
12413
12414 * main/main.c: Accidentally committed a debug fprintf stmt in the last ci.
12415
12416 Fri Apr 20 13:42:12 CDT 2001 Adam Heath <doogie@debian.org>
12417
12418 * main/main.c: Disabled --command-fd, until further testing can be done.
12419
12420 Fri Apr 20 13:02:23 CDT 2001 Adam Heath <doogie@debian.org>
12421
12422 * po/fr.po: Fix typo.
12423 * debian/changelog: Close additional bugs, from other already committed
12424 patches.
12425
12426 Thu Apr 19 15:18:05 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12427
12428 * scripts/cl-debian.pl: make regexps for Closes consistent again
12429
12430 Thu Apr 19 13:36:58 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12431
12432 * utils/install-info.{c,8}: merge patch from Ian Jackson to add a
12433 --retry option to start-stop-daemon
12434
12435 Thu Apr 19 00:14:39 CDT 2001 Adam Heath <doogie@debian.org>
12436
12437 * main/enquiry.c: Errors during dpkg -s(and other similar commands) are
12438 now printed on stderr.
12439
12440 Thu Apr 19 00:03:16 CDT 2001 Adam Heath <doogie@debian.org>
12441
12442 * main/archives.c: Apply patch from Fumitoshi UKAI <ukai@debian.or.jp>,
12443 that escapes invalid characters in filenames(intl).
12444
12445 Wed Apr 18 23:53:40 CDT 2001 Adam Heath <doogie@debian.org>
12446
12447 * lib/database.c: In blankpackage, initialize ->installed and ->available.
12448 Found by me and Fumitoshi UKAI <ukai@debian.or.jp>. This should help
12449 several segfaults that people have been seeing in dpkg.
12450
12451 Wed Apr 18 23:42:16 CDT 2001 Adam Heath <doogie@debian.org>
12452
12453 * lib/mlib.c: If the buffer size is 0 in buffer_copy, then return, and
12454 do nothing.
12455
12456 Wed Apr 18 23:42:16 CDT 2001 Adam Heath <doogie@debian.org>
12457
12458 * configure.in, debian/control: New upstream gettext. Since we had
12459 to change our build, to comply with the new upstream, we also
12460 need to modify the build-depends.
12461 * po/dpkg.pot, po/nl.po: Fixed broken translations.
12462
12463 Wed Apr 18 18:01:21 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12464
12465 * scripts/install-info.{8,pl}: modify install-info to take relative
12466 filesnames, and add a --remove-exactly option to only remove exact
12467 matches (Rob Browning)
12468
12469 Sun Apr 15 22:42:11 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12470
12471 * config.sub, config.guess: updated
12472 * archtable: add hppa64-linux-gnu
12473 * po/ja.po: remove some translations that gettext can't handle on hppa
12474
12475 Thu Apr 12 13:12:16 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12476
12477 * po/it.po: installed new version from Lele Gaifax
12478 * dselect/main.cc: translate menu option as well in dme()
12479
12480 Wed Apr 11 12:19:25 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
12481
12482 * dselect.main.cc: retry getch if it fails with EINTR
12483
12484 Sun Mar 11 19:24:58 CET 2001 peter karlsson <peterk@debian.org>
12485
12486 * po/sv.po: Updated Swedish translation.
12487
12488 Sat Mar 10 15:59:39 CST 2001 Adam Heath <doogie@debian.org>
12489
12490 * main/filesdb.c: Use a pure file descriptor, instead of a stream, to
12491 load the data, in ensure_packagefiles_available.
12492
12493 Sat Mar 10 01:33:15 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12494
12495 * main/main,h, main/main.c: add --no-debsig option using f_nodebsign
12496 * main/processarc: don't check signatures of f_nodebsign is set
12497
12498 Fri Mar 9 21:23:03 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12499
12500 * include/dpkg.h.in: add DEBSIGVERIFY
12501 * main/main.h, main/main.c: add bad-verify override
12502
12503 Fri Mar 9 19:30:22 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12504
12505 * scripts/controllib.pl: change outputclose to deal with comma-related
12506 syntax errors after processing substvars
12507
12508 Mon Mar 5 16:34:55 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12509
12510 * doc/fr/Makefile.in: add more files
12511 * doc/fr/dpkg.8,doc/fr/install-info.8,doc/fr/update-rc.d.8: updated
12512 * doc/fr/cleanup-info.8,doc/fr/dpkg-divert.8,doc/fr/dpkg-name.1,
12513 doc/fr/dpkg-scanpackages.8,doc/fr/dpkg-scansources.1,doc/fr/dpkg-source.1:
12514 added
12515
12516 Mon Mar 5 14:03:49 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12517
12518 * configure.in: add more warning flags for gcc
12519
12520 Sun Mar 04 21:37:34 CET 2001 peter karlsson <peterk@debian.org>
12521
12522 * po/sv.po, doc/sv/dpkg.8, doc/sv/822-date.1, doc/sv/start-stop-daemon.8:
12523 Updated Swedish translation.
12524 * main/dpkg.8, utils/start-stop-daemon.8: Fixed typos.
12525
12526 Fri Mar 2 17:29:02 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12527
12528 * The Copenhagen Commit
12529 * ChangeLog: undo file corruption (ugh)
12530 * utils/start-stop-daemon.8: fix typo
12531 * configure.in: use AC_C_INLINE instead of our own test
12532 * lib/nfmalloc, include/dpkg-db.h: remove HAVE_INLINE tests, use extern
12533 inline directly
12534 * lib/varbuf.c: add inline keyword to varbufaddc
12535 * optlib/Makefile.in: undo earlier patch and build libopt.a again
12536 * lib/Makefile.in: use libopt.a again, and a rule to build it
12537 * Makefile.in: build optlib before lib
12538 * Makefile.conf.in: add RANLIB
12539 * dselect/method.h, dselect/methlist.cc, dselect/method.cc,
12540 dselect/methparse.cc: rename struct option to dselect_option to prevent
12541 conflict with getopt.h
12542 * main/help.c: rework do_script a bit to compile without errors
12543 * scripts/dpkg-gencontrol.pl: add -n option to specify filename
12544 * scripts/dpkg-source.1:
12545 + document -n option for dpkg-gencontrol
12546 + fix confusing wording for dpkg-buildpackage -uc option
12547 + fix layout error for dpkg-distaddfile section
12548 + it's DEADJOE, not DEAD_JOE
12549 * scripts/dpkg-architecture.pl:
12550 + apply cleanup patch from Julian Gilbey
12551 + modify gcc regexp to recognize gcc versions like 2.96-ia64-000717
12552 * scripts/dpkg-checkbuilddeps.pl, scripts/dpkg-checkbuilddeps.1: new
12553 script from Joey Hess to check build dependencies
12554 * THANKS: Add Joey Hess
12555 * scripts/dpkg-parsechangelog.pl:
12556 + support reading changelog from stdin
12557 + remove Linux reference
12558 * scripts/dpkg-statoverride.pl: exit with exitcode 1 if we do --list but
12559 don't output anything, and use exitcode 2 if we try to remove a
12560 non-exiting override (unless --force is given).
12561 * scripts/dpkg-statoverride.8: document new exitcode for --list
12562 * main/main.c, main/dpkg.8: remove --smallmem and --largemem references
12563 * scripts/dpkg-buildpackage.sh:
12564 + don't bother to specify architecture settings on commandlines since
12565 we put them in the environment already
12566 + remove debsign support, it's useless and debsign can't handle it
12567 + use DEB_BUILD_ARCH to get build architecture, not DEB_HOST_ARCH
12568 + remove Linux reference
12569 * scripts/dpkg-scanpackages.pl: mark last argument as optional in
12570 usage info
12571 * scripts/dpkg-scanpackages.8, scripts/dpkg-name.1,
12572 scripts/dpkg-shlibdeps.pl, scripts/dpkg-source.pl, scripts/822-date.1,
12573 scripts/cl-debian.pl, scripts/cleanup-info.pl, scripts/dpkg-genchanges.pl,
12574 scripts/dpkg-distaddfile.pl, scripts/dpkg-source.1,
12575 scripts/dpkg-divert.pl, scripts/install-info.pl, scripts/install-info.8,
12576 scripts/dpkg-gencontrol.pl, scripts/update-alternatives.pl,
12577 scripts/update-rc.d.8: remove Linux references
12578
12579 Sun Feb 25 20:26:03 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12580
12581 * version-nr: update to 1.9.0
12582
12583 Sun Feb 25 19:17:53 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12584
12585 * debian/changelog: merged additions from v1.8 branch
12586 * scripts/controllib.pl:
12587 + no need to have Origin in capit
12588 + consistently use &warn
12589 + fix -s to export all variables instead of just the first
12590 * scripts/dpkg-genchanges.pl: do not complain about missing packages
12591 if doing a source-only build
12592 * scripts/dpkg-buildpackage.sh:
12593 + correct filename for secret keyring in gpg test
12594 + fix -C
12595 + skip signing pause of building unsigned packages
12596 + improve srcmsg
12597 + test for invalid signinterface
12598
12599 Sun Feb 25 19:10:33 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12600
12601 * doc/fr/dpkg.8, doc-fr/install-info.8, doc-fr/update-alternatives.8,
12602 doc-fr/update-rc.d.8: updated
12603 * doc/fr/dpkg-deb.1: added
12604
12605 Fri Feb 23 16:10:49 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12606
12607 * po/de.po: updated
12608 * po/fr.po: updated
12609
12610 Fri Feb 23 15:54:00 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12611
12612 * utils/start-stop-daemon.c: Add OpenBSD support
12613 * utils/md5sum.c: include unistd.h to things compile on OpenBSD
12614 * configure.in: test to see if we need to link to kvm
12615
12616 Fri Feb 23 10:22:02 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12617
12618 * scripts/dpkg-divert.pl: fix typo in usage message
12619 * main/help.c: mangle argv[0] in do_script to always be the full path
12620 * include/dpkg-db.h: include string.h so things compile on ia64
12621 * scripts/dpkg-architecture.pl: add ia64
12622
12623 Thu Feb 15 11:24:46 EST 2001 Ben Collins <bcollins@debian.org>
12624
12625 * utils/Makefile.in: Do not use libopt.a, since libdpkg.a now includes those
12626 objects
12627 * optlib/Makefile.in: do not generate libopt.a
12628 * lib/Makefile.in: build libdpkg.a to include the objects from optlib
12629 * Makefile.conf.in: Add optlib to -I includes
12630
12631 Sat Feb 3 18:25:25 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12632
12633 * debian/rules: use POSIX glob instead of regexp
12634
12635 Sat Feb 3 18:18:42 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12636
12637 * scripts/dpkg-source.1: fix description for dpkg-gencontrol
12638 * archtable: add entry for OpenBSD 2.8 for i386
12639 * scripts/dpkg-architecture.p: add openbsd-i386 entry
12640
12641 Sat Feb 3 18:12:18 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12642
12643 * configure.in: check for ranlib
12644 * lib/Makefile.in: run ranlib on libdpkg.a
12645
12646 Fri Feb 2 14:27:47 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12647
12648 * scripts/dpkg-statoverride.pl: use -e instead of -f to test
12649 for filesystem object existence
12650 * scripts/dpkg-source.pl: swap chdir and open in extracttar to
12651 prevent race with source-directory being removed while the
12652 sh/grep process is still running. Patch from Colin Watson
12653
12654 Thu Feb 1 18:22:05 EST 2001 Wichert Akkerman <wakkerma@debian.org>
12655
12656 * scripts/dpkg-source.pl: fix error in error message
12657 * utils/Makefile.in: set top_builddir
12658 * Makefile.in: spell version-nr correctly
12659
12660 Sun Jan 28 22:38:02 EST 2001 Wichert Akkerman <wakkerma@debian.org>
12661
12662 * scripts/dpkg-source.pl: modify how we handle the dscformat: we now
12663 assume all major versions are upwards and backwards compatibly. This
12664 allows us to add new fields without breaking older versions of
12665 dpkg-source
12666
12667 Sun Jan 21 20:09:36 SGT 2001 Wichert Akkerman <wakkerma@debian.org>
12668
12669 * scripts/dpkg-divert.pl: only allow absolute filenames
12670 * main/configure.c: add -N option to diff invocation
12671
12672 Mon Jan 15 07:27:10 CET 2001 peter karlsson <peterk@debian.org>
12673
12674 * po/sv.po: Updated Swedish translation.
12675
12676 Mon Jan 15 00:26:45 EST 2001 Ben Collins <bcollins@debian.org>
12677
12678 * lib/nfmalloc.c: use obstack_copy/obstack_copy0 for nfstrsave and
12679 nfstrnsave respectively. Also, use an 8k chunk size for now. Should reduce
12680 some overhead, and be faster.
12681
12682 Sun Jan 14 23:37:30 EST 2001 Ben Collins <bcollins@debian.org>
12683
12684 * include/dpkg-db.h: redeclare nfmalloc(), remove obstack definitions
12685 * lib/dbmodify.c (modstatdb_init): remove obstack init
12686 * lib/nfmalloc.c: redefine nfmalloc to be an inline function. It now checks
12687 to make sure db_obs is initialized.
12688 * main/archives.c (tarobject): declare our own obstack, and use it instead
12689 (cu_fileslist) just call obstack_free
12690 * main/processarc.c: correct calling of cu_fileslist
12691
12692 Sun Jan 14 18:23:07 CST 2001 Adam Heath <doogie@debian.org>
12693
12694 * main/dpkg.8: Document --command-fd.
12695
12696 Sun Jan 14 13:54:46 EST 2001 Ben Collins <bcollins@debian.org>
12697
12698 * optlib/obstack.[ch]: New files for non GNU systems
12699 * optlib/Makefile.in (SOURCES): add obstack.c
12700 * lib/nfmalloc: remove nfmalloc()
12701 * include/dpkg-db.h: define obstack initializers, and define nfmalloc as a
12702 macro for obstack_alloc
12703 * lib/dbmodify.c (modstatdb_init): initialize obstack if it hasn't been already
12704
12705 Sun Jan 14 12:29:46 CST 2001 Adam Heath <doogie@debian.org>
12706
12707 * lib/mlib.c, lib/fields.c, lib/parse.c, main/help.c, main/main.c,
12708 po/dpkg.pot: Fix -Wall messages. Also, fix handling of user-defined
12709 fields in parsedb().
12710
12711 Sun Jan 14 02:46:14 CST 2001 Adam Heath <doogie@debian.org>
12712
12713 * po/dpkg.pot: Bring up to date.
12714
12715 Sun Jan 14 02:37:05 CST 2001 Adam Heath <doogie@debian.org>
12716
12717 * main/cleanup.c, main/help.c, main/processarc.c: Removed duplicate
12718 code that was used to exec maintainer scripts, and moved it to a
12719 single function. In the future, this single function could be used
12720 for tracking script execution.
12721
12722 Sun Jan 14 02:27:48 CST 2001 Adam Heath <doogie@debian.org>
12723
12724 * main/main.h, main/main.c: Change --{status,command}-pipe to
12725 --{status,command}-fd.
12726
12727 Sun Jan 14 02:19:18 CST 2001 Adam Heath <doogie@debian.org>
12728
12729 * main/main.c, main/archives.c: Add a --command-pipe. This allows
12730 multiple commands to be passed to a single instance of dpkg, over
12731 the file descriptor passed on the cmdline.
12732
12733 Thu Jan 11 09:35:00 PST 2001 Wichert Akkerman <wakkerma@debian.org>
12734
12735 * scripts/dpkg-statoverride.pl: do chown before chmod so we don't
12736 loose setuid bits
12737
12738 Mon Jan 8 15:46:13 PST 2001 Wichert Akkerman <wakkerma@debian.org>
12739
12740 * scripts/dpkg-statoverride.{pl,8}: remove --import option now that
12741 suidmanager can convert everything
12742
12743 Mon Jan 8 15:12:21 PST 2001 Wichert Akkerman <wakkerma@debian.org>
12744
12745 * scripts/dpkg-source.pl: add vim swapfiles to the default ignore regexp
12746
12747 Mon Jan 8 10:38:28 PST 2001 Wichert Akkerman <wakkerma@debian.org>
12748
12749 * po/fr.po: updated
12750
12751 Sun Jan 7 14:31:38 CST 2001 Adam Heath <doogie@debian.org>
12752
12753 * lib/dbmodify.c: After N calls(which does a checkpoint()), reset
12754 the counter.
12755
12756 Sun Jan 7 14:27:57 CST 2001 Adam Heath <doogie@debian.org>
12757
12758 * include/dpkg-db.h: Forgot the status-pipe struct.
12759
12760 Fri Jan 5 22:36:24 CST 2001 Adam Heath <doogie@debian.org>
12761
12762 * main/main.c, lib/dbmodify.c, main/dpkg.8: Add a --status-pipe.
12763
12764 Fri Jan 5 22:25:06 CST 2001 Adam Heath <doogie@debian.org>
12765
12766 * lib/varbuf.c: varbuf(v)printf now return the number of characters
12767 they added to the buffer.
12768
12769 Thu Jan 4 01:20:27 CST 2001 Adam Heath <doogie@debian.org>
12770
12771 * dpkg-deb/build.c, dpkg-deb/extract.c, dpkg-deb/info.c,
12772 include/dpkg.h.in, lib/mlib.c, main/archives.c, main/enquiry.c,
12773 main/help.c main/processarc.c: Add 'warn' parameter to waitsubproc
12774 and checksubprocerr, and also add a return value. This fixes my
12775 last checkin, where maintainer_script_alternative would run
12776 both the old and new script.
12777
12778 Thu Jan 04 05:19:37 CET 2001 peter karlsson <peterk@debian.org>
12779
12780 * po/sv.po: Updated Swedish translation.
12781
12782 Wed Jan 3 10:35:49 CET 2001 Wichert Akkerman <wakkerma@debian.org>
12783
12784 * configure.in: add doc/fr/Makefile
12785
12786 Tue Jan 2 22:44:14 CST 2001 Adam Heath <doogie@debian.org>
12787
12788 * lib/help.c: Removed an 'inlined' version of waitsubproc, and call
12789 the function instead.
12790
12791 Mon Jan 1 02:07:47 CST 2001 Adam Heath <doogie@debian.org>
12792
12793 * lib/varbuf.c, include/dpkg-db.h: Add varbufdupc().
12794
12795 Mon Jan 1 02:04:26 CST 2001 Adam Heath <doogie@debian.org>
12796
12797 * lib/parse.c: Use of PKGIOFF macro was checked in prematurely.
12798
12799 Sat Dec 30 23:08:00 CET 2000 Wichert Akkerman <wakkerma@debian.org>
12800
12801 * doc/Makefile.in: add fr to SUBDIRS
12802 * doc/fr: new directory with French manpages
12803 * THANKS: add philippe batailler who translated the manpages to French
12804
12805 Sat Dec 30 20:38:20 CST 2000 Adam Heath <doogie@debian.org>
12806
12807 * utils/start-stop-daemon.c: --name is now allowed on the command
12808 line.
12809
12810 Fri Dec 29 12:39:09 CST 2000 Adam Heath <doogie@debian.org>
12811
12812 * lib/parse.c: Properly parse control files that only have one
12813 paragraph, which means no double ending new line.
12814
12815 Thu Dec 28 18:43:37 CST 2000 Adam Heath <doogie@debian.org>
12816
12817 * lib/database.c: Fix minor memleak in used function hashreport.
12818 Thanks to Adrian Bridgett <bridgett@debian.org>.
12819
12820 Wed Dec 27 14:54:55 CST 2000 Adam Heath <doogie@debian.org>
12821
12822 * lib/parse.c: Removed use of getc(), and instead use pointers
12823 into a gigantic memory buffer(either thru mmap, or by copying
12824 into a large buffer(#define PARSE_MMAP)). Nice little speedup,
12825 and also had the added benefit of removing varbuf* code from
12826 parsedb().
12827
12828 Wed Dec 27 04:58:22 CST 2000 Adam Heath <doogie@debian.org>
12829
12830 * lib/fields.c: Removed use of varbuf* code from f_dependency(),
12831 for a speedup.
12832
12833 Wed Dec 27 04:55:14 CST 2000 Adam Heath <doogie@debian.org>
12834
12835 * lib/fields.c: Detect and issue an error when a space is in a
12836 version.
12837
12838 Wed Dec 27 04:00:32 CST 2000 Adam Heath <doogie@debian.org>
12839
12840 * lib/nfmalloc.c, include/dpkg-db.h: Added nfstrnsave().
12841
12842 Tue Dec 26 17:07:11 CST 2000 Adam Heath <doogie@debian.org>
12843
12844 * lib/md5.c, lib/md5.h: Oops, forgot to add these files.
12845
12846 Tue Dec 26 08:28:17 CST 2000 Adam Heath <doogie@debian.org>
12847
12848 * main/main.c: Removed extraneous debug prints, that displayed the
12849 state of all force options. Doh!
12850
12851 Tue Dec 26 04:34:02 CST 2000 Adam Heath <doogie@debian.org>
12852
12853 * lib/fields.c, lib/parsehelp.c, include/dpkg-db.h: Increased the
12854 speed of convert_string() by a factor of 2, by storing the length
12855 of each string inside the struct(this function is used to convert
12856 strings into integer values).
12857
12858 Tue Dec 26 03:43:17 CST 2000 Adam Heath <doogie@debian.org>
12859
12860 * acconfig.h, config.h.bot, configure.in, main/filesdb.c,
12861 automake/sysinfo.m4(removed): Removed all references to
12862 sysinfo().
12863
12864 Tue Dec 26 03:24:38 CST 2000 Adam Heath <doogie@debian.org>
12865
12866 * main/main.c, main/files.c: Removed --smallmem code.
12867
12868 Mon Dec 25 00:46:47 CST 2000 Adam Heath <doogie@debian.org>
12869
12870 * utils/md5sum.c: Don't use FILE * in mdfile.
12871
12872 Mon Dec 25 00:31:05 CST 2000 Adam Heath <doogie@debian.org>
12873
12874 * include/dpkg.h.in, lib/mlib.c: Added generic setup code to buffer
12875 copy loop.
12876
12877 Sun Dec 24 23:48:45 CST 2000 Adam Heath <doogie@debian.org>
12878
12879 * include/dpkg.h.in, lib/Makefile.in, lib/mlib.c, utils/Makefile.in,
12880 utils/md5sum.c: Moved md5 code into generic buffer_copy loop.
12881
12882 Sun Dec 24 13:59:36 CST 2000 Adam Heath <doogie@debian.org>
12883
12884 * Use DESTDIR when installing /etc/dpkg/origins/dpkg
12885
12886 Sun Dec 24 17:35:12 CET 2000 Wichert Akkerman <wakkerma@debian.org>
12887
12888 * dselect/main.cc: make commandline options work again
12889 * Makefile.conf.in, configure.in,automake/dpkg.m4: revert changes from Adam
12890 * Makefile.conf.in: add @CWARNS@ to CFLAGS
12891 * configure.in: add AC_SUBST for CWARNS
12892
12893 Sun Dec 24 17:05:45 CET 2000 Wichert Akkerman <wakkerma@debian.org>
12894
12895 * scripts/dpkg-genchanges.pl: output descriptions for udebs as well
12896
12897 Sun Dec 24 06:31:55 CST 2000 Adam Heath <doogie@debian.org>
12898
12899 * scripts/dpkg-name.sh: Add -k|--symlink option.
12900
12901 Sun Dec 24 05:58:48 CST 2000 Adam Heath <doogie@debian.org>
12902
12903 * dselect/main.cc: Made the accelerator keys in dselect's main
12904 menu separate options, so that they can be translated separately.
12905
12906 Sun Dec 24 05:31:27 CST 2000 Adam Heath <doogie@debian.org>
12907
12908 * debian/control: Added depends on sysvinit (>= 2.72), so that we
12909 can make sure that /etc/rcS.d exists.
12910
12911 Sun Dec 24 05:24:23 CST 2000 Adam Heath <doogie@debian.org>
12912
12913 * scripts/update-rc.d: Changed documentation and help, as -f only
12914 applies during remove.
12915
12916 Sun Dec 24 05:10:29 CST 2000 Adam Heath <doogie@debian.org>
12917
12918 * main/main.c: Added a --force-all option.
12919
12920 Sun Dec 24 04:32:34 CST 2000 Adam Heath <doogie@debian.org>
12921
12922 * main/main.c: Format help string for --abort-after like other
12923 option help strings.
12924
12925 Sun Dec 24 02:38:38 CST 2000 Adam Heath <doogie@debian.org>
12926
12927 * methods/disk.install, methods/disk.setup, methods/disk.update,
12928 methods/floppy.install, methods/floppy.update, methods/hd.setup,
12929 methods/hd.unpack, methods/hd.update: Fix to pass on admindir
12930 from dselect to dpkg.
12931
12932 Sun Dec 24 01:00:59 CST 2000 Adam Heath <doogie@debian.org>
12933
12934 * scripts/dpkg-source.pl: Minor tweak so that when patch 2.5.4 is
12935 manually used to apply a diff, it doesn't get applied multiple
12936 times.
12937
12938 Sat Dec 23 23:28:52 CST 2000 Adam Heath <doogie@debian.org>
12939
12940 * utils/start-stop-daemon.c: Add --nicelevel, to alter a
12941 programs priority before starting.
12942
12943 Sat Dec 23 22:56:16 CST 2000 Adam Heath <doogie@debian.org>
12944
12945 * main/dpkg.8: Document that --largemem is the default, and that
12946 the test point is 24 megs.
12947
12948 Sat Dec 23 22:53:23 CST 2000 Adam Heath <doogie@debian.org>
12949
12950 * main/dpkg.8: Document that --set-selections does not actually
12951 install any packages.
12952
12953 Sat Dec 23 22:41:47 CST 2000 Adam Heath <doogie@debian.org>
12954
12955 * dpkg-deb/dpkg-deb.1: Fix typo.
12956
12957 Sat Dec 23 22:24:23 CST 2000 Adam Heath <doogie@debian.org>
12958
12959 * scripts/dpkg-divert.pl: Add --truename option.
12960
12961 Sat Dec 23 21:40:32 CST 2000 Adam Heath <doogie@debian.org>
12962
12963 * main/dpkg.8: Document COLUMNS environment variable.
12964
12965 Sat Dec 23 21:20:43 CST 2000 Adam Heath <doogie@debian.org>
12966
12967 * dpkg-deb/extract.c, include/dpkg.h.in, lib/mlib.c,
12968 main/enquiry.c, main/filesdb.c, main/packages.c, main/remove.c,
12969 utils/start-stop-daemon.c: Clean up a few gcc warnings. Note,
12970 that the warning:
12971 "deprecated conversion from string constant to `char *'"
12972 is actually a bug in ncurses-dev(which has been filed as 80410)
12973 not setting the fmt argument as const.
12974
12975 Sat Dec 23 19:33:05 CST 2000 Adam Heath <doogie@debian.org>
12976
12977 * automake/dpkg.m4, configure.in, Makefile.conf.in:
12978 Modified DPKG_C_GCC_TRY_WARNS() to call AC_SUBST, so that we can
12979 use the result of the test during build time.
12980
12981 Sat Dec 23 16:44:25 CST 2000 Adam Heath <doogie@debian.org>
12982
12983 * main/depcon.c: Added description for "suggests" in describedepcon().
12984
12985 Sat Dec 23 16:24:31 CST 2000 Adam Heath <doogie@debian.org>
12986
12987 * debian/dpkg.postinst: Remove bashism.
12988
12989 Sat Dec 23 03:06:19 CST 2000 Adam Heath <doogie@debian.org>
12990
12991 * scripts/cl-debian.pl: Make '#' optional in Closes: tags.
12992
12993 Sat Dec 23 02:11:27 CST 2000 Adam Heath <doogie@debian.org>
12994
12995 * scripts/dpkg-buildpackage.sh: Add -t to -h output.
12996
12997 Fri Dec 22 12:35:43 CET 2000 Wichert Akkerman <wakkerma@debian.org>
12998
12999 * scripts/update-alternatives.8: use FHS instead of FSSTND
13000
13001 Thu Dec 21 19:30:56 CET 2000 peter karlsson <peterk@debian.org>
13002
13003 * po/sv.po, doc/sv/dpkg.8: The "Even Merrier Christmas" update of the
13004 Swedish translation.
13005
13006 Thu Dec 21 03:41:56 CST 2000 Adam Heath <doogie@debian.org>
13007
13008 * debian/changelog: Closes bug 49581, because we don't use
13009 external gzip anymore.
13010
13011 Thu Dec 21 03:35:56 CST 2000 Adam Heath <doogie@debian.org>
13012
13013 * main/enquiry.c: s/--cmpversions/--compare-versions/
13014
13015 Thu Dec 21 03:29:04 CST 2000 Adam Heath <doogie@debian.org>
13016
13017 * main/dpkg.8: Remove duplicate -R(it doesn't set --root).
13018
13019 Thu Dec 21 03:24:38 CST 2000 Adam Heath <doogie@debian.org>
13020
13021 * archtable: Add armv3l.
13022
13023 Thu Dec 21 01:40:02 CST 2000 Adam Heath <doogie@debian.org>
13024
13025 * lib/mlib.c, include/dpkg.h.in: Switch all size parameters to
13026 ssize_t. Also, return totalread, not bytesread, in buffer_copy.
13027
13028 Thu Dec 21 01:22:22 CST 2000 Adam Heath <doogie@debian.org>
13029
13030 * lib/mlib.c: Handle EINTR on reading and writing in buffer_copy.
13031
13032 Thu Dec 21 06:58:21 CET 2000 peter karlsson <peterk@debian.org>
13033
13034 * po/sv.po: The "Merry Christmas" update of the Swedish translation.
13035
13036 Wed Dec 20 12:50:55 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13037
13038 * main/processarc.c: revert change from Adam: reading the trailing
13039 zeroes is essential, not reading them can give us a SIGPIPE
13040 on extracting.
13041
13042 Wed Dec 20 02:41:39 CST 2000 Adam Heath <doogie@debian.org>
13043
13044 * dpkg-deb/build.c, dpkg-deb/extract.c, dpkg-deb/info.c,
13045 include/dpkg-db.h, lib/myopt.c, lib/parse.c, lib/varbuf.c,
13046 lib/vercmp.c, main/archives.c, main/enquiry.c, main/filesdb.c,
13047 main/processarc.c, po/dpkg.pot: Fix -Wall messages.
13048
13049 Wed Dec 20 02:21:43 CST 2000 Adam Heath <doogie@debian.org>
13050
13051 * include/dpkg.h.in: Make {stream,fd}_null_copy use [lf]seek, and fall
13052 back on the buffer code, if stream/fd refer to a pipe.
13053
13054 Wed Dec 20 02:17:56 CST 2000 Adam Heath <doogie@debian.org>
13055
13056 * configure.in, Makefile.conf.in: Move -D_GNU_SOURCE from configure.in
13057 to Makefile, and from CFLAGS to DEFS. This macro was getting lost
13058 if someone was setting CFLAGS on the cmdline. Perhaps this should
13059 be moved into config.h.in?
13060
13061 Wed Dec 20 01:39:30 CST 2000 Adam Heath <doogie@debian.org>
13062
13063 * main/processarc.c: Don't copy trailing zeros from dpkg-deb
13064 pipe.
13065 * main/archives.c: Fix some i8ln.
13066 * dpkg-deb/extract.c: Remove skipmember(), and use the buffer
13067 copy code.
13068
13069 Wed Dec 20 01:31:28 CST 2000 Adam Heath <doogie@debian.org>
13070
13071 * lib/nfmalloc.c, lib/parsehelp.c: Lesson the memory footprint.
13072
13073 Wed Dec 20 01:11:13 CST 2000 Adam Heath <doogie@debian.org>
13074
13075 * dpkg-deb/build.c: Fix building of debs, when there is no given
13076 compression on the cmdline.
13077
13078 Wed Dec 20 01:55:59 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13079
13080 * scripts/dpkg-architecture.pl: fix typo / syntax error
13081
13082 Mon Dec 18 07:37:10 CET 2000 peter karlsson <peterk@debian.org>
13083
13084 * po/sv.po: Updated Swedish translation.
13085
13086 Sun Dec 17 13:34:06 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13087
13088 * debian/control: fix typo in Build-Depends and add zlib1g-dev
13089 * More Adam stuff:
13090 + lib/mlib.c, include/dpkg.h.in: make do_fd_copy even more modular
13091 + dpkg-deb/{build.c,extract.c,info.c}, lib/showcright.c,
13092 main/{enquiry.c,filesdb.c}: updated for new do_fd_copy routines
13093 + main/{archives,[ch],main/processarc.c}: use fds instead of streams
13094 so we don't mix fd and stream-based IO which can cause havoc
13095
13096 Wed Dec 13 16:48:47 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13097
13098 * main/archives.c: create files, fifos, devices and directories with mode 0
13099 too close a small window when they are readable before we apply the correct
13100 permissions.
13101 * main/archives.c: newtarobject_allmodes() updated to handle statoverrides
13102 * main/dpkg.8: grammar fix
13103
13104 Tue Dec 12 16:27:59 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13105
13106 * scripts/dpkg-statoverride.pl: fix warning when trying to remove a
13107 non-existing override.
13108
13109 Mon Dec 11 01:10:19 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13110
13111 * debian/control: add gettext to the build-depends
13112
13113 Sun Dec 10 00:10:27 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13114
13115 * lib/mlib.c: remove no longer used struct
13116 * lib/mlib.c: return number of bytes read in do_fd_read
13117 * main/enquiry.c: one more place where we cah use read_fd_vbuf
13118
13119 Sat Dec 09 12:21:35 CET 2000 peter karlsson <peterk@debian.org>
13120
13121 * po/sv.po, doc/sv/deb.5, doc/sv/deb-old.5, doc/sv/dpkg.8:
13122 Updated Swedish translation.
13123 * doc/sv/start-stop-daemon.8: Fixed a typo.
13124
13125 Sat Dec 9 01:51:51 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13126
13127 * archtable, scripts/dpkg-architecture.pl: add linux s/390
13128 * Makefile.conf.in, configure.in: add new option to use libz
13129 * dpkg-deb/Makefile.in, dpkg-deb/build.c, dpkg-deb/extract.c: use libz
13130 if so desired
13131 * debian/rules: default to using static libz
13132 * include/{dpkg-db.h,dpkg.h.in}, lib/mlib.c, lib/varbuf.c: generalize
13133 fd copy loops
13134 * main/filesdb.c: updates to use read_fd_buf
13135
13136 Tue Dec 05 07:43:05 CET 2000 peter karlsson <peterk@debian.org>
13137
13138 * po/sv.po: Updated Swedish translation.
13139
13140 Mon Dec 4 14:42:01 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13141
13142 * scripts/dpkg-statoverride.pl, main/filesdb.c: merge patch from
13143 Robert Luberda <robert@pingu.ii.uj.edu.pl> to fix statoverrides
13144 using numerical [ug]ids
13145 * Merge updates from the v17 branch:
13146 + scripts/dpkg-buildpackage.sh: Quote test options for usepause
13147 + scripts/dpkg-shlibdeps.pl: resolve library paths using a combination
13148 of the libc major version, and ldconfig -p output. Solves problems
13149 with errant libc5 deps.
13150 + scripts/dpkg-shlibdeps.pl: Make it parse soname's in the format of
13151 "libfoo-X.X.so" (e.g. libdb-3.1.so) and use it. Also make it give a
13152 warning if there is a NEEDED line in the objdump output that we cannot
13153 grok.
13154 + scripts/update-rc.d.pl: fix typo in regexp for scripts
13155 + debian/rules: remove final occurrence of emacs
13156
13157 Mon Dec 4 01:34:57 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13158
13159 * Merge more of Adams handywork to bring dpkg up to speed (literally :)
13160 + include/dpkg.h.in: remove defines for cat and dpkg-safelist since they
13161 are no longer used
13162 + lib/mlib.c: split up do_fd_copy
13163 + lib/varbuf.c: add varbufvprintf
13164 + lib/parse.c: use memset to initialize fieldencountered
13165 + main/filesdb.c: use new read_fd_into_buf
13166
13167 Sun Dec 3 22:11:22 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13168
13169 * dpkg-deb/extract.c: apply one of Adams do_fd_copy patches
13170
13171 Thu Nov 30 02:45:42 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13172
13173 * scripts/dpkg-statoverride.{pl,8}:
13174 + add new --import option to import settings from /etc/suid.conf
13175 + fix ENOENT issues
13176 + use %owner consistently instead of %owner and %user
13177
13178 Wed Nov 29 17:56:43 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13179
13180 * po/gl.po: updated
13181
13182 Tue Nov 28 18:48:52 CET 2000 peter karlsson <peterk@debian.org>
13183
13184 * po/sv.po: Terminology changes
13185
13186 Sat Nov 25 22:05:19 CET 2000 peter karlsson <peterk@debian.org>
13187
13188 * po/sv.po: Updated Swedish translation
13189
13190 Fri Nov 24 16:49:26 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13191
13192 * scripts/dpkg-scansources.pl: Fix getopt usage since perl5.6 complains
13193 about it.
13194 * doc/deb-old.5,doc/deb.5,main/dpkg.8,scripts/dpkg-name.1,
13195 split/dpkg-split.8 : update to reflect that dpkg-deb is in section 1
13196
13197 Thu Nov 23 19:13:21 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13198
13199 * lib/myopt.c: properly chomp read lines
13200
13201 Thu Nov 23 17:52:44 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13202
13203 * lib/fields.c, lib/dump.c: fix two memory leaks
13204 * More Adam Heath patches:
13205 + lib/mlib.c, include/dpkg.h.in: add new option for do_fd_copy to
13206 specify buffersize
13207 + dpkg-deb/build.c, lib/info.c, lib/showcright.c: update for new
13208 do_fd_copy
13209 + dpkg-deb/extract.c: use do_fd_copy to read data instead of reading
13210 per character.
13211 * lib/mlib.c: fix error reporting for reading data in do_fd_copy
13212 * optlib/Makefile.am: remove (can't believe this still existed!)
13213 * utils/Makefile.in: link md5sum with our own libintl if needed
13214 * archtable, scripts/dpkg-architecture.pl: add freebsd-i386
13215 * acconfig.h, configure.in, doc/Makefile.in: make building documentation
13216 and start-stop-daemon optional
13217 * main/help.c: only check for start-stop-daemon in checkpatch() if we
13218 build it
13219
13220 Thu Nov 23 15:48:53 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13221
13222 * scripts/dpkg-buildpackage.sh: Name .changes file properly if
13223 we are doing a source-only build
13224
13225 Thu Nov 9 13:53:21 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13226
13227 * doc/Makefile.in: use internals.html/index.html as dependency target
13228 so we only rebuild the docs when really needed
13229
13230 Wed Nov 8 14:55:48 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13231
13232 * Makefile.conf, debian/rules: no longer install any emacs support stuff
13233 * debian/50dpkg-dev.el, scripts/debian-changelog-mode.el: removed
13234 * archtable: add powerpc-linux-gnu entry
13235 * debian/dpkg.conffiles: sync with dpkg-17 tree
13236
13237 Tue Nov 7 22:05:48 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13238
13239 * lib/myopt.c: chop read lines in myfileopt
13240
13241 Tue Nov 7 00:45:00 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13242
13243 * scripts/dpkg-statoverride.8: fix typos
13244 * scripts/dpkg-statoverride.pl:
13245 + replace dpkglibdir with admindir (oops)
13246 + open new file for writing in WriteOverrides
13247 * scripts/update-alternatives.pl: handle the fact that the Makefile
13248 changes our $admindir assignment so we have to manually add
13249 "/alternatives" to the path
13250
13251 Mon Nov 06 07:24:11 CET 2000 peter karlsson <peterk@debian.org>
13252
13253 * po/sv.po: Updated.
13254
13255 Sun Nov 5 16:28:26 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13256
13257 * debian/dpkg.conffiles: added missing file
13258 * debian/rules, main/main.c: rename dpkg configfile to dpkg.cfg
13259 * debian/rules, debian/origin: add new origin file
13260 * scripts/dpkg-gencontrol.pl: rename Bugs-Submit-To to Bugs
13261 * debian/control: add Bugs and Origin entries
13262 * lib/database.c, parse.c: add Origin and Bugs to fieldinfos table
13263 * include/dpkg-db.h: add Origin and Bugs to pkginfoperfile struct
13264 * dpkg-deb/main.c, dpkg-deb/dpkg-deb.h: fix type for compression
13265 * Makefile.in: install origin file
13266 * scripts/dpkg-buildpackage.sh: fix logic error in source-only building
13267 * scripts/dpkg-source.pl: handle Bugs and Origin tags
13268
13269 Sun Nov 5 10:00:31 EST 2000 Ben Collins <bcollins@debian.org>
13270
13271 * Create branch point for versioned provides
13272 * Revert patches for it from the HEAD
13273
13274 Sun Oct 29 23:33:48 CET 2000 peter karlsson <peterk@debian.org>
13275
13276 * po/sv.po: some corrections
13277
13278 Sun Oct 29 01:47:59 CEST 2000 peter karlsson <peterk@debian.org>
13279
13280 * po/sv.po: translated readfail message parameters from extract.c
13281
13282 Sat Oct 28 15:41:04 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13283
13284 * scripts/dpkg-genchanges.pl: make a missing package a warning instead
13285 of an error
13286 * dpkg-deb/extract.c: mark readfail message parameters as translateable
13287
13288 Wed Oct 25 00:14:06 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13289
13290 * po/nl.po: new Dutch translation from Ivo Timmermans
13291 * THANKS: add Ivo
13292 * configure.in: add nl to linguas
13293
13294 Thu Oct 19 00:59:40 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13295
13296 * utils/start-stop-daemon.c
13297 + fix a buffer overflow in cmdname handling
13298 + Only abort if we fail to open an existing pidfile
13299 * utils/start-stop-daemon.8: update formatting
13300
13301 Wed Oct 18 17:48:15 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13302
13303 * scripts/dpkg-source.pl: patch from Colin Watson to not rename a
13304 file to itself
13305
13306 Mon Oct 16 10:45:47 EDT 2000 Ben Collins <bcollins@debian.org>
13307
13308 * main/packages.c: Hack up things so a package which
13309 provides/conflicts/replaces it's own virtual can be installed (can't
13310 be removed yet, but hey...)
13311
13312 Sat Oct 7 22:18:43 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13313
13314 * po/gl.po, configure.in: add new Galician translation from Alberto Garcia
13315 * po/pt_BR.po, configure.in: add new Brazilian translation from
13316 Carlos Laviola
13317 * THANKS: add Alberto and Carlos
13318
13319 Wed Oct 4 16:37:08 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13320
13321 * main/processarc.c: read trailing zeroes from tar output
13322
13323 Tue Oct 03 23:13:59 CEST 2000 peter karlsson <peterk@debian.org>
13324
13325 * po/sv.po: Updated Swedish translation.
13326
13327 Sun Oct 1 20:09:42 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13328
13329 * main/enquiry.c: fix the listpackage output logic
13330 * main/filesdb.c: fix error cleanup in ensure_statoverride
13331 * lib/myopt.[ch]: add myoptfile() so we can read configuration files
13332 * main/main.c: call new myoptfile()
13333 * include/Makefile.in, include/dpkg.h.in: add dpkgconfdir
13334
13335 Mon Sep 25 16:19:05 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13336
13337 * scripts/dpkg-divert.pl: don't print version twice on --help
13338
13339 Thu Sep 21 16:29:32 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13340
13341 * debian/shlibs-default.template: removed
13342 * debian/shlibs-{default,override}: new files
13343 * debian/rules: install shlibs-{default,override} in /etc/dpkg in dpkg-dev
13344 * scripts/{dpkg-buildpackage.sh,dpkg-genchanges.pl}: add -S option to only
13345 upload sources
13346 * scripts/dpkg-source.1: document new -S option
13347
13348 Sun Sep 17 01:50:34 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13349
13350 * scripts/dpkg-source.1: document -k option for dpkg-buildpackage
13351
13352 Sat Sep 16 22:55:49 CEST 2000 peter karlsson <peterk@debian.org>
13353
13354 * doc/sv/822-date.1, doc/sv/dpkg-split.8: Initial Swedish translation.
13355 * doc/sv/Makefile.in: Added more Swedish manual pages to install.
13356 * po/sv.po: Fixes and updates.
13357
13358 Fri Sep 15 23:45:21 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13359
13360 * THANKS: update email address for dhd
13361 * merge hppa fixed from dhd:
13362 + archtable: add hppa, fixup SuperH entries
13363 + scripts/dpkg-architecture.pl: add hppa
13364 + config.sub, config.guess: updated to support hppa
13365 + main/enquiry.c: fix printarch()
13366
13367 Fri Sep 15 08:00:44 CEST 2000 peter karlsson <peterk@debian.org>
13368
13369 * po/sv.po: Some consistency changes for the translation.
13370 * doc/sv/deb.5, doc/sv/dpkg.8, doc/sv/dselect.8: Translation fixes.
13371
13372 Thu Sep 14 22:31:15 CEST 2000 peter karlsson <peterk@debian.org>
13373
13374 * po/sv.po: Updated Swedish translation.
13375 * doc/sv/deb-control.5, doc/sv/deb-old.5, doc/sv/dpkg.8, doc/sv/md5sum.1,
13376 doc/sv/start-stop-daemon.8: Initial Swedish translation.
13377 * doc/sv/Makefile.in: Added more Swedish manual pages to install.
13378
13379 Sun Sep 10 23:31:02 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13380
13381 * scripts/dpkg-scanpackages.pl: modify to use most recent version
13382 of a package if multiple versions are found
13383
13384 Sat Sep 9 21:17:37 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13385
13386 * debian/control: add dependency on binutils for dpkg-dev (needed for
13387 objdump)
13388 * scripts/dpkg-shlibdeps.pl: really make it do what the documentation
13389 says it does.
13390 * scripts/update-alternatives.pl:
13391 + set alternative to manual mode when doing --config
13392 + Fix typo in test for removed manual alternative
13393 + Merge patch from Camm Maguire to fix updating of slave links
13394
13395 Fri Sep 8 12:28:34 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13396
13397 * configure.in: add de to ALL_LINGUAS
13398 * po/de.po: New German translation from Hartmut Koptein
13399 * THANKS: Add Hartmut
13400 * main/enquiry.c: fix silly type error
13401 * scripts/dpkg-divert.pl: change $dpkglibdir to $admindir
13402 * scripts/Makefile.in: set $admindir as well in scripts
13403
13404 Tue Sep 5 20:28:17 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13405
13406 * scripts/dpkg-source.1: note that dpkg-shlibdeps uses objdump now
13407
13408 Sat Sep 2 18:29:56 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13409
13410 * archtable, scripts/dpkg-architecture.pl: add entries for SuperH
13411
13412 Wed Aug 30 14:24:53 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13413
13414 * main/enquiry.c: modify listformatstring() to check if output is
13415 being sent to a tty. If not and no COLUMNS is set use a width of 80
13416
13417 Mon Aug 21 12:58:15 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13418
13419 * lib/lock.c, main/filesdb.c, main/archives.c, main/configure.c,
13420 dpkg-deb/build.c, dpkg-deb/extract.c: updates from Chip Salzenberg
13421 to clean up fd handling
13422
13423 Thu Aug 10 21:08:00 CEST 2000 peter karlsson <peterk@debian.org>
13424
13425 * po/sv.po: More corrections and translation updates.
13426
13427 Mon Aug 7 12:02:16 PDT 2000 Wichert Akkerman <wakkerma@debian.org>
13428
13429 * main/enquiry.c: cache value of packagelist formatstring instead
13430 of recreating it for every package
13431
13432 Tue Aug 1 10:56:52 EDT 2000 Ben Collins <bcollins@debian.org>
13433
13434 * main/packages.c: fix thinko with versioned deps
13435 * debian/rules:clean: remove distclean call, we purge the whole build
13436 directory anyway.
13437 * main/main.c: add --assert-versioned-provides option
13438 main/main.h: prototype it
13439 main/enquiry.c: add assertverprov()
13440
13441 Mon Jul 31 23:38:56 EDT 2000 Ben Collins <bcollins@debian.org>
13442
13443 * archtable: add ia64; revert sparc64 so that it turns into sparc. There
13444 won't be a full binary-sparc64 port.
13445 * dselect/main.cc: small fixups to get it to compile with gcc-2.96
13446
13447 Wed Jul 26 21:27:30 CEST 2000 peter karlsson <peterk@debian.org>
13448
13449 * po/sv.po: Updated translation.
13450
13451 Sun Jul 23 15:23:15 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13452
13453 * main/enquiry.c: mark another string as translateable
13454
13455 Sun Jul 16 12:43:59 EDT 2000 Wichert Akkerman <wakkerma@debian.org>
13456
13457 * scripts/dpkg-gencontrol.pl: add Origin, Submit-Bugs-To and
13458 Submit-Bugs-Style fields.
13459 * scripts/dpkg-source.1: slight formatting update
13460 * debian/copyright: merge two entries for Miquel van Smoorenburg
13461
13462 Sat Jul 15 14:55:00 CEST 2000 peter karlsson <peterk@debian.org>
13463
13464 * po/sv.po: More corrections.
13465
13466 Thu Jul 13 10:22:43 EDT 2000 Wichert Akkerman <wakkerma@debian.org>
13467
13468 * lib/fields.c: make a non-exact versioned provides a warning instead
13469 of an error
13470
13471 Tue Jul 4 17:29:06 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13472
13473 * main/enquiry.c: modify getttywidth() to check COLUMNS environment
13474 * scripts/controllib.pl: remove warnings for LOGNAME stuff
13475
13476 Wed Jun 28 19:50:00 CEST 2000 peter karlsson <peterk@debian.org>
13477
13478 * po/sv.po: Updated Swedish translation from comments received.
13479
13480 Wed Jun 28 00:04:40 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13481
13482 * lib/showcright.c: don't translate function-name in do_fd_copy call
13483
13484 Tue Jun 27 19:19:00 CEST 2000 peter karlsson <peterk@debian.org>
13485
13486 * po/sv.po: Updated Swedish translation from comments received.
13487
13488 Sat Jun 17 21:57:00 CEST 2000 peter karlsson <peterk@debian.org>
13489
13490 * po/sv.po: Updated Swedish translation.
13491 * THANKS: Updated my e-mail address.
13492
13493 Fri Jun 16 08:59:47 EDT 2000 Ben Collins <bcollins@debian.org>
13494
13495 * main/depcon.c: really fixup versioned provides this time. basically we
13496 ignore the dvr_* of the provide, and use the version to decide if we
13497 want to use it to satisfy the dep
13498 * main/enquiry.c: ignore dvr_* type when checking for provides
13499
13500 Thu Jun 15 13:41:28 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13501
13502 * lib/parse.c: add Enhances to fieldinfos[]
13503 * lib/fields.c:
13504 + initialize dop->backrev as well when creating new dependency
13505 + only allow exact version relations when dealing with provides
13506 * TODO: remove versioned provides
13507 * debian/rules: don't fail if make clean fails (which happens on a
13508 cvsclean tree)
13509
13510 Thu Jun 15 10:09:03 EDT 2000 Ben Collins <bcollins@debian.org>
13511
13512 * main/depcon.c: remove if() that prevented versioned deps from checking
13513 provides to satisfy them
13514 * dselect/pkgsublist.cc: Same
13515
13516 Tue Jun 13 22:11:22 CEST 2000 peter karlsson <peter@softwolves.pp.se>
13517
13518 * po/sv.po: Updated Swedish translation
13519
13520 Tue Jun 13 19:23:37 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13521
13522 * scripts/dpkg-statoverride.pl:
13523 + fix two typos in the help message
13524 + Add code to implement --update when adding an override
13525 * scripts/dpkg-statoverride.8: new file
13526 * debian/dpkg.postinst: create statoverride file if it doesn't exist
13527
13528 Mon Jun 12 19:38:17 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13529
13530 * scripts/dpkg-statoverride.pl: fix two typos in the help message
13531 * debian/dpkg.postinst: create statoverride file if it doesn't exist
13532
13533 Mon Jun 12 16:35:26 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13534
13535 * configure.in: generate doc/sv/Makefile as well
13536 * main/filesdb.c: fix logic when reading statusoverride-file
13537 * scripts/.cvsignore: add all the perl scripts
13538 * scripts/dpkg-divert.pl:
13539 + turn $admindir into $dpkglibdir, which the Makefile will handle
13540 + fix glob->regexp logic for --list
13541 * scripts/Makefile.in:
13542 + replace one `sed' with `$(SED)'
13543 + add dpkg-statoverride
13544 * scripts/dpkg-statoverride.pl: new util to manage statoverrides
13545 * debian/rules: move Swedish manpages into the package as well
13546
13547 Fri Jun 9 15:52:28 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13548
13549 * Merge things from the potato branch:
13550 + po/*.po: updated
13551 + THANKS: Add Lele Gaifax
13552 + configure.in: add Italian to LINGUAS
13553 + doc/sv: new directory with Swedish manpages
13554 + doc/*: removed "GNU/Linux" since this runs on HURD as well
13555 + doc/ja/update-alternatives.8: new version
13556 + dpkg-deb/main.c: remove preprocessor define from gettextized string
13557 + dselect/main.c: remove preprocessor define from gettextized string
13558 + lib/showcright.c: remove preprocessor define from gettextized string
13559 + main/enquiry.c: can't use prepocessor defines in a gettextized string
13560 + dselect/pkgdisplay.cc: Replace empty string for eflags with a space
13561 + dselect/pkgsublist.cc: mark another string as translateable
13562 + dselect/pkgtop.cc: change code to reflect that the empty case for
13563 an eflagstring is now a single space, not an empty string (since
13564 gettext can't handle empty strings).
13565 + main/help.c: allocate a bit more space for the path buffer in checkpath()
13566 + main/main.c: fix location of --abort-after in --help output
13567 + scripts/debian-changelog-mode.el: fix documentation string for
13568 debian-changelog-finalise-last
13569 + scripts/dpkg-source.pl: fix typo
13570 + scripts/udate-alternatives.8: fixed errors found while Japanese
13571 translation was made.
13572 * methods/Makefile.am: removed
13573
13574 Sun May 28 17:24:09 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13575
13576 * dpkg-deb/build.c: remove extra closing brace
13577 * include/dpkg.h.in: add define for statusoveride file
13578 * main/filedb.[ch]: add code to manage the statoverride list
13579 * main/archives.c: modify tarobject() to check for statoverrides
13580 * TODO: remove integrating suidmanager note, it's partially done now
13581
13582 Sun Apr 30 14:19:41 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
13583
13584 * doc/*: remove all references to GNU/Linux and just mention `Debian
13585 system': we just as well on other operating systems.
13586 * scripts/dpkg-source.pl: add Format-field to .dsc files
13587 * debian/changelog: include changes from 1.6.12.99
13588
13589 Sat Apr 15 14:53:23 EDT 2000 Wichert Akkerman <wakkerma@debian.org>
13590
13591 * TODO: updated
13592 * debian/rules: explicitly strip the setgid bit for debian/tmp-*.
13593 This is needed since the kernel copies it when we create subdirs
13594 and install doesn't strip it even though we explicitly ask for
13595 a mode 755 directory. Updated clean target to run make distclean
13596 to remove generated sourcefiles as well.
13597 * dpkg-deb/build.c: add comments to describe what we are doing.
13598 Add code to get a list of files to be added to the archive, reorder
13599 it and feed it to tar and use this to put symlinks after all other
13600 files.
13601 * scripts/dpkg-gencontrol.pl: add dpkg:Version and dpkg:UpstreamVersion
13602 to list of substvars
13603
13604 Thu Apr 13 09:57:52 EDT 2000 Wichert Akkerman <wakkerma@debian.org>
13605
13606 * configure.in: add -D_GNU_SOURCE to CFLAGS so we can get strsignal
13607 * scripts/dpkg-genchanges.pl: output Changed-By just after Maintainer
13608 * scripts/cl-debian.pl: really allow a single whitespace to between # and
13609 a bugnumber that will be closed.
13610 * Synchronize with potato-branch again:
13611 + scripts/dpkg-divert.pl: fixed typo
13612 + debian/dpkg-dev.{postinst,prerm}: remove emacsen-common stuff
13613 + po/{es,sv}.po: updated
13614 + debian/changelog: include changes for 1.6.12
13615 + dpkg-genchanges: recognize non-deb packages (tarballs, such as
13616 dpkg-non-deb and boot-floppies disk tarballs). This makes sure that we
13617 include them when figuring up the Arch field in the .changes
13618 + scripts/dpkg-buildpackage.sh: Don't default to no signing until
13619 after we parsed the options, otherwise we will miss overrides.
13620
13621 Wed Apr 12 19:06:27 EDT 2000 Wichert Akkerman <wakkerma@debian.org>
13622
13623 * scripts/dpkg-genchanges.pl: add dpkg:Version and dpkg:UpstreamVersion
13624 to list of substvars
13625
13626 Sat Mar 18 19:08:20 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13627
13628 * Synchronize with potato-branch again:
13629 + scripts/dpkg-buildpackage: improve test for default signcommand
13630 + po/ja.po: updated
13631 + dselect/*.cc: remove includes for signal.h and curses.h
13632 + dselect/dselect.h: include both signal.h and curses.h and #undef
13633 the ERR from sys/ucontext.h which breaks curses
13634 + scripts/dpkg-divert.pl: fix syntax error
13635
13636 Sat Mar 4 16:52:38 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13637
13638 * Synchronize with potato-branch again:
13639 + debian/changelog: update to 1.6.10
13640 + scripts/dpkg-divert.pl: reinstate last writeability-patch. Modified
13641 to not abort on ENOENT: this indicates a directory does not (yet)
13642 exist. If this happens don't try to rename.
13643 + scripts/update-alternatives.pl:
13644 + update usage-warning to reflect the new --config option
13645 + Document some global variables
13646 + Switch back to auto-mode when removing a manually selected alternative
13647 + dselect/{dselect.h,main.cc,pkglist.cc}: remove CAN_RESIZE stuff
13648 + dselect/methlist.cc: don't abort if getch fails due to interrupted syscall
13649 + dselect/pkglist.cc: don't abort if getch fails due to interrupted syscall
13650 + dselect/baselist.cc: put debug-statement in sigwinchhandler and
13651 actually resize the current terminal before redisplaying the screen
13652
13653 Thu Mar 2 17:03:04 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13654
13655 * dselect/methkeys.cc: remove old bindings for `n' and `p', which
13656 frees `n' to do searchagain
13657
13658 Mon Feb 28 15:12:05 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13659
13660 * utils/Makefile.in: fix link command for start-stop-daemon
13661
13662 Mon Feb 21 18:05:55 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13663
13664 * dselect/pkgsublist.cc: mark another string as translateable
13665
13666 Thu Feb 17 22:01:38 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13667
13668 * doc/ja/dselect.8: Updated
13669
13670 Wed Feb 16 17:13:09 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13671
13672 * dselect/pkgtop.cc: flag two more strings as translateable
13673
13674 Tue Feb 15 19:57:45 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13675
13676 * Merge the potato branch:
13677 * main/dpkg.8: don't list all authors but refer to THANKS file
13678 * debian/control: correct Build-Dependencies for ncurses
13679 * debian/control: update extended description to not list dependencies
13680 for dpkg-dev
13681 * Update lots of documentation
13682 * main/enquiry.c: handle failed open of /dev/tty
13683 * main/remove.c: revert earlier patch from Oct 11 1999 to remove
13684 conffiles before removing directories. Due to the changed execution
13685 order conffiles were no longer around when the postrm was run.
13686 which is not what we want.
13687 * methods/Makefile.in: create $(admindir)/methods/mnt
13688 * scripts/dpkg-gencontrol.pl: undo Source-Version changes
13689 * scripts/dpkg-source.pl: remove sticky bits from directory when
13690 unpacking source
13691 * scripts/install-info.pl: partially apply patch from Jammin Wheeler
13692 <jammin@life.eu.org> to clean up errors
13693 * scripts/update-alternatives.pl: implement --verbose
13694
13695 Sun Feb 13 01:06:46 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13696
13697 * scripts/dpkg-buildpackage.sh: we know that dpkg-architecture is
13698 installed since we provide it, so don't test for its existence
13699 * More updates from Marcus Brinkmann:
13700 + archtable: Change first column format from CPU to CPU-OS.
13701 Add entry for i386-gnu. Update comment.
13702 + configure.in: Check Debian architecture revamped:
13703 More appropriate check title. Check for CPU-OS in archtable (instead
13704 just CPU). Enclose result message in [...] (because of the comma
13705 character). After the test, $dpkg_archset can't be empty, so remove
13706 following test which is always true.
13707 + Remove internal use of --print-architecture:
13708 scripts/controllib.pl: Use always dpkg-architecture -qDEB_HOST_ARCH
13709 scripts/dpkg-buildpackage: Don't set $arch at command line parsing time,
13710 instead, always set it later with dpkg-architecture -qDEB_HOST_ARCH
13711 dpkg-name.pl: Fall back to dpkg --print-installation-architecture.
13712
13713 Sat Feb 12 17:11:33 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13714
13715 * configure.in: don't try to outguess what CFLAGS should be
13716 * scripts/update-alternatives.8: fix typo
13717 * `Merge Marcus Brinkman patches day':
13718 + scripts/dpkg-architecture.pl: architecture -q should not imply -f
13719 + scripts/dpkg-shlibdeps.pl: build a list of packages instead of
13720 overwriting previous results.
13721 + utils/start-stop-daemon.c: update HURD specifics
13722 + configure.in: revamp HURD detection stuff
13723 + debian/rules: use dpkg-buildarchitecture to get proper info,
13724 set config_arg if we are crosscompiling
13725 + debian/rules: typo in clean target, scan start-stop-daemon for
13726 shlibdeps
13727
13728 Tue Feb 8 21:33:58 EST 2000 Ben Collins <bcollins@debian.org>
13729
13730 * main/{processarc,archive}.c: Make the conflictor an array of structs and
13731 make sure that check_conflicts uses that and increments a global indexs
13732 for the array. The reason that multiple conflicts/replaces were getting
13733 borked had something to do with thre first one in the hash not being
13734 processed. This was the result of bad pointer games, so this makes it a
13735 lot cleaner.
13736
13737 Wed Jan 19 16:41:04 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13738
13739 * scripts/controllib.pl: add comment with description of global variables
13740 * scripts/dpkg-genchanges.pl:
13741 + add comment with description of global variables
13742 + Change Format number to 1.7
13743 + `Maintainer' is now the actual maintainer as listed in control
13744 + add `Changed-By' field with maintainer as listed in changelog. Add -e
13745 flag to override this value
13746 * scripts/dpkg-buildpackage.sh: pass -e on to dpkg-genchanges
13747 * scripts/dpkg-source.1: document new -e option, update copyright
13748
13749 Mon Jan 17 21:20:35 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13750
13751 * dselect/Makefile.in: not all shells support == for strings comparisons
13752 * version-nr: update to 1.6.8
13753 * scripts/dpkg-shlibdeps.pl: update to version from dpkg_test_bz2_syslog_sigs
13754 branch:
13755 + use objdump instead of ldd
13756 + correct checks on shlibs.local
13757
13758 Sun Jan 16 22:07:12 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13759
13760 * main/dpkg.8: note that --force-overwrite is off by default
13761 * po/.cvsignore: add all the .gmo files
13762
13763 Sat Jan 15 03:48:47 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13764
13765 * doc/ja/dpkg-deb.5: updated with patch from Hiroshi KISE <fuyuneko@ryukyu.ne.jp>
13766 * THANKS: Add Hiroshi KISE
13767
13768 Tue Jan 11 03:34:22 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13769
13770 * scripts/dpkg-genchanges.pl: also upload full source if version is *-0.1
13771 * doc/ja/dpkg.8: updated with patch from Hiroshi KISE <fuyuneko@ryukyu.ne.jp>
13772
13773 Tue Jan 11 18:32:52 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13774
13775 * configure.in: Fix include in test for alphasort
13776 * Makefile.in: add intl to subdirectory-list
13777 * dpkg-deb/Makefile.in: set top_builddir
13778 * dselect/Makefile.in: set top_builddir
13779 * main/Makefile.in: set top_builddir
13780 * lib/compat.c: add really simple snprintf (doesn't do range-checking)
13781 * lib/compat.c: add sys_siglist
13782 * configure.in: add tests for snprintf and sys_siglist
13783 * include/dpkg.h.in: don't include sys/sysinfo.h, filesdb.c is the only
13784 thing that needs it and it has its own include.
13785
13786 Tue Jan 11 02:02:00 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13787
13788 * dselect/baselist.cc: don't specify SA_INTERRUPT, since it's
13789 not portable and the default behaviour
13790 * main/enquiry.c: include sys/termios.h (needed on Solaris)
13791 * lib/lock.c: use EACCESS instead of EWOULDBLOCK
13792 * dselect/main.cc: fix help for -D
13793 * dselect/main.cc: try to lock admindir instead of using readwrite
13794 * dselect/method.cc: switch to using fcntl for lock since that is more
13795 portable, and revamp lockingcode to reduce code duplication
13796
13797 Mon Jan 10 20:55:45 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13798
13799 * Update Swedish and Russian translation
13800
13801 Sun Jan 9 16:11:39 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13802
13803 * Merge patches from Josip Rodin:
13804 + various text and manpage updates
13805 + dselect/method.cc: don't abort if locking fails but give a
13806 warning
13807 + THANKS: fix various small errors
13808
13809 Sun Jan 9 01:40:23 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13810
13811 * scripts/cl-debian.pl: Allow space between `#' and the bugnumber in the
13812 changelog scripts
13813 * scripts/start-stop-daemon.c: test for __sparc__ instead
13814 * scripts/Makefile.in: add optlib to CFLAGS
13815 * utils/start-stop-daemon.c: add option to chroot first, patch from Marco d'Itri
13816 * utils/start-stop-daemon.8: document chroot option
13817 * dselect/pkgtop.cc: use waddnstr to print package description instead of waddch
13818
13819 Fri Jan 7 18:24:45 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13820
13821 * dselect/method.cc: pass admindir to dpkg
13822 * dselect/Makefile.in: fix rule to build helpmessages
13823 * dselect/curkeys.h: use curses.h instead of ncurses.h, since someone
13824 decided to play nasty and just remove that
13825 * scripts/: remove dpkg-safelist
13826 * dpkg-deb/build.c: remove dpkg-safelist calls
13827 * main/enquiry.c: redo formula to get fieldwidths for packages
13828
13829 Wed Jan 5 17:09:45 CET 2000 Wichert Akkerman <wakkerma@debian.org>
13830
13831 * Merge patch from Tom Lees <tom@lpsg.demon.co.uk>:
13832 + scripts/dpkg-buildpackage.sh: support debsign
13833 * scripts/update-alternatives.8: fix wrong order of parameters
13834 in ACTION section
13835 * Updated Polish translation
13836
13837 Sun Dec 26 01:31:08 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13838
13839 * Update copyright for Swedish translation to SPI instead of Debian
13840
13841 Sat Dec 25 04:04:48 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13842
13843 * dselect/pkgtop.cc: use waddnstr instead of waddch so we don't strip
13844 the 8th bit of characters
13845 * Replace `Debian Linux' with `Debian GNU/Linux' in some more places
13846 * Update Spanish translation
13847 * main/enquire.c: always use a minimum width of 80 in list1package
13848 * debian/rules: install dpkg-safefilelist
13849
13850 Sat Dec 25 02:50:31 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13851
13852 * Oops, forgot to add scripts/dpkg-safefilelist.{1,pl}
13853 * debian/control: remove double empty line
13854 * dpkg-deb/main.c: Fix help-message
13855
13856 Fri Dec 24 17:34:30 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13857
13858 * version-nr: update to 1.6.5
13859 * doc/Makefile.in: install THANKS
13860 * TODO: remove items that have been done
13861 * lib/showcright.c: exit(0) after showing the copyright since
13862 we don't exec cat anymore
13863 * Patch from David Huggins-Daines <dhd@eradicator.org>:
13864 + main/configure.c: add NULL to execlp() parameters; this fixes the random
13865 segfaults when showing the conffile-diff
13866
13867 Fri Dec 24 15:35:29 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13868
13869 * debian/control: add Build-Depends
13870 * THANKS: new file which lists everyone who contributed to the code
13871 * Change `Debian Linux' to `Debian GNU/Linux' in a couple of manpages
13872 * main/enquiry.c: modify list1package to use the full width of the tty
13873 * main/main.c: fix wrong call to fputs
13874 * Merge patches from Adam Heath:
13875 + lib/mlib.c: new function do_fd_copy to read a file into a fd
13876 + dpkg-deb/build.c: use do_fd_copy
13877 + dpkg-deb/build.c: use dpkg-deb-filelist to reorder files when
13878 building a package
13879 + dpkg-deb/info.c: use do_fd_copy
13880 + lib/showcright.c: use do_fd_copy to read license
13881 + scripts/dpkg-safelist.{1,pl}: new script to reorder a filelist to
13882 make sure symlinks are listed after their targets.
13883 + dpkg-deb/main.c: add -z option to set compression level
13884 + dpkg-deb/build.c: pass new -z options to gzip
13885 * dpkg-deb/dpkg-deb.1: document new -z option
13886
13887 Wed Dec 22 13:41:41 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13888
13889 * main/main.c: cleanup printversion
13890
13891 Wed Dec 22 12:07:40 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13892
13893 * debian/dpkg-doc.postrm: Use doc-name instead of file-name (probably
13894 need to change the filename, but I'll be lazy now :)
13895 * dselect/pkgdisplay.cc: Replace empty string for eflags with a space
13896 so gettext doesn't use the translation-info
13897 * po/update.sh: Generate dselect/helpmsgs.{cc,h} so we can translate them.
13898 * po/POTFILES.in: add dselect/helpmsgs.cc
13899 * dselect/Makefile.in: put helpmsgs.{cc,h} in $(srcdir), since gettext
13900 will barf on us if we put them in the builddir. (The real issue here is
13901 that when we generate the .po-files we don't know what the builddir will
13902 be and gettext can't handle VPATH).
13903 * dselect patches from Dan Gohman <gohmandj@mrs.umn.edu>:
13904 + dselect/pkgtop.cc: use ACS_HLINE instead of `-'
13905 + dselect/baselist.cc: change colour of column headings
13906 + dselect: add a new --expert mode which suppresses the display of the
13907 helpscreen
13908
13909 Tue Dec 21 15:59:35 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13910
13911 * scripts/dpkg-scansources.pl: don't use \z since that is perl5.005-specific.
13912 Patch from Roderick Schertler <roderick@argon.org>
13913 * debian/rules: fix typo so cleanup-info.8 actually gets installed
13914
13915 Fri Dec 17 00:41:50 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13916
13917 * Makefile.conf.in: use @libdir@ and @admindir@
13918 * configure.in: add --with-admindir option and change the default
13919 to $libdir/db
13920 * debian/rules: add --with-admindir=/var/lib/dpkg
13921 * scripts/debian-changelog-mode.el: update location of GPL
13922 * scripts/dpkg-name.sh: update location of GPL
13923
13924 Thu Dec 16 15:20:11 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13925
13926 * utils/start-stop-daemon.c: Fix OS-detection for sunos
13927 * utils/update-rc.d: Accept single-number values, since they are
13928 always in the [0,99] range
13929
13930 Wed Dec 15 16:08:47 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13931
13932 * autogen.sh: copy gettextm4, lcmessage.m4 and progtest.m4 to automake/
13933 for systems without gettext installed
13934 * Makefile.in: remove the gettext-macros in distclean
13935 * utils/Makefile.in: fix clean target, link md5sum and start-stop-daemon
13936 with optlib
13937 * optlib/*: getopt implementation for systems without GNU getopt.
13938
13939 Wed Dec 15 00:18:30 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13940
13941 * configure.in: Add option to disable building dselect
13942 * configure.in: Test for ptrdiff_t and stddef.h
13943 * config.h.bot: iclude stddef.h if it exists
13944 * Add config.sub and config.guess
13945
13946 Tue Dec 14 20:08:58 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13947
13948 * automake/sysconf.m4: really add the file this time
13949 * po/sv.po: new version with minor corrections
13950 * main/depcon.c: minor corrections to depisok()
13951 * scripts/dpkg-buildpackage.sh: fix -nc option
13952
13953 Mon Dec 13 15:18:03 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13954
13955 * scripts/dpkg-gencontrol.pl: use findarch to get the architecture
13956
13957 Sun Dec 12 23:59:25 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13958
13959 * dselect/main.cc: We need to printf programdesc as well
13960 * autogen.sh: Remove libtoolize call
13961 * automake/sysconf.m4: new autoconf-macros for sysconf
13962 * filesdb/main.c: also check MEMINFO_IN_SYSINFO
13963 * configure.in: remove ugly sysinfo-hacks to use new ac macros instead
13964 * utils/start-stop-daemon.c: modify to build on sunos
13965
13966 Sun Dec 12 17:20:12 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13967
13968 * Update the Swedish translation
13969 * start-stop-daemon.c: check exitnodo-flag if we fail to kill a
13970 process
13971
13972 Sun Dec 12 00:41:01 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13973
13974 * Add Swedish translation from Peter Karlsson <pk@mds.mdh.se>
13975
13976 Wed Dec 8 01:36:35 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13977
13978 * Update Czech translation
13979
13980 Tue Dec 7 17:41:17 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13981
13982 * Drop the emacs bytecompile-stuff completely
13983
13984 Tue Dec 7 14:08:21 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13985
13986 * Fix display of copyright in menu
13987
13988 Tue Dec 7 01:26:21 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13989
13990 * Comment changes made in pkgdepcon.cc; they're not completely
13991 correct yet
13992
13993 Mon Dec 6 01:37:08 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13994
13995 * Correct uid/gid-changes in start-stop-daemon, patch from
13996 Topi Miettinen <Topi.Miettinen@nic.fi>
13997
13998 Sun Dec 5 18:09:36 CET 1999 Wichert Akkerman <wakkerma@debian.org>
13999
14000 * Add manpages from Josip Rodin <joy@cibalia.gkvk.hr> for
14001 cleanup-info and dpkg-divert
14002 * New dpkg-scansources from Roderick to allow trailing blanks on lines
14003 * Correct generation of manual-version
14004 * Merge patch from Richard Kettlewell <rjk@sfere.greenend.org.uk> to
14005 eliminate string copies while reading .list files
14006 * Fix earlier translation-patch for dselect so it builds again
14007
14008 Sat Dec 4 04:22:49 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14009
14010 * Update the polish translation
14011
14012 Mon Nov 29 21:11:35 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14013
14014 * Change default lispdir to $(prefix)/emacs/site-lisp/$PACKAGE
14015
14016 Sun Nov 28 21:56:32 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14017
14018 * dselect/pkgdepcon.cc: don't treat recommends like (pre-)depends.
14019 Instead make it similar to suggests but default to selecting the package.
14020
14021 Sat Nov 27 09:46:26 EST 1999 Ben Collins <bcollins@debian.org>
14022
14023 * utils/start-stop-daemon.c: call initgroups() prior to seteuid()
14024
14025 Fri Nov 26 18:36:22 EST 1999 Ben Collins <bcollins@debian.org>
14026
14027 * dselect/main.cc: fixed three cases where gettext usage was not
14028 possible die to macros inlined in the strings
14029
14030 Fri Nov 26 18:09:17 EST 1999 Ben Collins <bcollins@debian.org>
14031
14032 * configure.in: generate utils/Makefile
14033 * utils/configure.in: removed so top level configure will take over this
14034 subdir
14035
14036 Fri Nov 26 02:21:56 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14037
14038 * Fix .so-entries for script manpages
14039
14040 Thu Nov 25 23:59:24 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14041
14042 * Correct location of documentation in debian/dpkg-doc.doc-base
14043
14044 Thu Nov 25 04:55:18 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14045
14046 * Correct name of source tarball in debian/rules
14047
14048 Thu Nov 25 03:45:23 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14049
14050 * Merge the new buildsystem from the wta_build branch. If you want
14051 the old buildsystem check the last-of-automake tag
14052
14053 Fri Nov 19 15:04:10 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14054
14055 * `n' is also searchagain in dselect now
14056 * Do searchagain if an empty searchstring is entered
14057
14058 Thu Nov 18 10:27:35 EST 1999 Ben Collins <bcollins@debian.org>
14059
14060 * utils/start-stop-daemon.c: Added ability for user.group arg to
14061 --chuid. Also, always call initgroups() when using --chuid.
14062 * utils/start-stop-daemon.8: Document above change, also add note to the
14063 --make-pidfile option concerning its problem with daemons that fork
14064
14065 Fri Nov 12 21:21:21 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14066
14067 * Rename Japanese translation to just jp
14068
14069 Thu Nov 11 20:14:02 EST 1999 Ben Collins <bcollins@debian.org>
14070
14071 * lib/tarfn.c: add braces around if to fix compiler warning
14072
14073 Fri Nov 12 01:47:24 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14074
14075 * Correct names for build-dependency names according to Bug# 49792
14076 * .. and for dpkg-source.pl as well
14077
14078 Mon Nov 8 17:45:50 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14079
14080 * Add support for enhances to dpkg and dselect. dselect doesn't
14081 take any action on it yet though
14082
14083 Tue Nov 2 20:19:48 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14084
14085 * Fix some language mixups: our Polish translation was actually
14086 Czech, and we somehow lost the real Polish text..
14087
14088 Mon Nov 1 23:25:32 CET 1999 Wichert Akkerman <wakkerma@debian.org>
14089
14090 * Add partial Russian translation from Michael Sobolev <mss@transas.com>
14091
14092 Sat Oct 30 16:22:00 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14093
14094 * Fix file conflict between dpkg-dev, dpkg
14095 * Move changelog.manual to dpkg-doc
14096
14097 Sat Oct 30 03:31:30 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14098
14099 * Make it all build again
14100 * retro-actively add this ChangeLog entry
14101 * Removed bogus po/dpkg.po file
14102 * No longer translate internal errors.. we want to see the English text
14103 in bugreports
14104
14105 Fri Oct 29 20:16:43 EDT 1999 Ben Collins <bcollins@debian.org>
14106
14107 * po/update.sh: make sure we only update when there are changes,
14108 also autodetect list of .po files we need to change
14109 * release.sh: likewise for .gmo generation
14110
14111 Fri Oct 29 16:51:03 EDT 1999 Ben Collins <bcollins@debian.org>
14112
14113 * main/archives.c: s/DPK/DPKG/ from one of the gettext changes
14114
14115 Fri Oct 29 21:16:21 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14116
14117 * Fix name for Polish translation
14118
14119 Fri Oct 29 10:37:16 EDT 1999 Ben Collins <bcollins.debian.org>
14120
14121 * dpkg-divert: Fix check for writable filesystem, closes: #48646
14122
14123 Thu Oct 28 22:14:49 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14124
14125 * Add Polish translation from Piotr Roszatycki <dexter@fnet.pl>
14126
14127 Thu Oct 28 10:10:23 EDT 1999 Ben Collins <bcollins.debian.org>
14128
14129 * dpkg-shlibdeps: fix ordering for shlibs.default
14130
14131 Wed Oct 27 21:33:19 EDT 1999 Ben Collins <bcollins.debian.org>
14132
14133 * release.sh: remove attic/ and doc/obsolete/
14134 * dpkg-gencontrol: add "Source" to the fields placed in the control file
14135 * dpkg-parsechangelog: fixed loop for parsepath
14136
14137 Tue Oct 26 19:35:53 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14138
14139 * Also translate helpmessages for dselect
14140
14141 Mon Oct 25 21:08:06 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14142
14143 * Added Czech translation from Petr Cech <cech@atrey.karlin.mff.cuni.cz>
14144
14145 Mon Oct 25 19:10:50 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14146
14147 * Mark more strings for translation in libdpkg and dpkg
14148 * Don't bother translating debug-statements
14149
14150 Mon Oct 25 11:55:35 EDT 1999 Ben Collins <bcollins.debian.org>
14151
14152 * scripts/dpkg-shlibdeps: start using objdump as opposed to ldd, this
14153 works much more cleanly, works with libc5, and allows from better
14154 error reporting. Also corrected checks on shlibs.local, which wasn't
14155 really being parsed, it now works as advertised.
14156 * scripts/{dpkg-gencontrol,dpkg-source,controllib.pl}: fixed references
14157 to old style build dep fields to match current policy amendment
14158
14159 Mon Oct 25 17:12:34 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14160
14161 * gettextize dselect
14162
14163 Mon Oct 25 08:42:52 EDT 1999 Ben Collins <bcollins.debian.org>
14164
14165 * debian/rules: fix symlink creaton for /usr/share/doc/dpkg-dev -> dpkg,
14166 also compress the info and ps files for internals in dpkg-doc
14167
14168 Mon Oct 25 06:50:17 EDT 1999 Ben Collins <bcollins.debian.org>
14169
14170 * main/processarc.c: fixes calculation of package filename display (the
14171 ".../foo.deb" one) where it was showing the full path if the basename
14172 was longer than 30 chars. Now shows just the basename if it can't
14173 squeeze the full path to < 30 chars (even if the basename is > than 30
14174 chars)
14175
14176 Mon Oct 25 02:27:49 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14177
14178 * dselect/main.cc: Fixup error message for invalid parameter to reflect
14179 we are dselect, not dpkg
14180
14181 Sun Oct 24 20:46:44 EDT 1999 Ben Collins <bcollins.debian.org>
14182
14183 * scripts/dpkg-source.pl: we want to 'delete' the POSIXLY_CORRECT env
14184 not 'undef'
14185
14186 Sun Oct 24 20:25:11 EDT 1999 Ben Collins <bcollins.debian.org>
14187
14188 * debian/dpkg-doc-{postrm,prerm}: Added install-info for internals.info
14189 * debian/dpkg-internals: fixed misplaced description
14190
14191 Sun Oct 24 11:39:21 EDT 1999 Ben Collins <bcollins.debian.org>
14192
14193 * debian/control: added dpkg-doc
14194 * debian/dpkg-doc-{postinst,prerm}: new files for dpkg-doc package
14195 * debian/dpkg-internals: doc-base support for dpkg-doc
14196 * debian/rules: added build rules for dpkg-doc to binary-indep target
14197 * doc/Makefile.am: changed build setup for internals.sgml to use the
14198 debiandoc tools, and removed internals.* stuff from being built by
14199 default. Two new targets, internals and internals-install, now handle
14200 this
14201 * doc/changelog: removed, duplicate of ChangeLog
14202 * doc/internals.sgml: converted to debiandoc format, now builds correctly
14203 and without errors
14204 * doc/manuals-version: removed since it is generated at build time
14205 * doc/texinfo.*: moved to doc/obsolete/ since the debiandoc format doesn't
14206 need them
14207 * main/filesdb.c: fixed compiler warning
14208
14209 Sat Oct 23 21:23:08 EDT 1999 Ben Collins <bcollins.debian.org>
14210
14211 * Added 'D' to the list of choices for conffile handling
14212
14213 Sat Oct 23 16:25:16 EDT 1999 Ben Collins <bcollins.debian.org>
14214
14215 * main/{processarc.c,depcon.c}: added new structure for conflictors,
14216 which contains a struct for conflicts. This is used to create an array
14217 of conflicting packages, which are going to be replaced. Allows for
14218 multiple conflicts and replaces. All conflictor handlers were
14219 converted to loops to handle each one (processarc.c).
14220
14221 Sat Oct 23 09:22:16 EDT 1999 Ben Collins <bcollins.debian.org>
14222
14223 * Leave file info intact in available when installing packages. MD5sum,
14224 Filename, and MSDOS-Filename used to get lost when installing a package.
14225 * Backout dep check patch (merged from v1_4_1_18)
14226 * Added armv4l to archtable
14227
14228 Thu Oct 21 12:57:31 EDT 1999 Ben Collins <bcollins.debian.org>
14229
14230 * Fixed incorrect patch for --print-architecture (oops, oh well
14231 it was already broken when there was no gcc anyway :)
14232 * Fixed missing mipseb that was supposed to be in the archtable
14233 * Better output in update-alternatives --config, now shows the
14234 current, and the preferred choices.
14235 * dpkg-name: ignore epoch when getting version
14236 * 50dpkg-dev.el: add it as a conffile for dpkg-dev
14237 * dpkg-shlibdeps: redirect STDERR to /dev/null for the dpkg fork so we
14238 don't see dpkg's errors
14239 * internals.sgml: Removed references to the versions of build tools,
14240 they date the document.
14241 * debian-changelog-mode.el: added hint for better log-email handling
14242 * Added recognition for new source-depends fields for policy
14243 referenced in bug #41232
14244 * dpkg-buildpackage: add -ap option to force a pause prior to starting
14245 the sign process. This helps for people who don't keep their signatures
14246 on the filesystem (on a floppy perhaps, then mount as needed).
14247 * minor script corrections
14248 * dpkg-dev control: Change gcc to c-compiler in the recommends field, and
14249 move cpio, patch and make to the depends line
14250
14251 Thu Oct 21 10:22:43 EDT 1999 Ben Collins <bcollins.debian.org>
14252
14253 * Fixed the check that was added to dpkg-divert.
14254 * Removed the lib version checking.
14255 * Oops, somehow the --config feature went missing from update-
14256 alternatives
14257
14258 Thu Oct 21 13:22:42 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14259
14260 * Update copyright (taken from dpkg-iwj tree, with Ben added)
14261 * Add support for long filenames in tarfiles. Based on a patch
14262 from Andrew Hobson <ahobson@eng.mindspring.net>
14263 * Add a --assert-longfilenames option
14264
14265 Thu Oct 21 06:37:24 EDT 1999 Ben Collins <bcollins.debian.org>
14266
14267 * Fixed some compiler warnings
14268 * Make start-stop-daemon exit(1) when we don't find one of the
14269 pid's we are trying to kill, in accordance with the man page.
14270 * When running --configure on an already installed package, just
14271 say it's installed, and not that it is in an unconfigurable
14272 state
14273 * Bah, add all the prefix/datadir... stuff back to the install
14274 target in debian/rules (po/ doesn't use it)
14275 * Add function to libdpkg that dpkg can call to make sure it's
14276 compiled version matches that of the library. If it fails,
14277 complain loudly, but proceed anyway.
14278 * Make dpkg check for uid 0 requirement, before checking the path
14279 since not being root, is probably the reason that the PATH is
14280 borked in the first place
14281 * Make -p short for --print-avail, and -P short for --purge
14282 * Fix typo in md5sum(1) man page
14283 * start-stop-daemon: Add --background and --make-pidfile options
14284 * update-alternatives: make sure we remove "old" symlinks when they
14285 are no longer pertinent. Add /etc/alternatives/README that refers
14286 to the update-alternatives(8) man page.
14287 * dpkg-divert: Add check for being able to write to the old/new
14288 destination before doing a rename. We fail on this, without
14289 changing the diversion registry
14290 * Fix bad regex in update-rc.d
14291
14292 Tue Oct 19 18:07:28 EDT 1999 Ben Collins <bcollins.debian.org>
14293
14294 * Ok, TMPDIR usage is back in dpkg-deb and working
14295 * {include,scripts}/Makefile.am: Fix for using DESTDIR
14296 * debian/rules: really convert to DESTDIR on install target this
14297 time. chmod -x everything in /usr/lib to make lintian happy.
14298 in the clean phase just rm -rf $(BUILD), we don't need to run
14299 distclean and all that other stuff. Don't run "make dist", we
14300 simply copy the .tar.gz that dpkg-source creates for the byhand
14301 source.
14302
14303 Tue Oct 19 09:59:22 EDT 1999 Ben Collins <bcollins.debian.org>
14304
14305 * Reverted the new tmpfile stuff in dpkg-deb. For some reason it's
14306 completely corrupting the new package
14307
14308 Mon Oct 18 18:40:35 EDT 1999 Ben Collins <bcollins.debian.org>
14309
14310 * Reimplemented a better *stat cache for the removal checking code,
14311 this helps a lot when doing upgrades where the packages are a lot
14312 different in layout. Note, I tested the first way and this new way
14313 against package foo (version 1 & 2) each had 5000 files (different
14314 in version 2 than in version 1). basically this meant the old way
14315 needed to do about 2.5 million lstats, and the new way only needs
14316 10,000 lstats. This sped it up about %6000 percent (the old way took
14317 over 1 hour on a 333Mhz, the new way was 2 minutes and 20 seconds).
14318 Note that this is an extreme case since most per package upgrades
14319 a) don't have 5000 files
14320 b) don't have all the files different
14321 * Increased largemem auto detection to >= 24megs, since it's not uncommon
14322 for dpkg to actually use 16megs of ram all on its own when using the
14323 largemem setting (old minimum was 16megs)
14324
14325 Mon Oct 18 09:25:30 EDT 1999 Ben Collins <bcollins.debian.org>
14326
14327 * Add mipseb to the archtable too, since mips and mipseb are
14328 both viable names for the mips big endian arch
14329 * Update dpkg-architecture's archtable
14330 * Removed the maintainer-configure portion in debian/rules, since
14331 we should be shipping the source with all the auto* stuff
14332 already generated anyway
14333 * Removed the ltconfig patch, and resort to a debian/rules fix
14334 to libtool itself after running configure, much cleaner, and
14335 reversible since libtool is a generated file
14336 * Use DESTDIR when installing instead of specifying all our
14337 dest dirs separately in the make line. Also fix some of the
14338 make files to use DESTDIR when installing files
14339 * Regenerated .po files and dpkg.pot. Also added update.sh to the po/
14340 subdir for easier regenerating for cvs only
14341 * Make release.sh generate .gmo files
14342 * Removed shlibs.default.i386. It's now a template for arch porting to
14343 Debian/dpkg, we install it still, if there exists a file matching the
14344 arch
14345
14346 Sun Oct 17 13:40:46 EDT 1999 Ben Collins <bcollins.debian.org>
14347
14348 * Removed references to dpkg(5) which seems to not exist anymore
14349 * Fixed `dpkg-deb --help' and dpkg-deb(1) from reporting --no-check
14350 when it's actually --nocheck (went with the hardcoded option, so
14351 this is just a documentation fix).
14352 * Added better check in disk.setup for a working NFS server. Makes
14353 it compatible with other non-Linux servers.
14354 * Corrected dpkg(8)'s example of using dpkg -i (showed it used with
14355 a .tar.gz instead of a .deb)
14356 * Applied patch to correct improper TMPDIR handling in dpkg-deb
14357 * When encountering an error in extracting the tar archives in the
14358 packages, we should abort the install, not simply give an error
14359 and continue.
14360 * Make dpkg give the builtin arch if there was an error while exec()'ing
14361 the C compiler with --print-architecture. We still fail if the
14362 output from gcc was bad in some way, since they may be of importance.
14363
14364 Sun Oct 17 11:51:36 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14365
14366 * Revert to hardcoding ENOENT again, since the necessary parts of
14367 the perl POSIX module aren't in perl-*-base. sigh.
14368
14369 Sat Oct 16 11:43:45 EDT 1999 Ben Collins <bcollins.debian.org>
14370
14371 * Added --chuid option to start-stop-daemon to allow switching to
14372 a different uid when starting a process
14373 * Added mipsel to the archtable for completeness
14374 * Added --config option to update-alternatives to allow easy changing
14375 of the registered alternatives for a specific name
14376 * Updated the deb-control(5) man page with all the current fields
14377 and uses
14378 * Made the large info screen show 5 lines of the pkglist so that
14379 it scrolled properly, and still showed the cursor
14380
14381 Thu Oct 14 04:51:14 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14382
14383 * Don't use Errno module but the POSIX module, since that *is*
14384 in perl-*-base
14385 * Fixup debian/rules
14386
14387 Thu Oct 14 04:39:25 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14388
14389 * Update dpkg manpage to add new --force-conf* options
14390
14391 Thu Oct 14 04:16:25 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14392
14393 * Reinstate patch to not read available-file with doing listfiles.
14394 * Don't forget to get the correct SHELL before showing a diff of
14395 conffiles!
14396 * Merge a patch from Ben Collins to add a bunch of --force options
14397 to handle changed conffiles
14398
14399 Thu Oct 14 03:37:52 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14400
14401 * Add mips to archtable
14402 * Use Errno module to get ENOENT instead of hardcoding it
14403
14404 Thu Oct 14 02:47:40 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14405
14406 * Fix C error we introduced in checkpath() earlier
14407
14408 Wed Oct 13 20:41:16 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14409
14410 * Update oldfile-check in process_archive so we don't experience
14411 memory corruption
14412
14413 Wed Oct 13 17:51:17 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14414
14415 * Merge patches from Ben Collins <bcollins@debian.org>:
14416 + fix windowresizing in dselect
14417 + when upgrading check if a file is not also in the new package before
14418 removing it, so we don't remove new files due to symlinks confusing us
14419 + fix logic error in checkforremoval: it was breaking cycles in for the
14420 wrong package
14421 + fix findbreakcycle to remove cycles even for packages we are not changing
14422
14423 Mon Oct 11 22:19:01 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14424
14425 * Add the option to show a diff of the old and new conffile when
14426 configuring a package
14427
14428 Tue Oct 12 17:15:08 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14429
14430 * don't die if we can't open a package in dpkg-scanpackages, just print
14431 a warning and skip the package.
14432
14433 Mon Oct 11 18:18:25 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14434
14435 * Move dselect into its own package
14436
14437 Mon Oct 11 17:37:47 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14438
14439 * Added support for HURD to start-stop-daemon
14440 * Create new directory utils/ for extra C-programs, and move
14441 start-stop-daemon there.
14442
14443 Mon Oct 11 15:47:18 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14444
14445 * Preparation to move start-stop-daemon from scripts to utils
14446 * Merge patches from Ben Collins <bcollins@debian.org>:
14447 + modify removal_bulk to remove conffiles when purging a package before we
14448 remove its directories.
14449 + check if we violate conflicts/depends/pre-depends of other packages when
14450 processing an archive.
14451
14452 Mon Oct 11 02:13:15 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14453
14454 * Merge patch from Ben Collins <bcollins@debian.org> to make dpkg-deb
14455 handle packages created with Linux ar.
14456
14457 Thu Oct 7 01:16:23 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14458
14459 * Check if sequencecode is between 0 and 99 instead of just checking
14460 for a number in update-rc.d
14461
14462 Wed Oct 6 14:40:33 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14463
14464 * Lock complete lockfile for database: it's empty anyway, and Hurd
14465 doesn't support partial locks currently
14466 * Don't use PATH_MAX but allocate necessary memory in checkpath().
14467 Useful for system that don't have PATH_MAX (like Hurd)
14468
14469 Tue Oct 5 19:16:38 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14470
14471 * Set docdir to $(datadir)/doc
14472 * Install /etc/emacs/site-start.d/50dpkg-dev.el with mode 644
14473
14474 Tue Oct 5 04:08:41 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14475
14476 * Make /usr/share/doc/dpkg-dev a symlink to /usr/share/doc/dpkg
14477
14478 Mon Oct 4 15:38:42 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14479
14480 * Update GPL and documentation location in debian/copyright
14481
14482 Sat Oct 2 16:00:38 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14483
14484 * Update deb.5 to say it's in section 5, not 8
14485
14486 Tue Sep 28 13:38:50 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14487
14488 * Make dpkg-source work again on empty diffs, patch from Roman Hodek
14489 <Roman.Hodek@informatik.uni-erlangen.de>
14490
14491 Tue Sep 28 01:14:14 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14492
14493 * Fix typo in dpkg-buildpackage that broke signing if only -sgpg was given
14494
14495 Mon Sep 27 04:25:32 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
14496
14497 * Change changelog-style for ChangeLog, the package-style doesn't work
14498 well for CVS IMHO.
14499 * Merged patch from Adam Heath <doogie@debian.org> to make update-alternatives.pl
14500 work across filesystems
14501
14502 dpkg (1.4.1.12) unstable; urgency=low
14503
14504 * Non-maintainer release.
14505 * Fix typo in chmodsafe_unlink that made dpkg chmod files that
14506 weren't setuid or setgid
14507
14508 -- Wichert Akkerman <wakkerma@debian.org> Sun, 26 Sep 1999 02:41:30 +0200
14509
14510 dpkg (1.4.1.11) unstable; urgency=low
14511
14512 * Non-maintainer release.
14513 * Added sparc64 to archtable
14514 * Added entries for newer alpha architectures to the archtable
14515 * Always run patch and diff with LANG set to C.
14516 * Handle diff warning for files with no newline at the end of file
14517 Closes: Bug#45642
14518
14519 -- Wichert Akkerman <wakkerma@debian.org> Fri, 24 Sep 1999 03:23:54 +0200
14520
14521 dpkg (1.4.1.10) unstable; urgency=low
14522
14523 * Non-maintainer release.
14524 * Build dpkg-scansources manpages using pod2man
14525 * dpkg-buildpackage changes:
14526 + fix signinterface-detection
14527 + use gpg by default if $HOME/.gnupg/secring.gpg exists
14528
14529 -- Wichert Akkerman <wakkerma@debian.org> Thu, 16 Sep 1999 15:36:43 +0200
14530
14531 dpkg (1.4.1.9) unstable; urgency=low
14532
14533 * Non-maintainer release.
14534 * Updated dpkg-scansources to current version from Roderick Schertler
14535 * Update location of GPL in internals-manual
14536 * Update location of GPL and dpkg copyright in all manpages
14537 * Include patch from Roman Hodek for dpkg-source to handle diffs of files
14538 with lines that begin with two dashes.
14539 * Move dpkg-scansources to dpkg-dev package
14540 * Move dpkg-scansources manpage to section 8
14541 * Fix error that moved a lot of manpages to the dpkg package.
14542 * It looks like not reading the available-file for listfiles was not greeted
14543 with much enthiousiasm, so reverse the change.
14544
14545 -- Wichert Akkerman <wakkerma@debian.org> Wed, 15 Sep 1999 03:45:07 +0200
14546
14547 dpkg (1.4.1.8) unstable; urgency=low
14548
14549 * Non-maintainer release.
14550 * Merge dpkg-doc-ja
14551 * Add patch from Raphaël Hertzog <rhertzog@hrnet.fr> for dpkg-scansources
14552 to skip comments in signatures. This allows packages to also use GnuPG.
14553
14554 -- Wichert Akkerman <wakkerma@debian.org> Mon, 13 Sep 1999 04:16:33 +0200
14555
14556 dpkg (1.4.1.7) unstable; urgency=low
14557
14558 * Non-maintainer release.
14559 * Use /usr/share/doc
14560 * Merge changes from dpkg-iwj tree:
14561 + change section in dpkg-deb.1 to 1
14562 + Use COPYINGFILE instead of hardcoded GPL-location in showcopyright()
14563 + varbufprintf (used for some error messages) vsnprintf return value
14564 assumption changed to correspond to reality rather than glibc-doc.
14565 + Don't read available-info when not needed (slightly improved from
14566 dpkg-iwj: don't read for listfiles either :)
14567 + Cleanup --assert-* code
14568 + Assume largemem on systems without sysinfo(2).
14569 + modify preexec-script for easier script execution
14570 + Do not chmod(".../path/to/symlink",0600) causing many bad perms.
14571 + Sanity-check numbers for parameters
14572 + Move some logic from process_archive into wantinstall
14573 + Print '0' in dpkg-scanpackages if no packages found.
14574
14575 -- Wichert Akkerman <wakkerma@debian.org> Fri, 10 Sep 1999 04:06:32 +0200
14576
14577 dpkg (1.4.1.6) unstable; urgency=low
14578
14579 * Non-maintainer release.
14580 * scripts/dpkg-architecture.pl: Update to latest version.
14581 * scripts/dpkg-architecture.1: Likewise.
14582
14583 -- Marcus Brinkmann <brinkmd@debian.org> Sat, 24 Jul 1999 18:24:21 +0200
14584
14585 dpkg (1.4.1.5) unstable; urgency=low
14586
14587 * Non-maintainer release.
14588 * (dpkg-dev): Use emacsen-common for debian-changelog-mode.el
14589 (closes:Bug#20776,#31030).
14590 * Removed references to the packaging and policy manuals from debian/control.
14591 * Put debian-changelog-mode.el in dpkg-dev and remove from dpkg (closes:Bug#29271).
14592 * Fix paths in 50dpkg-dev.el using Roderick Schertler's patch
14593 (closes:Bug#28270,#29702,#26876,#29184,and others).
14594 * Note that bug number 17367 was fixed in 1.4.0.26.
14595 * Add Zack Weinberg's install-info patch for GNU install-info
14596 compatibility (closes:Bug#28965).
14597 * Add dpkg-architecture stuff from Marcus Brinkmann.
14598 * Remove debian-keyring suggests from dpkg.
14599 * Add -k<keyid> flag to dpkg-buildpackage.
14600 * --textmode works in gpg, remove kluge from dpkg-buildpackage.
14601 * Cleanup configure.in slightly (stop using tl_ macros, fix gettext stuff).
14602 * Attempt to make Debian source useful for non-Debian systems
14603 (i.e. distclean tree instead of maintainer-clean tree).
14604 * Sync with wichert's 1.4.1.4.
14605 * Add my ltconfig-1.3.2.diff (RPATH workaround).
14606 * Add dpkg-scansources program and man page.
14607 * Man pages in /usr/share/man.
14608
14609 -- Joel Klecker <espy@debian.org> Tue, 13 Jul 1999 18:12:15 -0700
14610
14611 dpkg (1.4.1.4) unstable; urgency=low
14612
14613 * Also change developer-keyring to debian-keyring for dpkg-dev package
14614 * Include spanish translation from Nicolás Lichtmaier <nick@debian.org>
14615 * Depend on perl5 instead of perl
14616
14617 -- Wichert Akkerman <wakkerma@debian.org> Mon, 5 Jul 1999 00:04:14 +0200
14618
14619 dpkg (1.4.1.3) unstable; urgency=low
14620
14621 * Modify tarobject() so it does not complain if we are creating a
14622 directory that replaces a removed file. This works around the
14623 problem that the filedatabase doesn't remember what filetype a
14624 file was by assuming it already was a directory
14625
14626 -- Wichert Akkerman <wakkerma@debian.org> Mon, 31 May 1999 23:49:23 +0200
14627
14628 dpkg (1.4.1.2) unstable; urgency=low
14629
14630 * Non-maintainer upload
14631 * Rebuild, so this is glibc2.1 (unless you're on m68k), which is rumoured
14632 to also fix the i8n-problems.
14633 * Incorporate 1.6 format of .changes, patch from Guy Maor
14634 * Fix bug in section-handling of dpkg-scanpackages, patch from Guy Maor
14635 * Disable force-overwrites again, since we're in unstable
14636 * Assume largemem on systems for which sysinfo is not available, Bug# 33658
14637
14638 -- Wichert Akkerman <wakkerma@debian.org> Wed, 26 May 1999 15:50:17 +0200
14639
14640 dpkg (1.4.1.1) unstable; urgency=low
14641
14642 * Non-maintainer upload
14643 * Install emacs-startup scripts with mode 0644 (lintian)
14644 * Incorporate changes in NMU 1.4.0.32 made by Vincent Renardias
14645 <vincent@waw.com> for slink:
14646 + Apply patch from Jim Pick for update-alternatives.pl to
14647 fix 'Important' bugs #30891 in dpkg and (#27382, #27383, #27696,
14648 #27703, #27736, #27097(merged bugs)) in jdk1.1.
14649 * Incorporate changes in NMU 1.4.0.33 made by me for slink:
14650 + Fix illegal perl construct (Bug# 30985)
14651 + Initialize oialtname->useinstead and oicontest->camefrom to 0 (Bug# 30397)
14652 + Update shlibs.default for libncurses 4 (Bug# 30332)
14653 + Suggest debian-keyring instead of developer-keyring (Bug# 27376, 30248)
14654 + Abort dpkg-divert when attempting to divert a directory (Bug# 30126)
14655 + Make dpkg-deb.1 aware that it is in section 1, not 8
14656 + Fix section in reference to dpkg-deb in dpkg.8 (Bug# 29740)
14657 + Fix typo in --force-help (Bug# 26193)
14658 + Correct path for debian-changelog-mode.el (Bug# 24606)
14659 + Make disk-method for dpkg use /var/run instead of /tmp to fix
14660 symlink-attacks (Bug# 21399)
14661 + Document -n and -f options for update-rc.d in manpage (Bug# 15913)
14662 + Add --abort-after option to change after how many errors we abort and
14663 change the default to 50 (Bug# 22940)
14664 + Fix controllib.pl: don't check debian/substvars unless needed, and
14665 don't depend on language settings (Bug# 31508)
14666 + Allow a - in the architecture-field (Bug# 25537)
14667
14668 -- Wichert Akkerman <wakkerma@debian.org> Mon, 1 Feb 1999 00:44:01 +0100
14669
14670 dpkg (1.4.1) unstable; urgency=low
14671
14672 * Maintainer release by IWJ.
14673 * Changed Maintainer: field description.
14674 * Various changes to make the damn thing build.
14675 * Add .cvsignore files.
14676
14677 -- Ian Jackson <ian@davenant.greenend.org.uk> Sun, 1 Nov 1998 17:33:38 +0000
14678
14679 dpkg (1.4.0.31) unstable; urgency=low
14680
14681 * dpkg/processarc.c: Make newfileslist static like the other arguments
14682 for register_cleanup's cu_* functions.
14683 * N-th fix for controllib.pl (simulate old behavior by trying stdin,
14684 stdout, and stderr for getlogin()).
14685 * Enable --force-overwrite for slink release, and comment where to do
14686 so (dpkg/main.c).
14687 * Recompile against ncurses4.
14688
14689 -- Daniel Jacobowitz <dan@debian.org> Thu, 22 Oct 1998 17:37:23 -0400
14690
14691 dpkg (1.4.0.30) unstable; urgency=low
14692
14693 * dpkg-dev isn't allowed to have a Recommends: debian-keyring (as that's
14694 in contrib), so it's now lowered to a Suggests: . Thanks to James Troup
14695 for pointing this out.
14696
14697 -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sat, 26 Sep 1998 13:59:23 +0200
14698
14699 dpkg (1.4.0.29) unstable; urgency=low
14700
14701 * For now, prefer PGP over GPG.
14702
14703 -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Tue, 22 Sep 1998 09:38:09 +0200
14704
14705 dpkg (1.4.0.28) unstable; urgency=low
14706
14707 * Added gpg (GNU Privacy Guard) support:
14708 * scripts/buildpackage.sh: default to GPG (unless no GPG, but only a PGP
14709 secret key file is found), as GPG, unlike PGP, is DFSG-free.
14710 * Updated dpkg-source(1), and added gpg(1) and pgp(1) to the SEE ALSO
14711 section.
14712 * Worked around broken textmode implementation in GPG.
14713 * dpkg-dev now Suggests: gnupg .
14714 * No longer includes developer-keys.pgp . Instead, dpkg now Suggests: and
14715 dpkg-dev now Recommends: developer-keyring.
14716 * Compiled with latest libstdc++ (2.9).
14717
14718 -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Mon, 21 Sep 1998 13:17:14 +0200
14719
14720 dpkg (1.4.0.27) unstable; urgency=low
14721
14722 * REALLY fixed dpkg-dev, and new attempt to placate installer on internals.
14723
14724 -- Daniel Jacobowitz <dan@debian.org> Fri, 27 Jul 1998 15:58:04 -0400
14725
14726 dpkg (1.4.0.26.0.1) unstable; urgency=low
14727
14728 * Binary-only upload for x86 and fixed dpkg-dev
14729
14730 -- Daniel Jacobowitz <dan@debian.org> Fri, 24 Jul 1998 15:58:04 -0400
14731
14732 dpkg (1.4.0.26) unstable; urgency=low
14733
14734 * Non-maintainer upload.
14735
14736 * Make --root work with maintainer scripts (Patch by Scott Barker,
14737 bugs #4863 and #3170).
14738 * Fix $(lispdir) bug if compiling without emacs (noticed by Joey Hess).
14739
14740 -- Daniel Jacobowitz <dan@debian.org> Thu, 23 Jul 1998 12:02:04 -0400
14741
14742 dpkg (1.4.0.25) unstable; urgency=low
14743
14744 * Non-maintainer upload.
14745
14746 * Add the requested -nc option to dpkg-buildpackage (Do
14747 not clean source tree, useful in debugging cycles).
14748 * controllib.pl: Again by popular acclamation, fix the getlogin() warnings.
14749 I redirected STDERR onto fd 0 before calling getlogin().
14750 * tools.m4: Fix display of whether c++ works.
14751 * dpkg-deb/extract.c: glibc 2.1 and some kernels want to make
14752 fflush() move the current fpos. Until someone can fix that,
14753 protect with seek.
14754 * Add an extra 0, to dselect/{pkg,meth}keys.cc so it compiles again.
14755 * Start using lchown() if available.
14756 * Really fix #20353. (aclocal.m4 was the wrong place; that's a generated
14757 file. The correct place is in tl_canon.m4.)
14758
14759 -- Daniel Jacobowitz <dan@debian.org> Tue, 21 Jul 1998 03:14:14 -0400
14760
14761 dpkg (1.4.0.24) unstable; urgency=low
14762
14763 * Non-maintainer upload.
14764
14765 * dpkg/main.c: Turn --force-overwrite off as default.
14766 * dpkg/main.c: don't list --force-overwrite as default in --force-help,
14767 noticed by Peter Weiss <Peter.Weiss@Informatik.Uni-Oldenburg.DE> and
14768 others. [#23542, part of #17409].
14769 * dpkg/dpkg.8: replaced with a newer version from Jim Van Zandt
14770 <jrv@vanzandt.mv.com>. [#21061]
14771
14772 * dpkg-deb/build.c (do_build): add missing \n and improve error message
14773 when conffile name is too long. [#7057]
14774
14775 * scripts/update-alternatives.8: replaced with better man page from
14776 Charles Briscoe-Smith <cpb4@ukc.ac.uk>. [#17283]
14777 * scripts/dpkg-source.1: corrected logic error in documentation for
14778 dpkg-gencontrol's -p option, as noticed by Oliver Elphick
14779 <olly@linda.lfix.co.uk>. [#14655]
14780 * scripts/controllib.pl (findarch): correct typo in error message,
14781 noticed by Yann Dirson <ydirson@a2points.com>. [#22106]
14782 * scripts/dpkg-buildpackage.sh: fix typo for 'source maintainer',
14783 noticed by Joey Hess <joey@kite.ml.org>, Adam P. Harris
14784 <apharris@onshore.com> and others. [#10175, #15559]
14785 * scripts/dpkg-genchanges.pl: applied patch from Roman Hodek
14786 <Roman.Hodek@informatik.uni-erlangen.de> which solves problems with
14787 architecture specific packages in mostly architecture independent
14788 multi-binary source packages. [#14341, #20192].
14789
14790 * doc/Makefile.am: remove any reference to the packaging manual, as it is
14791 now provided by the separate "packaging-manual" package.
14792 * doc/packaging.sgml: removed.
14793 * doc/developer-keys.pgp: updated to the current debian keyring.
14794
14795 * aclocal.m4: applied patch from Joel Klecker <jk@espy.org> to handle
14796 egcs' --print-libgcc-file-name output. [#20353]
14797
14798 * debian/copyright: correct FSF address.
14799 * debian/rules: add code from lesstif's debian/rules to make libtool
14800 less of a fool (i.e. not use -rpath and to link shared libraries
14801 against libraries it depends on). Code by Richard Braakman
14802 <dark@xs4all.nl> and Yann Dirson <dirson@debian.org>.
14803 * debian/rules: remove all reference to the packaging manual as it is
14804 now provided by the separate "packaging-manual" package. [#21581,
14805 #21186, #22698, #23342]
14806 * debian/rules: link dpkg-divert.1.gz to undocumented.7.gz as the lack
14807 of a real manpage has been reported in #11093.
14808 * debian/README.compile: removed gawk and bogus comment about gettext
14809 being in experimental, as reported by Santiago Vila <sanvila@unex.es>
14810 [#23344]. Added libpaperg (debiandoc2ps needs paperconf).
14811 * debian/shlibs.default.i386: updated for glibc, reported by Herbert Xu
14812 <herbert@gondor.apana.org.au>. [#13140]
14813 * debian/control (dpkg-dev): depend on perl as POSIX (not a part of
14814 perl-base) is needed by most of the perl dpkg-* scripts, noticed by
14815 Joel Klecker <jk@espy.org>. [#22115]
14816
14817 -- James Troup <jjtroup@comp.brad.ac.uk> Wed, 24 Jun 1998 14:38:52 +0200
14818
14819 dpkg (1.4.0.23.2) frozen unstable; urgency=low
14820
14821 * Non-maintainer upload.
14822 * dpkg/main.c: Turn --force-overwrite back on as default.
14823
14824 -- James Troup <jjtroup@comp.brad.ac.uk> Tue, 23 Jun 1998 22:19:26 +0200
14825
14826 dpkg (1.4.0.23.1) frozen unstable; urgency=low
14827
14828 * No real changes, only a new version code to make this go to frozen too.
14829
14830 -- Nils Rennebarth <nils@debian.org> Wed, 10 Jun 1998 17:29:58 +0200
14831
14832 dpkg (1.4.0.23) frozen unstable; urgency=low
14833
14834 * Non-maintainer bug-fix release
14835 * Update the disk method to the hamm directory structure (Bug#21000)
14836
14837 -- Nils Rennebarth <nils@debian.org> Sun, 7 Jun 1998 19:14:51 +0200
14838
14839 dpkg (1.4.0.22) frozen unstable; urgency=medium
14840
14841 * Non-maintainer bug-fix release
14842 * Install main changelog file as `changelog.gz' instead of
14843 `changelog.dpkg.gz' (Debian Policy, section 5.8) (Bug#6052,15157)
14844 * Avoid use of /tmp/*.$$ in preinst and postinst (Bug#19712)
14845 * Make sure diversions file is always created with mode 0644 (Bug#19494)
14846 * When removing a file, chmod it to 000 if it's a char or block
14847 device or remove its s[ug]id bits, if any (Bug#6006)
14848 * Minor fixes in the programmer's manual (Bug#6206)
14849 * Always create readable status and available files
14850 (Bug#9869,11887,14636,15786,19146)
14851 * Make dpkg-gencontrol honour -DArchitecture=xxxx (Bug#9893)
14852 * Allow different archs for the same binary in debian/files (Bug#9894)
14853 * Added workaround in /usr/lib/dpkg/methods/disk/setup
14854 to avoid bash warning (Bug#10111,10131)
14855 * Recognize old .deb packages with other locales (Bug#12232)
14856 * Added `SHELL=bash' to debian/rules: it uses bash-specific structs
14857 * Move some files from dpkg to dpkg-dev (part of Bug#13295)
14858 * Minor fix in packaging manual regarding to Standards-Version (Bug#14696)
14859 * Fixed --altdir and --admindir in update-alternatives (Bug#15332)
14860 * Strip /usr/lib/libdpkg* (Bug#15671)
14861 * dpkg: send output of --help, --force-help and -Dhelp to stdout
14862 (Bug#16051,18574)
14863 * send correct signals with start-stop-daemon (Bug#17258)
14864 * Make `dpkg-divert --test --remove' work as expected (Bug#19531)
14865 * Determine properly the architecture if gcc is egcs (Bug#20353)
14866
14867 -- Juan Cespedes <cespedes@debian.org> Sun, 5 Apr 1998 17:37:01 +0200
14868
14869 dpkg (1.4.0.21) unstable; urgency=low
14870
14871 * Non-maintainer release to include a new update-rc.d
14872 * Fixed date on files in the archive from 2017 and 2018 by running
14873 touch foo; find . -newer foo | xargs -r touch; rm foo
14874 * Changed start-stop-daemon message "No <program> found; none killed." to
14875 "No <program> found running; none killed."
14876
14877 -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 5 Mar 1998 14:19:46 +0100
14878
14879 dpkg (1.4.0.20) unstable; urgency=low
14880
14881 * Disabled --force-overwrites.
14882 * Removed core file from source
14883
14884 -- Michael Alan Dorman <mdorman@debian.org> Tue, 9 Jan 1998 03:34:28 -0500
14885
14886 dpkg (1.4.0.19) unstable; urgency=low
14887
14888 * Changed methods/disk.setup to use output of
14889 'dpkg --print-installation-architecture' instead of hard-coded
14890 '1386' (fixes #10995).
14891 * Patched dpkg-source to properly quote metacharacters in strings
14892 before using them in pattern-matching expressions (fixes #10811).
14893 * Fixed several documentation typos (fixes #10764).
14894 * dpkg-source now works around 100-character filename limitation of cpio
14895 (fixes #10400).
14896 * dpkg-source now properly handles '\ no newline in source' message from
14897 patch (fixes #5041).
14898
14899 -- Klee Dienes <klee@debian.org> Sun, 13 Jul 1997 19:28:22 -0700
14900
14901 dpkg (1.4.0.18) unstable; urgency=low
14902
14903 * dpkg-source now uses new -z option to GNU patch (still needs to be
14904 changed to detect and use old version as well) (fixes #9904, #10005, #10007).
14905 * Added i686 to archtable.
14906 * shlibs.default now uses xlib6 instead of elf-x11r6lib (fixes #9926).
14907 * debian-changelog-mode now uses interruptible completing type-in fields
14908 instead of the previous 'select-a-letter method'. I consider this
14909 better and more standard than the previous way, but I'd welcome
14910 opinions to the contrary. Consider this a 'probationary' change for
14911 now (fixes #9873, #9874).
14912
14913 -- Klee Dienes <klee@debian.org> Sun, 25 May 1997 09:56:08 -0400
14914
14915 dpkg (1.4.0.17) unstable; urgency=low
14916
14917 * All of the dpkg binaries (but not dpkg-dev or dselect) now speak
14918 french, thanks to patches from Christophe Le Bars <clebars@teaser.fr>
14919 * Fix leading spaces before day in 822-date.
14920 * Changes from Tom Lees <tom@lpsg.demon.co.uk> to better support
14921 building on non-Debian systems; minor Makefile fixes.
14922 * Added 'ppc powerpc powerpc' to archtable.
14923 * Changed documentation paper size to US/Letter instead of A4 (A4
14924 may be better, but it's easier to print US/Letter on A4 than it is
14925 to print A4 on US/Letter).
14926
14927 -- Klee Dienes <klee@debian.org> Tue, 13 May 1997 15:24:31 -0400
14928
14929 dpkg (1.4.0.16) experimental; urgency=low
14930
14931 * Added generated sources to GNU-format source archive so it no longer
14932 requires perl to build.
14933
14934 -- Klee Dienes <klee@debian.org> Sat, 10 May 1997 17:34:29 -0400
14935
14936 dpkg (1.4.0.15) experimental; urgency=low
14937
14938 * Changed dpkg-genchanges to check for ($arch == $substvar{'Arch'}), not
14939 ($arch ne 'all') (fixes #9688).
14940 * Fixed bug in start-stop-daemon.c (was using optarg after argument
14941 parsing was over) (fixes #9597, #9603, #9364).
14942 * Provide 50dpkg-dev.el for xemacs as well as emacs.
14943 * Explicitly provide path for debian-changelog-mode in 50dpkg-dev to use
14944 .el file as workaround until xemacs can read emacs19 .elc files.
14945 * Pass top_distdir explicitly to 'make dist' to accommodate bug in
14946 automake_1.1o-1.
14947 * Fix debian/build to make html documentation without including
14948 directories in tar archives (fixes #9348).
14949
14950 -- Klee Dienes <klee@debian.org> Fri, 9 May 1997 13:17:18 -0400
14951
14952 dpkg (1.4.0.14) experimental; urgency=low
14953
14954 * Fixed buglet in install-info.pl (fixes #9438).
14955 * Re-write of update-rc.d.pl, primarily by Miquel van Smoorenburg
14956 <miquels@cistron.nl> (fixes #9434, #9436).
14957 * Renamed "dpkg Programmer's Manual" to "dpkg Internals Manual".
14958
14959 -- Klee Dienes <klee@debian.org> Tue, 6 May 1997 22:01:07 -0400
14960
14961 dpkg (1.4.0.13) experimental; urgency=low
14962
14963 * Fix to start-stop-daemon so that it still takes numeric arguments (had
14964 been broken in 1.4.0.12) (fixes #9598).
14965 * Fix 822-date to sanity-check localtime() output (seconds must be the
14966 same as GMT).
14967 * Patch from Guy Maor <maor@ece.utexas.edu> to dpkg-source.pl to support
14968 pristine (MD5-equivalent) upstream sources.
14969 * Patch from Michael Alan Dorman <mdorman@calder.med.miami.edu> to
14970 update-rc.d.pl to fix handling multiple start/stop entries on a single
14971 line.
14972 * Several fixes to dpkg-genchanges to support -B option (added in
14973 1.4.0.12) (fixes #9340).
14974 * Handle errors from 822-date in debian-changelog-mode.el.
14975 * Changed cl-debian.pl to correctly handle extra whitespace in changelog
14976 datestamps.
14977
14978 -- Klee Dienes <klee@debian.org> Mon, 5 May 1997 18:12:43 -0400
14979
14980 dpkg (1.4.0.12) experimental; urgency=low
14981
14982 * Re-wrote 822-date for clarity and to support timezone offsets >= 12h
14983 (New Zealand in DST is +1300, for example) (fixes #7130).
14984 * Patch from Juergen Menden <menden@morgana.camelot.de> to support
14985 archdependent-only builds (fixes #8912, #9245, #5359).
14986 * Fix archtable entry for powerpc (fixes #8794).
14987 * Strip /sbin/* and /usr/sbin/* in debian/rules (fixes #8853).
14988 * Moved start-stop-daemon to /sbin (fixes #8669).
14989 * Set sharedstatedir and localstatedir for $(MAKE) install in
14990 debian/rules (fixes #8852).
14991 * Fixes for update-rc.d(8) from Jim Van Zandt <jrv@vanzandt.mv.com>
14992 (fixes #8576).
14993 * No longer do variable substitutions when generating change file (fixes
14994 #5862).
14995 * Support symbolic signal names in start-stop-daemon (fixes #7715).
14996 * Add autoload for debian-changelog-mode to /etc/emacs/site-start.d
14997 (fixes #4519, #5841).
14998 * Add recommendation for gcc and make in dpkg-dev (gcc is needed for dpkg
14999 --print-architecture, used by dpkg-gencontrol; make is needed for any
15000 debian/rules file) (fixes #8470).
15001 * Minor changes to packaging manual section on source package
15002 conversion (fixes #6801).
15003 * Renamed "programmer's manual" to 'packaging manual'.
15004 * Start of new "programmer's manual" containing information on dpkg
15005 internals and build information. This manual uses the new
15006 TeXinfo-SGML format, currently included in doc/.
15007 * dselect/pkgdepcon.cc now checks for debug not NULL, not just depdebug.
15008 * Changed makefiles to support building outside of source directory.
15009 * Include GNU-format source distribution with other non-debian packages.
15010
15011 -- Klee Dienes <klee@debian.org> Sun, 4 May 1997 11:08:19 -0500
15012
15013 dpkg (1.4.0.11) experimental; urgency=low
15014
15015 * Patches for alpha and libc6 from Michael Alan Dorman
15016 <mdorman@calder.med.miami.edu>.
15017 * Fixed minor problems in dpkg-shlibdeps regular expressions for libc6.
15018 * Fix regex to detect directory creation in dpkg-source.pl.
15019 * Minor changes for automake-1.1n.
15020
15021 -- Klee Dienes <klee@debian.org> Sun, 23 Mar 1997 18:09:33 -0500
15022
15023 dpkg (1.4.0.10) unstable; urgency=medium
15024
15025 * Fixed bug in controllib.pl (@fowner was entire passwd entry,
15026 not just [uid, gid] as it should have been).
15027
15028 -- Klee Dienes <klee@debian.org> Thu, 20 Mar 1997 13:06:52 -0500
15029
15030 dpkg (1.4.0.9) unstable; urgency=low
15031
15032 * Check fputs() return values for (ret >= 0), not (ret != 0) (fixes #7522).
15033 * dpkg-shlibdeps no longer gives error for Java and statically linked
15034 binaries (fixes #4988).
15035 * Change 'details of the old format' to 'details of the new format' in
15036 deb-old.5 (fixes #7605).
15037 * dpkg-source -b now warns (was previously silent) if maintainer changes
15038 create new subdirectories. dpkg-source -x now warns (previously gave
15039 error) if maintainer changes create new subdirectories (partially
15040 fixes #6866, #6671, #5045, #6482).
15041 * Added manual page for start-stop-daemon (8).
15042 * Added C version of start-stop-daemon by
15043 Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl> (fixes #1670).
15044 * Converted to use GNU automake for the build process by Tom Lees
15045 <tom@lpsg.demon.co.uk>.<
15046 * Preliminary support for dpkg functions as a shared library (now
15047 provides libdpkg.so, but much work needs to be done in better
15048 segregating and defining the interface).
15049 * Preliminary internationalization support by Galen Hazelwood
15050 <galenh@debian.org>. Only the library, dpkg-deb, md5sum, and dpkg
15051 have been converted so far. No translations have yet been
15052 constructed.
15053 * Handle 'libc.so.6 => /lib/libc.so.6 (0x40010000)' format from libc6
15054 ldd (fixes #7603, #7926, #8688, #9179, #9134, #8516).
15055 * Removed policy.sgml (it has been moved to the debian-policy package).
15056 * Include patch from Darren Stalder <torin@daft.com> for
15057 dpkg-buildpackage to choose PGP key based on Maintainer: field of
15058 package being built (or -m<maintainer> option, if present) (fixes
15059 #7898).
15060 * Changed controllib.pl to use $ENV{LOGNAME}, getlogin(), and $<
15061 (in that order) to determine the intended ownership of
15062 debian/{files,substvars}, (fixes #7324, #6823, #5659, #5965, #5929,
15063 #9239, #5366).
15064 * Don't sign .dsc file in dpkg-buildpackage if building a binary-only
15065 release (fixes #7260).
15066 * Updated developer-keys.pgp to latest revision (fixes #6134).
15067
15068 -- Klee Dienes <klee@debian.org> Mon, 17 Mar 1997 16:11:24 -0500
15069
15070 dpkg (1.4.0.8) unstable; urgency=medium
15071
15072 * Corrected update-rc.d for bash 2.0
15073 * Updated developer-keys.pgp from
15074 http://www.iki.fi/liw/debian/debian-keyring.tar.gz
15075
15076 -- Guy Maor <maor@ece.utexas.edu> Mon, 3 Feb 1997 04:05:01 -0600
15077
15078 dpkg (1.4.0.7) stable unstable; urgency=HIGH
15079
15080 * Fixed --assert-support-predepends failing between unpack & configure.
15081 * Added --assert-working-epoch option.
15082
15083 -- Guy Maor <maor@ece.utexas.edu> Sat, 25 Jan 1997 23:02:11 -0600
15084
15085 dpkg (1.4.0.6) stable unstable; urgency=high
15086
15087 * Patched lib/vercmp.c to hopefully fix dselect epoch processing
15088 (Bug#6204), (Bug#4590).
15089 * Patched scripts/dpkg-buildpackage, scripts/dpkg-genchanges,
15090 scripts/dpkg-gencontrol for epoch processing, courtesy of Loic Prylli
15091 <lprylli@graville.fdn.fr> (Bug#6138, Bug#5225).
15092 * Patched dpkg-genchanges to actually honor the -u switch to specify
15093 directory (Bug#5564).
15094 * Applied patch to main/archive.c to correct problems setting set[gu]id
15095 binaries, courtesy of Herbert Xu <herbert@greathan.apana.org.au>
15096 (Bug#5479).
15097 * Applied patch to dpkg-source to correct debian-only package names,
15098 courtesy of Guy Maor <maor@ece.utexas.edu> (Bug#5355).
15099
15100 -- Michael Alan Dorman <mdorman@calder.med.miami.edu> Thu, 2 Jan 1997 11:36:09 -0500
15101
15102 dpkg (1.4.0.5) stable frozen unstable; urgency=medium
15103
15104 * Distribution for frozen too.
15105
15106 -- Heiko Schlittermann <heiko@lotte.sax.de> Thu, 5 Dec 1996 09:13:42 +0100
15107
15108 dpkg (1.4.0.4) stable unstable; urgency=medium
15109
15110 * Bug2962 fixed: patch from Ian Jackson applied
15111 (cursor keys won't work after search)
15112 * Manuals 2.1.2.2
15113
15114 -- Heiko Schlittermann <heiko@lotte.sax.de> Fri, 15 Nov 1996 20:21:18 +0100
15115
15116 dpkg (1.4.0.3) unstable; urgency=medium
15117
15118 * dpkg-source -x: created bad permissions (set x-bit for
15119 all files pointed to by a symlink)
15120
15121 -- Heiko Schlittermann <heiko@lotte.sax.de> Fri, 18 Oct 1996 18:32:06 +0200
15122
15123 dpkg (1.4.0.2) unstable; urgency=medium
15124
15125 * dpkg-buildpackage.sh: reverted the quoting change -- (you
15126 should use super, sudo, really, but not su. Or write a wrapper
15127 around su)
15128 * dpkg-buildpackage.sh: passing -m, -C, -v options to dpkg-genchanges
15129 more the way Ian likes ;-)
15130 * dpkg-source.pl: new function deoctify() as replacement for eval()
15131 (turn \ddd into the corresponding character) [rem: probably better
15132 solution would be to convert cpios output names into complete \ddd
15133 representation as well tars output names]
15134 * dpkg-source.pl: fixed 2 typos in failure message on creating
15135 $origtargz.tmp-nest.
15136 * main/main.c: typo for `treat'
15137 * main/enquiry.c: fixed the ignorance for some relations in --compare-versions
15138 * main/enquiry.c: missing version is now handled as described in `dpkg --help'
15139 (or at least as I understood `dpkg --help' PLEASE TRY IT)
15140 * lib/parsehelp.c: fixed parsing of epoch information
15141
15142 -- Heiko Schlittermann <heiko@lotte.sax.de> Sun, 6 Oct 1996 23:27:47 +0200
15143
15144 dpkg (1.4.0.1) unstable; urgency=medium
15145
15146 * dpkg-source: doesn't get screwed up from hardlinks
15147 in the archive now
15148 * dpkg-source: doesn't get screwed up from `unprintable' characters
15149 in file names (e.g. from the kbd package)
15150 * controllib.pl: $varlistvile -> $varlistfile (thanx Karl Sackett)
15151 * dpkg-buildpackage: quoting for $rootcommand (thanx Michael Meskes)
15152 and `eval' as default $rootcommand
15153 * dpkg-*, controllib.pl: created debian/files and debian/substvars
15154 are chown'ed to `getlogin()' and its group
15155 * doc/: mv changed to mv -f
15156 * dpkg-buildpackage: added an option -a for overriding the
15157 architecture in the changes _file_name_
15158 * dpkg-buildpackage: pass -m* -v* .. options to dpgk-genchangelog
15159 * dpkg-name moved to dpkg-dev
15160
15161 -- Heiko Schlittermann <heiko@lotte.sax.de> Sat, 21 Sep 1996 22:06:01 +0200
15162
15163 dpkg (1.4.0) unstable; urgency=low (HIGH for new source format)
15164
15165 * Corrected buffer overrun when dpkg-deb generates filename. (Bug#4467.)
15166 * dpkg-shlibdeps works with DEBIAN/shlibs (thanks Heiko Schlittermann).
15167 * Added libm.so.5 to shlibs.default for i386/m68k.
15168
15169 * Split binary package into two: dpkg and dpkg-dev.
15170 * dpkg-source(1) documents mode and ownership setting during extraction.
15171
15172 * dpkg-scanpackages moved to /usr/bin.
15173 * Include /usr/bin/dpkg-deb, not dpkg-deb.dist; don't rename in scripts.
15174 * Copyright file changed slightly.
15175 * debian-changelog-mode uses magic key substitution strings. (Bug#4419.)
15176 * Changed email address in control file to <ian@chiark.greenend.org.uk>.
15177 * Manuals and own Standards-Version: updated to 2.1.1.0.
15178
15179 -- Ian Jackson <ian@chiark.greenend.org.uk> Thu, 12 Sep 1996 01:13:33 +0100
15180
15181 dpkg (1.3.14) unstable; urgency=low
15182
15183 * dpkg-buildpackage new -tc (clean source tree) option.
15184
15185 * Formatted documentation removed by `make clean' and so not in source.
15186 * Manuals and own Standards-Version: updated to 2.1.0.0.
15187 * Distribute {policy,programmer}.{html.tar,ps}.gz with each upload.
15188
15189 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sun, 1 Sep 1996 20:43:40 +0100
15190
15191 dpkg (1.3.13) unstable; urgency=low (HIGH for building new src X programs)
15192
15193 * X shared libraries added to shlibs.default (=> `elf-x11r6lib').
15194 * dpkg-source tar invocation fixed so that TAPE env var doesn't break it.
15195 * dpkg-source copes better with missing final newline messages from diff.
15196
15197 * dpkg-buildpackage usage message fixed: -si is the default. (Bug#4350.)
15198 * dpkg-source error message about src dir mismatch typo fixed. (Bug#4349.)
15199
15200 * dpkg-source(1) has suggestions for dpkg-buildpackage -r option.
15201 * dpkg-source change date fixed. (Bug#4351.)
15202 * More developers' keys.
15203 * Manual updates, own Standards-Version updated.
15204
15205 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sat, 31 Aug 1996 20:08:18 +0100
15206
15207 dpkg (1.3.12) unstable; urgency=medium
15208
15209 * dpkg prints old version number when upgrading. (Bug#4340.)
15210 * dpkg-deb tries to detect and flag corruption by ASCII download.
15211
15212 * dpkg-genchanges and dpkg-buildpackage say what source is included.
15213
15214 * dpkg-buildpackage passes +clearsig=on to PGP (or pgpcommand). (Bug#4342.)
15215
15216 * dpkg-source prints better error for cpio not honouring -0t.
15217 * control file Suggests cpio >= 2.4.2, rather than just cpio.
15218
15219 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Fri, 30 Aug 1996 15:31:51 +0100
15220
15221 dpkg (1.3.11) unstable; urgency=low
15222
15223 * EBUSY when dpkg removes a directory is only a warning.
15224
15225 * dpkg-genchanges generates sensible warning (not confusing error
15226 about mismatch) for missing Section/Priority in binary packages.
15227
15228 * Added dpkg --print-gnu-build-architecture option.
15229 * shlibs.default for m68k provided, as a copy of i386 version.
15230
15231 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 29 Aug 1996 14:05:02 +0100
15232
15233 dpkg (1.3.10) unstable; urgency=medium
15234
15235 * dpkg-source(1) manpage alias symlinks are not dangling.
15236 * dselect selects things by default if they are installed.
15237 * Added `pentium' as alias for `i386' architecture.
15238 * Added `Suggests: cpio, patch' and explanatory text to Description.
15239 (Bugs #4262, #4263.)
15240
15241 * More developers' PGP keys.
15242 * Manual updates, new source format released.
15243
15244 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Mon, 26 Aug 1996 14:30:44 +0100
15245
15246 dpkg (1.3.9) unstable; urgency=low (high for new source format)
15247
15248 * dpkg --get-selections and --set-selections added.
15249 * New dpkg --force-not-root flag.
15250
15251 * Don't replace directory with another package's file. (Bug#4202.)
15252
15253 * All manpages now installed compressed.
15254 * Copyright file moved to /usr/doc/dpkg/copyright.
15255 * Standards-Version updated (0.2.1.1).
15256
15257 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sat, 24 Aug 1996 19:09:30 +0100
15258
15259 dpkg (1.3.8) unstable; urgency=low (high for new source format)
15260
15261 * dpkg-buildpackage -sa, -si options work correctly.
15262
15263 * update-rc.d(8) updated to reflect design and reality.
15264 * Programmers' and policy manual updates.
15265
15266 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Fri, 23 Aug 1996 12:48:26 +0100
15267
15268 dpkg (1.3.7) unstable; urgency=low (medium for source pkg docs)
15269
15270 * dselect +/-/_/= on lines for all broken, new, local or whatever
15271 packages do not affect _all_ packages. (Bug#4129.)
15272
15273 * Support for diff-only uploads in source packaging tools.
15274 * dpkg-genchanges -d<descripfile> option renamed to -C.
15275 * dpkg-buildpackage understands -m, -v, -C (for dpkg-genchanges).
15276 * Support for debian/shlibs.local added to dpkg-shlibdeps.
15277 * Shared library files' search order defined in dpkg-source(1), and
15278 relevant files added to the FILES section.
15279
15280 * Programmers' manual describes source packaging tools.
15281 * Policy manual mentions shared library control area file.
15282 * dpkg-source manpage includes dpkg-shlibdeps in title line.
15283 * Manuals have changelog and automatic version numbering.
15284 * changelogs (for dpkg and for manuals) installed.
15285 * binary target split into binary-arch and binary-indep in manual.
15286 * Manpages should be compressed.
15287 * Copyright file is moved to /usr/doc/<package>/copyright.
15288 * Changelogs must be installed in /usr/doc/<package>.
15289
15290 * dpkg-deb(8) moved to dpkg-deb(1).
15291
15292 * binary target split into binary-arch and binary-indep in source.
15293 * changelog entry for 1.2.14 copied from that (forked) release.
15294
15295 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 22 Aug 1996 15:36:12 +0100
15296
15297 dpkg (1.3.6) experimental; urgency=low (HIGH for new source format)
15298
15299 * dpkg-source now has broken argument unparsing for tar. (Bug#4195.)
15300
15301 * dpkg-gencontrol writes to debian/tmp/DEBIAN/control by default.
15302 * dpkg-shlibdeps script added.
15303
15304 * Back to old sh update-rc.d, and removed manpage, because new Perl
15305 version and the manpage have different syntax and semantics.
15306 * update-rc.d prints usage message for missing terminal `.'. (Bug#4122.)
15307
15308 * Use rm -rf instead of just rm -r in dpkg-deb --info &c. (Bug#4200.)
15309
15310 * Added support for Installed-Size to dpkg-gencontrol, and documented.
15311 * Source packaging substitution variables and name syntax rationalised.
15312 * dpkg-source scripts' usage messages improved slightly.
15313 * dpkg-source works with non-empty second (orig dir) argument.
15314
15315 * Added rationale for copyright policy to manual.
15316 * More developers' PGP keys.
15317 * Control database handling cleanups (usu. Source field blanked).
15318
15319 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Tue, 20 Aug 1996 15:39:58 +0100
15320
15321 dpkg (1.3.5) experimental; urgency=low (high for debian-changelog-mode)
15322
15323 * 822-date script included. (Bug#4136.)
15324 * debian-changelog-add-version works on empty file.
15325 * debian-changelog-mode mode-help works properly.
15326
15327 * dpkg-source tells patch not to make numbered backups. (Bug#4135.)
15328
15329 * More developers' PGP keys.
15330 * Paragraph on uucp -a and -g options removed from policy manual.
15331
15332 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Wed, 14 Aug 1996 14:46:47 +0100
15333
15334 dpkg (1.3.4) experimental; urgency=low
15335
15336 * Removed debugging output from dpkg-source -x. Oops.
15337 * Removed section on source package permissions from policy manual -
15338 dpkg-source now sorts these out.
15339
15340 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sun, 11 Aug 1996 13:25:44 +0100
15341
15342 dpkg (1.3.3) experimental; urgency=low
15343
15344 * Programmers' & policy manuals in source tree; HTML in /usr/doc/dpkg.
15345 * Old guidelines.info and text files in /usr/doc/dpkg removed.
15346
15347 * dpkg-source sets permissions on extracted debianized source tree
15348 and does not copy ownerships out of archive even if running as root.
15349
15350 * Emacs mode `dpkg changelog' renamed to `Debian changelog'.
15351 * Default changelog format renamed from `dpkg' to `debian'.
15352
15353 * debian-changelog-mode sets fill-prefix correctly.
15354 * debian-changelog-mode urgencies except HIGH lowercase by default.
15355 * debian-changelog-mode displays keymap in doc string and so mode help.
15356
15357 * More maintainers' PGP keys.
15358
15359 * Remove built changelog parsers with `clean' target in source.
15360
15361 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sat, 10 Aug 1996 23:35:51 +0100
15362
15363 dpkg (1.3.2) experimental; urgency=LOW (MEDIUM for dpkg-source)
15364
15365 * Faster update-rc.d written in Perl by Miquel van Smoorenburg.
15366 * install-info --test doesn't lock dir. (Bug#3992, thanks Darren).
15367
15368 * dpkg-source doesn't break in the presence of any symlinks.
15369
15370 * More developers' keys added to doc/developer-keys.pgp.
15371 * Install developers' keys in /usr/doc/dpkg/developer-keys.pgp.
15372 * dpkg-source documents undefined substvar behaviour.
15373 * minor debian/rules cleanups.
15374
15375 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sat, 10 Aug 1996 02:13:47 +0100
15376
15377 dpkg (1.3.1) experimental; urgency=LOW
15378
15379 * manpage for dpkg-source et al now available.
15380 * dpkg-changelog-mode.el installed in site-lisp, but still no autoload.
15381
15382 * dpkg-source prints correct string for not-understood tar -vvt output.
15383 * dpkg-source parsing of tar -vvt output made more robust.
15384
15385 * dpkg-buildpackage prints usage message on usage error.
15386 * dpkg-gencontrol can print usage message.
15387 * -T<varlistfile> option added to dpkg-source.
15388 * Description of -f<fileslistfile> corrected in dpkg-distaddfile usage.
15389 * -m<maintainer> synopsis changed in dpkg-genchanges usage.
15390 * debian/substvars may now contain blank lines.
15391
15392 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 8 Aug 1996 02:36:04 +0100
15393
15394 dpkg (1.3.0) experimental; urgency=LOW
15395
15396 * dpkg can install named pipes.
15397 * dpkg-deb supports directory for destination, generates filename.
15398 * dpkg-{source,gencontrol,genchanges,parsechangelog,buildpackage},
15399 dpkg-distaddfile scripts to support new source package format.
15400 * a.out build no longer supported.
15401 * Changed to new source package format.
15402
15403 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Tue, 6 Aug 1996 02:31:52 +0100
15404
15405
15406 dpkg (1.2.14) stable unstable; urgency=MEDIUM
15407
15408 * dselect +/-/_/= on lines for all broken, new, local or whatever
15409 packages do not affect _all_ packages. (Bug#4129.)
15410
15411 * NOTE - THE HISTORY FORKS HERE. 1.2.14's change appears in 1.3.7.
15412
15413 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 22 Aug 1996 00:39:52 +0100
15414
15415
15416 dpkg (1.2.13) unstable; urgency=LOW
15417
15418 * dpkg --search produces correct output for diversions.
15419 * dpkg-name remove unnecessary arch missing warning. (Bug#3482.)
15420
15421 * dpkg-deb --build warns about uppercase chars in package name.
15422
15423 * dpkg-scanpackages error messages updated and manpage provided
15424 (thanks to Michael Shields).
15425 * dpkg-scanpackages warns about spurious entries in override file.
15426 * dpkg-scanpackages `noverride' renamed to `override' everywhere.
15427 * dpkg-scanpackages field ordering to put Architecture higher.
15428 * dpkg-scanpackages field names capitalised appropriately.
15429 * dpkg-scanpackages invokes find with -follow. (Bug#3956.)
15430
15431 * guidelines say #!/usr/bin/perl everywhere, not #!/bin/perl.
15432 * Many developers' PGP keys added.
15433
15434 * configure script uses ${CC} instead of $(CC) (again :-/).
15435 * developers' keys included in dpkg source tree and /usr/doc.
15436 * configure remade using autoconf 2.10-3 (was 2.4-1).
15437
15438 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 1 Aug 1996 02:46:34 +0100
15439
15440 dpkg (1.2.12); priority=LOW
15441
15442 * dpkg --search and --list understand and comment on diversions.
15443 * dpkg-divert displays diversions more intelligibly.
15444
15445 * Guidelines are somewhat clearer about descriptions.
15446 * deb(5) describes new format; old moved to deb-old(5). (Bug#3435.)
15447 * deb-control(5) carries a warning about being out of date.
15448
15449 * Added 1996 to dselect version/copyright.
15450
15451 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 4 Jul 1996 15:04:49 +0100
15452
15453 dpkg (1.2.11); priority=MEDIUM
15454
15455 * dselect had dependency bug if installed package newer than avail.
15456 * Added `replaces' to dselect's list of package relationship strings.
15457
15458 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Mon, 1 Jul 1996 02:51:11 +0100
15459
15460 dpkg (1.2.10); priority=MEDIUM
15461
15462 * Fixed bug in old-style version/revision number parsing. (Bug#3440.)
15463
15464 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sat, 29 Jun 1996 03:32:45 +0100
15465
15466 dpkg (1.2.9); priority=MEDIUM
15467
15468 * Fixed status database updates reading bug.
15469 * `Setting up' message includes version number.
15470 * `existence check' message changed to say `cannot access archive'.
15471
15472 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 27 Jun 1996 13:39:36 +0100
15473
15474 dpkg (1.2.8); priority=LOW
15475
15476 * dpkg --record-avail puts data in Size field.
15477 * strip / for rmdir(2) in cleanup to work around kernel bug. (Bug#3275.)
15478 * dpkg-split --msdos no longer allows `-' and other chars in filenames.
15479
15480 * manual dpkg-split(8) written.
15481 * dpkg-split minor typo in --auto usage error message fixed.
15482 * dpkg-deb(8) very minor cosmetic fix to --build option.
15483
15484 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Tue, 25 Jun 1996 03:00:14 +0100
15485
15486 dpkg (1.2.7); priority=LOW
15487
15488 * dpkg-scanpackages syntax errors fixed.
15489
15490 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Fri, 21 Jun 1996 04:10:38 +0100
15491
15492 dpkg (1.2.6); priority=MEDIUM
15493
15494 * NFS, CDROM and partition dselect methods include mountpoint
15495 in paths given to dpkg in [I]install, so they should now work.
15496
15497 * Removed some leftover files from source tree.
15498
15499 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Wed, 12 Jun 1996 14:35:19 +0100
15500
15501 dpkg (1.2.5); priority=MEDIUM
15502
15503 * Allow, but do not create, packages in half-installed state
15504 with no version number. (Aargh.)
15505
15506 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Mon, 10 Jun 1996 04:55:43 +0100
15507
15508 dpkg (1.2.4); priority=MEDIUM
15509
15510 * New dpkg-name from Erick (<pkg>_<version>_<arch>.deb convention).
15511 * Disappeared packages can't own conffiles any more ! (Bug#3214.)
15512 * install-info creates Miscellaneous sections with a newline
15513 following the heading. (Bug#3218.)
15514 * cleanup-info script installed in /usr/sbin; called as appropriate
15515 by postinst. Thanks to Kim-Minh Kaplan. (Bug#3125.)
15516 * Allow superseded Essential packages to be purged after they've
15517 been removed (clear the Essential flag on removal, and ignore it
15518 on packages that are in stat_configfiles).
15519
15520 * dselect disk methods understand `y' as well as `yes' for using
15521 development tree.
15522 * dselect doesn't make packages appear as `new' again if update
15523 of available packages fails.
15524 * dselect places method selection cursor over option last selected.
15525
15526 * dpkg-scanpackages doesn't die when repeated packages are found.
15527 * dpkg-scanpackages allows many old maintainers (`//'-separated).
15528
15529 * `Version' field is now mandatory (some operations already
15530 wouldn't work right anyway if it wasn't there).
15531
15532 * update-rc.d(8) now says you must remove the script. (Bug#3215.)
15533 * dpkg --force-help says that --force-overwrite is on by default.
15534 * dpkg-deb manpage rewritten.
15535 * debian.README (= /usr/doc/copyright/dpkg) edited slightly.
15536
15537 * Some database parsing grunge removed (pdb_preferversion, &c).
15538 * Source tree doc/sgml contains some embryonic manuals.
15539 * Leftover files in lib directory in source tree deleted.
15540
15541 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Mon, 10 Jun 1996 03:52:01 +0100
15542
15543 dpkg (1.2.3); priority=HIGH
15544
15545 * install-info doesn't replicate section headings (Bug#3125, #2973).
15546 * New dpkg-name manpage broken off from script (oops!).
15547 * dselect help screens made consistent with new strings, flags, &c.
15548 * dselect error flag column labelled E (Error), not H (Hold).
15549 * `Escape' no longer bound to `exit list without saving' in dselect.
15550
15551 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Tue, 28 May 1996 02:14:57 +0100
15552
15553 dpkg (1.2.2); priority=MEDIUM
15554
15555 * Fixed dselect coredump found by Erick Branderhorst (thanks).
15556 * Sort obsolete removed packages separately, not under Available.
15557
15558 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 23 May 1996 21:31:05 +0100
15559
15560 dpkg (1.2.1); priority=MEDIUM
15561
15562 * `=' key in dselect really does `hold' rather than `unhold'.
15563 * dselect dependency processing now interacts better with `hold'.
15564 * dselect `I' key (not `i') modifies display of the info window.
15565 * dselect shows unavailable packages as being unavailable.
15566 * dselect main menu headings and many other strings changed to try to
15567 discourage people from deselecting every package and using [R]emove.
15568 Notably, `select' changed to `mark' throughout.
15569
15570 * dselect disk methods now print a few fewer double slashes.
15571 * dselect disk access methods will offer to use dpkg --record-avail
15572 to scan the available packages, if no Packages file is found.
15573
15574 * New dpkg --compare-versions option, for the benefit of scripts &c.
15575 * New dpkg --clear-avail option forgets all available packages info.
15576 * New dpkg --print-avail option, prints `available' data (from Packages, &c).
15577 * dpkg usage message is more informative, but no longer fits on screen.
15578 * dpkg --avail option renamed --record-avail.
15579
15580 * Latest dpkg-name from Erick Branderhorst.
15581 * dpkg-scanpackages has more sensible problem reporting.
15582 * postinst configure now gets null argument (not <unknown> or <none>)
15583 when there is no previously configured version.
15584
15585 * Guidelines say that postinst configure is given previous version.
15586 * Guidelines don't refer to maintainer-script-args.txt in main text.
15587 * Guidelines (Texinfo source) uploaded separately.
15588
15589 * Own version of strcpy (used for debugging) removed.
15590 * Interface to access methods document in source (doc/dselect-methods.txt).
15591 * debian.buildscript moves changes file into parent directory.
15592
15593 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Wed, 22 May 1996 01:26:31 +0100
15594
15595 dpkg (1.2.0); priority=MEDIUM
15596
15597 * dselect can sort packages by available and installed states, and
15598 display their version numbers. (Use O, o and V.)
15599 * Hold is properly integrated as a real `wanted state', rather than
15600 a separate flag.
15601 * Epochs in version numbers implemented, using the syntax
15602 <epoch>:<version>-<revision>. (Epoch not usually displayed.)
15603 * dselect disk method is architecture-independent (uses dpkg's
15604 installation architecture, and looks in the right part of the tree).
15605
15606 * dselect disk method doesn't try to satisfy the predependencies of
15607 packages which are on hold.
15608 * Fixed conflict-related assertion failure. (Bug#2784.)
15609 * conffiles do not cause file conflicts if the conflicting package
15610 is in the `configuration only' state. (Bug#2720.)
15611 * Fixed messages where available version number was reported as installed
15612 version in conflict and dependency messages. (Bug#2654, Bug#2974.)
15613
15614 * New format .deb files are default even for a.out compiles (but
15615 a.out version of dpkg is in old format).
15616 * Characters @:= (at colon equals) in package names now strictly
15617 forbidden everywhere (_ is still allowed in existing packages).
15618 * New dpkg --print-installation-architecture option prints installation
15619 architecture (compiled in), rather than build architecture (determined
15620 from gcc -print-libgcc-file-name).
15621
15622 * Version messages show whether compiled a.out or ELF (i386 only).
15623 * Fixed missing space in version syntax error messages.
15624 * Manpage dpkg.8 installed with warning about inaccuracy.
15625
15626 * Guidelines don't say to stop and restart daemons in runlevels 2345;
15627 instead they say to start in 2345 and stop in 016.
15628 * Guidelines and version messages say just Debian Linux.
15629 * Guidelines typo fix for '"stop"'. (Bug#2867.)
15630
15631 * doc/Makefile.in clean properly deletes various guidelines.info* files.
15632
15633 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 16 May 1996 00:01:21 +0100
15634
15635 dpkg (1.1.6); priority=MEDIUM
15636
15637 * Check virtual dependencies when removing (ouch! - thanks SDE.)
15638 * Fixed bug in internal database validity management that could
15639 make dselect and dpkg dump core. (Bug#2613.)
15640 * Fixed two coredumping bugs when using local diversions. (Bug#2804.)
15641 * Fixed disappearance of overwritten packages. (Bug#2696.)
15642 * install-info won't modify dir file before start of menu.
15643 * install-info will create Miscellaneous heading if no sections yet.
15644
15645 * Only alphanums and +-. allowed in package names - enforced by
15646 dpkg-deb --build and documented in Guidelines.
15647 * dselect doesn't display packages unless they are installed, selected
15648 or available.
15649 * dselect doesn't show spurious section and priority headings.
15650 * dselect has a few extra keybindings (from Lee Olds).
15651 * --force message changed to `--force enabled' so that default is OK.
15652
15653 * dpkg-name now includes architecture component in .deb filename,
15654 and translates - in package name to _.
15655 * .deb file has architecture component in filename.
15656
15657 * Guidelines changed to say Pre-Depends is for experts only.
15658 * Guidelines say to provide a unidiff (-u) rather than an old context diff.
15659 * Guidelines say 755 root.root for shared libraries.
15660
15661 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Wed, 1 May 1996 00:47:22 +0100
15662
15663 dpkg (1.1.5); priority=MEDIUM (HIGH for diversions users)
15664
15665 * Fixed coredump when using diversions. (Bug#2603.)
15666 * Fixed typo in dpkg-divert which could lose diversions. (Bug#2662.)
15667
15668 * --force-overwrite is the default.
15669 * diversions.text provides better examples.
15670
15671 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Wed, 10 Apr 1996 13:59:30 +0100
15672
15673 dpkg (1.1.4); priority=MEDIUM
15674
15675 * Allow overwriting of conflicting packages being removed. (Bug#2614.)
15676
15677 * a.out control file says Pre-Depends: libc4 | libc. (Bug#2640.)
15678 * ELF control file and libc dependencies changed to use finalised scheme.
15679 * ELF control file and libc dependencies for i386 only. (Bug#2617.)
15680
15681 * Guidelines say use only released libraries and compilers.
15682 * Install wishlist as /usr/doc/dpkg/WISHLIST.
15683 * Remove spurious entries for Guidelines in info dir file.
15684
15685 * dpkg-deb --build checks permissions on control (DEBIAN) directory.
15686
15687 * Spaces in control file fields not copied by dpkg-split. (Bug#2633.)
15688 * Spaces in split file part control data ignore. (Bug#2633.)
15689
15690 * Portability fixes, including patch from Richard Kettlewell.
15691 * Fixed minor configure.in bug causing mangled GCC -W options.
15692
15693 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 4 Apr 1996 01:58:40 +0100
15694
15695 dpkg (1.1.3); priority=LOW
15696
15697 * dselect disk methods support Pre-Depends installation ordering.
15698 * When dpkg fails and --auto-deconfigure would help it says so.
15699 * dpkg --search output lists several packages with same file on one line.
15700 * Improved dpkg usage message somewhat.
15701
15702 * dpkg-deb --build checks permissions and types of maintainer scripts.
15703 * dpkg-deb --build treats misspecified conffiles as error, not warning.
15704 * dpkg --print-architecture prints compiler's architecture while
15705 dpkg --version (&c) print system's arch (this to help cross-compiling).
15706 * More minor guidelines changes, including dir entry fixup.
15707
15708 * configure script caches more values.
15709 * Changed maintainer email address to ian@chiark.chu.cam.ac.uk.
15710
15711 -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sat, 16 Mar 1996 19:18:08 +0000
15712
15713 dpkg (1.1.2); priority=LOW
15714
15715 * Packaging guidelines installed properly (and as guidelines
15716 rather than debian-guidelines).
15717 * ELF version has more checks to stop you wrecking your dpkg installation.
15718 * dselect disk methods now look for a `local' tree as well, for
15719 people who want locally-available software of various kinds.
15720 * dpkg-divert has debugging message removed.
15721 * Minor guidelines changes.
15722
15723 * Various makefile cleanups, mainly to do with ELF vs. a.out support.
15724 * debian.rules cleans out ~ files itself, as well as calling make clean.
15725 * debian.rules names .nondebbin.tar.gz file ELF too, if appropriate.
15726
15727 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 14 Mar 1996 03:38:29 +0000
15728
15729 dpkg (1.1.1elf); priority=LOW
15730
15731 * Added /usr/lib/dpkg/elf-executables-ok and elf-in-kernel.
15732 * Replaces field now allows automatic removal of conflicting packages.
15733 * Replaces field now required to overwrite other packages' files.
15734 * Architecture field, and dpkg --print-architecture, supported.
15735 * build new format archives by default when compiled with ELF compiler.
15736
15737 * symlinks are now installed atomically (good for shared libraries).
15738 * create /var/lib/dpkg/diversions in postinst if necessary (Bug#2465.)
15739 * Pre-Depends now correctly fails if package never configured.
15740 * dselect disk methods mount with -o nosuid,nodev.
15741 * update-rc.d defaults doesn't add both K and S in any one runlevel;
15742 dpkg postinst fixes up this situation if it sees it.
15743
15744 * Assorted fixups to the Guidelines, which are now in one piece.
15745 * dpkg --list prints version string in one piece.
15746 * dpkg-scanpackages doesn't produce notice on output with list of
15747 packages with Section and/or Priority control file fields.
15748
15749 * control file and debian.rules work both for ELF and non-ELF compiles.
15750 * most files compiled with -O2 (-O3 only for some critical files) -
15751 this fixes ELF build.
15752
15753 -- Ian Jackson <iwj10@cus.cam.ac.uk> Mon, 11 Mar 1996 04:25:28 +0000
15754
15755 dpkg (1.1.0); priority=LOW
15756
15757 * dpkg supports Pre-Depends.
15758 * postinst script gets most-recently-configured version as $2.
15759
15760 * lib/tarfn.c #includes <errno.h> (portability fix).
15761
15762 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 11 Feb 1996 21:07:03 +0000
15763
15764 dpkg (1.0.17); priority=LOW
15765
15766 * dpkg --recursive follows symlinks (useful for devel tree).
15767
15768 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sat, 10 Feb 1996 15:58:46 +0000
15769
15770 dpkg (1.0.16); priority=LOW
15771
15772 * dpkg-deb much faster reading new format archives. (Bug#2256.)
15773 * Developers' documentation in /usr/doc/dpkg/, /usr/info/.
15774
15775 * Fixed typo in control file Description.
15776
15777 * configure script tries to improve matters wrt sysinfo.
15778 * any debian-tmp.deb is deleted by `./debian.rules clean'.
15779
15780 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 4 Feb 1996 15:51:59 +0000
15781
15782 dpkg (1.0.15); priority=LOW
15783
15784 * dselect disk methods should never unmount things they didn't mount.
15785 * debian.README aka /usr/doc/copyright updated.
15786
15787 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 30 Jan 1996 15:05:39 +0000
15788
15789 dpkg (1.0.14); priority=MEDIUM
15790
15791 * fixed file descriptor leak in dpkg introduced in 1.0.11.
15792 * included dpkg-name in this package (conflicts with dpkg-name).
15793
15794 * redraw in dselect main menu changed to use clearok (like in lists).
15795 * sa_restorer in struct sigaction no longer used (portability fix).
15796 * removed Guidelines from source package.
15797
15798 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 30 Jan 1996 02:52:29 +0000
15799
15800 dpkg (1.0.13); priority=MEDIUM
15801
15802 * dselect partition and mounted methods work again.
15803 * dpkg-deb --no-act in usage message.
15804
15805 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 26 Jan 1996 18:37:03 +0000
15806
15807 dpkg (1.0.12); priority=MEDIUM (HIGH for users of 1.0.11)
15808
15809 * Fixed frequent dpkg coredump introduced in 1.0.11. (Bug#2219.)
15810 * dpkg-deb ensures version numbers start with alphanumerics.
15811
15812 -- Ian Jackson <iwj10@cus.cam.ac.uk> Wed, 24 Jan 1996 00:42:31 +0000
15813
15814 dpkg (1.0.11); priority=MEDIUM
15815
15816 * corrected potentially serious problem with dpkg low-memory in-core
15817 files database.
15818 * dpkg-split --msdos puts output files in right directory. (Bug#2165.)
15819
15820 * diversions implemented - see `dpkg-divert --help'.
15821
15822 * dselect shows and uses (for dependencies) currently installed
15823 version of a package if that is more recent.
15824 * dpkg --force-... options are in separate help screen.
15825 * better error messages for corrupted .deb archives. (Bug#2178.)
15826 * dselect NFS method will unmount correct copy of NFS area if mounted
15827 twice.
15828
15829 * removes some ELF compilation warnings.
15830
15831 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 19 Jan 1996 02:41:46 +0000
15832
15833 dpkg (1.0.10); priority=MEDIUM
15834
15835 * dpkg-deb option parsing unmuddled (-I option was removed
15836 in 1.0.9 and broke dpkg-deb). (Bug#2124.)
15837
15838 * dpkg-split will work when ELF `ar' is installed, and is faster.
15839
15840 * nfs dselect method now available.
15841 * disk methods don't prompt spuriously for Packages files.
15842 * cdrom+harddisk methods can find Packages files.
15843
15844 * dpkg-scanpackages (creates Packages files) now in /usr/sbin.
15845
15846 * various changes to help compilation of dpkg-deb, dpkg-split
15847 and md5sum on non-Debian systems.
15848 * <sys/fcntl.h> replaced by <fcntl.h> throughout.
15849
15850 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 14 Jan 1996 02:55:19 +0000
15851
15852 dpkg (1.0.9); priority=MEDIUM
15853
15854 * dselect uninitialized variable coredump fixed (thanks Carl).
15855
15856 * version numbers printed by --version fixed. (Bug#2115.)
15857 * disk method problem with missing Packages files fixed. (Bug#2114.)
15858 * dependency version relationships now <= >= << >> =. (Bug#2060.)
15859
15860 * install-info is in /usr/sbin, not /usr/bin. (Bug#1924.)
15861 * dpkg regards Revision field as obsolete.
15862
15863 * <asm/unistd.h> changed to <linux/unistd.h> (for m68k port).
15864 * scripts/Makefile.in `clean' target deletes scripts.
15865
15866 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 11 Jan 1996 20:51:20 +0000
15867
15868 dpkg (1.0.8); priority=LOW
15869
15870 * update-alternatives slightly more helpful message. (Bug#1975.)
15871 * cosmetic improvements to disk installation method. (Bug#1970,1956.)
15872 * mounted filesystem and unmounted partition separate methods. (Bug#1957.)
15873
15874 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 12 Dec 1995 04:07:47 +0000
15875
15876 dpkg (1.0.7); priority=MEDIUM (HIGH to upgrade syslogd)
15877
15878 * dselect harddisk/CDROM method script handles multiple package
15879 areas.
15880 * Everything has a manpage, though many are very unhelpful indeed.
15881
15882 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 30 Nov 1995 03:59:14 +0000
15883
15884 dpkg (1.0.6); priority=MEDIUM (HIGH to upgrade syslogd)
15885
15886 * conffiles can now be taken over properly from one package by
15887 another which replaces it. (Bug#1482.)
15888 * dpkg will not deconfigure essential packages when --auto-deconfigure
15889 is set (this bug was fairly unlikely ever to be exercised).
15890
15891 * dpkg checks for the presence of certain important programs on the PATH.
15892 * dselect is now more informative when a dependency is missing, saying
15893 "<package> does not appear to be available". (Bug#1642, 1705).
15894
15895 * `make distclean' fixed; config.* &c removed from source archive.
15896 * lib/lock.c now uses fcntl rather than flock, for better portability.
15897
15898 * `Package_Revision: 0' removed from control file.
15899 * Some inaccuracies and bad formatting in various messages corrected.
15900
15901 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 21 Nov 1995 20:15:18 +0000
15902
15903 dpkg (1.0.5); priority=LOW
15904
15905 * dpkg-split allows some space for the header. (Bug#1649.)
15906 * dpkg-split now has --msdos option for 8.3 filenames.
15907 * dpkg-split --join &c will not complain about trailing garbage.
15908
15909 * dselect & dpkg will no longer ignore SIGHUP will running subprocesses.
15910
15911 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 13 Oct 1995 13:59:51 +0100
15912
15913 dpkg (1.0.4); priority=MEDIUM (HIGH for dselect users with 1.0.3)
15914
15915 * fixed bug which prevented dselect from displaying the bottom line of
15916 any listing screen. This was introduced in 1.0.3, sorry !
15917
15918 * a conffile will never cause a prompt if the package maintainer
15919 distributes a file identical to the user's, even if the file has
15920 been edited by both the user and the maintainer or is a
15921 newly-registered conffile. (Bug#1639.)
15922
15923 * dselect disk/cdrom method script says where to get Packages file.
15924 * dselect help has better descriptions of the functions of Return and Q.
15925
15926 * postinst now warns about some problems with /usr/lib/dpkg/methods/hd.
15927
15928 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 12 Oct 1995 01:45:38 +0100
15929
15930 dpkg (1.0.3); priority=MEDIUM
15931
15932 * dselect: fixed segfault when doing some multiple (de)selections.
15933
15934 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 10 Oct 1995 03:21:12 +0100
15935
15936 dpkg (1.0.2); priority=MEDIUM
15937
15938 * problem with screen refresh after `o' (change order) corrected.
15939
15940 -- Ian Jackson <iwj10@cus.cam.ac.uk> Mon, 9 Oct 1995 13:11:04 +0100
15941
15942 dpkg (1.0.1); priority=LOW
15943
15944 * much better dpkg performance on low-memory systems.
15945 * start-stop-daemon --name should now work. (oops!)
15946 * fixed typo which could turn into memory overwriting bug sometime.
15947
15948 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 8 Oct 1995 20:12:29 +0100
15949
15950 dpkg (1.0.0); priority=LOW
15951
15952 * Version 1.0.0: dpkg is no longer beta.
15953
15954 * tar extractor no longer looks up an empty string using getgrnam
15955 (this causes the libc to coredump when using NIS).
15956
15957 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 1 Oct 1995 13:07:36 +0100
15958
15959 dpkg (0.93.80); priority=LOW
15960
15961 * dselect help screen intro changed to remove `much' before `help'.
15962
15963 * update-alternatives.pl contains hardcoded ENOENT value, instead
15964 of requiring POSIX.pm to be present.
15965
15966 * Makefiles changed to strip when installing instead of when building.
15967
15968 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sat, 30 Sep 1995 01:44:12 +0100
15969
15970 dpkg (0.93.79) BETA; priority=LOW
15971
15972 * DPKG_NO_TSTP environment variable which stops dpkg sending the
15973 process group a SIGTSTP (Bug#1496).
15974 * End key should work in dselect lists (Bug#1501).
15975 * various message typos (missing \n's) fixed (Bug#1504).
15976
15977 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 29 Sep 1995 03:27:01 +0100
15978
15979 dpkg (0.93.78) BETA; priority=LOW
15980
15981 * dselect keystrokes help file typo fix.
15982
15983 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 28 Sep 1995 20:31:02 +0100
15984
15985 dpkg (0.93.77) BETA; priority=MEDIUM
15986
15987 * dpkg --remove --pending will purge things when appropriate.
15988
15989 * fixed failure to null-terminate dpkg conflict problem messages.
15990 * fixed bug in formatting of dependency version problem messages.
15991
15992 * Conffiles resolution prompt for new conffile: typo fixed.
15993 * Changed dpkg usage error to suggest `-Dhelp' instead of `--Dhelp'.
15994
15995 -- Ian Jackson <iwj10@cus.cam.ac.uk> Wed, 20 Sep 1995 23:44:35 +0100
15996
15997 dpkg (0.93.76) BETA; priority=MEDIUM
15998
15999 * dpkg --auto-deconfigure option (used automatically by dselect) allows
16000 `important' packages which many others depend on to be split.
16001 * dpkg should no longer fail an assertion during complicated
16002 multiple configurations involving packages which are on hold.
16003
16004 * update-alternatives supports negative priorities.
16005 * /etc/alternatives is included in the .deb archive.
16006
16007 * Package priorities changed: Required (Req), Important (Imp), Standard (Std),
16008 Optional (Opt) and Extra (Xtr). For backward compatibility Base is an
16009 alias for Required, and Recommended is kept as a level just below Standard.
16010
16011 * dselect shows introductory help screen when entering package lists (both
16012 main and recursive).
16013 * dselect help messages made more friendly.
16014 * dselect package list `quit, confirm, and check dependencies' key is
16015 now Return rather than lowercase `q'; likewise method list `select this
16016 one and configure it' key.
16017 * dselect selects packages with priority `standard' or better by default.
16018 * dselect `v=verbose' becomes `v=terse' when in verbose mode.
16019
16020 * hard disk method unmounts /var/lib/dpkg/methods/mnt on failure.
16021 * disk methods' install message uses `stty' to find out what the
16022 interrupt character is, and uses that in the prompt (rather than ^C).
16023 * dpkg now tolerates ^Z characters in Packages files.
16024 * harddisk method doesn't display extra slash when updating packages file.
16025 * harddisk method burbles less if it doesn't have a good default.
16026
16027 * dpkg-deb now supports new flexible format, but old format still default.
16028
16029 -- Ian Jackson <iwj10@cus.cam.ac.uk> Wed, 20 Sep 1995 02:49:41 +0100
16030
16031 dpkg (0.93.75) BETA; priority=MEDIUM
16032
16033 * dselect no longer segfaults when you try to modify the last item.
16034
16035 * dselect Makefile compiles with -g, and links without -s, but installs
16036 with -s, so that built source directory has debugabble binary.
16037
16038 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 12 Sep 1995 02:59:29 +0100
16039
16040 dpkg (0.93.74) BETA; priority=LOW
16041
16042 * dpkg-split implemented and installed in /usr/bin/dpkg-split.
16043 (NB this is not compatible with Carl Streeter's old dpkg-split script.)
16044 * dpkg uses dpkg-split.
16045 * floppy disk method available - NB this is a first attempt only.
16046
16047 * hard disk method uses --merge-avail rather than --update-avail.
16048 * installation by default of `standard' packages removed again.
16049 (I don't think this is the right place to do this.)
16050 * update-alternatives --remove correctly deletes all slave links;
16051 minor cosmetic improvements.
16052
16053 -- Ian Jackson <iwj10@cus.cam.ac.uk> Mon, 11 Sep 1995 02:06:05 +0100
16054
16055 dpkg (0.93.73) BETA; priority=LOW
16056
16057 * dselect multi-package selection now done by `divider' lines
16058 actually in the package list, rather than horizontal highlight
16059 movement.
16060 * dselect help available, and keybindings rationalised.
16061
16062 * postinst removes /usr/lib/dpkg/methods/hd if upgrading from
16063 0.93.42.3 or earlier.
16064 * `hold' flag changed to be settable by the user only, and
16065 made orthogonal to the `reinstallation required' flag.
16066 * dpkg will install by default any packages with priority of
16067 `standard' or better unless they're explicitly deselected.
16068
16069 * dselect dependency/conflict resolution will suggest marking absent
16070 packages for `purge' rather than `deinstall'.
16071 * disk method script produces message about invoking dpkg.
16072 * dpkg produces warning, not error, when it gets EPERM trying to
16073 remove a directory belonging to a package being removed.
16074 * dpkg, dpkg-deb usage error reporting improved.
16075 * dselect detects too-dumb terminals and stops.
16076 * dpkg-deb(8) updated a little (thanks to Bill Mitchell).
16077
16078 * dselect debugmake script uses -O0.
16079
16080 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 10 Sep 1995 12:23:05 +0100
16081
16082 dpkg (0.93.72) BETA; priority=MEDIUM
16083
16084 * /usr/sbin/update-alternatives added.
16085
16086 * New names for certain control file fields (old names work
16087 as aliases): Optional -> Suggests, Recommended -> Recommends,
16088 Class -> Priority.
16089
16090 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 3 Sep 1995 16:37:41 +0100
16091
16092 dpkg (0.93.71) BETA; priority=LOW
16093
16094 * dpkg doesn't silently overwrite `new' conffiles (Bug#1283).
16095 * case now not significant in Essential, Status and Class (Bug#1280).
16096 * dselect checks method scripts for execute, not for write.
16097
16098 * spelling fixes in lib/dbmodify.c and dselect/helpmsgs.src.
16099
16100 * dselect `clean' target deletes helpmsgs.cc and helpmsgs.cc.new.
16101
16102 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 31 Aug 1995 13:56:08 +0100
16103
16104 dpkg (0.93.70) BETA; priority=MEDIUM
16105
16106 * dselect unmounted harddisk method has many silly bugs fixed.
16107
16108 * dpkg --root option restored (was removed by mistake in 0.93.68).
16109 * minor cosmetic change to dselect subprocess failure message.
16110
16111 -- Ian Jackson <iwj10@cus.cam.ac.uk> Wed, 9 Aug 1995 22:18:55 +0100
16112
16113 dpkg (0.93.69) BETA; priority=MEDIUM
16114
16115 * dpkg --configure and --remove should work properly when
16116 they have to defer processing (this tends to happen when many
16117 packages are processed at once). (Bug#1209.)
16118
16119 * dpkg --configure and --remove work better when `processing'
16120 several related packages with --no-act.
16121
16122 * dpkg --auto is now two options, --pending or -a (for configure,
16123 remove, &c) and --recursive or -R (for install, unpack, &c).
16124
16125 * dpkg debug options in usage message, and values available (-Dh).
16126
16127 -- Ian Jackson <iwj10@cus.cam.ac.uk> Wed, 9 Aug 1995 22:18:55 +0100
16128
16129 dpkg (0.93.68) BETA; priority=MEDIUM
16130
16131 * dpkg won't get an internal error if you try to use the default
16132 conffiles response (ie, if you just hit return). (Bug#1208.)
16133
16134 * dselect hard disk and CD-ROM methods - the real thing, but ALPHA.
16135
16136 * dselect allows you to go straight to `update' or `install' if
16137 you have already set up an access method.
16138 * new dpkg options --yet-to-unpack, --merge-avail and --update-avail.
16139 * dpkg -G is an abbreviation for dpkg --refuse-downgrade.
16140 * dpkg -R alias for --root withdrawn, pending reuse with different meaning.
16141 * dpkg --help message rationalised somewhat.
16142
16143 * Obsolete `examples' and `dpkg-split' directories removed from
16144 source tree. The `hello' package is a better example.
16145
16146 -- Ian Jackson <iwj10@cus.cam.ac.uk> Mon, 7 Aug 1995 02:16:25 +0100
16147
16148 dpkg (0.93.67) BETA; priority=LOW for C dpkg alpha testers, HIGH for others
16149
16150 * dpkg no longer statically linked and -g.
16151 * calls to abort() changed to print string, file and line number first.
16152 * removed unused variable from dpkg source.
16153
16154 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 4 Aug 1995 01:39:52 +0100
16155
16156 dpkg (0.93.66) ALPHA; priority=MEDIUM
16157
16158 * dpkg will correctly remove overwritten files from the lists of
16159 the package(s) that used to contain them.
16160
16161 * dpkg --purge is now an action, rather than a modifier for --remove,
16162 and the -P alias for it is withdrawn.
16163
16164 * dpkg --unpack/--install filenames in messages are now more sensible
16165 about when to use .../ (show as many trailing components as possible
16166 in 40 characters, or the whole path if that the last component is
16167 longer than that).
16168
16169 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 3 Aug 1995 02:11:03 +0100
16170
16171 dpkg (0.93.65) ALPHA; priority=MEDIUM
16172
16173 * dpkg --remove should, when a package being removed is depended-on
16174 by another that is also queued for removal, defer the depended-on
16175 package rather than aborting it. (Bug#1188.)
16176
16177 * dpkg will not attempt to configure or remove a package more than
16178 once in the same run. (Bug#1169.)
16179
16180 * dpkg cosmetic fix to dependency problems message (this bug
16181 hasn't been triggered to my knowledge).
16182
16183 * perl-dpkg no longer installed in /usr/bin.
16184
16185 -- Ian Jackson <iwj10@cus.cam.ac.uk> Wed, 2 Aug 1995 13:02:58 +0100
16186
16187 dpkg (0.93.64) ALPHA; priority=MEDIUM
16188
16189 * dpkg marks a package as no longer `to be configured in this run'
16190 when an error occurs, so that other packages which depend on it
16191 will fail (rather than causing a loop and an assertion failure,
16192 packages.c:166: failed assertion `dependtry <= 4').
16193
16194 * dselect initial selection granularity is single-package.
16195 * dpkg --no-also-select option renamed to --selected-only (old option
16196 still accepted, but no longer in --help). Changed -N to -O.
16197
16198 * dselect `update' option changed to `install' (and other options
16199 renamed too). NB: old access methods will not work, because
16200 the `update' script should now be an `install' script.
16201
16202 * dselect `installation methods' renamed to `access methods'.
16203 * dpkg --skip-same-version and --refuse-downgrade produce friendlier
16204 messages when they skip packages.
16205 * --licence option now properly mentioned in all programs' --version
16206 messages.
16207
16208 * bad fix for ELF compile problem involving myopt.h removed (compile
16209 problem turned out to be a GCC bug.)
16210
16211 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 1 Aug 1995 03:03:58 +0100
16212
16213 dpkg (0.93.63) ALPHA; priority=LOW
16214
16215 * preinst works around shell bug/misfeature involving `trap'.
16216
16217 * dpkg --skip-same-version doesn't skip packages which have
16218 an error flag set or which aren't in a standard `installed' state.
16219
16220 * dpkg --search now does a substring search if the string doesn't
16221 start with a wildcard character (*, [ or ?) or slash.
16222
16223 * problem with C/C++ linkage of stuff in "myopt.h" fixed, to help
16224 with compiling with GCC 2.7.0.
16225
16226 * dselect Makefile.in `clean' deletes curkeys.inc &c, so that they are
16227 not shipped in the distribution source and will be rebuilt on the
16228 target system.
16229
16230 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 27 Jul 1995 13:38:47 +0100
16231
16232 dpkg (0.93.62) ALPHA; priority=HIGH
16233
16234 * dpkg purges leftover control scripts from /var/lib/dpkg/tmp.ci,
16235 rather than associating them with the wrong package. (Bug#1101.)
16236
16237 * dpkg won't `disappear' packages containing no files or directories,
16238 nor a package required for depends/recommended. (Bug#1128.)
16239
16240 * dpkg follows directory symlinks. (Bug#1125.)
16241
16242 * dselect fixups for ELF/GCC2.7.0 compilation.
16243
16244 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 21 Jul 1995 21:43:41 +0100
16245
16246 dpkg (0.93.61) ALPHA; priority=LOW
16247
16248 * dselect keybindings and status characters and descriptions changed
16249 (in pursuance of Bug#1037, user interface problems, still open.)
16250
16251 * Some cleanups to fix mistakes discovered by ELF-GCC 2.7.0, and fixup
16252 for newer C++ draft standard (`for' variable declaration scope change).
16253
16254 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 18 Jul 1995 01:42:51 +0100
16255
16256 dpkg (0.93.60) ALPHA; priority=HIGH
16257
16258 * dpkg doesn't think packages have `disappeared' if you install
16259 several packages at once. (later reported as Bug#1132.)
16260
16261 * usage error messages tidied up.
16262
16263 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 16 Jul 1995 17:56:56 +0100
16264
16265 dpkg (0.93.59) ALPHA; priority=HIGH
16266
16267 * dpkg doesn't break maintainer scripts &c if package `foo' exists
16268 when processing package `foobar'. (Related to Bug#1101.)
16269
16270 * dpkg implements `disappear' functionality.
16271 * dpkg/dselect remove dead entries from /var/lib/dpkg/status.
16272
16273 * dpkg --list now sorted correctly and output somewhat improved.
16274 * some debugging messages moved from dbg_stupidlyverbose to dbg_scripts.
16275 * dpkg prints `Removing foo' message even if foo is not configured.
16276 * dpkg only prints `serious warning: files list file ... missing'
16277 once for each package.
16278
16279 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 16 Jul 1995 02:32:11 +0100
16280
16281 dpkg (0.93.58) ALPHA; priority=HIGH
16282
16283 * dpkg should write out status even for packages which it has only
16284 encountered in the `available' file so far.
16285
16286 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 14 Jul 1995 20:19:21 +0100
16287
16288 dpkg (0.93.57) ALPHA; priority=LOW
16289
16290 * dpkg does chroot when running maintainer scripts (--instdir
16291 should work right now, though I haven't been able to test it).
16292
16293 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 14 Jul 1995 01:32:30 +0100
16294
16295 dpkg (0.93.56) ALPHA; priority=HIGH
16296
16297 * dpkg can now overwrite symlinks to directories, and will
16298 do correct handling of symlinks to plain files.
16299 * dpkg should not replace any directory with a symlink.
16300
16301 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 13 Jul 1995 02:43:36 +0100
16302
16303 dpkg (0.93.55) ALPHA; priority=MEDIUM
16304
16305 * dpkg can now extract hardlinks.
16306 * dpkg configuration/removal works in the presence of dependency cycles.
16307 * dpkg should no longer fail an assertion at processarc.c:193.
16308
16309 -- Ian Jackson <iwj10@cus.cam.ac.uk> Wed, 12 Jul 1995 01:34:44 +0100
16310
16311 dpkg (0.93.54) ALPHA; priority=MEDIUM
16312
16313 * dpkg and dselect no longer throw away all Class and Section
16314 information in /var/lib/dpkg/available. (Oops.)
16315 * dpkg --refuse-<something> now works (this broke some dselect
16316 method scripts' attempts to use --refuse-downgrade).
16317 * dpkg --audit and --list implemented.
16318
16319 -- Ian Jackson <iwj10@cus.cam.ac.uk> Mon, 10 Jul 1995 00:35:13 +0100
16320
16321 dpkg (0.93.53) ALPHA; priority=LOW
16322
16323 * dpkg --install/--unpack only skips on-hold packages with --auto.
16324 * dpkg doesn't fclose() the --fsys-tarfile pipe twice.
16325 * dpkg error handling and reporting cleaned up.
16326 * dpkg now lists any failed packages/files just before exiting.
16327
16328 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 9 Jul 1995 16:31:36 +0100
16329
16330 dpkg (0.93.52) ALPHA; priority=MEDIUM
16331
16332 * dpkg won't segfault due to missing (Package_)Revision fields.
16333 * dpkg --search works.
16334 * dpkg will set execute permissions on scripts if necessary.
16335 * dpkg prints filenames in --unpack and --install.
16336
16337 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sat, 8 Jul 1995 12:41:39 +0100
16338
16339 dpkg (0.93.51) ALPHA; priority=HIGH
16340
16341 * dpkg --status and --listfiles now work.
16342
16343 * dpkg --remove --auto won't try to remove everything (!)
16344 * dpkg --unpack doesn't coredump after unpacking the first package.
16345 * dpkg won't fail an assertion if it bombs out of --configure
16346 or --remove because of too many errors.
16347
16348 * Support for `Essential' in dpkg (not yet in dselect).
16349 * `available' (Packages) file class and section override those
16350 from package control files.
16351 * `Essential: yes' added to control file.
16352
16353 * Locking strategy changed, now uses flock (no more stale locks).
16354 * preinst now more helpful about conffiles upgrade problem.
16355
16356 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sat, 8 Jul 1995 01:15:26 +0100
16357
16358 dpkg (0.93.50) ALPHA
16359
16360 * C dpkg now in service.
16361
16362 * dselect now installs in /usr/bin instead of /usr/sbin.
16363 * Improved `explanation of display' help and changed HSOC to EIOW.
16364 * dselect goes back to top of info display when you move the
16365 highlight.
16366
16367 * Added <sys/types.h> to md5sum/md5.c, for the benefit of FreeBSD.
16368 * --admindir doesn't append `var/lib/dpkg' to its argument.
16369
16370 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 19 May 1995 21:03:08 +0100
16371
16372 dpkg (0.93.42.3) BETA; priority=LOW
16373
16374 * Rebuilt using ncurses 1.9.2c-0.
16375 * Silenced `subcritical error' message if errno == ENOENT.
16376
16377 -- Ian Jackson <iwj10@cus.cam.ac.uk> Mon, 12 Jun 1995 13:09:24 +0100
16378
16379 dpkg (0.93.42.2) BETA; priority=HIGH
16380
16381 * install-info --remove properly removes multi-line entries.
16382 * Slightly changed ^L redraw code in dselect package list.
16383
16384 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sat, 10 Jun 1995 14:06:01 +0100
16385
16386 dpkg (0.93.42.1) BETA; priority=HIGH esp. for new installations
16387
16388 * update-rc.d default no longer adds K entries in runlevels 2345.
16389
16390 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 6 Jun 1995 18:56:23 +0100
16391
16392 dpkg (0.93.42) BETA; priority=LOW; HIGH for dselect users
16393
16394 * Fix uninitialized variable reference bug in dselect (#890).
16395 * Fix problem with wordwrapping package and method descriptions.
16396 * Create /var/lib/dpkg/methods/mnt.
16397
16398 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 19 May 1995 21:03:08 +0100
16399
16400 dpkg (0.93.41) BETA; priority=LOW
16401
16402 * Create /var/lib/dpkg/methods.
16403 * dpkg.pl noisily ignores --skip-same-version rather than barfing.
16404
16405 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 16 May 1995 13:28:27 +0100
16406
16407 dpkg (0.93.40) BETA; priority=LOW
16408
16409 * dselect's subprogram failure message made to stand out more.
16410
16411 * When switching out of curses, always move the cursor to the
16412 bottom right corner of the screen.
16413
16414 -- Ian Jackson <iwj10@cus.cam.ac.uk> Tue, 16 May 1995 01:03:38 +0100
16415
16416 dpkg (0.93.39) BETA; priority=LOW
16417
16418 * dselect can now:
16419 - allow you to select and configure an installation method;
16420 - invoke installation method scripts to update the available file
16421 and unpack packages;
16422 - invoke dpkg to configure and remove packages.
16423 There are no installation methods available yet.
16424
16425 * Search feature in dselect works (it was purely an ncurses bug).
16426
16427 * dpkg-*.nondebbin.tar.gz now available (built by debian.rules).
16428
16429 * The target directory for dpkg-deb --extract (also available as
16430 dpkg --extract) is no longer optional. dpkg-deb suggests the use
16431 of dpkg --install if you omit it.
16432
16433 * Added <errno.h> to lib/lock.c and fixed ref. to `byte' in
16434 md5sum/md5.c, for portability to Solaris 2.
16435
16436 * Rebuilt `configure' and `config.h.in' using autoconf 2.3.
16437 * Revised function attribute support checking in configure script.
16438 * Removed obsolete `dselect.pl' from scripts directory.
16439 * New option --licence on all the C programs.
16440
16441 -- Ian Jackson <iwj10@cus.cam.ac.uk> Sun, 14 May 1995 18:05:38 +0100
16442
16443 dpkg (0.93.38) BETA; priority=MEDIUM
16444
16445 * Version number comparisons (in dpkg and dselect) now >= <=
16446 as documented (Bug#831; thanks to Christian Linhart).
16447
16448 * dselect now has a non-superuser readonly mode.
16449 * dselect doesn't pop up unsatisfied `Optional's when quitting.
16450 * `unable to delete saved old file' message fixed dpkg_tmp to dpkg-tmp.
16451
16452 * Made dpkg convert `revision' to `package_revision' when reading
16453 (eg) the `status' file. libdpkg.a has `revision' as a synonym
16454 for `package_revision' and writes the former.
16455
16456 * Major improvements and many changes to C option parsing, database
16457 management, error handling, Makefiles &c to support dpkg.
16458 * dpkg-deb should now work if sizeof(void*) < sizeof(void(*)()).
16459
16460 -- Ian Jackson <iwj10@cus.cam.ac.uk> Mon, 24 Apr 1995 12:34:39 +0100
16461
16462 dpkg (0.93.37) BETA; priority=LOW (MEDIUM for dselect users)
16463
16464 * Fixed segfault if no description available (Bug#735);
16465 thanks to Peter Tobias for the bug report.
16466 * Fixed other assorted minor bugs in description displays.
16467
16468 * Changed dpkg-deb --info short option from -i to -I, to make
16469 it unique across dpkg and dpkg-deb (-i still works with
16470 dpkg-deb for backwards compatibility).
16471
16472 * Produce more sensible error when main package list is empty.
16473
16474 -- Ian Jackson <iwj10@cus.cam.ac.uk> Fri, 7 Apr 1995 02:24:55 +0100
16475
16476 dpkg (0.93.36) BETA; priority=LOW (MEDIUM for dselect users)
16477
16478 * All the C code (including dselect) updated to support `provides'
16479 (virtual packages).
16480 * Revamped dselect's related package selection/deselection
16481 algorithms.
16482 * Everything can now handle arbitrary `class' values (as well
16483 as the predefined ones which we understand and can interpret).
16484 * Fixed bug that prevented display update when moving down a small
16485 recursive package list in dselect.
16486 * Column heading characters corrected from `SHOC' to `HSOC'.
16487
16488 -- Ian Jackson <iwj10@cus.cam.ac.uk> Thu, 6 Apr 1995 12:48:13 +0100
16489
16490 dpkg (0.93.35) BETA; priority=MEDIUM
16491
16492 * Preserve ownerships and permissions on configuration files.
16493 * Fix bug in conffile updating that could leave a hardlink
16494 <foo>.dpkg-new to the conffile <foo>.
16495
16496 * Improved dselect's package list help messages.
16497 * Highlight now moves on after (de)selecting just one package.
16498 * Better algorithm for scrolling up/down when moving highlight.
16499 * Fixed bug in display of `preformatted' extended Description lines.
16500 (dselect is still ALPHA, but is fairly stable.)
16501
16502 * Improved dpkg's message when configuring a package that doesn't
16503 exist, and when selecting or skipping a package that isn't
16504 currently selected (during unpack processing).
16505
16506 * Description in control file expanded.
16507
16508 * Scroll back to top when changing what is in the `info' area.
16509
16510 dpkg (0.93.34) BETA; priority=LOW (HIGH for dselect users)
16511
16512 * dselect: Fixed bug which caused a coredump if you exited the
16513 package list if you'd made any changes. Ouch !
16514
16515 * dselect: Improved selection algorithm to show fewer extraneous
16516 packages; improved display for unavailable packages.
16517
16518 * dpkg: Improved progress messages during unpacking somewhat.
16519
16520 dpkg (0.93.33) BETA; priority=LOW (HIGH for dselect users)
16521
16522 * dselect now has a main menu.
16523
16524 * Fixed nasty uninitialized data bug in dselect.
16525
16526 * dselect now locks and unlocks the packages database.
16527
16528 Mon, 27 Mar 1995 03:30:51 BST Ian Jackson <iwj10@cus.cam.ac.uk>
16529
16530 * dpkg (0.93.32): Alpha dselect released and installed in
16531 /usr/sbin/dselect.
16532 * dpkg (0.93.32): Many portability enhancements: should now
16533 compile using GCC 2.6.3, and dpkg-deb should
16534 compile better on non-Linux systems.
16535 * dpkg (0.93.32): dpkg will not loop if its stdin disappears
16536 and it needs to prompt.
16537 * dpkg (0.93.32): Fixed removal dependency error to show
16538 correct package (Bug #648).
16539 * dpkg (0.93.32): Tidied up copyright notices.
16540 * dpkg (0.93.32): First draft of update-rc.d manpage, not yet
16541 installed in /usr/man.
16542 * dpkg (0.93.32): Changes to top-level Makefile.in to improve
16543 error trapping.
16544 * dpkg (0.93.32): Improved Makefile `clean' and `distclean'
16545 targets.
16546 * dpkg (0.93.32): Deleted irrelevant `t.c' from lib and
16547 dselect directories.
16548 * dpkg (0.93.32): Added vercmp.c with version comparison code.
16549 * dpkg (0.93.32): varbufextend message changed - varbufs not
16550 just for input buffers.
16551 * dpkg (0.93.32): varbuf has C++ member functions in header
16552 #ifdef __cplusplus.
16553
16554 Changes in dpkg 0.93.31:
16555
16556 * start-stop-daemon --pidfile now works (Bug#571).
16557 * Fixed dependency processing bugs which could require a rerun of
16558 dpkg --configure (Bug#566).
16559 * Fixed garbage output for `language' of control file in dpkg-deb --info.
16560
16561 Changes in dpkg 0.93.30:
16562
16563 * Added /usr/sbin/start-stop-daemon.
16564
16565 Changes in dpkg 0.93.29:
16566
16567 * Made postinst scripts really be run when dpkg --purge used.
16568 * Added new --force-extractfail option - VERY DANGEROUS.
16569
16570 Changes in dpkg 0.93.28:
16571
16572 * Removed undef of 0x_p21 in read_database_file, which caused the
16573 the whole status database to become trashed when any update files
16574 were read.
16575 * Make infinite-loop prevention and cycle detection work.
16576 * Made findbreakcycle work (ie, break properly when cycle detected).
16577 * New script, update-rc.d, to update links /etc/rc?.d/[KS]??*.
16578 * dpkg.pl now sets the umask to 022.
16579 * Cosmetic error message fix to dpkg-deb.
16580 * Deleted OLD directory altogether.
16581 * Improved error-trapping in top-level Makefile loops.
16582
16583 Changes in dpkg 0.93.27:
16584
16585 * Make version number specifications in Depends &c work.
16586 * Added AC_PROG_CXX to autoconf.in for dselect.
16587 * Changed myopt.h not to have cipaction field in cmdinfo (this was
16588 specially for dpkg-deb) - now we have a generic void*.
16589 * Renamed `class' member of `pkginfoperfile' to `clas' [sic].
16590 * Much work in `dselect' subdirectory.
16591 * Deleted executables, objects and libraries from OLD tree !
16592 * Minor changes to various copyright notices and top-of-file comments.
16593 * Don't install nasty Perl dselectish thing as /usr/bin/dselect.
16594
16595 Changes in dpkg 0.93.26:
16596
16597 * Added --no-also-select instead of not auto-selecting on --unpack
16598 but doing so on --install; removed --force-unpack-any.
16599
16600 Changes in dpkg 0.93.25:
16601
16602 * Fixed duplicate output (failure to flush before fork) bug.
16603 * More clarification of md5sum.c copyright.
16604 * Corrected typo in ChangeLog in 0.93.24 source package.
16605
16606 Changes in dpkg 0.93.24:
16607
16608 * dpkg could copy conffiles info from one package to another. Aargh.
16609 Bug #426.
16610 * dpkg failed to initialise status if you tried to remove or
16611 configure a nonexistent package. Bug #419.
16612 * install-info now handles START-INFO-DIR-ENTRY entries like:
16613 * Gdb:: The GNU debugger.
16614 Previously it would only accept (Bug #407):
16615 * Gdb: (gdb). The GNU debugger.
16616 * When installing a new foo.info[.gz], install-info now replaces
16617 * Foo: (foo.info). The Gnoo Foo.
16618 as well as just * Foo: (foo). ...
16619 * Moved option parsing out of dpkg-deb into libdpkg.
16620 * Assorted minor source code rearrangements.
16621 * Fixed assorted copyright notices, clarified md5sum copyright.
16622 * Corrected typo in 0.93.23 source package's ChangeLog.
16623
16624 Changes in dpkg 0.93.23:
16625
16626 * `dpkg-deb' --build now does a syntax check on the control file.
16627 * `dselect' is now no longer called `debian', spurious copy removed
16628 from package top-level source directory.
16629 * C control information parsing complete and somewhat tested.
16630 * Moved `global' include files into $(srcdir)/include from ../lib,
16631 added some files to the lib Makefile, and arranged for pop_cleanup().
16632
16633 Changes in dpkg 0.93.22:
16634
16635 * Fixed bug which caused dpkg to see failures of md5sum where there
16636 were none (would also have caused dpkg to miss a real failure).
16637 * Fixed failure to update some `status' database fields.
16638
16639 Changes in dpkg 0.93.21:
16640
16641 * Fixed error-handling bug which could corrupt database.
16642
16643 Changes in dpkg 0.93.20:
16644
16645 * Fixed bug which ran old (/var/adm/dpkg) postinst scripts.
16646 * Fixed dpkg usage message which claimed -i => both --install & --info.
16647 * Use Colin Plumb's MD5 code - faster, and better copyright.
16648 * Manpages: dpkg-deb(8), deb-control(5), deb(5) - thanks to Raul
16649 Deluth Miller. Also, an xfig picture of some C program innards.
16650
16651 Changes in dpkg 0.93.19:
16652
16653 * Don't delete the `list' file from the dpkg database.
16654 * Fixed various bugs in the conffile handling.
16655 * Conffiles that are symlinks will now be treated as if the
16656 `dereferenced' name of the file was listed in conffiles. This means
16657 that /etc/foo -> /usr/etc/foo will cause all conffile updates of
16658 /etc/foo to create /usr/etc/foo.dpkg-tmp &c instead. However, the
16659 link will be removed if --purge is used to delete all the conffiles.
16660 * When doing a new installation, or when updating a conffile that
16661 wasn't listed as a conffile in the old version of the package, don't
16662 do any prompting but just install the version from the archive.
16663 * Corrected error message if exec of dpkg --vextract failed
16664 and --instroot or --root specified.
16665 * Added new --force-unpack-any option.
16666 * Extra newline after --status output.
16667 * Added -W options to CFLAGS.
16668 * Fixed mistake in previous ChangeLog entry.
16669
16670 Changes in dpkg 0.93.18:
16671
16672 * Fixed invocation of dpkg-deb --vextract if --root or --instdir
16673 not specified.
16674 * Create /var/lib/dpkg/updates.
16675
16676 Changes in dpkg 0.93.17:
16677
16678 * install-info --remove exits with status 0 if it doesn't find the
16679 thing to remove, instead of status 1.
16680 * Error handling functions have __attribute__((format...)) if GCC.
16681 * push_cleanup its arg takes void **argv instead of char **argv.
16682 * Top-level Makefile.in has set -e before `for' loops.
16683 * dpkg-deb --info not-an-existing-file produces fewer error messages.
16684
16685 Changes in dpkg 0.93.16:
16686
16687 * Made --root= option really extract to $instroot instead of `/'.
16688 * install-info clears the 0444 bits in its umask.
16689 * Fixed a few database handling bugs which cause dpkg always to fail,
16690 and usually to corrupt the status database in various ways.
16691 * dpkg-deb completely rewritten, now doesn't tinker with
16692 /var/{adm,lib}/dpkg. Should be faster.
16693 * Directory structure and Makefiles in source package reorganised.
16694
16695 Changes in dpkg 0.93.15:
16696
16697 * Added `debian' (dselect), still very primitive.
16698 * Database format changed, and moved from /var/adm to /var/lib.
16699 * Added dpkg --avail mode, --list, --status and --search.
16700 * Set of dpkg => dpkg-deb pass-through operations changed (but
16701 dpkg-deb not yet updated).
16702 * Added --root, --admindir and --instdir, as well as --isok &c.
16703 * Moved much stuff into /usr/lib/dpkg-lib.pl, rewritten status
16704 database handling.
16705 * Put packages in `purge' state even if `deinstall' requested if
16706 they have no postrm and no conffiles.
16707 * Version number comparisons fixed.
16708 * insert-version.pl now installes lib.pl filename too.
16709 * Strip trailing slashes when reading files from file lists.
16710
16711 Changes in dpkg 0.93.14:
16712
16713 * Fixed parsing of DEPENDS &c fields with trailing whitespace.
16714 * postinst now fixes up broken ispell.control file.
16715 * Cyclic dependency/multiple package removal processing: don't consider
16716 packages we've just removed when looking for a reason not to go ahead.
16717 * Added call to postinst with `purge' argument for expunging old
16718 configuration etc. that aren't listed in conffiles.
16719
16720 Changes in dpkg 0.93.13:
16721
16722 * sub S_ISREG defined in dpkg.pl.
16723 * Checking of DEPENDS &c fields was too lax, causing an internal error
16724 if you fed it certain kinds of broken control file.
16725 * Fixed misleading message from bogus installationstatus call.
16726 * New -u and -U options to dpkg-deb which don't unpack the /DEBIAN
16727 directory, and use these in dpkg.pl; clean up /DEBIAN in postinst.
16728
16729 Changes in dpkg 0.93.12:
16730
16731 * No longer needs *.ph files, since these appear to be broken.
16732 * Postinst fixes up *.control files with curly brackets.
16733 * embryo of dselect.
16734
16735 Changes in dpkg 0.93.11:
16736
16737 * New --ignore-depends option.
16738 * This ChangeLog changed format here.
16739
16740 Wed Nov 30 15:38:21 GMT 1994 Ian Jackson <iwj10@cus.cam.ac.uk>
16741
16742 * dpkg 0.93.11 released.
16743
16744 * conffile updating fixed.
16745
16746 * Message `upgrade' in dpkg changed to `replace'.
16747
16748 * install-info now copes with multi-line entries.
16749
16750 * version numbers now done automatically in dpkg and install-info.
16751
16752 * more debugging around conffiles updates.
16753
16754 * *.hash files not deleted so soon.
16755
16756 * adds brand new packages to status array so we can install them.
16757
16758 * postinst does h2ph for {sys,linux}/{stat,types}.ph if required.
16759
16760 Mon Nov 28 02:00:13 GMT 1994 Ian Jackson <iwj10@cus.cam.ac.uk>
16761
16762 * dpkg 0.93.10 released.
16763
16764 * dpkg.pl completely rewritten.
16765
16766 * dpkg-deb: removed dabase-processing and --install option.
16767
16768 * Makefiles reworked, debian.rules added.
16769
16770 * Don't install anything in /usr/doc/examples.
16771
16772 * dpkg-*.deb contains /usr/bin/dpkg-deb.dist, fixed up by postinst.
16773
16774 Thu Oct 20 13:22:20 1994 Ian Murdock (imurdock@debra.debian.org)
16775
16776 * dpkg 0.93.9 released.
16777
16778 * dpkg.pl: Use $argument, not $package, with `--build'.
16779 Make sure that saved postinst scripts are executable.
16780
16781 Tue Oct 18 09:40:57 1994 Ian Murdock (imurdock@debra.debian.org)
16782
16783 * dpkg 0.93.8 released.
16784
16785 * deb/remove.c (pkg_remove): Do not report an error from rmdir ()
16786 when `errno' is ENOTEMPTY (Directory not empty), because in this
16787 case we have found the highest-level directory in the package and
16788 are ready to exit the loop (i.e., it is a normal occurrence).
16789
16790 Mon Oct 17 10:44:32 1994 Ian Murdock (imurdock@debra.debian.org)
16791
16792 * Makefile.in: Adapted all Makefiles to the GNU Coding Standards.
16793
16794 * deb/remove.c (pkg_remove): Make sure that parent directories are
16795 removed LAST! This will result in complete removal of packages
16796 when --remove is called. dpkg 0.93.7 (and earlier) had problems
16797 with this because it tried to remove directories in order, which
16798 will work most of the time, but not necessarily all of the time.
16799
16800 * deb/list.c (pkg_list): Output is sorted by package name.
16801
16802 Tue Oct 4 12:27:10 1994 Ian Murdock (imurdock@debra.debian.org)
16803
16804 * deb/contents.c (pkg_contents): When a list file cannot be
16805 opened, silently fail and let the front-end explain the problem.
16806
16807 * deb/util.c (return_info): When a control file cannot be opened,
16808 silently fail and let the front-end explain the problem.
16809
16810 * deb/search.c (pkg_search): Exit 0 if the regular expression is
16811 matched and 1 if it is not.
16812
16813 Mon Oct 3 18:38:53 1994 Ian Murdock (imurdock@debra.debian.org)
16814
16815 * dpkg.pl: New file. Replaces dpkg.sh.
16816
16817 * deb/Makefile.in: Renamed `dpkg-util.deb' to `dpkg-deb'.
16818
16819 * deb/build.c (pkg_build): `--build' is less verbose, instead
16820 letting the front-end add verbosity where appropriate.
16821
16822 * deb/install.c (pkg_install): Ditto.
16823
16824 * deb/remove.c (pkg_remove): Ditto.
16825
16826 * deb/search.c (pkg_search): Ditto.
16827
16828 * deb/describe.c (pkg_describe): `--describe' is less verbose,
16829 instead letting the front-end add verbosity where appropriate.
16830 The ``Description:'' label has been removed.
16831
16832 * deb/version.c (pkg_version): `--version' is less verbose,
16833 instead letting the front-end add verbosity where appropriate.
16834 The ``Version:'' label has been removed, as has the maintainer
16835 information.
16836
16837 Mon Sep 12 14:22:04 1994 Ian Murdock (imurdock@debra.debian.org)
16838
16839 * deb/version.c (pkg_version): `--version' now reports the
16840 version number of dpkg if no argument is specified.
16841
16842 Thu Sep 1 13:31:37 1994 Ian Murdock (imurdock@debra.debian.org)
16843
16844 * dpkg 0.93.7 released.
16845
16846 * deb/build.c (pkg_build): check status and exit if non-zero.
16847
16848 * deb/contents.c (pkg_contents): ditto.
16849
16850 * deb/install.c (archive_extract): ditto.
16851
16852 Thu Sep 1 13:20:08 1994 Ian Murdock (imurdock@debra.debian.org)
16853
16854 * deb/version.c (pkg_version): indent to the same point as
16855 pkg_describe.
16856
16857 Thu Sep 1 12:21:11 1994 Ian Murdock (imurdock@debra.debian.org)
16858
16859 * Makefile.in (dist): added debian.rules binary, source and
16860 dist targets to make final distribution easier to make.
16861 (install): install programs to /usr/bin.
16862
16863 * deb/Makefile.in (install): install programs to /usr/bin.
16864
16865 * deb/list.c (pkg_list): enforce a maximum limit of ten characters
16866 for the package name in the output.
16867 (pkg_list): left-justify the version number to make it easier for
16868 the front-end to parse the output.
16869 (pkg_list): replace first '\n' character in packages[n].description
16870 with '\0'.
16871
16872 * deb/install.c (archive_extract): use the `p' option to `tar' to
16873 ensure that permissions are preserved.
16874
16875 Sat Aug 27 09:53:37 1994 Ian Murdock (imurdock@debra.debian.org)
16876
16877 * dpkg 0.93.6 released.
16878
16879 * deb/util.c (return_info): only unlink CONTROL if ARCHIVE_FLAG is
16880 true!
16881
16882 Fri Aug 26 15:38:22 1994 Ian Murdock (imurdock@debra.debian.org)
16883
16884 * dpkg 0.93.5 released.
16885
16886 * deb/contents.c (pkg_contents): merged function archive_contents
16887 into function pkg_contents.
16888
16889 * deb/contents.c (pkg_contents): use lstat (rather than stat) so
16890 that symbolic links are recognized.
16891 (pkg_contents): print the usual `<path> -> <link_to>' now that we
16892 recognize symbolic links.
16893
16894 * deb/util.c (return_info): create a FIFO to pipe the needed
16895 information to the ``formatter'' rather than creating a directory
16896 in /tmp for the package information, which is what we used to do.
16897
16898 Thu Aug 25 11:46:27 1994 Ian Murdock (imurdock@debra.debian.org)
16899
16900 * lib/fake-ls.c (mk_date_string): return a pointer to malloc'ed
16901 area.
16902 (mk_mode_string): ditto.
16903
16904 * dpkg.sh: make sure the control information is extracted to a
16905 uniquely-named temporary directory during package installation.
16906
16907 * dpkg.sh: execute the pre- and post-removal scripts during
16908 package removal.
16909
16910 * dpkg.sh: exit immediately if dpkg-util.deb reports failure.
16911
16912 * deb/install.c (pkg_control): make sure that `package' exists and
16913 is a Debian archive before doing anything.
16914
16915 * deb/install.c (pkg_extract): make sure that `package' exists and
16916 is a Debian archive before doing anything.
16917
16918 * deb/install.c (pkg_install): unlink `extract_output' when done.
16919
16920 * deb/remove.c (pkg_remove): use lstat (rather than stat) so that
16921 --remove does not get confused and think that a symbolic link to a
16922 directory is actually a directory, which results in the symbolic
16923 link never being removed at all.
16924
16925 ChangeLog begins Thu Aug 25 11:46:27 1994 for dpkg 0.93.5.