-2008-01-01 Frank Lichtenheld <djpig@debian.org>
++2008-01-08 Frank Lichtenheld <djpig@debian.org>
+
+ * scripts/dpkg-parsechangelog.pl: Make the
+ -L option actually work (it's only been eleven
+ years...)
-
++
+ * scripts/Dpkg/ErrorHandling.pm (report): export.
+
-2008-01-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
-
- * utils/start-stop-daemon.c (do_stop): Do not print 'failed to kill'
- warning when doing pid polling.
-
-2008-01-01 Guillem Jover <guillem@debian.org>
-
- * src/archives.c (archivefiles): Remove pointless strdup for execvp
- arguments.
-
-2008-01-01 Ian Zimmerman <itz@buug.org>
-
- * scripts/install-info.pl: Ignore wrapped lines when matching
- section titles.
-
-2008-01-01 John Zaitseff <J.Zaitseff@zap.org.au>
-
- * dselect/baselist.cc (baselist::wordwrapinfo): Stop processing when
- exceeding infopad line limit, and add a warning message.
-
-2008-01-01 Sven Rudolph <sr1@loom.sax.de>
-
- * dselect/baselist.cc (baselist::startdisplay): Set helpscreen_attr
- on monochrome terminals.
-
-2007-12-28 Raphael Hertzog <hertzog@debian.org>
++2007-01-08 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/Dpkg/Cdata.pm, scripts/Dpkg/Control.pm: Add two new
+ module to parse and manipulate files like debian/control.
+ * scripts/t/600_Dpkg_Control.t,
+ scripts/t/600_Dpkg_Control/control-1: Add non-regression tests for
+ Dpkg::Control and Dpkg::Cdata.
+ * scripts/dpkg-checkbuilddeps.pl, scripts/dpkg-genchanges.pl,
+ scripts/dpkg-gencontrol.pl, scripts/dpkg-gensymbols.pl,
+ scripts/dpkg-shlibdeps.pl, scripts/dpkg-source.pl: Update scripts
+ to use the new modules Dpkg::Cdata, Dpkg::Control,
+ Dpkg::Fields::Object and Dpkg::Substvars.
+
+ * scripts/Dpkg/Version.pm (check_version): New function replacing
+ checkversion of controllib.pl.
+ * scripts/dpkg-source.pl, scripts/dpkg-buildpackage.pl: Use the
+ new check_version.
+
+ * scripts/Dpkg/Vars.pm (set_source_package): New function to set
+ and check the global variable $sourcepackage (replacing
+ controllib's setsourcepackage).
+ * scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
+ scripts/dpkg-source.pl: Use the new set_source_package.
+
+ * scripts/dpkg-distaddfile.pl, scripts/dpkg-gencontrol.pl: Delete
+ the chown(getfowner(), ...) on new files. It doesn't seem to do
+ anything useful anymore as it got dropped from several other
+ scripts over the years without problems.
+
+ * scripts/dpkg-source.pl: Integrate readmd5sum from controllib here
+ as it's the only user of that function.
+
+ * scripts/controllib.pl: Get rid of everything except
+ parsechangelog and its dependencies (parsecdata, syntax) that are
+ still needed.
+
+ * scripts/Makefile.am: Include all the new files in the
+ distributed tarball.
+
-2007-12-28 Raphael Hertzog <hertzog@debian.org>
++2007-01-08 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/Dpkg/ErrorHandling.pm (syntaxerr): New function to
+ replace the syntax() function in controllib.pl.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-genchanges.pl: Ignore Homepage field in binary package
+ stanzas.
+ * scripts/dpkg-source.pl: Likewise.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-checkbuilddeps.pl: Remove unused $dep_regex.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-checkbuilddeps.pl: Add build-essential as an implicit
+ Build-Depends.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * configure.ac: Bump version to 1.14.16~.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * configure.ac: Release 1.14.15.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * src/archives.c (archivefiles): Use arglist instead of narglist.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * lib/nfmalloc.c (nfmalloc): Remove inline keyword as extern inline
+ changes semantics from GNU C to C99.
+ * lib/varbuf.c (varbufaddc): Likewise.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * dpkg-deb/extract.c (extracthalf): Move negative member length check
+ to ...
+ (parseheaderlength): ... here. Change return type to size_t. Change
+ variable r to ssize_t. Use strtol instead of strtoul to easily catch
+ negative values.
+ * dpkg-deb/info.c (info_spew): Use %zu in a format string instead of
+ %lu to print pathlen, a size_t variable.
+ * dpkg-split/queue.c (do_auto): Change j from unsinged int to int.
+ Cast j to unsigned int when comparing it to i.
+ * lib/varbuf.c (varbufprintf): Change ou from unsigned int to size_t.
+ Change r from unsigned int to int. Cast value compared to r to int.
+ (varbufprintf): Likewise.
+ * src/archives.c (tarobject): Change r from size_t to ssize_t.
+ Cast r to size_t when comparing it to symlinkfn.size.
+ * src/main.c (setforce): Cast string difference to size_t instead of
+ int.
+ * utils/start-stop-daemon.c (parse_schedule): Change str_len from
+ ptrdiff_t to size_t. Cast string difference to size_t instead of
+ ptrdiff_t. Remove ptrdiff_t cast to sizeof.
+
+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * scripts/Dpkg/BuildOptions.pm (set): Parse all options separated
+ by spaces or comma, do not lowercase the option names, do not match
+ on name substrings, and on recognized options with invalid values
+ discard the value or the entire option.
+ * scripts/t/300_Dpkg_BuildOptions.t: Adjust test suite.
+
+2008-01-06 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/Dpkg/Shlibs/Objdump.pm: Also retrieve dynamic relocation
+ records from objdump by adding the -R option. Use this information
+ to mark symbols affected by R_*_COPY relocations as undefined.
+ They are initialized by the loader with values searched in the
+ needed libraries.
+
+ * scripts/Dpkg/BuildOptions.pm (set): Change the default value of
+ the overwrite parameter to 1. The only use of this function in
+ dpkg-buildpackage is missing the parameter and actually wants to
+ overwrite the whole variable.
+ * scripts/t/300_Dpkg_BuildOptions.t: Adjust the test suite for this
+ change.
+
+2008-01-04 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/Dpkg/Shlibs/SymbolFile.pm: Replace #DEPRECATED by
+ #MISSING in the output and recognize both while parsing. People
+ understand better that way.
+
+2008-01-03 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/dpkg-shlibdeps.pl (find_symbols_file): When libraries
+ are found in non-packaged files, first try to find the
+ corresponding symbols file in the build tree containing that
+ library. On the opposite, don't look up symbols files in debian/*
+ build directories for libraries found in installed packages (build
+ trees are scanned first and thus if they contain a needed library
+ dpkg-shlibdeps will find the library there and not in an installed
+ package).
+ * scripts/dpkg-shlibdeps.pl (my_find_library): When defining the
+ list of package build trees to scan, also consider those that
+ contain symbols files (instead of only considering those that have
+ a shlibs file).
+ * man/dpkg-shlibdeps.1: Document the change listed above.
+
+ * scripts/dpkg-shlibdeps.pl: Add a new -S<pkgbuilddir> option to
+ indicate a package build tree that should be scanned first when
+ trying to find a library.
+ * man/dpkg-shlibdeps.1: Document the new -S option.
+
+ * scripts/dpkg-shlibdeps.pl (add_shlibs_dep): Use the same logic
+ as find_symbols_files to find shlibs files. Check
+ debian/*/DEBIAN/shlibs only when the library has not been found in
+ an installed package, and give precedence to the shlibs provided
+ by the binary package where the library has been found. Replaces
+ the previous work-around that gave precedence to the package
+ that contained the binary.
+ * man/dpkg-shlibdeps.1: Document the above change in the shlibs
+ search order.
+
+2008-01-03 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-buildpackage.pl: Do not automatically enable '-j'
+ if DEB_BUILD_OPTIONS contains parallel=n, and allow overriding
+ its value from the environment.
+
+2008-01-02 Guillem Jover <guillem@debian.org>
+
+ * utils/start-stop-daemon.c [!__GNUC__] (fatal, badusage): Remove
+ redundant function declarations.
+
+2008-01-02 Guillem Jover <guillem@debian.org>
+
+ * src/main.h (struct stat): New forward declaration.
+
+2008-01-02 Guillem Jover <guillem@debian.org>
+
+ * lib/dpkg.h (warningf): Add PRINTFFORMAT attribute.
+ (buffer_copy_setup_PtrInt): Likewise.
+ (buffer_copy_setup_PtrPtr): Likewise.
+ (buffer_copy_setup_IntPtr): Likewise.
+ (buffer_copy_setup_IntInt): Likewise.
+ (decompress_cat): Likewise.
+ (compress_cat): Likewise.
+ * lib/dpkg-db.h (log_message): Likewise.
+
+2008-01-02 Guillem Jover <guillem@debian.org>
+
+ * lib/dpkg.h (NONRETURNPRINTFFORMAT): Remove macro.
+ (ohshit): Use NONRETURNING and PRINTFFORMAT instead of
+ NONRETURNPRINTFFORMAT.
+ (ohshite): Likewise.
+ (badusage): Likewise.
+ * utils/start-stop-daemon.c (NONRETURNPRINTFFORMAT): Remove macro.
+ (fatal): Use NONRETURNING and PRINTFFORMAT instead of
+ NONRETURNPRINTFFORMAT.
+
+2008-01-01 Guillem Jover <guillem@debian.org>
+
+ * scripts/dpkg-buildpackage.pl: Use Dpkg::Compression. Use $comp_regex
+ to match compressed diffs and tarballs.
+
+2008-01-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * utils/start-stop-daemon.c (do_stop): Do not print 'failed to kill'
+ warning when doing pid polling.
+
+2008-01-01 Guillem Jover <guillem@debian.org>
+
+ * src/archives.c (archivefiles): Remove pointless strdup for execvp
+ arguments.
+
+2008-01-01 Ian Zimmerman <itz@buug.org>
+
+ * scripts/install-info.pl: Ignore wrapped lines when matching
+ section titles.
+
+2008-01-01 John Zaitseff <J.Zaitseff@zap.org.au>
+
+ * dselect/baselist.cc (baselist::wordwrapinfo): Stop processing when
+ exceeding infopad line limit, and add a warning message.
+
+2008-01-01 Sven Rudolph <sr1@loom.sax.de>
+
+ * dselect/baselist.cc (baselist::startdisplay): Set helpscreen_attr
+ on monochrome terminals.
+
2007-12-28 Raphael Hertzog <hertzog@debian.org>
* scripts/Dpkg.pm: Add a warning to avoid adding unnecessary stuff
my $facts = parse_status("$admindir/status");
my (@unmet, @conflicts);
-my $dep_regex=qr/[ \t]*(([^\n]+|\n[ \t])*)\s/; # allow multi-line
+push @unmet, build_depends('Implicit-Build-Depends',
+ Dpkg::Deps::parse('build-essential'), $facts);
+
- if (defined($fi{"C Build-Depends"})) {
+ if (defined($fields->{"Build-Depends"})) {
push @unmet, build_depends('Build-Depends',
- Dpkg::Deps::parse($fi{"C Build-Depends"},
+ Dpkg::Deps::parse($fields->{"Build-Depends"},
reduce_arch => 1), $facts);
}
- if (defined($fi{"C Build-Conflicts"})) {
+ if (defined($fields->{"C Build-Conflicts"})) {
push @conflicts, build_conflicts('Build-Conflicts',
- Dpkg::Deps::parse($fi{"C Build-Conflicts"},
+ Dpkg::Deps::parse($fields->{"Build-Conflicts"},
reduce_arch => 1, union => 1), $facts);
}
- if (! $binary_only && defined($fi{"C Build-Depends-Indep"})) {
+ if (! $binary_only && defined($fields->{"Build-Depends-Indep"})) {
push @unmet, build_depends('Build-Depends-Indep',
- Dpkg::Deps::parse($fi{"C Build-Depends-Indep"},
+ Dpkg::Deps::parse($fields->{"Build-Depends-Indep"},
reduce_arch => 1), $facts);
}
- if (! $binary_only && defined($fi{"C Build-Conflicts-Indep"})) {
+ if (! $binary_only && defined($fields->{"Build-Conflicts-Indep"})) {
push @conflicts, build_conflicts('Build-Conflicts-Indep',
- Dpkg::Deps::parse($fi{"C Build-Conflicts-Indep"},
+ Dpkg::Deps::parse($fields->{"Build-Conflicts-Indep"},
reduce_arch => 1, union => 1), $facts);
}