]> err.no Git - dpkg/log
dpkg
16 years agodpkg-source: use the new Dpkg::Source::Package object
Raphael Hertzog [Sun, 24 Feb 2008 21:16:30 +0000 (22:16 +0100)]
dpkg-source: use the new Dpkg::Source::Package object

* scripts/dpkg-source.pl: Major restructuring of the script. It's
now based on the Dpkg::Source::Package object and its derived
classes. This was the last big step of cleanup. The script is now less
than 500 lines compared to more than 1300 not so long ago...

16 years agoDpkg::Source::Package and Dpkg::Source::Package:V1_0: new modules
Raphael Hertzog [Sun, 24 Feb 2008 21:11:46 +0000 (22:11 +0100)]
Dpkg::Source::Package and Dpkg::Source::Package:V1_0: new modules

* scripts/Dpkg/Source/Package.pm: New module that represents a source
package. It provides some common functions and is the base class
from which real format of source packages must derive. The two main
functions that subclass must implement are build($dir) and extract($dir).

* scripts/Dpkg/Source/Package/V1_0.pm: Implementation of the Debian
source package version 1.0, the current version in wide-spread use.

16 years agoAlways include everything below /usr/share/perl5/Dpkg into dpkg-dev
Raphael Hertzog [Sun, 24 Feb 2008 20:59:39 +0000 (21:59 +0100)]
Always include everything below /usr/share/perl5/Dpkg into dpkg-dev

* debian/dpkg-dev.install: Include everything below /usr/share/perl5/Dpkg
except...
* debian/rules: ... Dpkg/Gettext.pm (-X option of dh_install).

16 years agoDpkg::Exit and Dpkg::Source::Functions: two new modules
Raphael Hertzog [Sun, 24 Feb 2008 20:56:16 +0000 (21:56 +0100)]
Dpkg::Exit and Dpkg::Source::Functions: two new modules

* scripts/Dpkg/Exit.pm: Enable to register some exit handlers that
are called when a script is interrupted by a signal.
* scripts/Dpkg/Source/Functions.pm: Contains some generic functions
used by other Dpkg::Source::* modules. Only erasedir() for now.

16 years agoDpkg::Source::Archive/Patch: small tweaks
Raphael Hertzog [Sun, 24 Feb 2008 20:48:34 +0000 (21:48 +0100)]
Dpkg::Source::Archive/Patch: small tweaks

* scripts/Dpkg/Source/Archive.pm (create): Offer possibility to chdir
before calling tar. This is required to create tar achives that do not
encode the full path to the location of the directory that we want to
integrate.
* scripts/Dpkg/Source/Patch.pm (apply): Make sure to remove
POSIXLY_CORRECT while calling patch to avoid unexpected changes
in his behaviour.

16 years agoDpkg::IPC: new option to clean the environment
Raphael Hertzog [Sun, 24 Feb 2008 20:46:13 +0000 (21:46 +0100)]
Dpkg::IPC: new option to clean the environment

* scripts/Dpkg/IPC.pm (fork_and_exec): New delete_env option
that allows to remove environment variable within the child
process.

16 years agoRename Dpkg::Source::Archiver to Dpkg::Source::Archive
Raphael Hertzog [Fri, 22 Feb 2008 18:16:26 +0000 (19:16 +0100)]
Rename Dpkg::Source::Archiver to Dpkg::Source::Archive

16 years agoDpkg::Source::Patch gains last features from dpkg-source
Raphael Hertzog [Fri, 22 Feb 2008 18:07:11 +0000 (19:07 +0100)]
Dpkg::Source::Patch gains last features from dpkg-source

* scripts/Dpkg/Source/Patch.pm: New analyze() function that
replaces dpkg-source's checkdiff(). Check sanity of patch,
and reports directories to create and list of patched files.
* scripts/Dpkg/Source/Patch.pm (apply): Create required
directories on the fly and adjust timestamp of patched
files. This behaviour is configurable.
* scripts/dpkg-source.pl: Adjust accordingly.
* scripts/Dpkg/Source/Patch.pm (add_diff_file): Support
new option include_timestamp.

16 years agoDpkg::Source::Archiver/Patch: Rename close() methods into finish()
Raphael Hertzog [Fri, 22 Feb 2008 16:47:54 +0000 (17:47 +0100)]
Dpkg::Source::Archiver/Patch: Rename close() methods into finish()

* scripts/Dpkg/Source/Archiver.pm: Rename close() method into finish()
to avoid ambiguity with CORE::close().
* scripts/Dpkg/Source/Patch.pm: Same.
* scripts/dpkg-source.pl: Updated accordingly.

16 years agoDpkg::Source::Patch: New module to generate and apply patches
Raphael Hertzog [Fri, 22 Feb 2008 00:25:38 +0000 (01:25 +0100)]
Dpkg::Source::Patch: New module to generate and apply patches

* scripts/Dpkg/Source/Patch.pm: New module that is able to
generate patches (between files or between directories). It's
also able to apply patches. Built on CompressedFile, it
handles compression/decompression of patches files on the fly.
It still lack some functionalities of dpkg-source (patch
analysis and pre-creation of new directories before patch
application).
* scripts/dpkg-source.pl: Replaced big chunks of the code by
some usage of Dpkg::Source::Patch. More to come later.
* scripts/Makefile.am, scripts/po/POTFILES.in: Register the new
module file.

16 years agodpkg-source: more cleanup
Raphael Hertzog [Thu, 21 Feb 2008 00:52:49 +0000 (01:52 +0100)]
dpkg-source: more cleanup

* scripts/dpkg-source.pl: Replace several implicit fork made with
open() by fork_and_exec().
* scripts/dpkg-source.pl: Remove another chunk of unused code.

16 years agoDpkg::IPC: Add nocheck option to wait_child()
Raphael Hertzog [Thu, 21 Feb 2008 00:45:47 +0000 (01:45 +0100)]
Dpkg::IPC: Add nocheck option to wait_child()

* scripts/Dpkg/IPC.pm (wait_child): Add nocheck option to not
check the return status of the child process.

16 years agoMerge branch 'master' into sourcev3
Raphael Hertzog [Thu, 21 Feb 2008 00:44:38 +0000 (01:44 +0100)]
Merge branch 'master' into sourcev3

16 years agoAdjust Dpkg::Changelog::parse_changelog() search list of parser
Raphael Hertzog [Wed, 20 Feb 2008 23:28:10 +0000 (00:28 +0100)]
Adjust Dpkg::Changelog::parse_changelog() search list of parser

* scripts/Dpkg/Changelog.pm (parse_changelog): Fallback
into /usr/lib/dpkg/parsechangelog to find a changelog parser
in case $dpkglibdir points to another directory (for example
when DPKG_DATADIR is manually set).

16 years agoCreate Dpkg::Source::CompressedFile as spinoff of Dpkg::Source::Compressor
Raphael Hertzog [Wed, 20 Feb 2008 23:12:40 +0000 (00:12 +0100)]
Create Dpkg::Source::CompressedFile as spinoff of Dpkg::Source::Compressor

* scripts/Dpkg/Source/Compressor.pm: Drom from this object
all filename related code and move it ...
* scripts/Dpkg/Source/CompressedFile.pm: ...here. This
object is a named file and it handles either explicit
compression (call to set_compression()) or implicit compression
(compression type is guessed from the filename). It offers
open_for_write() and open_for_read() to write into/read from
a data stream that is compressed/uncompressed on the fly.
* scripts/Dpkg/Source/Archiver.pm: Make it based on
CompressedFile and simplify code.
* scripts/dpkg-source.pl: Adapt code to the new interface of
the Compressor object.
* scripts/Makefile.am, scripts/po/POTFILES.in: register new
file CompressedFile.pm.

16 years agoDpkg::Source: don't handle the compression level explicitely
Raphael Hertzog [Wed, 20 Feb 2008 19:55:19 +0000 (20:55 +0100)]
Dpkg::Source: don't handle the compression level explicitely

* scripts/Dpkg/Source/Archiver.pm: Drop set_compression_level() and always
use the default compression level (from Dpkg::Source::Compressor).
* scripts/Dpkg/Source/Compressor.pm: New set_default_compression() and
set_default_compression_level() to change the default values of those
parameters.
* scripts/dpkg-source.pl: Change the default compression and the default
compression level globally. Replace forkgzipread(), forkgzipwrite() and
reapgzip() by direct usage of Dpkg::Source::Compressor in a way that it
inherits the compression level automatically. Also simplify some
subprocess execution by using Dpkg::IPC::fork_and_exec().

16 years agoDpkg::IPC: Modify fork_and_exec() to handle environment variables
Raphael Hertzog [Wed, 20 Feb 2008 17:09:26 +0000 (18:09 +0100)]
Dpkg::IPC: Modify fork_and_exec() to handle environment variables

* scripts/Dpkg/IPC.pm (fork_and_exec): Add a new "env" option
that enables setting environment variables in the child process.

16 years agoLink dselect against libncursesw
Frank Lichtenheld [Tue, 19 Feb 2008 21:46:36 +0000 (22:46 +0100)]
Link dselect against libncursesw

* m4/libs.m4 (DPKG_LIB_CURSES): Use libncursesw if available.
* debian/control: Change build-dependency from libncurses5-dev
to libncursesw5-dev.

16 years agodpkg-source.1: Fix description of -sk and -sp
Frank Lichtenheld [Tue, 19 Feb 2008 00:21:03 +0000 (01:21 +0100)]
dpkg-source.1: Fix description of -sk and -sp

* man/dpkg-source.1: Fix documentation of -sk and -sp.
The directory with the unpacked original source will
be removed, not the tarball.

Just goes to show how much all these options are actually
used...

16 years agoMerge commit 'origin/master' into sourcev3
Frank Lichtenheld [Sun, 17 Feb 2008 20:38:51 +0000 (21:38 +0100)]
Merge commit 'origin/master' into sourcev3

Conflicts:

scripts/dpkg-source.pl

16 years agoAdd changelog entries for Dpkg::Checksums
Frank Lichtenheld [Sun, 17 Feb 2008 20:28:31 +0000 (21:28 +0100)]
Add changelog entries for Dpkg::Checksums

Lost during a botched git rebase -i.

16 years agoAllow overriding $pkgdatadir in Dpkg
Frank Lichtenheld [Sun, 17 Feb 2008 20:24:39 +0000 (21:24 +0100)]
Allow overriding $pkgdatadir in Dpkg

* scripts/Dpkg.pm: Allow overriding $pkgdatadir
with $ENV{DPKG_DATADIR}.
* scripts/Makefile.am (check): Use DPKG_DATADIR.
* debian/rules: Remove hack to copy data files
to build directory.

16 years agodpkg-architecture.1: Document needed data files
Frank Lichtenheld [Sun, 17 Feb 2008 20:20:39 +0000 (21:20 +0100)]
dpkg-architecture.1: Document needed data files

16 years agoman/po: Regenerate .pot file and merge .po files with it
Frank Lichtenheld [Sun, 17 Feb 2008 17:23:23 +0000 (18:23 +0100)]
man/po: Regenerate .pot file and merge .po files with it

16 years agodpkg-buildpackage: Set a set of compiler flags for a build
Frank Lichtenheld [Mon, 11 Feb 2008 22:30:29 +0000 (23:30 +0100)]
dpkg-buildpackage: Set a set of compiler flags for a build

* scripts/dpkg-buildpackage.pl: Set a set of environment variables
for setting compiler and linker options, unless already set in the
environment. See https://wiki.ubuntu.com/DistCompilerFlags for
background information.
* man/dpkg-buildpackage.pl: Document the new behaviour.

Based on a patch by Matthias Klose <doko@cs.tu-berlin.de>

16 years agoman/po: Regenerate .pot files and merge .po files with them
Frank Lichtenheld [Sun, 17 Feb 2008 16:41:03 +0000 (17:41 +0100)]
man/po: Regenerate .pot files and merge .po files with them

16 years agodeb-shlibs.5: Be a little more elaborate and helpful
Zack Weinberg [Sun, 17 Feb 2008 16:33:07 +0000 (17:33 +0100)]
deb-shlibs.5: Be a little more elaborate and helpful

[Committed the original patch with some formatting changes
-- Frank Lichtenheld]

16 years agodpkg.cfg: Reintroduce 'no-debsig' option
Guillem Jover [Sun, 17 Feb 2008 04:34:41 +0000 (06:34 +0200)]
dpkg.cfg: Reintroduce 'no-debsig' option

This avoids failing to install any package when debsig-verify is installed,
as distributions do not use embedded signatures in packages. Closes: #311843

16 years agoFix some whitespace oddities in the new modules
Frank Lichtenheld [Sat, 16 Feb 2008 22:29:49 +0000 (23:29 +0100)]
Fix some whitespace oddities in the new modules

16 years agoHandling of compression level in dpkg-source
Raphael Hertzog [Sat, 16 Feb 2008 22:20:35 +0000 (23:20 +0100)]
Handling of compression level in dpkg-source

* scripts/Dpkg/Source/Archiver.pm (create): Forward properly the
compression level.
* scripts/Dpkg/Source/Archiver.pm (extract): Correct parameters in
an error message.
* scripts/dpkg-source.pl: Take into account the compression level
when generating a new tarball.

16 years agoDpkg::Source::Archiver: new module to work with tar archives
Raphael Hertzog [Sat, 16 Feb 2008 19:20:36 +0000 (20:20 +0100)]
Dpkg::Source::Archiver: new module to work with tar archives

* scripts/Dpkg/Source/Archive.pm: New module handling tar
archive creation and extraction.
* scripts/dpkg-source.pl: Updated and simplified to use the new module.
* scripts/Makefile.am: Add new modules to dist tarball.
* scripts/po/POTFILES.in: Add new module in list of files to scan for
translations.

16 years agoDpkg::Sourse::Compressor: add copyright notice
Raphael Hertzog [Sat, 16 Feb 2008 19:19:04 +0000 (20:19 +0100)]
Dpkg::Sourse::Compressor: add copyright notice

16 years agoDpkg::Compression: add get_compression_from_filename()
Raphael Hertzog [Sat, 16 Feb 2008 17:52:00 +0000 (18:52 +0100)]
Dpkg::Compression: add get_compression_from_filename()

* scripts/Dpkg/Compression.pm: Add function
get_compression_from_filename() to identify the compression
type from the file extension. Returns undef in case of failure.
* scripts/Dpkg/Source/Compressor.pm: Simplify some code
by using the new get_compression_from_filename().

16 years agoContinued work on German scripts translation
Helge Kreutzmann [Sat, 16 Feb 2008 16:10:46 +0000 (17:10 +0100)]
Continued work on German scripts translation

16 years agoDpkg::IPC: Add chdir option
Raphael Hertzog [Sat, 16 Feb 2008 15:18:24 +0000 (16:18 +0100)]
Dpkg::IPC: Add chdir option

* scripts/Dpkg/IPC.pm (fork_and_exec): Add chdir option to
change the current directory of the child process before
calling exec.

16 years agoDpkg::IPC: Add a sanitiy_check for options of fork_and_exec
Frank Lichtenheld [Fri, 15 Feb 2008 21:58:26 +0000 (22:58 +0100)]
Dpkg::IPC: Add a sanitiy_check for options of fork_and_exec

* scripts/Dpkg/IPC.pm (_sanity_check_opts): Check for some
probable errors in options.
(fork_and_exec): Apply _sanity_check_opts to the options to
catch some errors that might go unnoticed otherwise and to
error out early for some other errors.

16 years agoDpkg::IPC: Add testsuite
Frank Lichtenheld [Fri, 15 Feb 2008 21:43:27 +0000 (22:43 +0100)]
Dpkg::IPC: Add testsuite

16 years agoDpkg::IPC: Add POD documentation
Frank Lichtenheld [Fri, 15 Feb 2008 21:18:33 +0000 (22:18 +0100)]
Dpkg::IPC: Add POD documentation

16 years agoDpkg::IPC: New {to,from}_string options for fork_and_exec
Frank Lichtenheld [Fri, 15 Feb 2008 20:30:15 +0000 (21:30 +0100)]
Dpkg::IPC: New {to,from}_string options for fork_and_exec

* scripts/Dpkg/IPC.pm (fork_and_exec): Add new options
{to,from}_string. For symmetry reasons both options take
a scalar reference, even though this is really only
necessary for to_string. to_string implies the
wait_child option.

16 years agoDpkg::IPC: Add wait_child option to fork_and_exec
Frank Lichtenheld [Fri, 15 Feb 2008 19:54:23 +0000 (20:54 +0100)]
Dpkg::IPC: Add wait_child option to fork_and_exec

* scripts/Dpkg/IPC.pm (fork_and_exec): If the wait_child
option is set to true, wait for the child to exit before
returning to the caller.

16 years agoDpkg::IPC: avoid surprising execution via the shell
Frank Lichtenheld [Fri, 15 Feb 2008 19:41:38 +0000 (20:41 +0100)]
Dpkg::IPC: avoid surprising execution via the shell

* scripts/Dpkg/IPC.pm (fork_and_exec): If @prog only
contains one entry exec() might execute it via the
shell if it deems it necessary. This is not intended,
so avoid this by giving $prog[0] explicetly as the
program to execute.

16 years agoSimplify Dpkg::Source::Compressor by using the extended fork_and_exec()
Raphael Hertzog [Fri, 15 Feb 2008 18:34:32 +0000 (19:34 +0100)]
Simplify Dpkg::Source::Compressor by using the extended fork_and_exec()

* scripts/Dpkg/Source/Compressor.pm: Replace the multiple compress_*
functions by a single compress() function that accepts the same
parameters than fork_and_exec(). The exec parameter is replaced
with the right compressor/decompressor invocation, and some other
parameters have default values.
Same for uncompress_* replaced by uncompress().
* scripts/dpkg-source.pl: Update accordingly to use the new syntax.

16 years agoDpkg::IPC: extend fork_and_exec() to create pipes on request
Raphael Hertzog [Fri, 15 Feb 2008 18:30:21 +0000 (19:30 +0100)]
Dpkg::IPC: extend fork_and_exec() to create pipes on request

* scripts/Dpkg/IPC.pm (fork_and_exec): Now accept from_pipe and
to_pipe parameters that should point to a scalar reference. The
scalar will be set with the filehandle of the other side of the
created pipe.

16 years agodpkg-source: removes some unused code
Raphael Hertzog [Fri, 15 Feb 2008 15:39:00 +0000 (16:39 +0100)]
dpkg-source: removes some unused code

* scripts/dpkg-source.pl: Removes unused code to check tar files.

16 years agodpkg-source: use Dpkg::Source::Compressor
Raphael Hertzog [Fri, 15 Feb 2008 15:15:41 +0000 (16:15 +0100)]
dpkg-source: use Dpkg::Source::Compressor

* scripts/dpkg-source.pl (forkgzipread, forkgzipwrite): Change
the functions to use the new Dpkg::Source::Compressor module.

16 years agoDpkg::Source::Compressor: handle on-the-fly compression
Raphael Hertzog [Fri, 15 Feb 2008 15:10:55 +0000 (16:10 +0100)]
Dpkg::Source::Compressor: handle on-the-fly compression

* scripts/Dpkg/Source/Compressor.pm: This new module knows how
to compress/uncompress streams of data. It supports all the
compression types defined in Dpkg::Compression.

16 years agoDpkg::IPC: new module to handle common IPC
Raphael Hertzog [Fri, 15 Feb 2008 14:45:10 +0000 (15:45 +0100)]
Dpkg::IPC: new module to handle common IPC

* scripts/Dpkg/IPC.pm: New module handling IPC. Started with
fork_and_exec() and wait_child(). STDIN/STDOUT of the child
process can be easily redirected to a file or any other
filehandle.

16 years agoDpkg::Version: Import Dpkg::Gettext
Raphael Hertzog [Wed, 13 Feb 2008 19:51:47 +0000 (20:51 +0100)]
Dpkg::Version: Import Dpkg::Gettext

* scripts/Dpkg/Version.pm: Import Dpkg::Gettext since check_version() uses
_g().

16 years agoUse new Dpkg::Checksums module
Frank Lichtenheld [Sat, 26 Jan 2008 22:16:29 +0000 (23:16 +0100)]
Use new Dpkg::Checksums module

* scripts/dpkg-genchanges.pl, scripts/dpkg-source.pl: Use new
Dpkg::Checksums module. Adds new 'Checksums-{Sha1,Sha256}' field
to .changes and .dsc files. Increase changes format to 1.8.

16 years agoDpkg::Checksums: New module for checksum handling in .dsc and .changes files
Frank Lichtenheld [Sat, 26 Jan 2008 22:15:14 +0000 (23:15 +0100)]
Dpkg::Checksums: New module for checksum handling in .dsc and .changes files

16 years agoDpkg::Source::VCS::git: Call git ls-files with -z
Frank Lichtenheld [Mon, 11 Feb 2008 00:41:55 +0000 (01:41 +0100)]
Dpkg::Source::VCS::git: Call git ls-files with -z

* scripts/Dpkg/Source/VCS/git.pm(prep_tar): Call git ls-files
with -z to correctly handle filenames with funny characters.

16 years agoDpkg::Source::VCS::git: simplify read_git_config
Frank Lichtenheld [Sun, 10 Feb 2008 23:14:28 +0000 (00:14 +0100)]
Dpkg::Source::VCS::git: simplify read_git_config

* scripts/Dpkg/Source/VCS/git.pm(read_git_config): Simplify
by setting $/ = "\0" instead of splitting on \n, which
separates keys and values, but can also occour in the
values themself.

16 years agoFix sourcev3 code to work with current dpkg-dev
Frank Lichtenheld [Sun, 10 Feb 2008 20:26:31 +0000 (21:26 +0100)]
Fix sourcev3 code to work with current dpkg-dev

Use Dpkg::ErrorHandling and fix some other errors

16 years agoFix return value of loadvcs
Frank Lichtenheld [Sun, 10 Feb 2008 20:22:52 +0000 (21:22 +0100)]
Fix return value of loadvcs

* scripts/dpkg-source.pl (loadvcs): Don't return a
true value if the require failed.

16 years agoMerge commit 'origin/master' into v3
Frank Lichtenheld [Sun, 10 Feb 2008 18:55:26 +0000 (19:55 +0100)]
Merge commit 'origin/master' into v3

16 years agoUpdated Romanian translations for dpkg and dselect
Eddy Petrișor [Sat, 9 Feb 2008 11:34:24 +0000 (13:34 +0200)]
Updated Romanian translations for dpkg and dselect

Romanian dpkg and dselect translations updated to 100%.
Some improvements in divert related translations in dpkg.

16 years agodpkg-gencontrol: Do not output the Homepage field on udeb
Guillem Jover [Thu, 7 Feb 2008 02:07:09 +0000 (04:07 +0200)]
dpkg-gencontrol: Do not output the Homepage field on udeb

16 years agoUpdated Korean translation
Changwoo Ryu [Mon, 4 Feb 2008 07:59:31 +0000 (16:59 +0900)]
Updated Korean translation

* po/ko.po: Update to 927t.

16 years agolibcompat: Do not pass unused arguments to the compiler
Guillem Jover [Mon, 4 Feb 2008 06:43:01 +0000 (08:43 +0200)]
libcompat: Do not pass unused arguments to the compiler

16 years agoTODO: Update
Guillem Jover [Mon, 4 Feb 2008 06:34:31 +0000 (08:34 +0200)]
TODO: Update

16 years agoUse functions from libcompat when those are not provided by the system
Guillem Jover [Mon, 4 Feb 2008 06:07:40 +0000 (08:07 +0200)]
Use functions from libcompat when those are not provided by the system

16 years agolibcompat: Remove unused files
Guillem Jover [Sun, 3 Feb 2008 02:16:26 +0000 (04:16 +0200)]
libcompat: Remove unused files

16 years agodpkg-shlibdeps: some accuracy improvements for warnings about unused libraries
Raphael Hertzog [Sun, 3 Feb 2008 17:54:00 +0000 (18:54 +0100)]
dpkg-shlibdeps: some accuracy improvements for warnings about unused libraries

* scripts/dpkg-shlibdeps.pl: Handle better the case when the
library found has a different soname than the one used to look up
the library file. Properly affect symbols coming from it to the
soname wanted by the binary, thus avoiding invalid warnings about
unused library.

16 years agoAdd a changelog entry for fc06cadfade105bb192bc89b4e6ffe4fa0552691
Frank Lichtenheld [Thu, 31 Jan 2008 13:05:15 +0000 (14:05 +0100)]
Add a changelog entry for fc06cadfade105bb192bc89b4e6ffe4fa0552691

There is now a bug report about it.

16 years agoUpdate Uploaders
Guillem Jover [Thu, 31 Jan 2008 03:38:32 +0000 (05:38 +0200)]
Update Uploaders

Remove Brendan O'Dea and Christian Perrier with their permission.
Add Raphael Hertzog.

16 years agoFix copy & paste error in a bug number in the 1.14.16 changelog entry
Frank Lichtenheld [Wed, 30 Jan 2008 22:07:21 +0000 (23:07 +0100)]
Fix copy & paste error in a bug number in the 1.14.16 changelog entry

16 years agodpkg-buildpackage: Warn about unsatisfied build-depends during -S
Frank Lichtenheld [Wed, 30 Jan 2008 21:54:04 +0000 (22:54 +0100)]
dpkg-buildpackage: Warn about unsatisfied build-depends during -S

16 years agodpkg-genchanges: always list all binary packages in the Description field
Raphael Hertzog [Wed, 30 Jan 2008 22:05:58 +0000 (23:05 +0100)]
dpkg-genchanges: always list all binary packages in the Description field

16 years agos-s-d: Documentation improvements
Justin Pryzby [Wed, 30 Jan 2008 04:35:30 +0000 (06:35 +0200)]
s-s-d: Documentation improvements

Cosmetic fixes to start-stop-daemon output and man page. Document
that --chuid will change the group even if it has not been specified.
Add EXIT STATUS and EXAMPLE sections to man page.

16 years agodpkg-buildpackage: add a new -R option and allow parameters in -r
Raphael Hertzog [Sat, 19 Jan 2008 20:53:18 +0000 (21:53 +0100)]
dpkg-buildpackage: add a new -R option and allow parameters in -r

* scripts/dpkg-buildpackage.pl: Add a new -R option to be able to replace
"debian/rules" by something else. The replacement command can contain
parameters (and thus spaces). Fix -r option to also accept parameters.
* man/dpkg-buildpackage.1: Document the new option and the changed
behaviour of -r.

16 years agoRename getopt to libcompat
Guillem Jover [Mon, 28 Jan 2008 04:28:19 +0000 (06:28 +0200)]
Rename getopt to libcompat

16 years agoDeprecate support of PGP
Raphael Hertzog [Sun, 27 Jan 2008 19:36:05 +0000 (20:36 +0100)]
Deprecate support of PGP

16 years agoCustom changelog parsers must be updated for lenny+1
Raphael Hertzog [Sun, 27 Jan 2008 19:13:18 +0000 (20:13 +0100)]
Custom changelog parsers must be updated for lenny+1

16 years agoDeprecate support of substvars in dpkg-source and dpkg-genchanges
Raphael Hertzog [Sun, 27 Jan 2008 19:01:00 +0000 (20:01 +0100)]
Deprecate support of substvars in dpkg-source and dpkg-genchanges

16 years agoAvoid fuzzy translations on a cosmetic string change.
Raphael Hertzog [Sun, 27 Jan 2008 16:55:27 +0000 (17:55 +0100)]
Avoid fuzzy translations on a cosmetic string change.

16 years agodpkg-gensymbols: be more explicit in warning about new/lost libraries
Raphael Hertzog [Sun, 27 Jan 2008 16:53:05 +0000 (17:53 +0100)]
dpkg-gensymbols: be more explicit in warning about new/lost libraries

* scripts/Dpkg/Shlibs/SymbolFile.pm: Replace has_new_libs(),
has_lost_libs(), has_new_symbols() and has_lost_symbols() by
corresponding get_* functions.
* scripts/dpkg-gensymbsols.pl: Display list of new/lost libs. Also
display list of lost symbols when wildcards symbols have been
used.
* scripts/t/200_Dpkg_Shlibs.t: Adjust test suite to API change.

16 years agoAdd a missing significant space in a translated string
Frank Lichtenheld [Sun, 27 Jan 2008 00:39:48 +0000 (01:39 +0100)]
Add a missing significant space in a translated string

16 years agoMerge branch 'stable'
Raphael Hertzog [Sat, 26 Jan 2008 19:55:13 +0000 (20:55 +0100)]
Merge branch 'stable'

Conflicts:

configure.ac
debian/changelog

16 years agoRelease 1.14.16.6
Raphael Hertzog [Sat, 26 Jan 2008 19:36:09 +0000 (20:36 +0100)]
Release 1.14.16.6

16 years agodpkg-gensymbols: skip directories during scan of package build dir
Raphael Hertzog [Sat, 26 Jan 2008 18:25:31 +0000 (19:25 +0100)]
dpkg-gensymbols: skip directories during scan of package build dir

* scripts/dpkg-gensymbols: Don't scan directories which are
symlinks. They might point outside of the package build dir which
results in addition of libraries which are not in the package.
The libc6 package on amd64 is affected with a symlink "lib64" ->
"/lib".

16 years agoBasque translation update
Christian Perrier [Fri, 25 Jan 2008 21:54:56 +0000 (22:54 +0100)]
Basque translation update

16 years agos-s-d: Use system timersub and fix timeval normalization in multiplication
Andreas Påhlsson [Thu, 24 Jan 2008 22:15:15 +0000 (00:15 +0200)]
s-s-d: Use system timersub and fix timeval normalization in multiplication

Closes: #462225
16 years agodpkg-checkbuilddeps: add -d and -c options to override build-depends/conflicts
Raphael Hertzog [Sat, 19 Jan 2008 21:55:01 +0000 (22:55 +0100)]
dpkg-checkbuilddeps: add -d and -c options to override build-depends/conflicts

* scripts/dpkg-checkbuilddeps.pl: Add support of options -d and -c to use
build dependencies/conflicts given on the command line instead of those
retrieved from debian/control.
* man/dpkg-checkbuilddeps.1: Document the new options.

16 years agodpkg-genchanges: add a new warning
Raphael Hertzog [Thu, 24 Jan 2008 22:06:37 +0000 (23:06 +0100)]
dpkg-genchanges: add a new warning

* scripts/dpkg-genchanges.pl: Warn if the current version is
smaller than the previous one.

16 years agoMerge branch 'stable'
Raphael Hertzog [Thu, 24 Jan 2008 14:18:46 +0000 (15:18 +0100)]
Merge branch 'stable'

Conflicts:

ChangeLog
configure.ac
debian/changelog

16 years agoRelease 1.14.16.5
Raphael Hertzog [Thu, 24 Jan 2008 13:22:15 +0000 (14:22 +0100)]
Release 1.14.16.5

16 years agoDpkg::Shlibs::SymbolFile: add many armel-specific symbols to the blacklist
Raphael Hertzog [Thu, 24 Jan 2008 11:21:25 +0000 (12:21 +0100)]
Dpkg::Shlibs::SymbolFile: add many armel-specific symbols to the blacklist

16 years agoDpkg::Shlibs::SymbolFile: handles multiple #include of the same file
Raphael Hertzog [Thu, 24 Jan 2008 10:32:54 +0000 (11:32 +0100)]
Dpkg::Shlibs::SymbolFile: handles multiple #include of the same file

* scripts/Dpkg/Shlibs/SymbolFile.pm (load): Remove the loaded file
from the %$seen hash at the end so that it's possible to include
multiple times the same file (at the same level and not from any
nested file obviously).

16 years agoFix ChangeLog history ordering
Guillem Jover [Wed, 23 Jan 2008 08:19:05 +0000 (10:19 +0200)]
Fix ChangeLog history ordering

16 years agoMerge branch 'stable'
Guillem Jover [Wed, 23 Jan 2008 07:02:06 +0000 (09:02 +0200)]
Merge branch 'stable'

Conflicts:

configure.ac
debian/changelog

16 years agoRelease 1.14.16.4
Guillem Jover [Wed, 23 Jan 2008 06:45:16 +0000 (08:45 +0200)]
Release 1.14.16.4

16 years agoDpkg::Cdata: Import capit from Dpkg::Fields
Guillem Jover [Wed, 23 Jan 2008 06:43:46 +0000 (08:43 +0200)]
Dpkg::Cdata: Import capit from Dpkg::Fields

Closes: #462172
16 years agoMerge branch 'stable'
Guillem Jover [Tue, 22 Jan 2008 22:02:49 +0000 (00:02 +0200)]
Merge branch 'stable'

Conflicts:

ChangeLog
configure.ac
debian/changelog

16 years agoRelease 1.14.16.3
Guillem Jover [Tue, 22 Jan 2008 21:40:55 +0000 (23:40 +0200)]
Release 1.14.16.3

16 years agos-s-d: Fix timeout computations for --retry option
Guillem Jover [Tue, 22 Jan 2008 21:36:06 +0000 (23:36 +0200)]
s-s-d: Fix timeout computations for --retry option

This has not worked properly for a long time (maybe never), but came to
light due to #460903's fix. Closes: #462104

16 years agoUpdated Swedish translation.
Peter Karlsson [Tue, 22 Jan 2008 20:42:14 +0000 (21:42 +0100)]
Updated Swedish translation.

16 years agos-s-d: Fix segfault when using --group w/o --chuid
Guillem Jover [Tue, 22 Jan 2008 19:43:35 +0000 (21:43 +0200)]
s-s-d: Fix segfault when using --group w/o --chuid

As a side effect, using --group alone works for the first time in years.
Closes: #462072
16 years agos-s-d: Properly set the supplementary groups on --chuid
Guillem Jover [Tue, 22 Jan 2008 19:20:49 +0000 (21:20 +0200)]
s-s-d: Properly set the supplementary groups on --chuid

Set the supplementary groups if the real user or group are different than
the ones we should switch to.

Closes: #462075
16 years agodpkg-parsechangelog(1): fix two typos
Raphael Hertzog [Tue, 22 Jan 2008 18:21:01 +0000 (19:21 +0100)]
dpkg-parsechangelog(1): fix two typos

* man/dpkg-parsechangelog.1: Fix typos reported by Helge Kreutzmann.
* man/po/*.po: Update all translations accordingly.

16 years agoRe-Complete and unfuzzy German man page translation (except dselect)
Helge Kreutzmann [Tue, 22 Jan 2008 18:05:32 +0000 (19:05 +0100)]
Re-Complete and unfuzzy German man page translation (except dselect)