Browse Source

dpkg (1.13.9) unstable; urgency=low

  The "On like Donkey Kong" Release.

  * Only open the log file when we first need to write to it, this avoids
    the need to suppress errors when not root which fakeroot defeated anyway.
  * Stop dpkg-source clobbering an existing .orig directory during unpacking.
    Closes: #21236.
  * Allow an alternate output directory to be specified to dpkg-source by
    giving a second argument to -x.  Closes: #246802, #282323.
  * Added .arch-inventory to default diff ignore regexp.  Closes: #304297.

  SELinux support (Manoj Srivastava):
  * On SELinux-enabled systems, try to set the security context when the
    package is unpacked.  Closes: #193653, #249496, #307139.
  * Added build-dependancy on libselinux1-dev.

  Improvements to dpkg-source (Brendan O'Dea):
  * Support unpacking of "Wig And Pen" (Format 2.0) source packages.
  * Multiple pristine upstream tarballs allowed.
  * Native and upstream tarballs may be bzip2-compressed instead of gzip,
    as may the debian diff or tarball.
  * Unsupported format error fixed to output the unsupported format
    rather than the supported one.  Closes: #156317.

 -- Scott James Remnant <scott@netsplit.com>  Sun, 12 Jun 2005 15:52:43 +0100
Scott James Remnant 19 years ago
parent
commit
3748a23e47
100 changed files with 3311 additions and 2246 deletions
  1. 106 0
      ChangeLog
  2. 27 25
      INSTALL
  3. 25 16
      Makefile.in
  4. 145 33
      aclocal.m4
  5. 9 0
      config.h.in
  6. 927 222
      configure
  7. 2 1
      configure.ac
  8. 27 0
      debian/changelog
  9. 2 2
      debian/control
  10. 2 1
      debian/rules
  11. 10 14
      depcomp
  12. 3 4
      dpkg-deb/Makefile.am
  13. 13 15
      dpkg-deb/Makefile.in
  14. 7 11
      dpkg-split/Makefile.in
  15. 7 18
      dselect/Makefile.in
  16. 7 11
      getopt/Makefile.in
  17. 48 50
      install-sh
  18. 582 714
      intl/plural.c
  19. 1 2
      lib/Makefile.am
  20. 8 21
      lib/Makefile.in
  21. 41 21
      lib/dbmodify.c
  22. 3 1
      lib/dpkg-db.h
  23. 1 1
      lib/myopt.c
  24. 66 0
      lib/star.c
  25. 74 26
      m4/libs.m4
  26. 7 5
      man/C/Makefile.in
  27. 8 1
      man/C/dpkg-source.1
  28. 11 8
      man/Makefile.in
  29. 5 4
      man/de/Makefile.in
  30. 7 5
      man/es/Makefile.in
  31. 7 5
      man/fr/Makefile.in
  32. 7 5
      man/ja/Makefile.in
  33. 5 4
      man/pt_BR/Makefile.in
  34. 7 5
      man/ru/Makefile.in
  35. 7 5
      man/sv/Makefile.in
  36. 19 22
      methods/Makefile.in
  37. 35 42
      missing
  38. 13 6
      origins/Makefile.in
  39. BIN
      po/bs.gmo
  40. 23 23
      po/bs.po
  41. BIN
      po/ca.gmo
  42. 23 23
      po/ca.po
  43. BIN
      po/cs.gmo
  44. 23 23
      po/cs.po
  45. BIN
      po/da.gmo
  46. 23 23
      po/da.po
  47. BIN
      po/de.gmo
  48. 23 23
      po/de.po
  49. 23 23
      po/dpkg.pot
  50. BIN
      po/el.gmo
  51. 23 23
      po/el.po
  52. BIN
      po/es.gmo
  53. 23 23
      po/es.po
  54. BIN
      po/eu.gmo
  55. 23 23
      po/eu.po
  56. BIN
      po/fr.gmo
  57. 23 23
      po/fr.po
  58. BIN
      po/gl.gmo
  59. 23 23
      po/gl.po
  60. BIN
      po/he.gmo
  61. 23 23
      po/he.po
  62. BIN
      po/id.gmo
  63. 23 23
      po/id.po
  64. BIN
      po/it.gmo
  65. 23 23
      po/it.po
  66. BIN
      po/ja.gmo
  67. 23 23
      po/ja.po
  68. BIN
      po/ko.gmo
  69. 23 23
      po/ko.po
  70. BIN
      po/nb.gmo
  71. 23 23
      po/nb.po
  72. BIN
      po/nl.gmo
  73. 23 23
      po/nl.po
  74. BIN
      po/nn.gmo
  75. 23 23
      po/nn.po
  76. BIN
      po/pl.gmo
  77. 23 23
      po/pl.po
  78. BIN
      po/pt.gmo
  79. 23 23
      po/pt.po
  80. BIN
      po/pt_BR.gmo
  81. 23 23
      po/pt_BR.po
  82. BIN
      po/ro.gmo
  83. 23 23
      po/ro.po
  84. BIN
      po/ru.gmo
  85. 23 23
      po/ru.po
  86. BIN
      po/sk.gmo
  87. 23 23
      po/sk.po
  88. BIN
      po/sv.gmo
  89. 23 23
      po/sv.po
  90. BIN
      po/tl.gmo
  91. 23 23
      po/tl.po
  92. BIN
      po/zh_CN.gmo
  93. 23 23
      po/zh_CN.po
  94. BIN
      po/zh_TW.gmo
  95. 23 23
      po/zh_TW.po
  96. 7 5
      scripts/Makefile.in
  97. 339 225
      scripts/dpkg-source.pl
  98. 3 2
      src/Makefile.am
  99. 14 21
      src/Makefile.in
  100. 0 0
      src/configure.c

+ 106 - 0
ChangeLog

@@ -1,5 +1,111 @@
+2005-06-12  Scott James Remnant  <scott@netsplit.com>
+
+	* configure.ac: Release 1.13.9.
+
+2005-06-11  Scott James Remnant  <scott@netsplit.com>
+
+	* scripts/dpkg-source.pl: Add .arch-inventory to default diff
+	ignore regexp.
+
+	* scripts/dpkg-source.pl: If two arguments are given to dpkg-source,
+	use the second to set $newdirectory rather than creating it ourselves.
+	It's an error to specify an output directory that exists.
+	(usageversion): Document optional second argument to dpkg-source -x.
+	
+	* man/C/dpkg-source.1: Document optional second argument.
+
+2005-06-11  Matt Kraai  <kraai@alumni.cmu.edu>,
+	    Scott James Remnant  <scott@netsplit.com>
+
+	* scripts/dpkg-source.pl: Move the .orig directory out of the way
+	during the duration of the script, moving it back again afterwards.
+
+2005-06-11  Brendan O'Dea  <bod@debian.org>
+
+	Support unpacking of "Wig And Pen" (Format: 2.0) source packages.
+
+	* scripts/dpkg-source.pl: When unpacking a source package with a
+	2.x format, allow multiple orig tarballs and allow the diff to be
+	replaced by a debian.tar.  Additional orig tarballs are named
+	"*.orig-xxx.tar" where the "xxx" is the name of the sub-directory
+	of the source where they should be unpacked.  The debian.tar is
+	unpacked as the debian sub-directory of the source and may contain
+	binaries (which the diff can't) and patches (in a patches
+	sub-directory) which are automatically applied during unpacking.
+	(checkdiff): Move diff checking code into sub-routine as we call
+	it multiple times now.  Allow uncompressed patches, cruft
+	at the start of a patcha and be less strict about patched directory
+	name (including allowing /dev/null).  Skip "Index:" header generated
+	by CVS.
+	(forkgzipread): Run either gunzip or bunzip2 depending on the
+	filename, allowing us to support .tar.bz2, and .diff.bz2.
+	(handleformat): Compare a range of major versions, as we now
+	support both 1.0 and 2.0 formats.
+	(def_dscformat): Generate 1.0 format packages by default.
+	(setfile): Removed unused function.
+	* debian/control ([dpkg-dev]Recommends): Recommend bzip2, it's
+	not an absolute dependency until bz2 packages are supported by
+	katie and policy.
+
+2005-06-11  Scott James Remnant  <scott@netsplit.com>
+
+	* m4/libs.m4 (DPKG_LIB_ZLIB, DPKG_LIB_BZ2): Rewrite to match the
+	way --with-selinux works.  Actually check whether the library and
+	header files we need are available, using the configure option to
+	determine whether the tests should be skipped (=no) or cause a
+	hard failure if not present (=yes or =static).
+	* lib/Makefile.am (INCLUDES): Remove ZLIB_CFLAGS and BZ2_CFLAGS as
+	we don't set these to anything in configure anymore (WITH_ZLIB and
+	WITH_BZ2 are set in config.h) and users would set CFLAGS itself to
+	supply missing -I arguments.
+	* dpkg-deb/Makefile.am (INCLUDES): Remove ZLIB_CFLAGS and BZ2_CLFAGS.
+	* src/Makefile.am (dpkg_query_LDADD): Remove ZLIB_LIBS and CFLAGS_LIBS
+	as dpkg-query doesn't use them.
+
+	* m4/libs.m4 (DPKG_LIB_SELINUX): Add new test for the selinux
+	library and header.  This works a little differently from the
+	current --with-{zlib,bz2} tests in that if no option is given it
+	still tries to enable it if possible.  If "yes" or "static" is given,
+	that forces the requirement (configure fails if not present), if "no"
+	is given the tests are skipped.
+	* configure.ac: Include selinux test.
+
+2005-06-11  Manoj Srivastava  <srivasta@debian.org>
+
+	* lib/star.c (ExtractFile, SetModes): If dpkg is compiled with
+	SELinux, test once whether SELinux is enabled on the system.  If it
+	is enabled, find out the security context of the file from its path
+	and either set what we think it should be or let the default security
+	context for the process be applied.
+	* debian/control (Build-Depends): Add libselinux1-dev as a build
+	dependency. 
+	* debian/rules: Compile-in support for selinux and link statically.
+	* dpkg-deb/Makefile.am (dpkg_deb_LDADD): Link dpkg-deb with
+	SELINUX_LIBS.
+	* src/Makefile.am (dpkg_LDADD): Link dpkg with SELINUX_LIBS.
+
 2005-06-10  Scott James Remnant  <scott@netsplit.com>
 
+	* lib/dbmodify.c (log_message): New function that writes a
+	formatted string to the log file, opening it if it hasn't been
+	yet.  In case of error, we print it and don't try to open the
+	file again.
+	(modstatdb_note): Replace log writing code with call to new
+	log_message function.
+	* src/configure.c (promptconfaction): Replace log writing code
+	with call to log_message function.
+	* src/help.c (log_action): Simplify to just a log_message call.
+	* lib/dpkg-db.h: Remove extern definition of log_pipes, replace
+	with log_message function.
+	* src/main.c (cmdinfos): Change --log argument action to just
+	storing the string in the log_file variable.
+	(setfile): Remove function.
+	* lib/myopt.c (myfileopt): strdup the string option argument
+	before storing it, otherwise it just gets overwritten by the next
+	line.
+
+	* configure.ac: Bump version to 1.13.9~.
+
 	* configure.ac: Release 1.13.8.
 
 	* lib/parse.c (parsedb): Check whether the file size is greater

+ 27 - 25
INSTALL

@@ -1,13 +1,16 @@
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
-Foundation, Inc.
+Installation Instructions
+*************************
 
-   This file is free documentation; the Free Software Foundation gives
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free
+Software Foundation, Inc.
+
+This file is free documentation; the Free Software Foundation gives
 unlimited permission to copy, distribute and modify it.
 
 Basic Installation
 ==================
 
-   These are generic installation instructions.
+These are generic installation instructions.
 
    The `configure' shell script attempts to guess correct values for
 various system-dependent variables used during compilation.  It uses
@@ -67,9 +70,9 @@ The simplest way to compile this package is:
 Compilers and Options
 =====================
 
-   Some systems require unusual options for compilation or linking that
-the `configure' script does not know about.  Run `./configure --help'
-for details on some of the pertinent environment variables.
+Some systems require unusual options for compilation or linking that the
+`configure' script does not know about.  Run `./configure --help' for
+details on some of the pertinent environment variables.
 
    You can give `configure' initial values for configuration parameters
 by setting variables in the command line or in the environment.  Here
@@ -82,7 +85,7 @@ is an example:
 Compiling For Multiple Architectures
 ====================================
 
-   You can compile the package for more than one kind of computer at the
+You can compile the package for more than one kind of computer at the
 same time, by placing the object files for each architecture in their
 own directory.  To do this, you must use a version of `make' that
 supports the `VPATH' variable, such as GNU `make'.  `cd' to the
@@ -99,19 +102,19 @@ for another architecture.
 Installation Names
 ==================
 
-   By default, `make install' will install the package's files in
+By default, `make install' will install the package's files in
 `/usr/local/bin', `/usr/local/man', etc.  You can specify an
 installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
+option `--prefix=PREFIX'.
 
    You can specify separate installation prefixes for
 architecture-specific files and architecture-independent files.  If you
-give `configure' the option `--exec-prefix=PATH', the package will use
-PATH as the prefix for installing programs and libraries.
+give `configure' the option `--exec-prefix=PREFIX', the package will
+use PREFIX as the prefix for installing programs and libraries.
 Documentation and other data files will still use the regular prefix.
 
    In addition, if you use an unusual directory layout you can give
-options like `--bindir=PATH' to specify different values for particular
+options like `--bindir=DIR' to specify different values for particular
 kinds of files.  Run `configure --help' for a list of the directories
 you can set and what kinds of files go in them.
 
@@ -122,7 +125,7 @@ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
 Optional Features
 =================
 
-   Some packages pay attention to `--enable-FEATURE' options to
+Some packages pay attention to `--enable-FEATURE' options to
 `configure', where FEATURE indicates an optional part of the package.
 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
 is something like `gnu-as' or `x' (for the X Window System).  The
@@ -137,11 +140,11 @@ you can use the `configure' options `--x-includes=DIR' and
 Specifying the System Type
 ==========================
 
-   There may be some features `configure' cannot figure out
-automatically, but needs to determine by the type of machine the package
-will run on.  Usually, assuming the package is built to be run on the
-_same_ architectures, `configure' can figure that out, but if it prints
-a message saying it cannot guess the machine type, give it the
+There may be some features `configure' cannot figure out automatically,
+but needs to determine by the type of machine the package will run on.
+Usually, assuming the package is built to be run on the _same_
+architectures, `configure' can figure that out, but if it prints a
+message saying it cannot guess the machine type, give it the
 `--build=TYPE' option.  TYPE can either be a short name for the system
 type, such as `sun4', or a canonical name which has the form:
 
@@ -167,9 +170,9 @@ eventually be run) with `--host=TYPE'.
 Sharing Defaults
 ================
 
-   If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
+If you want to set default values for `configure' scripts to share, you
+can create a site shell script called `config.site' that gives default
+values for variables like `CC', `cache_file', and `prefix'.
 `configure' looks for `PREFIX/share/config.site' if it exists, then
 `PREFIX/etc/config.site' if it exists.  Or, you can set the
 `CONFIG_SITE' environment variable to the location of the site script.
@@ -178,7 +181,7 @@ A warning: not all `configure' scripts look for a site script.
 Defining Variables
 ==================
 
-   Variables not defined in a site shell script can be set in the
+Variables not defined in a site shell script can be set in the
 environment passed to `configure'.  However, some packages may run
 configure again during the build, and the customized values of these
 variables may be lost.  In order to avoid this problem, you should set
@@ -192,8 +195,7 @@ overridden in the site shell script).
 `configure' Invocation
 ======================
 
-   `configure' recognizes the following options to control how it
-operates.
+`configure' recognizes the following options to control how it operates.
 
 `--help'
 `-h'

+ 25 - 16
Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -78,6 +78,12 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 	install-recursive installcheck-recursive installdirs-recursive \
 	pdf-recursive ps-recursive uninstall-info-recursive \
 	uninstall-recursive
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(pkgdatadir)"
 dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(dist_pkgdata_DATA)
@@ -106,7 +112,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -166,6 +171,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -178,7 +184,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -192,6 +197,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -326,7 +333,7 @@ install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
 	test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)"
 	@list='$(dist_pkgdata_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  f=$(am__strip_dir) \
 	  echo " $(dist_pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
 	  $(dist_pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
 	done
@@ -334,7 +341,7 @@ install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
 uninstall-dist_pkgdataDATA:
 	@$(NORMAL_UNINSTALL)
 	@list='$(dist_pkgdata_DATA)'; for p in $$list; do \
-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  f=$(am__strip_dir) \
 	  echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
 	  rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
 	done
@@ -492,12 +499,14 @@ distdir: $(DISTFILES)
 	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
 	    test -d "$(distdir)/$$subdir" \
-	    || mkdir "$(distdir)/$$subdir" \
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
 	    || exit 1; \
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 	    (cd $$subdir && \
 	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="../$(top_distdir)" \
-	        distdir="../$(distdir)/$$subdir" \
+	        top_distdir="$$top_distdir" \
+	        distdir="$$distdir/$$subdir" \
 	        distdir) \
 	      || exit 1; \
 	  fi; \
@@ -508,15 +517,15 @@ distdir: $(DISTFILES)
 	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
 	|| chmod -R a+r $(distdir)
 dist-gzip: distdir
-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 	$(am__remove_distdir)
 
 dist-bzip2: distdir
-	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
+	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
 	$(am__remove_distdir)
 
 dist-tarZ: distdir
-	$(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
+	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
 	$(am__remove_distdir)
 
 dist-shar: distdir
@@ -529,7 +538,7 @@ dist-zip: distdir
 	$(am__remove_distdir)
 
 dist dist-all: distdir
-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 	$(am__remove_distdir)
 
 # This target untars the dist file and tries a VPATH configuration.  Then
@@ -538,11 +547,11 @@ dist dist-all: distdir
 distcheck: dist
 	case '$(DIST_ARCHIVES)' in \
 	*.tar.gz*) \
-	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
 	*.tar.bz2*) \
-	  bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
+	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
 	*.tar.Z*) \
-	  uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
+	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
 	*.shar.gz*) \
 	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
 	*.zip*) \
@@ -627,7 +636,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 145 - 33
aclocal.m4

@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
+# generated automatically by aclocal 1.9.4 -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 # Free Software Foundation, Inc.
@@ -33,14 +33,14 @@
 # ----------------------------
 # Automake X.Y traces this macro to ensure aclocal.m4 has been
 # generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
 # AM_SET_CURRENT_AUTOMAKE_VERSION
 # -------------------------------
 # Call AM_AUTOMAKE_VERSION so it can be traced.
 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-	 [AM_AUTOMAKE_VERSION([1.8.5])])
+	 [AM_AUTOMAKE_VERSION([1.9.4])])
 
 # AM_AUX_DIR_EXPAND
 
@@ -108,7 +108,7 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
 
 # AM_CONDITIONAL                                              -*- Autoconf -*-
 
-# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -145,8 +145,8 @@ else
 fi
 AC_CONFIG_COMMANDS_PRE(
 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
-  AC_MSG_ERROR([conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.])
+  AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
 fi])])
 
 # serial 7						-*- Autoconf -*-
@@ -319,7 +319,8 @@ AC_SUBST([AMDEPBACKSLASH])
 
 # Generate code to set up dependency tracking.   -*- Autoconf -*-
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+#   Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -355,27 +356,21 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
   else
     continue
   fi
-  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
-  # Extract the definition of DEP_FILES from the Makefile without
-  # running `make'.
+  # Extract the definition of DEPDIR, am__include, and am__quote
+  # from the Makefile without running `make'.
   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   test -z "$DEPDIR" && continue
+  am__include=`sed -n 's/^am__include = //p' < "$mf"`
+  test -z "am__include" && continue
+  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   # When using ansi2knr, U may be empty or an underscore; expand it
   U=`sed -n 's/^U = //p' < "$mf"`
-  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
-  # We invoke sed twice because it is the simplest approach to
-  # changing $(DEPDIR) to its actual value in the expansion.
-  for file in `sed -n '
-    /^DEP_FILES = .*\\\\$/ {
-      s/^DEP_FILES = //
-      :loop
-	s/\\\\$//
-	p
-	n
-	/\\\\$/ b loop
-      p
-    }
-    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
+  # Find all dependency output files, they are included files with
+  # $(DEPDIR) in their names.  We invoke sed twice because it is the
+  # simplest approach to changing $(DEPDIR) to its actual value in the
+  # expansion.
+  for file in `sed -n "
+    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     # Make sure the directory exists.
     test -f "$dirpart/$file" && continue
@@ -406,7 +401,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 # This macro actually does too much some checks are only needed if
 # your package does certain things.  But this isn't really a big deal.
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -482,7 +477,6 @@ AM_MISSING_PROG(AUTOCONF, autoconf)
 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
 AM_MISSING_PROG(AUTOHEADER, autoheader)
 AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_MISSING_PROG(AMTAR, tar)
 AM_PROG_INSTALL_SH
 AM_PROG_INSTALL_STRIP
 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
@@ -491,7 +485,9 @@ AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 AC_REQUIRE([AC_PROG_AWK])dnl
 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+	      		     [_AM_PROG_TAR([v7])])])
 _AM_IF_OPTION([no-dependencies],,
 [AC_PROVIDE_IFELSE([AC_PROG_CC],
                   [_AM_DEPENDENCIES(CC)],
@@ -734,13 +730,21 @@ fi
 # this.)
 AC_DEFUN([AM_PROG_MKDIR_P],
 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
-  # Keeping the `.' argument allows $(mkdir_p) to be used without
-  # argument.  Indeed, we sometimes output rules like
+  # We used to keeping the `.' as first argument, in order to
+  # allow $(mkdir_p) to be used without argument.  As in
   #   $(mkdir_p) $(somedir)
-  # where $(somedir) is conditionally defined.
-  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
-  # expensive solution, as it forces Make to start a sub-shell.)
-  mkdir_p='mkdir -p -- .'
+  # where $(somedir) is conditionally defined.  However this is wrong
+  # for two reasons:
+  #  1. if the package is installed by a user who cannot write `.'
+  #     make install will fail,
+  #  2. the above comment should most certainly read
+  #     $(mkdir_p) $(DESTDIR)$(somedir)
+  #     so it does not work when $(somedir) is undefined and
+  #     $(DESTDIR) is not.
+  #  To support the latter case, we have to write
+  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
+  #  so the `.' trick is pointless.
+  mkdir_p='mkdir -p --'
 else
   # On NextStep and OpenStep, the `mkdir' command does not
   # recognize any option.  It will interpret all options as
@@ -906,6 +910,114 @@ fi
 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
+# Check how to create a tarball.                            -*- Autoconf -*-
+
+# Copyright (C) 2004  Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# serial 1
+
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of `v7', `ustar', or `pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+#     tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+#     $(am__untar) < result.tar
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility.
+AM_MISSING_PROG([AMTAR], [tar])
+m4_if([$1], [v7],
+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+     [m4_case([$1], [ustar],, [pax],,
+              [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of `-'.
+for _am_tool in $_am_tools
+do
+  case $_am_tool in
+  gnutar)
+    for _am_tar in tar gnutar gtar;
+    do
+      AM_RUN_LOG([$_am_tar --version]) && break
+    done
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+    am__untar="$_am_tar -xf -"
+    ;;
+  plaintar)
+    # Must skip GNU tar: if it does not support --format= it doesn't create
+    # ustar tarball either.
+    (tar --version) >/dev/null 2>&1 && continue
+    am__tar='tar chf - "$$tardir"'
+    am__tar_='tar chf - "$tardir"'
+    am__untar='tar xf -'
+    ;;
+  pax)
+    am__tar='pax -L -x $1 -w "$$tardir"'
+    am__tar_='pax -L -x $1 -w "$tardir"'
+    am__untar='pax -r'
+    ;;
+  cpio)
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+    am__untar='cpio -i -H $1 -d'
+    ;;
+  none)
+    am__tar=false
+    am__tar_=false
+    am__untar=false
+    ;;
+  esac
+
+  # If the value was cached, stop now.  We just wanted to have am__tar
+  # and am__untar set.
+  test -n "${am_cv_prog_tar_$1}" && break
+
+  # tar/untar a dummy directory, and stop if the command works
+  rm -rf conftest.dir
+  mkdir conftest.dir
+  echo GrepMe > conftest.dir/file
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+  rm -rf conftest.dir
+  if test -s conftest.tar; then
+    AM_RUN_LOG([$am__untar <conftest.tar])
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+  fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
 m4_include([m4/arch.m4])
 m4_include([m4/codeset.m4])
 m4_include([m4/compiler.m4])

+ 9 - 0
config.h.in

@@ -329,9 +329,18 @@
 /* Version number of package */
 #undef VERSION
 
+/* Define to 1 to use libbz2 rather than console tool */
+#undef WITH_BZ2
+
+/* Define to 1 to compile in SELinux supoprt */
+#undef WITH_SELINUX
+
 /* Define to 1 if start-stop-daemon is compiled. */
 #undef WITH_START_STOP_DAEMON
 
+/* Define to 1 to use zlib rather than console tool */
+#undef WITH_ZLIB
+
 /* Define to 1 if your processor stores words with the most significant byte
    first (like Motorola and SPARC, unlike Intel and VAX). */
 #undef WORDS_BIGENDIAN

File diff suppressed because it is too large
+ 927 - 222
configure


+ 2 - 1
configure.ac

@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([dpkg], [1.13.8], [debian-dpkg@lists.debian.org])
+AC_INIT([dpkg], [1.13.9], [debian-dpkg@lists.debian.org])
 AC_CONFIG_SRCDIR([lib/dpkg.h])
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -61,6 +61,7 @@ AC_SYS_LARGEFILE
 # Checks for libraries.
 DPKG_LIB_ZLIB
 DPKG_LIB_BZ2
+DPKG_LIB_SELINUX
 if test "x$build_dselect" = "xyes"; then
    DPKG_LIB_CURSES
 fi

+ 27 - 0
debian/changelog

@@ -1,3 +1,30 @@
+dpkg (1.13.9) unstable; urgency=low
+  
+  The "On like Donkey Kong" Release.
+
+  * Only open the log file when we first need to write to it, this avoids
+    the need to suppress errors when not root which fakeroot defeated anyway.
+  * Stop dpkg-source clobbering an existing .orig directory during unpacking.
+    Closes: #21236.
+  * Allow an alternate output directory to be specified to dpkg-source by
+    giving a second argument to -x.  Closes: #246802, #282323.
+  * Added .arch-inventory to default diff ignore regexp.  Closes: #304297.
+
+  SELinux support (Manoj Srivastava):
+  * On SELinux-enabled systems, try to set the security context when the
+    package is unpacked.  Closes: #193653, #249496, #307139.
+  * Added build-dependancy on libselinux1-dev.
+
+  Improvements to dpkg-source (Brendan O'Dea):
+  * Support unpacking of "Wig And Pen" (Format 2.0) source packages.
+  * Multiple pristine upstream tarballs allowed.
+  * Native and upstream tarballs may be bzip2-compressed instead of gzip,
+    as may the debian diff or tarball.
+  * Unsupported format error fixed to output the unsupported format
+    rather than the supported one.  Closes: #156317.
+
+ -- Scott James Remnant <scott@netsplit.com>  Sun, 12 Jun 2005 15:52:43 +0100
+
 dpkg (1.13.8) experimental; urgency=low
   
   The "In like Flynn" Release.

+ 2 - 2
debian/control

@@ -5,7 +5,7 @@ Maintainer: Scott James Remnant <scott@netsplit.com>
 Origin: debian
 Bugs: debbugs://bugs.debian.org
 Standards-Version: 3.6.1.0
-Build-Depends: debhelper (>= 4.1.81), libncurses5-dev | libncurses-dev, zlib1g-dev (>= 1:1.1.3-19.1), libbz2-dev
+Build-Depends: debhelper (>= 4.1.81), libncurses5-dev | libncurses-dev, zlib1g-dev (>= 1:1.1.3-19.1), libbz2-dev, libselinux1-dev
 
 Package: dpkg
 Architecture: any
@@ -27,7 +27,7 @@ Section: utils
 Priority: standard
 Architecture: all
 Depends: dpkg (>= 1.13.1), perl5, perl-modules, cpio (>= 2.4.2-2), patch (>= 2.2-1), make, binutils
-Recommends: gcc | c-compiler
+Recommends: gcc | c-compiler, bzip2
 Suggests: gnupg, debian-keyring
 Conflicts: dpkgname
 Replaces: dpkgname, dpkg (<< 1.4.1.8), dpkg-doc-ja

+ 2 - 1
debian/rules

@@ -45,7 +45,8 @@ build-tree/config.status: configure
 		--sysconfdir=/etc \
 		--localstatedir=/var/lib \
 		--with-zlib=static \
-		--with-bz2=static
+		--with-bz2=static \
+		--with-selinux=static
 
 # Build the package in build-tree
 build: build-tree/build-stamp

+ 10 - 14
depcomp

@@ -1,7 +1,7 @@
 #! /bin/sh
 # depcomp - compile a program generating dependencies as side-effects
 
-scriptversion=2004-04-25.13
+scriptversion=2004-05-31.23
 
 # Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
 
@@ -43,6 +43,7 @@ Environment variables:
   depmode     Dependency tracking mode.
   source      Source file read by `PROGRAMS ARGS'.
   object      Object file output by `PROGRAMS ARGS'.
+  DEPDIR      directory where to store dependencies.
   depfile     Dependency file to output.
   tmpdepfile  Temporary file to use when outputing dependencies.
   libtool     Whether libtool is used (yes/no).
@@ -61,18 +62,10 @@ if test -z "$depmode" || test -z "$source" || test -z "$object"; then
   echo "depcomp: Variables source, object and depmode must be set" 1>&2
   exit 1
 fi
-# `libtool' can also be set to `yes' or `no'.
-
-if test -z "$depfile"; then
-   base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
-   dir=`echo "$object" | sed 's,/.*$,/,'`
-   if test "$dir" = "$object"; then
-      dir=
-   fi
-   # FIXME: should be _deps on DOS.
-   depfile="$dir.deps/$base"
-fi
 
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
 
 rm -f "$tmpdepfile"
@@ -295,9 +288,12 @@ tru64)
 
    if test "$libtool" = yes; then
       # Dependencies are output in .lo.d with libtool 1.4.
-      # They are output in .o.d with libtool 1.5.
+      # With libtool 1.5 they are output both in $dir.libs/$base.o.d
+      # and in $dir.libs/$base.o.d and $dir$base.o.d.  We process the
+      # latter, because the former will be cleaned when $dir.libs is
+      # erased.
       tmpdepfile1="$dir.libs/$base.lo.d"
-      tmpdepfile2="$dir.libs/$base.o.d"
+      tmpdepfile2="$dir$base.o.d"
       tmpdepfile3="$dir.libs/$base.d"
       "$@" -Wc,-MD
    else

+ 3 - 4
dpkg-deb/Makefile.am

@@ -2,9 +2,7 @@
 
 localedir = $(datadir)/locale
 INCLUDES = \
-	-DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl \
-	-I$(top_srcdir)/lib \
-	$(ZLIB_CFLAGS) $(BZ2_CFLAGS)
+	-DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl -I$(top_srcdir)/lib
 
 
 bin_PROGRAMS = dpkg-deb
@@ -16,4 +14,5 @@ dpkg_deb_SOURCES = \
 	info.c \
 	main.c
 
-dpkg_deb_LDADD = $(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS)
+dpkg_deb_LDADD = \
+	$(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS) $(SELINUX_LIBS)

+ 13 - 15
dpkg-deb/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -74,12 +74,11 @@ am_dpkg_deb_OBJECTS = build.$(OBJEXT) extract.$(OBJEXT) info.$(OBJEXT) \
 dpkg_deb_OBJECTS = $(am_dpkg_deb_OBJECTS)
 am__DEPENDENCIES_1 =
 dpkg_deb_DEPENDENCIES = $(am__DEPENDENCIES_1) ../lib/libdpkg.a \
-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+	$(am__DEPENDENCIES_1)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/build.Po ./$(DEPDIR)/extract.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/info.Po ./$(DEPDIR)/main.Po
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
@@ -99,7 +98,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -159,6 +157,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -171,7 +170,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -185,6 +183,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -219,9 +219,7 @@ target_os = @target_os@
 target_vendor = @target_vendor@
 localedir = $(datadir)/locale
 INCLUDES = \
-	-DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl \
-	-I$(top_srcdir)/lib \
-	$(ZLIB_CFLAGS) $(BZ2_CFLAGS)
+	-DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl -I$(top_srcdir)/lib
 
 dpkg_deb_SOURCES = \
 	dpkg-deb.h \
@@ -230,7 +228,9 @@ dpkg_deb_SOURCES = \
 	info.c \
 	main.c
 
-dpkg_deb_LDADD = $(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS)
+dpkg_deb_LDADD = \
+	$(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS) $(SELINUX_LIBS)
+
 all: all-am
 
 .SUFFIXES:
@@ -306,16 +306,14 @@ distclean-compile:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 uninstall-info-am:
 
@@ -420,7 +418,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 7 - 11
dpkg-split/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -80,9 +80,6 @@ SCRIPTS = $(pkglib_SCRIPTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/info.Po ./$(DEPDIR)/join.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/main.Po ./$(DEPDIR)/queue.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/split.Po
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
@@ -102,7 +99,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -162,6 +158,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -174,7 +171,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -188,6 +184,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -334,16 +332,14 @@ distclean-compile:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 uninstall-info-am:
 
@@ -449,7 +445,7 @@ clean-generic:
 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 7 - 18
dselect/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -83,16 +83,6 @@ dselect_DEPENDENCIES = $(am__DEPENDENCIES_1) ../lib/libdpkg.a \
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/basecmds.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/baselist.Po ./$(DEPDIR)/basetop.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/bindings.Po ./$(DEPDIR)/curkeys.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/helpmsgs.Po ./$(DEPDIR)/main.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/methkeys.Po ./$(DEPDIR)/methlist.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/method.Po ./$(DEPDIR)/methparse.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/pkgcmds.Po ./$(DEPDIR)/pkgdepcon.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/pkgdisplay.Po ./$(DEPDIR)/pkginfo.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/pkgkeys.Po ./$(DEPDIR)/pkglist.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/pkgsublist.Po ./$(DEPDIR)/pkgtop.Po
 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
 	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
 CXXLD = $(CXX)
@@ -117,7 +107,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -177,6 +166,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -189,7 +179,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -203,6 +192,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -356,16 +347,14 @@ distclean-compile:
 @am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
 @am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<
 
 .cc.obj:
 @am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
 @am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 uninstall-info-am:
 
@@ -471,7 +460,7 @@ clean-generic:
 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 7 - 11
getopt/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -76,9 +76,6 @@ libopt_a_OBJECTS = $(am_libopt_a_OBJECTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/closeout.Po ./$(DEPDIR)/getopt.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/getopt1.Po ./$(DEPDIR)/long-options.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/obstack.Po
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
@@ -98,7 +95,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -158,6 +154,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -170,7 +167,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -184,6 +180,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -287,16 +285,14 @@ distclean-compile:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 uninstall-info-am:
 
@@ -398,7 +394,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 48 - 50
install-sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2004-04-01.17
+scriptversion=2004-12-17.09
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -58,9 +58,6 @@ stripprog="${STRIPPROG-strip}"
 rmprog="${RMPROG-rm}"
 mkdirprog="${MKDIRPROG-mkdir}"
 
-transformbasename=
-transform_arg=
-instcmd="$mvprog"
 chmodcmd="$chmodprog 0755"
 chowncmd=
 chgrpcmd=
@@ -70,23 +67,27 @@ mvcmd="$mvprog"
 src=
 dst=
 dir_arg=
+dstarg=
+no_target_directory=
 
-usage="Usage: $0 [OPTION]... SRCFILE DSTFILE
+usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
    or: $0 [OPTION]... SRCFILES... DIRECTORY
-   or: $0 -d DIRECTORIES...
+   or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+   or: $0 [OPTION]... -d DIRECTORIES...
 
-In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default.
-In the second, create the directory path DIR.
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
 
 Options:
--b=TRANSFORMBASENAME
--c         copy source (using $cpprog) instead of moving (using $mvprog).
+-c         (ignored)
 -d         create directories instead of installing files.
--g GROUP   $chgrp installed files to GROUP.
--m MODE    $chmod installed files to MODE.
--o USER    $chown installed files to USER.
--s         strip installed files (using $stripprog).
--t=TRANSFORM
+-g GROUP   $chgrpprog installed files to GROUP.
+-m MODE    $chmodprog installed files to MODE.
+-o USER    $chownprog installed files to USER.
+-s         $stripprog installed files.
+-t DIRECTORY  install into DIRECTORY.
+-T         report an error if DSTFILE is a directory.
 --help     display this help and exit.
 --version  display version info and exit.
 
@@ -96,12 +97,7 @@ Environment variables override the default commands:
 
 while test -n "$1"; do
   case $1 in
-    -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
-        shift
-        continue;;
-
-    -c) instcmd=$cpprog
-        shift
+    -c) shift
         continue;;
 
     -d) dir_arg=true
@@ -129,14 +125,20 @@ while test -n "$1"; do
         shift
         continue;;
 
-    -t=*) transformarg=`echo $1 | sed 's/-t=//'`
-        shift
-        continue;;
+    -t) dstarg=$2
+	shift
+	shift
+	continue;;
+
+    -T) no_target_directory=true
+	shift
+	continue;;
 
     --version) echo "$0 $scriptversion"; exit 0;;
 
     *)  # When -d is used, all remaining arguments are directories to create.
-	test -n "$dir_arg" && break
+	# When -t is used, the destination is already specified.
+	test -n "$dir_arg$dstarg" && break
         # Otherwise, the last argument is the destination.  Remove it from $@.
 	for arg
 	do
@@ -174,13 +176,13 @@ do
     src=
 
     if test -d "$dst"; then
-      instcmd=:
+      mkdircmd=:
       chmodcmd=
     else
-      instcmd=$mkdirprog
+      mkdircmd=$mkdirprog
     fi
   else
-    # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
+    # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
     # might cause directories to be created, which would be especially bad
     # if $src (and thus $dsttmp) contains '*'.
     if test ! -f "$src" && test ! -d "$src"; then
@@ -202,12 +204,16 @@ do
     # If destination is a directory, append the input filename; won't work
     # if double slashes aren't ignored.
     if test -d "$dst"; then
+      if test -n "$no_target_directory"; then
+	echo "$0: $dstarg: Is a directory" >&2
+	exit 1
+      fi
       dst=$dst/`basename "$src"`
     fi
   fi
 
   # This sed command emulates the dirname command.
-  dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+  dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
 
   # Make sure that the destination directory exists.
 
@@ -220,7 +226,8 @@ do
     oIFS=$IFS
     # Some sh's can't handle IFS=/ for some reason.
     IFS='%'
-    set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
+    set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
+    shift
     IFS=$oIFS
 
     pathcomp=
@@ -229,51 +236,42 @@ do
       pathcomp=$pathcomp$1
       shift
       if test ! -d "$pathcomp"; then
-        $mkdirprog "$pathcomp" || lasterr=$?
+        $mkdirprog "$pathcomp"
 	# mkdir can fail with a `File exist' error in case several
 	# install-sh are creating the directory concurrently.  This
 	# is OK.
-	test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; }
+	test -d "$pathcomp" || exit
       fi
       pathcomp=$pathcomp/
     done
   fi
 
   if test -n "$dir_arg"; then
-    $doit $instcmd "$dst" \
+    $doit $mkdircmd "$dst" \
       && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
       && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
       && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
       && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
 
   else
-    # If we're going to rename the final executable, determine the name now.
-    if test -z "$transformarg"; then
-      dstfile=`basename "$dst"`
-    else
-      dstfile=`basename "$dst" $transformbasename \
-               | sed $transformarg`$transformbasename
-    fi
-
-    # don't allow the sed command to completely eliminate the filename.
-    test -z "$dstfile" && dstfile=`basename "$dst"`
+    dstfile=`basename "$dst"`
 
     # Make a couple of temp file names in the proper directory.
     dsttmp=$dstdir/_inst.$$_
     rmtmp=$dstdir/_rm.$$_
 
     # Trap to clean up those temp files at exit.
-    trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
+    trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
     trap '(exit $?); exit' 1 2 13 15
 
-    # Move or copy the file name to the temp name
-    $doit $instcmd "$src" "$dsttmp" &&
+    # Copy the file name to the temp name.
+    $doit $cpprog "$src" "$dsttmp" &&
 
     # and set any options; do chmod last to preserve setuid bits.
     #
     # If any of these fail, we abort the whole thing.  If we want to
     # ignore errors from any of these, just make sure not to ignore
-    # errors from the above "$doit $instcmd $src $dsttmp" command.
+    # errors from the above "$doit $cpprog $src $dsttmp" command.
     #
     { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
       && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
@@ -298,7 +296,7 @@ do
 	       || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
 	       || {
 		 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
-		 (exit 1); exit
+		 (exit 1); exit 1
 	       }
 	     else
 	       :
@@ -309,12 +307,12 @@ do
 	   $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
 	 }
     }
-  fi || { (exit 1); exit; }
+  fi || { (exit 1); exit 1; }
 done
 
 # The final little trick to "correctly" pass the exit status to the exit trap.
 {
-  (exit 0); exit
+  (exit 0); exit 0
 }
 
 # Local variables:

File diff suppressed because it is too large
+ 582 - 714
intl/plural.c


+ 1 - 2
lib/Makefile.am

@@ -5,8 +5,7 @@ pkgconfdir = $(sysconfdir)/@PACKAGE@
 INCLUDES = \
 	-DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl \
 	-DCONFIGDIR=\"$(pkgconfdir)\" \
-	-DCOPYINGFILE=\"$(datadir)/common-licenses/GPL-2\" \
-	$(ZLIB_CFLAGS) $(BZ2_CFLAGS)
+	-DCOPYINGFILE=\"$(datadir)/common-licenses/GPL-2\"
 
 
 noinst_LIBRARIES = libdpkg.a

+ 8 - 21
lib/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -82,17 +82,6 @@ libdpkg_a_OBJECTS = $(am_libdpkg_a_OBJECTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/compat.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/compression.Po ./$(DEPDIR)/database.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/dbmodify.Po ./$(DEPDIR)/dump.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/ehandle.Po ./$(DEPDIR)/fields.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/lock.Po ./$(DEPDIR)/md5.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/mlib.Po ./$(DEPDIR)/myopt.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/nfmalloc.Po ./$(DEPDIR)/parse.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/parsehelp.Po ./$(DEPDIR)/showcright.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/showpkg.Po ./$(DEPDIR)/star.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/tarfn.Po ./$(DEPDIR)/utils.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/varbuf.Po ./$(DEPDIR)/vercmp.Po
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
@@ -112,7 +101,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -172,6 +160,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -184,7 +173,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -198,6 +186,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -235,8 +225,7 @@ pkgconfdir = $(sysconfdir)/@PACKAGE@
 INCLUDES = \
 	-DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl \
 	-DCONFIGDIR=\"$(pkgconfdir)\" \
-	-DCOPYINGFILE=\"$(datadir)/common-licenses/GPL-2\" \
-	$(ZLIB_CFLAGS) $(BZ2_CFLAGS)
+	-DCOPYINGFILE=\"$(datadir)/common-licenses/GPL-2\"
 
 noinst_LIBRARIES = libdpkg.a
 libdpkg_a_SOURCES = \
@@ -339,16 +328,14 @@ distclean-compile:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 uninstall-info-am:
 
@@ -450,7 +437,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 41 - 21
lib/dbmodify.c

@@ -230,7 +230,6 @@ void modstatdb_shutdown(void) {
 }
 
 struct pipef *status_pipes= NULL;
-struct pipef *log_pipes= NULL;
 
 void modstatdb_note(struct pkginfo *pkg) {
   assert(cstatus >= msdbrw_write);
@@ -252,26 +251,9 @@ void modstatdb_note(struct pkginfo *pkg) {
       pipef= pipef->next;
     }
   }
-  if (log_pipes) {
-    static struct varbuf *log= NULL;
-    struct pipef *pipef= log_pipes;
-    char time_str[20];
-    time_t now;
-    int r;
-    if (log == NULL) {
-      log = nfmalloc(sizeof(struct varbuf));
-      varbufinit(log);
-    } else
-      varbufreset(log);
-    time(&now);
-    strftime(time_str, sizeof(time_str), "%Y-%m-%d %H:%M:%S", gmtime(&now));
-    r= varbufprintf(log, "%s status %s %s %s\n", time_str, statusinfos[pkg->status].name,
-		    pkg->name, versiondescribe(&pkg->installed.version, vdew_nonambig));
-    while (pipef) {
-      write(pipef->fd, log->buf, r);
-      pipef= pipef->next;
-    }
-  }
+  log_message("status %s %s %s", statusinfos[pkg->status].name, pkg->name,
+	      versiondescribe(&pkg->installed.version, vdew_nonambig));
+
   varbufreset(&uvb);
   varbufrecord(&uvb, pkg, &pkg->installed);
   if (fwrite(uvb.buf, 1, uvb.used, importanttmp) != uvb.used)
@@ -300,3 +282,41 @@ void modstatdb_note(struct pkginfo *pkg) {
 
   onerr_abort--;
 }
+
+const char *log_file= NULL;
+
+void log_message(const char *fmt, ...) {
+  static struct varbuf *log= NULL;
+  static FILE *logfd= NULL;
+  char time_str[20];
+  time_t now;
+  va_list al;
+
+  if (!log_file)
+    return;
+
+  if (!logfd) {
+    logfd= fopen(log_file, "a");
+    if (!logfd) {
+      fprintf(stderr, _("couldn't open log `%s': %s\n"), log_file,
+	      strerror(errno));
+      log_file= NULL;
+      return;
+    }
+  }
+
+  if (!log) {
+    log= nfmalloc(sizeof(struct varbuf));
+    varbufinit(log);
+  } else
+    varbufreset(log);
+
+  va_start(al,fmt);
+  varbufvprintf(log, fmt, al);
+  varbufaddc(log, 0);
+  va_end(al);
+
+  time(&now);
+  strftime(time_str, sizeof(time_str), "%Y-%m-%d %H:%M:%S", gmtime(&now));
+  fprintf(logfd, "%s %s\n", time_str, log->buf);
+}

+ 3 - 1
lib/dpkg-db.h

@@ -164,7 +164,7 @@ struct pipef {
   int fd;
   struct pipef *next;
 };
-extern struct pipef *status_pipes, *log_pipes;
+extern struct pipef *status_pipes;
 
 enum modstatdb_rw modstatdb_init(const char *admindir, enum modstatdb_rw reqrwflags);
 void modstatdb_note(struct pkginfo *pkg);
@@ -172,6 +172,8 @@ void modstatdb_shutdown(void);
 
 extern char *statusfile, *availablefile; /* initialised by modstatdb_init */
 
+void log_message(const char *fmt, ...);
+
 /*** from database.c ***/
 
 struct pkginfo *findpackage(const char *name);

+ 1 - 1
lib/myopt.c

@@ -75,7 +75,7 @@ void myfileopt(const char* fn, const struct cmdinfo* cmdinfos) {
     if (cip->takesvalue) {
       if (!opt) ohshite(_("configuration error: %s needs a value"), linebuf);
       if (cip->call) cip->call(cip,opt);
-      else *cip->sassignto= opt;
+      else *cip->sassignto= strdup(opt);
     } else {
       if (opt) ohshite(_("configuration error: %s does not take a value"), linebuf);
       if (cip->call) cip->call(cip,NULL);

+ 66 - 0
lib/star.c

@@ -11,6 +11,10 @@
 #include <errno.h>
 #include <string.h>
 #include <time.h>
+#ifdef WITH_SELINUX
+#include <selinux/selinux.h>
+static int selinux_enabled=-1;
+#endif
 
 static int
 Read(void * userData, char * buffer, int length)
@@ -68,6 +72,37 @@ ExtractFile(TarInfo * i)
 	/* fchown() and fchmod() are cheaper than chown() and chmod(). */
 	fchown(fd, i->UserID, i->GroupID);
 	fchmod(fd, i->Mode & ~S_IFMT);
+
+#ifdef WITH_SELINUX
+        /* Set selinux_enabled if it is not already set (singleton) */
+        if (selinux_enabled < 0)
+		selinux_enabled = (is_selinux_enabled() > 0);
+
+        /* Since selinux is enabled, try and set the context */
+        if (selinux_enabled == 1) {
+		security_context_t scontext = NULL;
+		/*
+		 * well, we could use
+		 *   void set_matchpathcon_printf(void (*f)(const char *fmt, ...));
+		 * to redirect the errors from the following bit, but that
+		 * seems too much effort.
+		 */
+
+		/*
+		 * Do nothing if we can't figure out what the context is,
+		 * or if it has no context; in which case the default
+		 * context shall be applied.
+		 */
+		if( ! ((matchpathcon(i->Name, i->Mode & ~S_IFMT, &scontext) != 0) ||
+		       (strcmp(scontext, "<<none>>") == 0)))
+		{
+			if(fsetfilecon(fd, scontext) < 0)
+				perror("Error setting file context:");
+		}
+		freecon(scontext);
+	}
+#endif /* WITH_SELINUX */
+
 	close(fd);
 	t.actime = time(0);
 	t.modtime = i->ModTime;
@@ -85,6 +120,37 @@ SetModes(TarInfo * i)
 	chown(i->Name, i->UserID, i->GroupID);
 #endif
 	chmod(i->Name, i->Mode & ~S_IFMT);
+
+#ifdef WITH_SELINUX
+        /* Set selinux_enabled if it is not already set (singleton) */
+        if (selinux_enabled < 0)
+		selinux_enabled = (is_selinux_enabled() > 0);
+
+        /* Since selinux is enabled, try and set the context */
+        if (selinux_enabled == 1) {
+		security_context_t scontext = NULL;
+		/*
+		 * well, we could use
+		 *   void set_matchpathcon_printf(void (*f)(const char *fmt, ...));
+		 * to redirect the errors from the following bit, but that
+		 * seems too much effort.
+		 */
+
+		/*
+		 * Do nothing if we can't figure out what the context is,
+		 * or if it has no context; in which case the default
+		 * context shall be applied.
+		 */
+		if( ! ((matchpathcon(i->Name, i->Mode & ~S_IFMT, &scontext) != 0) ||
+		       (strcmp(scontext, "<<none>>") == 0)))
+		{
+			if(lsetfilecon(i->Name, scontext) < 0)
+				perror("Error setting file context:");
+		}
+		freecon(scontext);
+	}
+#endif /* WITH_SELINUX */
+
 	t.actime = time(0);
 	t.modtime = i->ModTime;
 	utime(i->Name, &t);

+ 74 - 26
m4/libs.m4

@@ -2,44 +2,92 @@
 # -------------
 # Check for zlib library.
 AC_DEFUN([DPKG_LIB_ZLIB],
-[AC_ARG_VAR([ZLIB_CFLAGS], [compiler flags for zlib library])dnl
-AC_ARG_VAR([ZLIB_LIBS], [linker flags for zlib library])dnl
+[AC_ARG_VAR([ZLIB_LIBS], [linker flags for zlib library])dnl
 AC_ARG_WITH(zlib,
 	AS_HELP_STRING([--with-zlib],
-		       [use zlib for compression and decompression (yes/static)]),
-[case "$with_zlib" in
-    yes)
-	ZLIB_CFLAGS="${ZLIB_CFLAGS:+$ZLIB_CFLAGS }-DWITH_ZLIB"
-	ZLIB_LIBS="${ZLIB_LIBS:+$ZLIB_LIBS }-lz"
-	;;
-    static)
-	ZLIB_CFLAGS="${ZLIB_CFLAGS:+$ZLIB_CFLAGS }-DWITH_ZLIB"
-	ZLIB_LIBS="${ZLIB_LIBS:+$ZLIB_LIBS }-Wl,-Bstatic -lz -Wl,-Bdynamic"
-	;;
-esac])
+		       [use zlib library for compression and decompression]))
+if test "x$with_zlib" != "xno"; then
+	AC_CHECK_LIB([z], [gzdopen],
+		[AC_DEFINE(WITH_ZLIB, 1,
+			[Define to 1 to use zlib rather than console tool])
+		 if test "x$with_zlib" = "xstatic"; then
+			dpkg_zlib_libs="-Wl,-Bstatic -lz -Wl,-Bdynamic"
+		 else
+			dpkg_zlib_libs="-lz"
+		 fi
+		 ZLIB_LIBS="${ZLIB_LIBS:+$ZLIB_LIBS }$dpkg_zlib_libs"
+		 with_zlib="yes"],
+		[if test -n "$with_zlib"; then
+			AC_MSG_FAILURE([zlib library not found])
+		 fi])
+
+	AC_CHECK_HEADER([zlib.h],,
+		[if test -n "$with_zlib"; then
+			AC_MSG_FAILURE([zlib header not found])
+		 fi])
+fi
 ])# DPKG_LIB_ZLIB
 
 # DPKG_LIB_BZ2
 # ------------
 # Check for bz2 library.
 AC_DEFUN([DPKG_LIB_BZ2],
-[AC_ARG_VAR([BZ2_CFLAGS], [compiler flags for bz2 library])dnl
-AC_ARG_VAR([BZ2_LIBS], [linker flags for bz2 library])dnl
+[AC_ARG_VAR([BZ2_LIBS], [linker flags for bz2 library])dnl
 AC_ARG_WITH(bz2,
 	AS_HELP_STRING([--with-bz2],
-		       [use bz2 library for compression and decompression (yes/static)]),
-[case "$with_bz2" in
-    yes)
-	BZ2_CFLAGS="${BZ2_CFLAGS:+$BZ2_CFLAGS }-DWITH_BZ2"
-	BZ2_LIBS="${BZ2_LIBS:+$BZ2_LIBS }-lbz2"
-	;;
-    static)
-	BZ2_CFLAGS="${BZ2_CFLAGS:+$BZ2_CFLAGS }-DWITH_BZ2"
-	BZ2_LIBS="${BZ2_LIBS:+$BZ2_LIBS }-Wl,-Bstatic -lbz2 -Wl,-Bdynamic"
-	;;
-esac])
+		       [use bz2 library for compression and decompression]))
+if test "x$with_bz2" != "xno"; then
+	AC_CHECK_LIB([bz2], [BZ2_bzdopen],
+		[AC_DEFINE(WITH_BZ2, 1,
+			[Define to 1 to use libbz2 rather than console tool])
+		 if test "x$with_bz2" = "xstatic"; then
+			dpkg_bz2_libs="-Wl,-Bstatic -lbz2 -Wl,-Bdynamic"
+		 else
+			dpkg_bz2_libs="-lbz2"
+		 fi
+		 BZ2_LIBS="${BZ2_LIBS:+$BZ2_LIBS }$dpkg_bz2_libs"
+		 with_bz2="yes"],
+		[if test -n "$with_bz2"; then
+			AC_MSG_FAILURE([bz2 library not found])
+		 fi])
+
+	AC_CHECK_HEADER([bzlib.h],,
+		[if test -n "$with_bz2"; then
+			AC_MSG_FAILURE([bz2 header not found])
+		 fi])
+fi
 ])# DPKG_LIB_BZ2
 
+# DPKG_LIB_SELINUX
+# ----------------
+# Check for selinux library.
+AC_DEFUN([DPKG_LIB_SELINUX],
+[AC_ARG_VAR([SELINUX_LIBS], [linker flags for selinux library])dnl
+AC_ARG_WITH(selinux,
+	AS_HELP_STRING([--with-selinux],
+		       [use selinux library to set security contexts]))
+if test "x$with_selinux" != "xno"; then
+	AC_CHECK_LIB([selinux], [is_selinux_enabled],
+		[AC_DEFINE(WITH_SELINUX, 1,
+			[Define to 1 to compile in SELinux supoprt])
+		 if test "x$with_selinux" = "xstatic"; then
+			dpkg_selinux_libs="-Wl,-Bstatic -lselinux -Wl,-Bdynamic"
+		 else
+			dpkg_selinux_libs="-lselinux"
+		 fi
+		 SELINUX_LIBS="${SELINUX_LIBS:+$SELINUX_LIBS }$dpkg_selinux_libs"
+		 with_selinux="yes"],
+		[if test -n "$with_selinux"; then
+			AC_MSG_FAILURE([selinux library not found])
+		 fi])
+
+	AC_CHECK_HEADER([selinux/selinux.h],,
+		[if test -n "$with_selinux"; then
+			AC_MSG_FAILURE([selinux header not found])
+		 fi])
+fi
+])# DPKG_LIB_SELINUX
+
 # DPKG_LIB_CURSES
 # ---------------
 # Check for curses library.

+ 7 - 5
man/C/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -66,7 +66,8 @@ CONFIG_CLEAN_FILES =
 SOURCES =
 DIST_SOURCES =
 man1dir = $(mandir)/man1
-am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
+am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" \
+	"$(DESTDIR)$(man8dir)"
 man5dir = $(mandir)/man5
 man8dir = $(mandir)/man8
 NROFF = nroff
@@ -82,7 +83,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -142,6 +142,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -154,7 +155,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -168,6 +168,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -464,7 +466,7 @@ clean-generic:
 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 8 - 1
man/C/dpkg-source.1

@@ -7,6 +7,7 @@ dpkg\-buildpackage, dpkg\-distaddfile, dpkg\-parsechangelog
 .SH SYNOPSIS
 .B dpkg\-source
 .BI "\-x " filename .dsc
+.RI [ output-directory ]
 .br
 .B dpkg\-source \-b
 .RI [ options "] " directory " [" orig-directory | orig-targz |'']
@@ -252,9 +253,15 @@ are given with relative pathnames these are interpreted starting at
 the source tree's top level directory.
 .TP
 .B \-x
-Extract a source package.  One non-option argument should be supplied,
+Extract a source package.  One non-option argument must be supplied,
 the name of the Debian source control file
 .RB ( .dsc ).
+An optional second non-option argument may be supplied to specify the
+directory to extract the source package to, this must not exist.  If
+no output directory is specified, the source package is extracted into
+a directory named \fIsource\fR-\fIversion-\fR under the current working
+directory. 
+
 No options are useful with
 .BR "dpkg\-source \-x" .
 .B dpkg\-source

+ 11 - 8
man/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -84,7 +84,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -144,6 +143,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -156,7 +156,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -170,6 +169,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -384,15 +385,17 @@ distdir: $(DISTFILES)
 	    || exit 1; \
 	  fi; \
 	done
-	list='$(SUBDIRS)'; for subdir in $$list; do \
+	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
 	    test -d "$(distdir)/$$subdir" \
-	    || mkdir "$(distdir)/$$subdir" \
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
 	    || exit 1; \
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 	    (cd $$subdir && \
 	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="../$(top_distdir)" \
-	        distdir="../$(distdir)/$$subdir" \
+	        top_distdir="$$top_distdir" \
+	        distdir="$$distdir/$$subdir" \
 	        distdir) \
 	      || exit 1; \
 	  fi; \
@@ -421,7 +424,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 5 - 4
man/de/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -80,7 +80,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -140,6 +139,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -152,7 +152,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -166,6 +165,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -340,7 +341,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 7 - 5
man/es/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -66,7 +66,8 @@ CONFIG_CLEAN_FILES =
 SOURCES =
 DIST_SOURCES =
 man1dir = $(mandir)/man1
-am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
+am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" \
+	"$(DESTDIR)$(man8dir)"
 man5dir = $(mandir)/man5
 man8dir = $(mandir)/man8
 NROFF = nroff
@@ -82,7 +83,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -142,6 +142,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -154,7 +155,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -168,6 +168,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -448,7 +450,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 7 - 5
man/fr/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -66,7 +66,8 @@ CONFIG_CLEAN_FILES =
 SOURCES =
 DIST_SOURCES =
 man1dir = $(mandir)/man1
-am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
+am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" \
+	"$(DESTDIR)$(man8dir)"
 man5dir = $(mandir)/man5
 man8dir = $(mandir)/man8
 NROFF = nroff
@@ -82,7 +83,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -142,6 +142,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -154,7 +155,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -168,6 +168,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -446,7 +448,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 7 - 5
man/ja/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -66,7 +66,8 @@ CONFIG_CLEAN_FILES =
 SOURCES =
 DIST_SOURCES =
 man1dir = $(mandir)/man1
-am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
+am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" \
+	"$(DESTDIR)$(man8dir)"
 man5dir = $(mandir)/man5
 man8dir = $(mandir)/man8
 NROFF = nroff
@@ -82,7 +83,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -142,6 +142,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -154,7 +155,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -168,6 +168,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -450,7 +452,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 5 - 4
man/pt_BR/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -81,7 +81,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -141,6 +140,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -153,7 +153,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -167,6 +166,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -387,7 +388,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 7 - 5
man/ru/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -66,7 +66,8 @@ CONFIG_CLEAN_FILES =
 SOURCES =
 DIST_SOURCES =
 man1dir = $(mandir)/man1
-am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
+am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" \
+	"$(DESTDIR)$(man8dir)"
 man5dir = $(mandir)/man5
 man8dir = $(mandir)/man8
 NROFF = nroff
@@ -82,7 +83,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -142,6 +142,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -154,7 +155,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -168,6 +168,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -435,7 +437,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 7 - 5
man/sv/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -66,7 +66,8 @@ CONFIG_CLEAN_FILES =
 SOURCES =
 DIST_SOURCES =
 man1dir = $(mandir)/man1
-am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
+am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" \
+	"$(DESTDIR)$(man8dir)"
 man5dir = $(mandir)/man5
 man8dir = $(mandir)/man8
 NROFF = nroff
@@ -82,7 +83,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -142,6 +142,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -154,7 +155,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -168,6 +168,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -442,7 +444,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 19 - 22
methods/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -66,6 +66,12 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(methodsdir)" "$(DESTDIR)$(methodsdir)"
 nobase_dist_methodsSCRIPT_INSTALL = $(install_sh_SCRIPT)
 SCRIPTS = $(nobase_dist_methods_SCRIPTS)
@@ -84,7 +90,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -144,6 +149,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -156,7 +162,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -170,6 +175,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -255,11 +262,9 @@ $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 install-nobase_dist_methodsSCRIPTS: $(nobase_dist_methods_SCRIPTS)
 	@$(NORMAL_INSTALL)
 	test -z "$(methodsdir)" || $(mkdir_p) "$(DESTDIR)$(methodsdir)"
-	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	@$(am__vpath_adj_setup) \
 	list='$(nobase_dist_methods_SCRIPTS)'; for p in $$list; do \
-	  case $$p in \
-	    $(srcdir)/*) p=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-	  esac; \
+	  $(am__vpath_adj) p=$$f; \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  if test -f $$d$$p; then \
 	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
@@ -271,11 +276,9 @@ install-nobase_dist_methodsSCRIPTS: $(nobase_dist_methods_SCRIPTS)
 
 uninstall-nobase_dist_methodsSCRIPTS:
 	@$(NORMAL_UNINSTALL)
-	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	@$(am__vpath_adj_setup) \
 	list='$(nobase_dist_methods_SCRIPTS)'; for p in $$list; do \
-	  case $$p in \
-	    $(srcdir)/*) p=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-	  esac; \
+	  $(am__vpath_adj) p=$$f; \
 	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
 	  f=`echo "$$p" | sed 's|[^/]*$$||'`"$$f"; \
 	  echo " rm -f '$(DESTDIR)$(methodsdir)/$$f'"; \
@@ -285,25 +288,19 @@ uninstall-info-am:
 install-nobase_dist_methodsDATA: $(nobase_dist_methods_DATA)
 	@$(NORMAL_INSTALL)
 	test -z "$(methodsdir)" || $(mkdir_p) "$(DESTDIR)$(methodsdir)"
-	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	@$(am__vpath_adj_setup) \
 	list='$(nobase_dist_methods_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  case $$p in \
-	    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-	    *) f=$$p;; \
-	  esac; \
+	  $(am__vpath_adj) \
 	  echo " $(nobase_dist_methodsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(methodsdir)/$$f'"; \
 	  $(nobase_dist_methodsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(methodsdir)/$$f"; \
 	done
 
 uninstall-nobase_dist_methodsDATA:
 	@$(NORMAL_UNINSTALL)
-	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	@$(am__vpath_adj_setup) \
 	list='$(nobase_dist_methods_DATA)'; for p in $$list; do \
-	  case $$p in \
-	    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-	    *) f=$$p;; \
-	  esac; \
+	  $(am__vpath_adj) \
 	  echo " rm -f '$(DESTDIR)$(methodsdir)/$$f'"; \
 	  rm -f "$(DESTDIR)$(methodsdir)/$$f"; \
 	done
@@ -368,7 +365,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 35 - 42
missing

@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 
-scriptversion=2003-09-02.23
+scriptversion=2004-09-07.08
 
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
 #   Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
 
@@ -60,11 +60,6 @@ case "$1" in
     msg="probably too old"
   fi
   ;;
-esac
-
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case "$1" in
 
   -h|--h|--he|--hel|--help)
     echo "\
@@ -92,10 +87,12 @@ Supported PROGRAM values:
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
 
 Send bug reports to <bug-automake@gnu.org>."
+    exit 0
     ;;
 
   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
     echo "missing $scriptversion (GNU Automake)"
+    exit 0
     ;;
 
   -*)
@@ -104,12 +101,42 @@ Send bug reports to <bug-automake@gnu.org>."
     exit 1
     ;;
 
-  aclocal*)
+esac
+
+# Now exit if we have it, but it failed.  Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program).
+case "$1" in
+  lex|yacc)
+    # Not GNU programs, they don't have --version.
+    ;;
+
+  tar)
+    if test -n "$run"; then
+       echo 1>&2 "ERROR: \`tar' requires --run"
+       exit 1
+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+       exit 1
+    fi
+    ;;
+
+  *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
        exit 1
+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+       # Could not run --version or --help.  This is probably someone
+       # running `$TOOL --version' or `$TOOL --help' to check whether
+       # $TOOL exists and not knowing $TOOL uses missing.
+       exit 1
     fi
+    ;;
+esac
 
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case "$1" in
+  aclocal*)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
          you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
@@ -119,11 +146,6 @@ WARNING: \`$1' is $msg.  You should only need it if
     ;;
 
   autoconf)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
          you modified \`${configure_ac}'.  You might want to install the
@@ -133,11 +155,6 @@ WARNING: \`$1' is $msg.  You should only need it if
     ;;
 
   autoheader)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
          you modified \`acconfig.h' or \`${configure_ac}'.  You might want
@@ -157,11 +174,6 @@ WARNING: \`$1' is $msg.  You should only need it if
     ;;
 
   automake*)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
          you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
@@ -173,11 +185,6 @@ WARNING: \`$1' is $msg.  You should only need it if
     ;;
 
   autom4te)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
 WARNING: \`$1' is needed, but is $msg.
          You might have modified some files without having the
@@ -254,11 +261,6 @@ WARNING: \`$1' is $msg.  You should only need it if
     ;;
 
   help2man)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
 	 you modified a dependency of a manual page.  You may need the
@@ -279,11 +281,6 @@ WARNING: \`$1' is $msg.  You should only need it if
     ;;
 
   makeinfo)
-    if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
-       # We have makeinfo, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
          you modified a \`.texi' or \`.texinfo' file, or any other file
@@ -301,10 +298,6 @@ WARNING: \`$1' is $msg.  You should only need it if
 
   tar)
     shift
-    if test -n "$run"; then
-      echo 1>&2 "ERROR: \`tar' requires --run"
-      exit 1
-    fi
 
     # We have already tried tar in the generic part.
     # Look for gnutar/gtar before invocation to avoid ugly error

+ 13 - 6
origins/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -66,6 +66,12 @@ CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
 SOURCES =
 DIST_SOURCES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 am__installdirs = "$(DESTDIR)$(originsdir)"
 dist_originsDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(dist_origins_DATA)
@@ -80,7 +86,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -140,6 +145,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -152,7 +158,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -166,6 +171,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -239,7 +246,7 @@ install-dist_originsDATA: $(dist_origins_DATA)
 	test -z "$(originsdir)" || $(mkdir_p) "$(DESTDIR)$(originsdir)"
 	@list='$(dist_origins_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  f=$(am__strip_dir) \
 	  echo " $(dist_originsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(originsdir)/$$f'"; \
 	  $(dist_originsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(originsdir)/$$f"; \
 	done
@@ -247,7 +254,7 @@ install-dist_originsDATA: $(dist_origins_DATA)
 uninstall-dist_originsDATA:
 	@$(NORMAL_UNINSTALL)
 	@list='$(dist_origins_DATA)'; for p in $$list; do \
-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  f=$(am__strip_dir) \
 	  echo " rm -f '$(DESTDIR)$(originsdir)/$$f'"; \
 	  rm -f "$(DESTDIR)$(originsdir)/$$f"; \
 	done
@@ -311,7 +318,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

BIN
po/bs.gmo


+ 23 - 23
po/bs.po

@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2004-11-27 01:29+0100\n"
 "Last-Translator: Safir Šećerović <sapphire@linux.org.ba>\n"
 "Language-Team: Bosnian <lokal@linux.org.ba>\n"
@@ -201,36 +201,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr ""
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr ""
 
+#: lib/dbmodify.c:301
+#, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr ""
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2134,12 +2139,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr ""
 
-#: src/main.c:295
-#, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr ""
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2180,47 +2180,47 @@ msgid ""
 "Forcing options marked [*] are enabled by default.\n"
 msgstr ""
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr ""
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr ""
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr ""
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr ""
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr ""
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr ""
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr ""
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr ""
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr ""
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr ""

BIN
po/ca.gmo


+ 23 - 23
po/ca.po

@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg 1.10.25\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-09 19:53+0100\n"
 "Last-Translator: Jordi Mallach <jordi@debian.org>\n"
 "Language-Team: Catalan <debian-l10n-catalan@lists.debian.org>\n"
@@ -209,36 +209,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "no s'ha pogut esborrar el nostre propi fitxer d'actualització %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "no es pot escriure l'estat d'actualització de «%.250s»"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "no es pot fer «flush» amb l'estat d'actualització de «%.250s»"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "no es pot truncar l'estat actualitzat de «%.250s»"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "no es pot fer «fsync» en l'estat d'actualització de «%.250s»"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "no es pot tancar l'estat d'actualització de «%.250s»"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "no es pot instal·lar l'estat actualització de «%.250s»"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "no es pot obrir el fitxer de depuració «%.255s»\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2438,12 +2443,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "enter invàlid per a --%s: «%.250s»"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "no es pot obrir el fitxer de depuració «%.255s»\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2533,47 +2533,47 @@ msgstr ""
 "seriosament la instal·lació. Les opcions de forçat marcades amb [*] estan\n"
 "activades per defecte.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "opció force/refuse desconeguda «%.*s»"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "no s'ha pogut fer «malloc» en execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "no s'ha pogut fer «strdup» en execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "no s'ha pogut executar %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd accepta 1 argument, no 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd només accepta 1 argument"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "número invàlid per a --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "no s'ha pogut obrir «%i» per a un flux"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "eof inesperat abans de la fí de la línia %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "es necessita una opció d'acció"

BIN
po/cs.gmo


+ 23 - 23
po/cs.po

@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-01 16:47+0100\n"
 "Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
 "Language-Team: Czech <provoz@debian.cz>\n"
@@ -207,36 +207,41 @@ msgstr "operace po
 msgid "failed to remove my own update file %.255s"
 msgstr "nemohu odstranit svùj vlastní soubor s aktualizacemi %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "nelze zapsat zmìnìný stav balíku `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "nemohu vyprázdnit aktualizovaný stav `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "nelze zkrátit pro aktualizovaný stav `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "nelze synchronizovat aktualizovaný stav `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "nelze uzavøít zmìnìný stav balíku `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "nelze nainstalovat zmìnìný stav balíku `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "nepodaøilo se otevøít ladící soubor `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2349,12 +2354,7 @@ msgstr "--ignore-depends pot
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "neplatné èíslo pro --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "nepodaøilo se otevøít ladící soubor `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2435,47 +2435,47 @@ msgstr ""
 "VAROVÁNÍ - pou¾ití oznaèených [!] pøepínaèù mù¾e vá¾nì po¹kodit instalaci.\n"
 "Implicitnì zapnuté donucovací volby jsou oznaèeny [*].\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "neznámá force/refuse volba `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "nelze provést malloc() v execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "nelze provést strdup v execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "nelze spustit %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd vy¾aduje jeden parametr"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd vy¾aduje pouze jeden parametr"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "neplatné èíslo pro --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "nelze otevøít `%i' pro proud"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "neoèekávaný konec souboru pøed koncem øádku %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "potøebuji zadat akci"

BIN
po/da.gmo


+ 23 - 23
po/da.po

@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg_1.10.19_da\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-01 22:10+0100\n"
 "Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
 "Language-Team: Danish <dansk@klid.dk>\n"
@@ -208,36 +208,41 @@ msgstr "handling kr
 msgid "failed to remove my own update file %.255s"
 msgstr "kunne ikke fjerne min egen opdateringsfil %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "kunne ikke skrive opdateret status for '%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "kunne ikke tømme opdateret status for '%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "kunne ikke klippe for opdateret status for '%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "kunne ikke synkronisere opdateret status for '%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "kunne ikke lukke opdateret status for '%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "kunne ikke installere opdateret status for '%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "kunne ikke åbne aflusningsfil '%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2366,12 +2371,7 @@ msgstr "--ignore-depends kr
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "ugyldigt heltal for --%s: '%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "kunne ikke åbne aflusningsfil '%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2452,47 +2452,47 @@ msgstr ""
 "alvorligt.\n"
 "Gennemtvingsningstilvalg mærket [*] er aktiveret som standard.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "ukendt gennemtvingnings/afvisnings-tilvalg '%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "kunne ikke udføre 'malloc' i execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "kunne ikke udføre 'strdup' i execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "kunne ikke eksekvere %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd tager 1 parameter, ikke 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd tager kun 1 parameter"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "ugyldigt tal for  --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "kunne ikke åbne '%i' for strøm"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "uventet slut-på-fil før afslutningen af linje %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "kræver et handlings-tilvalg"

BIN
po/de.gmo


+ 23 - 23
po/de.po

@@ -11,7 +11,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Debian dpkg 1.10.26\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-03 11:24 +0100\n"
 "Last-Translator: Michael Piefel <piefel@debian.org>\n"
 "Language-Team: German <de@debian-l10n-german@lists.debian.org>\n"
@@ -209,36 +209,41 @@ msgstr "Operation braucht Lese/Schreibrechte für den Statusbereich von dpkg"
 msgid "failed to remove my own update file %.255s"
 msgstr "konnte meine eigene Update-Datei %.255s nicht löschen"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "kann den erneuerten Status von »%.250s« nicht schreiben"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "kann den erneuerten Status von »%.250s« nicht leeren"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "kann für erneuerten Status von »%.250s« nicht abschneiden"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "kann kein fsync durchführen für erneuerten Status von »%.250s«"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "kann den erneuerten Status von »%.250s« nicht schließen"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "kann den erneuerten Status von »%.250s« nicht installieren"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "konnte Debug-Datei »%.255s« nicht öffnen\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2381,12 +2386,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "ungültige Zahl für --%s: »%.250s«"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "konnte Debug-Datei »%.255s« nicht öffnen\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2476,48 +2476,48 @@ msgstr ""
 "schwer\n"
 "beschädigen. Optionen markierten mit [*] sind per Vorgabe angestellt.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "unbekannte force/refuse-Option »%.*s«"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "konnte kein malloc durchführen in execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "konnte kein strdup durchführen in execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "konnte %s nicht ausführen"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd nimmt 1 Argument, nicht 0"
 
 #
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd nimmt nur 1 Argument"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "ungültige Zahl für --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "konnte »%i« nicht für Stream öffnen"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "unerwartetes Dateiende vor Ende der Zeile %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "brauche eine Aktions-Option"

+ 23 - 23
po/dpkg.pot

@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -202,36 +202,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr ""
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr ""
 
+#: lib/dbmodify.c:301
+#, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr ""
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2131,12 +2136,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr ""
 
-#: src/main.c:295
-#, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr ""
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2177,47 +2177,47 @@ msgid ""
 "Forcing options marked [*] are enabled by default.\n"
 msgstr ""
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr ""
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr ""
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr ""
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr ""
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr ""
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr ""
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr ""
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr ""
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr ""
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr ""

BIN
po/el.gmo


+ 23 - 23
po/el.po

@@ -15,7 +15,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg_1_13_po_el\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-02-20 14:49EEST\n"
 "Last-Translator: Greek Translation Team <debian-l10n-greek@lists.debian."
 "org>\n"
@@ -220,37 +220,42 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "αποτυχία αφαίρεσης το δικό μου ενημερωτικό αρχείο %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "αδυναμία εγγραφής της ενημερωμένης κατάστασης του `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "αδυναμία καθαρισμού της ενημερωμένης κατάστασης του `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "αδύνατος ο ψαλιδισμός της ανανεωμένης κατάστασης του `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr ""
 "αδύνατος ο συγχρονισμός (fsync) της ανανεωμένης κατάστασης του `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "αδυναμία κλεισίματος της ενημερωμένης κατάστασης του `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "αδύνατη η εγκατάσταση της ενημερωμένης κατάστασης του `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "αδύνατο το άνοιγμα του αρχείου debug `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2408,12 +2413,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "μη έγκυρος ακέραιος για --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "αδύνατο το άνοιγμα του αρχείου debug `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2498,47 +2498,47 @@ msgstr ""
 "για το σύστημά σας. Ο εξαναγκασμός των επιλογών με σήμανση [*] είναι εξ'\n"
 "ορισμού ενεργοποιημένος.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "άγνωστη επιλογή force/refuse `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "αδύνατη η δέσμευση μνήμης με τη malloc στο execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "αδύνατη η αντιγραφή συμβολοσειράς με τη strdup στο execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "αδύνατη η εκτέλεση του %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "η --command-fd παίρνει 1 όρισμα, όχι 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd παίρνει μόνο 1 όρισμα"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "μη έγκυρος αριθμός για το --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "αδύνατο το άνοιγμα του `%i' ως ροή (stream)"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "απρόσμενο eof πριν το τέλος της γραμμής %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "χρειάζεται μια επιλογή ενέργειας"

BIN
po/es.gmo


+ 23 - 23
po/es.po

@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Debian dpkg 1.10.18\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2004-12-31 12:07+0100\n"
 "Last-Translator: Javier Fernández-Sanguino <jfs@debian.org>\n"
 "Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n"
@@ -214,36 +214,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "fallo al borrar mi propio fichero de actualización %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "no se puede escribir el estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "no se puede efectuar `flush' con el estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "no se puede truncar el estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "no se puede efectuar `fsync' en el estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "no se puede cerrar el estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "no se puede instalar el estado actualizado de `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "no se puede abrir el fichero de depuración `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2485,12 +2490,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "entero inválido para --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "no se puede abrir el fichero de depuración `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2583,47 +2583,47 @@ msgstr ""
 "la instalación. Las opciones de forzado marcadas con [*] están activadas\n"
 "por omisión.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "opción force/refuse desconocida `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "no se pudo ejecutar malloc en execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "no se pudo ejecutar strdup en execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "fallo al ejecutar %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd toma 1 argumento, no 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd sólo toma 1 argumento"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "número inválido para --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "no se pudo abrir `%i' para un flujo"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "eof inesperado antes del fin de la línea %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "se necesita una opción de acción"

BIN
po/eu.gmo


+ 23 - 23
po/eu.po

@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg-eu\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-09 20:49+0100\n"
 "Last-Translator: Piarres Beobide  <pi@beobide.net>\n"
 "Language-Team: Librezale.org <librezale@librezale.org>\n"
@@ -210,36 +210,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "Ezin izan dut nire eguneraketa fitxategia ezabatu %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "Ezin izan da `%.250s'-ren eguneratutako egoera idatzi"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "Ezin izan da `%.250s'-ren eguneratutako egoera bultzatu"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "Ezin izan da `%.250s'-ren eguneratutako egoera hartu"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "Ezin izan da `%.250s'-ren eguneratutako egoera sinkronizatu"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "Ezin izan da `%.250s'-ren eguneratutako egoera itxi"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "Ezin izan da `%.250s'-ren eguneratutako egoera instalatu"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "ezin da `%.255s' arazpen fitxategia ireki\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2417,12 +2422,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "--%s-rentzat zenbaki oso baliogabea: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "ezin da `%.255s' arazpen fitxategia ireki\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2502,47 +2502,47 @@ msgstr ""
 "liteke.\n"
 "[*] markaturik dauden indartze aukerak lehenetsirik daude.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "indartze/debekatze aukera ezezaguna: `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "ezin da execbackend-en malloc egin"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "ezin da execbackend-en strdup egin"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "huts %s exekutatzean"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd argumentu bat behar du, ez 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd-ek bakarrik argumentu bat onartzen du"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "--command-fd -rentzat zenbaki baliogabea"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "Ezin da korrontearentzat '%i? ireki"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "ezuzteko fitxategi amaiera %d lerro amaiaeran"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "ekintza aukera bat behar da"

BIN
po/fr.gmo


+ 23 - 23
po/fr.po

@@ -21,7 +21,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Debian dpkg 1.6.13\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-03-30 08:43+0200\n"
 "Last-Translator: Christian Perrier <bubulle@debian.org>\n"
 "Language-Team: French <debian-l10n-french@lists.debian.org>\n"
@@ -265,36 +265,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "échec de la suppression de mon propre fichier de mise à jour %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "impossible d'écrire le nouvel état de « %.250s »"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "impossible d'éliminer le nouvel état de « %.250s »"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "impossible de tronquer le nouvel état de « %.250s »"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "impossible de synchroniser le nouvel état de « %.250s »"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "impossible de fermer le nouvel état de « %.250s »"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "impossible d'installer le nouvel état de « %.250s »"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "impossible d'ouvrir le fichier de journal « %s »"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2524,12 +2529,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "entier incorrect pour --%s « %.250s »"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "impossible d'ouvrir le fichier de journal « %s »"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2621,47 +2621,47 @@ msgstr ""
 "           installation.\n"
 "Les options de forçage marquées [*] sont activées par défaut.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "option de forçage/refus « %.*s » inconnue"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "Impossible de faire un « malloc » dans « execbackend »"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "Impossible de faire un « strdup » dans « execbackend »"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "échec de l'exécution de « %s »"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd prend un argument et non zéro"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd ne prend qu'un argument"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "nombre invalide pour --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "impossible d'ouvrir le flux d'entrée « %i »"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "EOF inattendu avant la fin de la ligne %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "requiert une option d'action"

BIN
po/gl.gmo


+ 23 - 23
po/gl.po

@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg 1.9.0\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-02-05 13:10+0100\n"
 "Last-Translator: Héctor Fernández López <trorrr@yahoo.es>\n"
 "Language-Team: Galician <trasno@ceu.fi.udc.es>\n"
@@ -208,36 +208,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "erro ó borrar o ficheiro de actualización propio %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "non se puido escribir o estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "non se puido facer `flush' do estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "non se puido truncar para o estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "non se puido facer `fsync' do estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "non se puido pechar o estado actualizado de `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "non se puido instalar o estado actualizado de `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "non se puido abrir o ficheiro de depurado `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2390,13 +2395,8 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "enteiro incorrecto para --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "non se puido abrir o ficheiro de depurado `%.255s'\n"
-
 #  `incidental' -> tomei a traducción da versión castelá
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2475,47 +2475,47 @@ msgstr ""
 "instalación. As opcións de forzado marcadas con [*] están activadas\n"
 "por defecto.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "opción force/refuse descoñecida `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "non se puido facer malloc en execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "non se puido facer strdup en execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "erro ó executar %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd leva 1 argumento, non 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd só leva 1 argumento"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "número non válido para --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "non se puido abrir `%i' en modo fluxo"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "eof inesperado antes do fin da liña %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "é necesaria unha opción de acción"

BIN
po/he.gmo


+ 23 - 23
po/he.po

@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2004-10-07 03:01+0200\n"
 "Last-Translator: Lior Kaplan <webmaster@guides.co.il>\n"
 "Language-Team: English <en@li.org>\n"
@@ -202,36 +202,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr ""
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr ""
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr ""
 
+#: lib/dbmodify.c:301
+#, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr ""
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2131,12 +2136,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr ""
 
-#: src/main.c:295
-#, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr ""
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2177,47 +2177,47 @@ msgid ""
 "Forcing options marked [*] are enabled by default.\n"
 msgstr ""
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr ""
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr ""
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr ""
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr ""
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr ""
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr ""
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr ""
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr ""
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr ""
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr ""

BIN
po/id.gmo


+ 23 - 23
po/id.po

@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-03-07 17:41+0700\n"
 "Last-Translator: Arief S Fitrianto <arief@gurame.fisika.ui.ac.id>\n"
 "Language-Team: Debian Indonesia L10N Team <debian-l10n-id@gurame.fisika.ui."
@@ -211,36 +211,41 @@ msgstr "operasi ini membutuhkan akses baca/tulis ke area status dpkg"
 msgid "failed to remove my own update file %.255s"
 msgstr "gagal membuang berkas terbaru saya: %.250s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "tidak bisa menulis status terbaru dari `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "tidak bisa mengosongkan status terbaru dari `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "tidak bisa memotong status terbaru `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "tidak bisa melakukan 'fsync' status terbaru dari `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "tidak bisa menutup status terbaru `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "tidak bisa memasang status terbaru dari `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "tidak dapat membuka berkas debug `%.250s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2375,12 +2380,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "integer untuk --%s tidak sah: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "tidak dapat membuka berkas debug `%.250s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2459,47 +2459,47 @@ msgstr ""
 "parah.\n"
 "Pilihan paksaan bertanda [*] akan langsung diaktifkan.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "Pilihan force/refuse `%.*s' tak dikenal"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "tidak dapat melakukan 'malloc' pada 'execbackend'"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "tidak dapat melakukan 'strdup' pada 'execbackend'"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "Gagal menjalankan perintah %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd butuh 1 argumen, bukan 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd hanya butuh 1 argumen"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "angka tidak sah untuk --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "tidak dapat membuka `%i' untuk stream"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "eof tidak diharapkan sebelum akhir baris %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "butuh suatu pilihan aksi"

BIN
po/it.gmo


+ 23 - 23
po/it.po

@@ -41,7 +41,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg 1.10.22\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-06 17:59+0100\n"
 "Last-Translator: Stefano Canepa <sc@linux.it>\n"
 "Language-Team: italian <debian-l10n-italian@debian.org>\n"
@@ -241,36 +241,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "impossibile rimuovere il mio stesso file di update %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "impossibile scrivere lo stato aggiornato di `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "impossibile fare il flush dello stato aggiornato di `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "impossibile fare il truncate dello stato aggiornato di `%.250s'<"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "impossibile fare l'fsync dello stato aggiornato di `%.250s'<"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "impossibile chiudere lo stato aggiornato di `%.250s'<"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "impossibile installare lo stato aggiornato di `%.250s'<"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "impossibile aprire il file di debug `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2456,12 +2461,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "numero intero non valido per l'opzione --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "impossibile aprire il file di debug `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2550,47 +2550,47 @@ msgstr ""
 "seriamente la vostra installazione.\n"
 "Le opzioni contrassegnate da [*] sono abilitate di default.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "opzione force/refuse sconosciuta: `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "impossibile fare malloc in execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "impossibile fare strdup in execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "impossibile eseguire %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd accetta un parametro, non nessuno"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd accetta un solo parametro"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "numero non valido in --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "impossibile aprire `%i' per ricevere il flusso"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "eof inaspettato prima della fine della linea %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "è necessaria una opzione che indichi che azione svolgere"

BIN
po/ja.gmo


+ 23 - 23
po/ja.po

@@ -19,7 +19,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 1.10.23\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2004-12-31 16:22+0900\n"
 "Last-Translator: Kenshi Muto <kmuto@debian.org>\n"
 "Language-Team: Debian Japanease List <debian-japanese@lists.debian.org>\n"
@@ -217,36 +217,41 @@ msgstr "
 msgid "failed to remove my own update file %.255s"
 msgstr "一時的な更新用ファイル %.255s の削除に失敗しました。"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "更新した`%.250s'のステータスを書き込めません。"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "更新した`%.250s'のステータスをフラッシュできません。"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "更新した`%.250s'のステータスを切り詰められません。"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "更新した`%.250s'のステータスを fsync できません。"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "更新した`%.250s'のステータスをクローズできません。"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "更新した`%.250s'のステータスをインストールできません。"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "デバッグファイル `%.250s' をオープンできませんでした\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2386,12 +2391,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "--%s に対する不正な整数です: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "デバッグファイル `%.250s' をオープンできませんでした\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2465,47 +2465,47 @@ msgstr ""
 "警告:[!]のあるオプションの使用すると、インストール時に深刻なダメージを\n"
 "受ける場合がある。[*]のついたオプションはデフォルトで有効。\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "不明な強制・拒否(force/refuse)オプション `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "バックエンドの実行で malloc に失敗しました。"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "バックエンドの実行で strdup に失敗しました。"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "%s の実行に失敗しました。"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd は 1 つの引数を取ります。"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd は引数を 1 つだけ引数を取ります。"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "--command-fd への値が不正です"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "`%i' をストリームとしてオープンできませんでした"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "%d 行目の行末までに予期しない eof があります。"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "アクションを指定するオプションが必要です。"

BIN
po/ko.gmo


+ 23 - 23
po/ko.po

@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 1.10.22\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2004-11-21 03:52+0900\n"
 "Last-Translator: Changwoo Ryu <cwryu@debian.org>\n"
 "Language-Team: Korean <cwryu@debian.org>\n"
@@ -203,36 +203,41 @@ msgstr "이 작업은 dpkg 상태 영역에 읽기/쓰기 권한이 필요합니
 msgid "failed to remove my own update file %.255s"
 msgstr "자체 업데이트 파일 %.255s을(를) 지우는 데 실패했습니다"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "`%.250s'의 업데이트 상태를 쓸 수 없습니다"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "`%.250s'의 업데이트 상태를 플러시할 수 없습니다"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "`%.250s'의 업데이트 상태를 자를 수 없습니다"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "`%.250s'의 업데이트 상태를 동기화할 수 없습니다"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "`%.250s'의 업데이트 상태를 닫을 수 없습니다"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "`%.250s'의 업데이트 상태를 설치할 수 없습니다"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "디버그 파일 `%.255s'을(를) 열 수 없습니다\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2352,12 +2357,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "--%s 옵션에 숫자가 잘못되었습니다: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "디버그 파일 `%.255s'을(를) 열 수 없습니다\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2428,48 +2428,48 @@ msgstr ""
 "경고 - [!]가 붙은 옵션을 사용하면 설치 상태를 심각하게 망가질 수 있습니다.\n"
 "[*]가 표시된 강제 옵션은 기본값으로 켜집니다.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "알 수 없는 force/refuse 옵션 `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "execbackend에서 malloc할 수 없습니다"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "execbackend에서 strdup할 수 없습니다"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "%s 실행이 실패했습니다"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd 옵션은 0개가 아니라 1개의 인수를 받습니다"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd 옵션은 정확히 1개의 인수만 받습니다"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "--command-fd 옵션에 번호가 올바르지 않습니다"
 
 # fdopen() 실패 상황
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "`%i' 파일디스크립터를 스트림으로 열 수 없습니다"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "%d번째 줄이 끝나기 전에 예상치 못하게 파일이 끝났습니다"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "명령 옵션이 필요합니다"

BIN
po/nb.gmo


+ 23 - 23
po/nb.po

@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-25 11:14+0100\n"
 "Last-Translator: Hans Fredrik Nordhaug <hans@nordhaug.priv.no>\n"
 "Language-Team: Norwegian Bokmål <i18n-nb@lister.ping.ui.no>\n"
@@ -206,36 +206,41 @@ msgstr "operasjonen krever lese- og skrivetilgang til dpkg-statusområdet"
 msgid "failed to remove my own update file %.255s"
 msgstr "klarte ikke fjerne min egen oppdateringsfil %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "klarte ikke skrive oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "klarte ikke tømme oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "klarte ikke klippe for oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "klarte ikke synkronisere oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "klarte ikke lukke oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "klarte ikke installere oppdatert status for «%.250s»"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "klarte ikke åpne avlusingsfil `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2366,12 +2371,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "ugyldig heltall for --%s: «%.250s»"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "klarte ikke åpne avlusingsfil `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2447,47 +2447,47 @@ msgstr ""
 "ADVARSEL - Funksjoner merket med [!] kan ødelegge installasjonen alvorlig.\n"
 "Opsjoner som er merket med [*] er slått på som standard.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "ukjent tvangs-/avvisningsopsjon «%.*s»"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "klarte ikke utføre «malloc» i execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "klarte ikke utføre «strdup» i execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "klarte ikke kjøre %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd tar ett argument, ikke 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd tar bare ett argument"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "ugyldig tall for --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "klarte ikke åpne «%i» for strøm"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "uventet slutt på fil før slutten av linje %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "trenger et handlingsvalg"

BIN
po/nl.gmo


+ 23 - 23
po/nl.po

@@ -2,7 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg 1.9.4\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-06 23:41+0100\n"
 "Last-Translator: Bart Cornelis <cobaco@linux.be>\n"
 "Language-Team: Dutch <debian-l10n-dutch@debian.org>\n"
@@ -202,36 +202,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "kon mijn eigen update bestand %.255s niet verwijderen"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "kon de nieuwe status van `%.250s' niet wegschrijven"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "kon de nieuwe status van `%.250s' niet doorspoelen"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "kon niet afkappen voor de nieuwe status van `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "kon nieuwe status van `%.250s' niet synchroniseren"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "kon nieuwe status van `%.250s' niet afsluiten"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "kon nieuwe status van `%.250s' niet installeren"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "kon debugbestand `%.255s' niet openen\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2384,12 +2389,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "ongeldig getal voor --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "kon debugbestand `%.255s' niet openen\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2476,47 +2476,47 @@ msgstr ""
 "ernstig beschadigen.\n"
 "Forceeropties gemarkeerd met [*] staan standaard aan.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "onbekende force/refuse optie `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "kon geen geheugen reserveren in exec-backend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "strdup is mislukt in exec-backend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "kon %s niet uitvoeren"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd verwacht een argument, niet nul"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd verwacht slechts één argument"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "ongeldig nummer voor --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "kon `%i' niet openen voor stream"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "onverwacht bestandseinde voor einde regel %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "heb een actie-optie nodig"

BIN
po/nn.gmo


+ 23 - 23
po/nn.po

@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg_nn\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-08 16:16+0100\n"
 "Last-Translator: Håvard Korsvoll <korsvoll@skulelinux.no>\n"
 "Language-Team: Norwegian (Nynorsk) <i18n-nn@lister.ping.uio.no>\n"
@@ -208,36 +208,41 @@ msgstr "operasjonen krev lese- og skrivetilgang til dpkg-statusområdet"
 msgid "failed to remove my own update file %.255s"
 msgstr "klarte ikkje fjerna mi eiga oppdateringsfil %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "klarte ikkje skriva oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "klarte ikkje tømma oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "klarte ikkje klippa for oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "klarte ikkje synkronisera oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "klarte ikkje lukka oppdatert status for «%.250s»"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "klarte ikkje installera oppdatert status for «%.250s»"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "klarte ikkje opna avlusingsfil `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2376,12 +2381,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "ugyldig heiltal for --%s: «%.250s»"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "klarte ikkje opna avlusingsfil `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2460,47 +2460,47 @@ msgstr ""
 "alvorleg.\n"
 "Vala som er merkte med [*] er slått på som standard.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "ukjend tvingings-/avvisingsval «%.*s»"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "klarte ikkje utføra «malloc» i execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "klarte ikkje utføra «strdup» i execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "klarte ikkje køyra %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd tek éin parameter, ikkje null"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd tek berre ein parameter"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "ugyldig tal for --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "klarte ikkje opna «%i» for straum"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "uventa slutt på fil før slutten av linje %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "treng eit handlingsval"

BIN
po/pl.gmo


+ 23 - 23
po/pl.po

@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg 1.9.20\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-05 19:50+0100\n"
 "Last-Translator: Bartosz Fenski <fenio@debian.org>\n"
 "Language-Team: Polish <pddp@debian.linux.org.pl>\n"
@@ -202,36 +202,41 @@ msgstr "
 msgid "failed to remove my own update file %.255s"
 msgstr "nie mo¿na usun±æ uaktualnionego pliku %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "nie mo¿na zapisaæ uaktualnionego pliku `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "nie mo¿na od¶wie¿yæ uaktualnionego pliku `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "nie mo¿na obci±æ uaktualnionego pliku `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "nie mo¿na zsynchronizowaæ uaktualnionego pliku `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "nie mo¿na zamkn±æ uaktualnionego pliku `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "nie mo¿na zainstalowaæ uaktualnionego pliku `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "nie mo¿na otworzyæ pliku debuggera `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2382,12 +2387,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "b³êdna warto¶æ liczbowa dla --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "nie mo¿na otworzyæ pliku debuggera `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2464,47 +2464,47 @@ msgstr ""
 "UWAGA - u¿ycie opcji oznaczonej [!] mo¿e powa¿nie uszkodziæ instalacjê.\n"
 "Opcje oznaczone [*] s± domy¶lnie w³±czone.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "nieznana opcja force/refuse `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "malloc w execbackend nie powiod³o siê"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "strdup w execbackend nie powiod³o siê"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "wywo³anie %s nie powiod³o siê"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd wymaga 1 argumentu, nie 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd wymaga tylko 1 argumentu"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "nieprawid³owy numer przy --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "nie uda³o siê otworzyæ `%i' jako strumienia"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "niespodziewany EOF przed koñcem linii %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "nale¿y okre¶liæ dzia³anie"

BIN
po/pt.gmo


+ 23 - 23
po/pt.po

@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg 1.14\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-09 09:20+0000\n"
 "Last-Translator: Miguel Figueiredo <elmig@debianpt.org>\n"
 "Language-Team: Portuguese <traduz@debianpt.org>\n"
@@ -204,36 +204,41 @@ msgstr "a operação requer acesso de leitura/escrita na área do status do dpkg
 msgid "failed to remove my own update file %.255s"
 msgstr "falhou a remoção do meu próprio ficheiro de actualização %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "não foi possível escrever o status actualizado de `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "não foi possível esvaziar o status actualizado de `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "não foi possível truncar para o status actualizado de `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "não foi possível fazer fsync ao status actualizado de `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "não foi possível fechar o status actualizado de `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "não foi possível instalar o status actualizado de `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "não pode abrir ficheiro de debug `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2405,12 +2410,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "número inteiro inválido para --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "não pode abrir ficheiro de debug `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2499,47 +2499,47 @@ msgstr ""
 "instalação.\n"
 "Opções para forçar marcadas com [*] são habilitadas por padrão.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "opção desconhecida de forçar/recusar `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "não pode fazer malloc no execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "não pode fazer strdup no execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "falhou executar %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd leva 1 argumento, não 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-df leva apenas 1 argumento"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "número inválido para --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "não pode abrir `%i' para stream"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "eof inesperado antes do fim da linha %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "é necessária uma opção de acção"

BIN
po/pt_BR.gmo


+ 23 - 23
po/pt_BR.po

@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-06 16:42-0200\n"
 "Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
 "Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
@@ -209,36 +209,41 @@ msgstr "opera
 msgid "failed to remove my own update file %.255s"
 msgstr "remoção de meu próprio arquivo de atualização %.255s falhou"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "não foi possível gravar status atualizado de `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "não foi possível efetuar flush do status atualizado de `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "não foi possível truncar o status atualizado de `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "não foi possível efetuar fsync do status atualizado de `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "não foi possível fechar status atualizado de `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "não foi possível instalar status atualizado de `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "não foi possível abrir arquivo de depuração `%.250s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2405,12 +2410,7 @@ msgstr "--ignore-depends requer um nome de pacote v
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "inteiro inválido para --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "não foi possível abrir arquivo de depuração `%.250s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2497,47 +2497,47 @@ msgstr ""
 "instalação.\n"
 "Opções para forçar marcadas com [*] são habilitadas por padrão.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "opção de forçar/recusar `%.*s' desconhecida"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "não foi possível alocar memória em execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "não foi possível fazer strdup em execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "falha ao executar %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd recebe 1 argumento, não 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd recebe somente 1 argumento"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "número inválido para --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "não foi possível abrir `%i' para stream"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "eof inesperado após fim da linha %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "preciso de uma opção de ação"

BIN
po/ro.gmo


+ 23 - 23
po/ro.po

@@ -17,7 +17,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg_ro\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-05-25 03:12+0200\n"
 "Last-Translator: Eddy Petrişor <eddy.petrisor@gmail.com>\n"
 "Language-Team: Romanian (Română) <debian-l10n-romanian@lists.debian.org>\n"
@@ -218,36 +218,41 @@ msgstr "operaţia necesită acces de tip scriere/citire în zona de stare a dpkg
 msgid "failed to remove my own update file %.255s"
 msgstr "eşec la îndepărtarea propriului fişier cu actualizări %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "nu pot scrie starea actualizată a `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "nu pot goli starea actuală a `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "nu pot trunchia pentru starea actualizată a `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "nu pot să sincronizez cu fsync starea actualizată a lui `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "nu pot închide starea actualizată a `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "nu pot instala starea actualizată a `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "nu pot deschide fişierul de depanare `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2431,12 +2436,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "întreg invalid pentru --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "nu pot deschide fişierul de depanare `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2523,47 +2523,47 @@ msgstr ""
 "sistemul dvs.\n"
 "Forţarea opţiunilor marcate cu [*] sunt implicit activate.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "opţiune de forţare/refuzare necunoscută `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "nu am putut executa malloc în aplicaţia propriu-zisă"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "nu am putut executa strdup în aplicaţia propriu-zisă"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "eşec la execuţia %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd ia 1 argument, nu 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd ia doar 1 argument"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "număr invalid pentru --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "nu am putut deschide `%i' pentru fluxul de date"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "sfârşit neaşteptat de fişier înainte de terminarea liniei %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "e necesară o opţiune de acţiune"

BIN
po/ru.gmo


+ 23 - 23
po/ru.po

@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ru\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-01 11:38+0400\n"
 "Last-Translator: Yuri Kozlov <yuray@id.ru>\n"
 "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
@@ -207,36 +207,41 @@ msgstr "операция требует прав на чтение област
 msgid "failed to remove my own update file %.255s"
 msgstr "не удалось удалить собственный файл обновлений %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "не удалось записать обновлённый файл состояния пакета %.250s"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "не удалось сбросить буфер обновлённого файла состояния пакета %.250s"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "не удалось усечь обновлённый файл состояния пакета %.250s"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "не удалось синхронизировать обновлённый файл состояния пакета %.250s"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "не удалось закрыть обновлённый файл состояния пакета %.250s"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "не удалось установить обновлённый файл состояния пакета %.250s"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "не удалось открыть отладочный файл %.255s\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2469,12 +2474,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "аргумент --%s (%.250s) не является допустимым целочисленным значением"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "не удалось открыть отладочный файл %.255s\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2566,47 +2566,47 @@ msgstr ""
 "повредить\n"
 "вашу систему. Параметры, отмеченные [*], задействованы по умолчанию.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "недопустимый параметр игнорирования/обработки проблем %.*s"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "не удалось выделить память при работе функции execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "не удалось скопировать строку при работе функции execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "не удалось запустить %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "параметр --command-fd принимает один аргумент, а не ноль"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "параметр --command-fd принимает только один аргумент"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "аргумент параметра --command-fd не является числом"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "не удалось открыть поток дескриптора файла %i"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "неожиданный конец файла, ещё не кончилась строка %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "требуется параметр действия"

BIN
po/sk.gmo


+ 23 - 23
po/sk.po

@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg 1.10\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-08 17:21-0500\n"
 "Last-Translator: Roman Benko <benco@acid.sk>\n"
 "Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
@@ -206,36 +206,41 @@ msgstr "oper
 msgid "failed to remove my own update file %.255s"
 msgstr "chyba pri odstraòovaní môjho vlastného akualizaèného súboru %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "nie je mo¾né zapísa» aktualizovaný stav `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "nie je mo¾né vyprázdni» aktualizovaný stav `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "nie je mo¾né skráti» aktualizovaný stav `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "nie je mo¾né vykona» funkciu fsync na aktualizovaný stav `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "nie je mo¾né uzavrie» aktualizovaný stav `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "nie je mo¾né in¹talova» aktualizovaný stav `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "nebolo mo¾né otvori» ladiaci súbor `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2386,12 +2391,7 @@ msgstr "--ignore-depends vy
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "neplatné èíslo pre --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "nebolo mo¾né otvori» ladiaci súbor `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2462,47 +2462,47 @@ msgstr ""
 "in¹taláciu.\n"
 "Vnútenie volieb oznaèených [*] je predvolene povelené.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "neznáma vnucovacia/odmietacia voµba `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "nemô¾e vykona» funkciu malloc v execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "nemô¾e vykona» funkciu strdup v execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "nie je mo¾né spusti» %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd vy¾aduje jeden paramater, nie nula"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd vy¾aduje len jeden argument"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "neplatné èíslo pre --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "nie je mo¾né otvori» `%i' pre tok"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "neèakaný koniec súboru pred koncom riadku %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "potrebujem zada» akciu"

BIN
po/sv.gmo


+ 23 - 23
po/sv.po

@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg 1.10\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-01-01 23:52+0100\n"
 "Last-Translator: Peter Karlsson <peterk@debian.org>\n"
 "Language-Team: Peter Karlsson <peterk@debian.org>\n"
@@ -204,36 +204,41 @@ msgstr "operationen kr
 msgid "failed to remove my own update file %.255s"
 msgstr "kunde inte ta bort min egen uppdateringsfil %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "kunde inte skriva uppdaterad status för \"%.250s\""
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "kunde inte tömma uppdaterad status för \"%.250s\""
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "kunde inte klippa för uppdaterad status för \"%.250s\""
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "kunde inte synkronisera uppdaterad status för \"%.250s\""
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "kunde inte stänga uppdaterad status för \"%.250s\""
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "kunde inte installera uppdaterad status för \"%.250s\""
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "kunde inte öppna felsökningsfil \"%.255s\"\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2354,12 +2359,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "ogiltigt heltal för --%s: \"%.250s\""
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "kunde inte öppna felsökningsfil \"%.255s\"\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2435,47 +2435,47 @@ msgstr ""
 "installation\n"
 "om de används. Flaggor markerade [*] är förvalda.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "okänd flagga för force/refuse: \"%.*s\""
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "kunde inte allokera i execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "kunde inte duplicera sträng i execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "kunde inte exekvera %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd tar exakt ett argument"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd tar bara ett argument"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "ogiltigt tal för --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "kunde inte öppna \"%i\" för ström"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "oväntat filslut före slut på rad %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "du har inte talat om vad som skall utföras"

BIN
po/tl.gmo


+ 23 - 23
po/tl.po

@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-03-07 20:09+0800\n"
 "Last-Translator: Eric Pareja <xenos@upm.edu.ph>\n"
 "Language-Team: Tagalog <debian-tl@banwa.upm.edu.ph>\n"
@@ -208,36 +208,41 @@ msgstr ""
 msgid "failed to remove my own update file %.255s"
 msgstr "bigo sa pagtanggal ng sariling talaksang apdeyt %.255s"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "hindi makapagsulat ng kalagayang inapdeyt ng `%.250s'"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "hindi mai-flush ang kalagayang inapdeyt ng `%.250s'"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "hindi mai-truncate para sa kalagayang inapdeyt ng `%.250s'"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "hindi ma-fsync ang kalagayang inapdeyt ng `%.250s'"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "hindi masarhan ang kalagayang inapdeyt ng `%.250s'"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "hindi ma-luklok ang kalagayang inapdeyt ng `%.250s'"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "hindi mabuksan ang talaksang pan-debug `%.255s'\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2423,12 +2428,7 @@ msgstr ""
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "di tanggap na integer para sa --%s: `%.250s'"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "hindi mabuksan ang talaksang pan-debug `%.255s'\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2520,47 +2520,47 @@ msgstr ""
 "ay\n"
 "naka-enable na default.\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "di kilalang opsyon na force/refuse `%.*s'"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "hindi maka-malloc sa execbackend"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "hindi maka-strdup sa execbackend"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "bigo sa pag-exec ng %s"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd ay tumatanggap ng 1 argumento, hindi 0"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd ay tumatanggap lamang ng 1 argumento"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "di tanggap na numero para sa --command-fd"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "hindi mabuksan ang `%i' para sa stream"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "di inaasahang eof bago matapos ang linya %d"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "kailangan ng opsyon ng gagawin"

BIN
po/zh_CN.gmo


+ 23 - 23
po/zh_CN.po

@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-02-07 05:27+1300\n"
 "Last-Translator: Tchaikov <chaisave@263.com>\n"
 "Language-Team: Chinese (simplified) <i18n-translation@lists.linux.net.cn>\n"
@@ -203,36 +203,41 @@ msgstr "该操作需要用户对 dpkg 状态目录有读写权限"
 msgid "failed to remove my own update file %.255s"
 msgstr "删除我自己的更新文件 %.255s 失败"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "无法写入“%.250s”的更新状态"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "无法刷新“%.250s”的更新状态"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "无法删节“%.250s”的更新状态"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "无法 fsync “%.250s”的更新状态"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "无法关闭“%.250s”的更新状态文件"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "无法安装“%.250s”的更新状态"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "无法打开调试信息文件“%.255s”\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2315,12 +2320,7 @@ msgstr "--ignore-depends 需要一个有效的软件包名。而“%.250s”却
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "--%s 有一个无效的数字参数:“%.250s”"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "无法打开调试信息文件“%.255s”\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2394,47 +2394,47 @@ msgstr ""
 "警告 - 使用带有[!]标记的选项可能会严重破坏您的系统安装。\n"
 "缺省情况下,是使用带有[*]标记的强制手段的。\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "无法识别的 force/refuse 选项“%.*s”"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "无法在 execbackend 中 malloc"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "无法在 execbackend 中 strdup"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "exec %s 失败"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd 需要带一个参数,而不是零个"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd 只需带一个参数"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "--command-fd 有一个无效的数字参数"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "无法打开“%i”,并把它作为字符流操作"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "在第 %d 行还未结束时,发现了预料之外的 eof"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "需要一个指示操作的选项"

BIN
po/zh_TW.gmo


+ 23 - 23
po/zh_TW.po

@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: dpkg\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
-"POT-Creation-Date: 2005-06-10 07:42+0100\n"
+"POT-Creation-Date: 2005-06-12 15:53+0100\n"
 "PO-Revision-Date: 2005-02-05 19:54+0800\n"
 "Last-Translator: Asho Yeh <asho@debian.org.tw>\n"
 "Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
@@ -203,36 +203,41 @@ msgstr "該操作需要用戶對 dpkg 狀態目錄有讀寫權限"
 msgid "failed to remove my own update file %.255s"
 msgstr "刪除我自己的更新檔案 %.255s 失敗"
 
-#: lib/dbmodify.c:278
+#: lib/dbmodify.c:260
 #, c-format
 msgid "unable to write updated status of `%.250s'"
 msgstr "無法寫入“%.250s”的更新狀態"
 
-#: lib/dbmodify.c:280
+#: lib/dbmodify.c:262
 #, c-format
 msgid "unable to flush updated status of `%.250s'"
 msgstr "無法刷新“%.250s”的更新狀態"
 
-#: lib/dbmodify.c:282
+#: lib/dbmodify.c:264
 #, c-format
 msgid "unable to truncate for updated status of `%.250s'"
 msgstr "無法刪除“%.250s”的更新狀態"
 
-#: lib/dbmodify.c:284
+#: lib/dbmodify.c:266
 #, c-format
 msgid "unable to fsync updated status of `%.250s'"
 msgstr "無法同步檔案“%.250s”的更新狀態"
 
-#: lib/dbmodify.c:286
+#: lib/dbmodify.c:268
 #, c-format
 msgid "unable to close updated status of `%.250s'"
 msgstr "無法關閉“%.250s”的更新狀態"
 
-#: lib/dbmodify.c:289
+#: lib/dbmodify.c:271
 #, c-format
 msgid "unable to install updated status of `%.250s'"
 msgstr "無法安裝“%.250s”的更新狀態"
 
+#: lib/dbmodify.c:301
+#, fuzzy, c-format
+msgid "couldn't open log `%s': %s\n"
+msgstr "無法打開偵錯檔案“%.255s”\n"
+
 #: lib/dump.c:291
 #, c-format
 msgid "failed to open `%s' for writing %s information"
@@ -2304,12 +2309,7 @@ msgstr "--ignore-depends 需要一個有效的套件名。而“%.250s”卻不
 msgid "invalid integer for --%s: `%.250s'"
 msgstr "--%s 有一個無效的數字參數:“%.250s”"
 
-#: src/main.c:295
-#, fuzzy, c-format
-msgid "couldn't open log `%s': %s\n"
-msgstr "無法打開偵錯檔案“%.255s”\n"
-
-#: src/main.c:316
+#: src/main.c:292
 #, c-format
 msgid ""
 "%s forcing options - control behaviour when problems found:\n"
@@ -2382,47 +2382,47 @@ msgstr ""
 "警告 - 使用帶有[!]標記的選項可能會嚴重破壞您的系統安裝。\n"
 "預設情況下,是使用帶有[*]標記的強制方法。\n"
 
-#: src/main.c:361
+#: src/main.c:337
 #, c-format
 msgid "unknown force/refuse option `%.*s'"
 msgstr "無法識別的 force/refuse 選項“%.*s”"
 
-#: src/main.c:464 src/main.c:468
+#: src/main.c:442 src/main.c:446
 msgid "couldn't malloc in execbackend"
 msgstr "無法在 execbackend 中 malloc"
 
-#: src/main.c:466 src/main.c:473
+#: src/main.c:444 src/main.c:451
 msgid "couldn't strdup in execbackend"
 msgstr "無法在 execbackend 中 strdup"
 
-#: src/main.c:477
+#: src/main.c:455
 #, c-format
 msgid "failed to exec %s"
 msgstr "exec %s 失敗"
 
-#: src/main.c:489
+#: src/main.c:467
 msgid "--command-fd takes 1 argument, not 0"
 msgstr "--command-fd 需要帶一個參數,而不是零個"
 
-#: src/main.c:490
+#: src/main.c:468
 msgid "--command-fd only takes 1 argument"
 msgstr "--command-fd 只需帶一個參數"
 
-#: src/main.c:492
+#: src/main.c:470
 msgid "invalid number for --command-fd"
 msgstr "--command-fd 有一個無效的數字參數"
 
-#: src/main.c:494
+#: src/main.c:472
 #, c-format
 msgid "couldn't open `%i' for stream"
 msgstr "無法打開“%i”,並把它作為串流處理"
 
-#: src/main.c:519
+#: src/main.c:497
 #, c-format
 msgid "unexpected eof before end of line %d"
 msgstr "在第 %d 行還未結束時,發現了預料之外的 eof"
 
-#: src/main.c:563 src/main.c:578 src/query.c:565 dpkg-deb/main.c:184
+#: src/main.c:541 src/main.c:556 src/query.c:565 dpkg-deb/main.c:184
 #: dpkg-split/main.c:157
 msgid "need an action option"
 msgstr "需要一個指示操作的選項"

+ 7 - 5
scripts/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -64,7 +64,8 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(changelogdir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sbindir)"
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(changelogdir)" \
+	"$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sbindir)"
 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
 changelogSCRIPT_INSTALL = $(INSTALL_SCRIPT)
 dist_pkglibSCRIPT_INSTALL = $(INSTALL_SCRIPT)
@@ -84,7 +85,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -144,6 +144,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -156,7 +157,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -170,6 +170,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -434,7 +436,7 @@ clean-generic:
 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 339 - 225
scripts/dpkg-source.pl

@@ -8,10 +8,12 @@ my %dirincluded;
 my %notfileobject;
 my $fn;
 
-$diff_ignore_default_regexp = '(?:^|/)\.#.*$|(?:^|/).*~$|(?:^|/)\..*\.swp|DEADJOE|\.cvsignore|(?:/(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|_darcs))(?:$|/.*$)';
+$diff_ignore_default_regexp = '(?:^|/)\.#.*$|(?:^|/).*~$|(?:^|/)\..*\.swp|DEADJOE|\.cvsignore|\.arch-inventory|(?:/(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|_darcs))(?:$|/.*$)';
 
 $sourcestyle = 'X';
-$dscformat = "1.0";
+$min_dscformat = 1;
+$max_dscformat = 2;
+$def_dscformat = "1.0"; # default format for -b
 
 use POSIX;
 use POSIX qw (:errno_h :signal_h);
@@ -40,7 +42,7 @@ Ian Jackson and Klee Dienes.  This is free software; see the GNU
 General Public Licence version 2 or later for copying conditions.
 There is NO warranty.
 
-Usage:  dpkg-source -x <filename>.dsc
+Usage:  dpkg-source -x <filename>.dsc [<output-directory>]
         dpkg-source -b <directory> [<orig-directory>|<orig-targz>|\'\']
 Build options:   -c<controlfile>     get control info from this file
                  -l<changelogfile>   get per-version info from this file
@@ -70,13 +72,9 @@ General options: -h                  print this message
 }
 
 sub handleformat {
-	local $fmt	= shift;
-	local $ourfmt	= $dscformat;
-
-	$fmt =~ s/(.*)\.\d*/$1/;
-	$ourfmt =~ s/(.*)\.\d*/$1/;
-
-	return ($fmt==$ourfmt);
+	my $fmt = shift;
+	return unless $fmt =~ /^(\d+)/; # only check major version
+	return $1 >= $min_dscformat && $1 <= $max_dscformat;
 }
 
 
@@ -101,7 +99,7 @@ while (@ARGV && $ARGV[0] =~ m/^-/) {
     } elsif (m/^-F([0-9a-z]+)$/) {
         $changelogformat=$1;
     } elsif (m/^-D([^\=:]+)[=:]/) {
-        $override{$1}= $';
+        $override{$1}= "$'";
     } elsif (m/^-U([^\=:]+)$/) {
         $remove{$1}= 1;
     } elsif (m/^-i(.*)$/) {
@@ -109,9 +107,9 @@ while (@ARGV && $ARGV[0] =~ m/^-/) {
     } elsif (m/^-I(.+)$/) {
         push @tar_ignore, "--exclude=$1";
     } elsif (m/^-V(\w[-:0-9A-Za-z]*)[=:]/) {
-        $substvar{$1}= $';
+        $substvar{$1}= "$'";
     } elsif (m/^-T/) {
-        $varlistfile= $';
+        $varlistfile= "$'";
     } elsif (m/^-h$/) {
         &usageversion; exit(0);
     } elsif (m/^-W$/) {
@@ -147,7 +145,7 @@ if ($opmode eq 'build') {
     
     &parsechangelog;
     &parsecontrolfile;
-    $f{"Format"}=$dscformat;
+    $f{"Format"}=$def_dscformat;
 
     $archspecific=0;
     for $_ (keys %fi) {
@@ -177,7 +175,7 @@ if ($opmode eq 'build') {
 		    } else {
                         for $a (split(/\s+/,$v)) {
                             &error("architecture $a only allowed on its own".
-                                   " (list for package $p is \`$a')")
+                                   " (list for package $p is `$a')")
                                    if grep($a eq $_, 'any','all');
                             push(@sourcearch,$a) unless $archadded{$a}++;
                         }
@@ -263,22 +261,22 @@ if ($opmode eq 'build') {
 
     if ($sourcestyle =~ m/[aA]/) {
         if (stat("$origtargz")) {
-            -f _ || &error("packed orig \`$origtargz' exists but is not a plain file");
+            -f _ || &error("packed orig `$origtargz' exists but is not a plain file");
             $sourcestyle =~ y/aA/pP/;
         } elsif ($! != ENOENT) {
-            &syserr("unable to stat putative packed orig \`$origtargz'");
+            &syserr("unable to stat putative packed orig `$origtargz'");
         } elsif (stat("$origdir")) {
-            -d _ || &error("unpacked orig \`$origdir' exists but is not a directory");
+            -d _ || &error("unpacked orig `$origdir' exists but is not a directory");
             $sourcestyle =~ y/aA/rR/;
         } elsif ($! != ENOENT) {
-            &syserr("unable to stat putative unpacked orig \`$origdir'");
+            &syserr("unable to stat putative unpacked orig `$origdir'");
         } else {
             $sourcestyle =~ y/aA/nn/;
         }
     }
     $dirbase= $dir; $dirbase =~ s,/?$,,; $dirbase =~ s,[^/]+$,,; $dirname= $&;
-    $dirname eq $basedirname || &warn("source directory \`$dir' is not <sourcepackage>".
-                                      "-<upstreamversion> \`$basedirname'");
+    $dirname eq $basedirname || &warn("source directory `$dir' is not <sourcepackage>".
+                                      "-<upstreamversion> `$basedirname'");
     
     if ($sourcestyle ne 'n') {
         $origdirbase= $origdir; $origdirbase =~ s,/?$,,;
@@ -302,10 +300,10 @@ if ($opmode eq 'build') {
 
         if (stat($tarname)) {
             $sourcestyle =~ m/[nUR]/ ||
-                &error("tarfile \`$tarname' already exists, not overwriting,".
+                &error("tarfile `$tarname' already exists, not overwriting,".
                        " giving up; use -sU or -sR to override");
         } elsif ($! != ENOENT) {
-            &syserr("unable to check for existence of \`$tarname'");
+            &syserr("unable to check for existence of `$tarname'");
         }
 
         print("$progname: building $sourcepackage in $tarname\n")
@@ -316,14 +314,14 @@ if ($opmode eq 'build') {
             chdir($tardirbase) || &syserr("chdir to above (orig) source $tardirbase");
             open(STDOUT,">&GZIP") || &syserr("reopen gzip for tar");
             # FIXME: put `--' argument back when tar is fixed
-            exec('tar',@tar_ignore,'-cf','-',$tardirname); &syserr("exec tar");
+            exec('tar',@tar_ignore,'-cf','-',$tardirname) or &syserr("exec tar");
         }
         close(GZIP);
         &reapgzip;
         $c2 == waitpid($c2,0) || &syserr("wait for tar");
         $? && !(WIFSIGNALED($c2) && WTERMSIG($c2) == SIGPIPE) && subprocerr("tar");
         rename("$tarname.new",$tarname) ||
-            &syserr("unable to rename \`$tarname.new' (newly created) to \`$tarname'");
+            &syserr("unable to rename `$tarname.new' (newly created) to `$tarname'");
 
     } else {
         
@@ -338,13 +336,13 @@ if ($opmode eq 'build') {
 
         if (stat($origdir)) {
             $sourcestyle =~ m/[KP]/ ||
-                &error("orig dir \`$origdir' already exists, not overwriting,".
+                &error("orig dir `$origdir' already exists, not overwriting,".
                        " giving up; use -sA, -sK or -sP to override");
 	    push @exit_handlers, sub { erasedir($origdir) };
             erasedir($origdir);
 	    pop @exit_handlers;
         } elsif ($! != ENOENT) {
-            &syserr("unable to check for existence of orig dir \`$origdir'");
+            &syserr("unable to check for existence of orig dir `$origdir'");
         }
 
         $expectprefix= $origdir; $expectprefix =~ s,^\./,,;
@@ -352,14 +350,14 @@ if ($opmode eq 'build') {
 # which we can still handle anyway.
 #        checktarsane($origtargz,$expectprefix);
         mkdir("$origtargz.tmp-nest",0755) ||
-            &syserr("unable to create \`$origtargz.tmp-nest'");
+            &syserr("unable to create `$origtargz.tmp-nest'");
 	push @exit_handlers, sub { erasedir("$origtargz.tmp-nest") };
         extracttar($origtargz,"$origtargz.tmp-nest",$expectprefix);
         rename("$origtargz.tmp-nest/$expectprefix",$expectprefix) ||
-            &syserr("unable to rename \`$origtargz.tmp-nest/$expectprefix' to ".
-                    "\`$expectprefix'");
+            &syserr("unable to rename `$origtargz.tmp-nest/$expectprefix' to ".
+                    "`$expectprefix'");
         rmdir("$origtargz.tmp-nest") ||
-            &syserr("unable to remove \`$origtargz.tmp-nest'");
+            &syserr("unable to remove `$origtargz.tmp-nest'");
 	    pop @exit_handlers;
     }
         
@@ -372,7 +370,7 @@ if ($opmode eq 'build') {
         defined($c2= open(FIND,"-|")) || &syserr("fork for find");
         if (!$c2) {
             chdir($dir) || &syserr("chdir to $dir for find");
-            exec('find','.','-print0'); &syserr("exec find");
+            exec('find','.','-print0') or &syserr("exec find");
         }
         $/= "\0";
 
@@ -409,7 +407,7 @@ if ($opmode eq 'build') {
                     exec('diff','-u',
                          '-L',"$basedirname.orig/$fn",
                          '-L',"$basedirname/$fn",
-                         '--',"$ofnread","$dir/$fn"); &syserr("exec diff");
+                         '--',"$ofnread","$dir/$fn") or &syserr("exec diff");
                 }
                 $difflinefound= 0;
                 $/= "\n";
@@ -425,7 +423,7 @@ if ($opmode eq 'build') {
                               "(either original or modified version)");
                     } else {
                         s/\n$//;
-                        &internerr("unknown line from diff -u on $fn: \`$_'");
+                        &internerr("unknown line from diff -u on $fn: `$_'");
                     }
                     print(GZIP $_) || &syserr("failed to write to gzip");
                 }
@@ -455,7 +453,7 @@ if ($opmode eq 'build') {
         defined($c2= open(FIND,"-|")) || &syserr("fork for 2nd find");
         if (!$c2) {
             chdir($origdir) || &syserr("chdir to $origdir for 2nd find");
-            exec('find','.','-print0'); &syserr("exec 2nd find");
+            exec('find','.','-print0') or &syserr("exec 2nd find");
         }
         $/= "\0";
         while (defined($fn= <FIND>)) {
@@ -502,11 +500,16 @@ if ($opmode eq 'build') {
     $sourcestyle =~ m/[pun]/ ||
         &usageerr("source handling style -s$sourcestyle not allowed with -x");
 
-    @ARGV==1 || &usageerr("-x needs exactly one argument, the .dsc");
+    @ARGV>=1 || &usageerr("-x needs at least one argument, the .dsc");
+    @ARGV<=2 || &usageerr("-x takes no more than two arguments");
     $dsc= shift(@ARGV);
     $dsc= "./$dsc" unless $dsc =~ m:^/:;
     $dscdir= $dsc; $dscdir= "./$dscdir" unless $dsc =~ m,^/|^\./,;
     $dscdir =~ s,/[^/]+$,,;
+    if (@ARGV) {
+	$newdirectory= shift(@ARGV);
+	! -e $newdirectory || &error("unpack target exists: $newdirectory");
+    }
 
     open(CDATA,"< $dsc") || &error("cannot open .dsc file $dsc: $!");
     &parsecdata('S',-1,"source control file $dsc");
@@ -517,25 +520,23 @@ if ($opmode eq 'build') {
             &error("missing critical source control field $f");
     }
 
+    my $dscformat = $def_dscformat;
     if (defined $fi{'S Format'}) {
 	if (not handleformat($fi{'S Format'})) {
-	    &error("Unsupported format of .dsc file ($dscformat)");
+	    &error("Unsupported format of .dsc file ($fi{'S Format'})");
 	}
         $dscformat=$fi{'S Format'};
     }
 
-    $sourcepackage =~ m/[^.0-9]/ &&
-        &error("dsc format contains illegal character \`$&'");
-
-    $sourcepackage= $fi{'S Source'};
+    $sourcepackage = $fi{'S Source'};
     $sourcepackage =~ m/[^-+.0-9a-z]/ &&
-        &error("source package name contains illegal character \`$&'");
+        &error("source package name contains illegal character `$&'");
     $sourcepackage =~ m/^[0-9a-z]/ ||
         &error("source package name starts with non-alphanum");
 
     $version= $fi{'S Version'};
     $version =~ m/[^-+:.0-9a-zA-Z~]/ &&
-        &error("version number contains illegal character \`$&'");
+        &error("version number contains illegal character `$&'");
     $version =~ s/^\d+://;
     if ($version =~ m/-([^-]+)$/) {
         $baseversion= $`; $revision= $1;
@@ -543,95 +544,149 @@ if ($opmode eq 'build') {
         $baseversion= $version; $revision= '';
     }
 
-    $files= $fi{'S Files'};
+    $files = $fi{'S Files'};
+    my @tarfiles;
+    my $difffile;
+    my $debianfile;
+    my %seen;
     for $file (split(/\n /,$files)) {
         next if $file eq '';
         $file =~ m/^([0-9a-f]{32})[ \t]+(\d+)[ \t]+([0-9a-zA-Z][-+:.,=0-9a-zA-Z_~]+)$/
-            || &error("Files field contains bad line \`$file'");
+            || &error("Files field contains bad line `$file'");
         ($md5sum{$3},$size{$3},$file) = ($1,$2,$3);
-        &setfile(\$tarfile) if $file =~ m/\.tar\.gz$/;
-        &setfile(\$difffile) if $file =~ m/\.diff\.gz$/;
-    }
+	local $_ = $file;
 
-    $newdirectory= $sourcepackage.'-'.$baseversion;
-    $expectprefix= $newdirectory; $expectprefix.= '.orig' if length($difffile);
-    
-    length($tarfile) || &error("no tarfile in Files field");
-    checkstats($tarfile);
-    checkstats($difffile) if length($difffile);
+	&error("Files field contains invalid filename `$file'")
+	    unless s/^\Q$sourcepackage\E_\Q$baseversion\E\b// and
+		   s/\.(gz|bz2)$//;
 
-# tar checking is disabled, there are too many broken tar archives out there
-# which we can still handle anyway.
-#    checktarsane("$dscdir/$tarfile",$expectprefix);
-
-    if (length($difffile)) {
-            
-        &forkgzipread("$dscdir/$difffile");
-        $/="\n";
-	$_ = <GZIP>;
-        while ($_ || !eof(GZIP)) {
-	    # read file header (---/+++ pair)
-	    s/\n$// or &error("diff is missing trailing newline");
-	    /^--- / or &error("expected ^--- in line $. of diff");
-                $fn= $';
-                substr($fn,0,length($expectprefix)+1) eq "$expectprefix/" ||
-                    &error("diff patches file ($fn) not in expected subdirectory");
-                $fn =~ m/\.dpkg-orig$/ &&
-                    &error("diff patches file with name ending .dpkg-orig");
-                $dirname= $fn;
-                if ($dirname =~ s,/[^/]+$,, && !defined($dirincluded{$dirname})) {
-		    $dirtocreate{$dirname} = 1;
-		}
-                defined($notfileobject{$fn}) &&
-                    &error("diff patches something which is not a plain file");
-                $_= <GZIP>; s/\n$// ||
-                    &error("diff finishes in middle of ---/+++ (line $.)");
-                $_ eq '+++ '.$newdirectory.substr($fn,length($expectprefix)) ||
-                    &error("line after --- for file $fn isn't as expected");
-                $filepatched{$fn}++ && &error("diff patches file $fn twice");
-	    # read hunks
-	    my $hunk = 0;
-	    while (($_ = <GZIP>) && !/^--- /) {
-		# read hunk header (@@)
-		s/\n$// or &error("diff is missing trailing newline");
-		next if /^\\ No newline/;
-		/^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@$/ or
-		    &error("Expected ^@@ in line $. of diff");
-		my ($olines, $nlines) = ($1 ? $2 : 1, $3 ? $4 : 1);
-		++$hunk;
-		# read hunk
-		while ($olines || $nlines) {
-		    $_ = <GZIP> or &error("unexpected end of diff");
-		    s/\n$// or &error("diff is missing trailing newline");
-		    next if /^\\ No newline/;
-		    if (/^ /) { --$olines; --$nlines; }
-		    elsif (/^-/) { --$olines; }
-		    elsif (/^\+/) { --$nlines; }
-		    else { &error("expected [ +-] at start of line $. of diff"); }
-		}
+	&error("repeated file type - files `$seen{$_}' and `$file'") if $seen{$_};
+	$seen{$_} = $file;
+
+	checkstats($file);
+
+	if (/^\.(orig(-\w+)?\.)?tar$/) {
+	    if ($2) { push @tarfiles, $file; } # push orig-foo.tar.gz to the end
+	    else    { unshift @tarfiles, $file; }
+	    next;
+	}
+
+	if ($revision and s/^-\Q$revision\E\b//) {
+	    if (/^\.diff$/) {
+		$difffile = $file;
+		next;
 	    }
-	    $hunk or &error("expected ^\@\@ at line $. of diff");
-        }
-        close(GZIP);
-        
-        &reapgzip;
+	    if (/^\.debian\.tar$/) {
+		$debianfile = $file;
+		next;
+	    }
+	}
+
+	&error("unrecognised file suffix `$_'");
+    }
+
+    &error("no tarfile in Files field") unless @tarfiles;
+    my $native = !($difffile || $debianfile);
+    if ($native) {
+	&warn("multiple tarfiles in native package") if @tarfiles > 1;
+	&warn("native package with .orig.tar") unless $seen{'.tar'};
+    } else {
+	&warn("no upstream tarfile in Files field") unless $seen{'.orig.tar'};
+	if ($dscformat =~ /^1\./) {
+	    &warn("multiple upstream tarballs in $dscformat format dsc") if @tarfiles > 1;
+	    &warn("debian.tar in $dscformat format dsc") if $debianfile;
+	}
     }
 
+    $newdirectory = $sourcepackage.'-'.$baseversion unless defined($newdirectory);
+    $expectprefix = $newdirectory;
+    $expectprefix .= '.orig' if $difffile || $debianfile;
+    
+    checkdiff("$dscdir/$difffile") if $difffile;
     print("$progname: extracting $sourcepackage in $newdirectory\n")
         || &syserr("write extracting message");
     
     &erasedir($newdirectory);
-    &erasedir("$newdirectory.orig");
-
-    mkdir("$expectprefix.tmp-nest",0755)
-	|| &syserr("unable to create \`$expectprefix.tmp-nest'");
-    system "chmod", "g-s", "$expectprefix.tmp-nest";
-    extracttar("$dscdir/$tarfile","$expectprefix.tmp-nest","$expectprefix");
-    rename("$expectprefix.tmp-nest/$expectprefix","$expectprefix")
-	|| &syserr("unable to rename \`$expectprefix.tmp-nest/$expectprefix' "
-		   ."to \`$expectprefix'");
-    rmdir("$expectprefix.tmp-nest")
-	|| &syserr("unable to remove \`$expectprefix.tmp-nest'");
+    ! -e "$expectprefix"
+	|| rename("$expectprefix","$newdirectory.tmp-keep")
+	|| &syserr("unable to rename `$expectprefix' to `$newdirectory.tmp-keep'");
+
+    push @tarfiles, $debianfile if $debianfile;
+    for my $tarfile (@tarfiles)
+    {
+	my $target;
+	if ($tarfile =~ /\.orig-(\w+)\.tar/) {
+	    my $sub = $1;
+	    $sub =~ s/\d+$// if $sub =~ /\D/;
+	    $target = "$expectprefix/$sub";
+	} elsif ($tarfile =~ /\.debian.tar/) {
+	    $target = "$expectprefix/debian";
+	} else {
+	    $target = $expectprefix;
+	}
+
+	my $tmp = "$target.tmp-nest";
+	(my $t = $target) =~ s!.*/!!;
+
+	mkdir($tmp,0755) || &syserr("unable to create `$tmp'");
+	system "chmod", "g-s", $tmp;
+	print("$progname: unpacking $tarfile\n");
+	extracttar("$dscdir/$tarfile",$tmp,$t);
+	rename("$tmp/$t",$target)
+	    || &syserr("unable to rename `$tmp/$t' to `$target'");
+	rmdir($tmp)
+	    || &syserr("unable to remove `$tmp'");
+
+	# for the first tar file:
+	if ($tarfile eq $tarfiles[0] and !$native)
+	{
+	    # -sp: copy the .orig.tar.gz if required
+	    if ($sourcestyle =~ /p/) {
+		stat("$dscdir/$tarfile") ||
+		    &syserr("failed to stat `$dscdir/$tarfile' to see if need to copy");
+		($dsctardev,$dsctarino) = stat _;
+		if (!stat($tarfile)) {
+		    $! == ENOENT || &syserr("failed to check destination `$tarfile'".
+					    " to see if need to copy");
+		} else {
+		    ($dumptardev,$dumptarino) = stat _;
+		}
+		unless ($dumptardev == $dsctardev && $dumptarino == $dsctarino) {
+		    system('cp','--',"$dscdir/$tarfile", $tarfile);
+		    $? && subprocerr("cp $dscdir/$tarfile to $tarfile");
+		}
+	    }
+	    # -su: keep .orig directory unpacked
+	    elsif ($sourcestyle =~ /u/ and $expectprefix ne $newdirectory) {
+		! -e "$newdirectory.tmp-keep"
+		    || &error("unable to keep orig directory (already exists)");
+		system('cp','-ar','--',$expectprefix,"$newdirectory.tmp-keep");
+		$? && subprocerr("cp $expectprefix to $newdirectory.tmp-keep");
+	    }
+	}
+    }
+
+    my @patches;
+    push @patches, "$dscdir/$difffile" if $difffile;
+
+    if ($debianfile and -d (my $pd = "$expectprefix/debian/patches"))
+    {
+	my @p;
+
+	opendir D, $pd;
+	while (defined ($_ = readdir D))
+	{
+	    # patches match same rules as run-parts
+	    next unless /^[\w-]+$/ and -f "$pd/$_";
+	    my $p = $_;
+	    checkdiff("$pd/$p");
+	    push @p, $p;
+	}
+
+	closedir D;
+
+	push @patches, map "$newdirectory/debian/patches/$_", sort @p;
+    }
 
     for $dircreate (keys %dirtocreate) {
 	$dircreatem= "";
@@ -643,87 +698,71 @@ if ($opmode eq 'build') {
 		    || &syserr("failed to create $dircreatem subdirectory");
 	    }
 	    else {
-		-d _ || &error("diff patches file in directory \`$dircreate',"
+		-d _ || &error("diff patches file in directory `$dircreate',"
 			       ." but $dircreatem isn't a directory !");
 	    }
 	}
     }
-    
-    if (length($difffile)) {
-        rename($expectprefix,$newdirectory) ||
-            &syserr("failed to rename newly-extracted $expectprefix to $newdirectory");
-
-        if ($sourcestyle =~ m/u/) {
-	    mkdir("$expectprefix.tmp-nest",0755)
-		|| &syserr("unable to create \`$expectprefix.tmp-nest'");
-	    system "chmod", "g-s", "$expectprefix.tmp-nest";
-	    extracttar("$dscdir/$tarfile","$expectprefix.tmp-nest",
-		       "$expectprefix");
-	    rename("$expectprefix.tmp-nest/$expectprefix","$expectprefix")
-		|| &syserr("unable to rename \`$expectprefix.tmp-nest/"
-			   ."$expectprefix' to \`$expectprefix'");
-	    rmdir("$expectprefix.tmp-nest")
-		|| &syserr("unable to remove \`$expectprefix.tmp-nest'");
-         } elsif ($sourcestyle =~ m/p/) {
-            stat("$dscdir/$tarfile") ||
-                &syserr("failed to stat \`$dscdir/$tarfile' to see if need to copy");
-            ($dsctardev,$dsctarino) = stat _;
-            $dumptar= $sourcepackage.'_'.$baseversion.'.orig.tar.gz';
-            if (!stat($dumptar)) {
-                $! == ENOENT || &syserr("failed to check destination \`$dumptar'".
-                                        " to see if need to copy");
-            } else {
-                ($dumptardev,$dumptarino) = stat _;
-                if ($dumptardev == $dsctardev && $dumptarino == $dsctarino) {
-                    $dumptar= '';
-                }
-            }
-            if (length($dumptar)) {
-                system('cp','--',"$dscdir/$tarfile","$dumptar");
-                $? && subprocerr("cp $dscdir/$tarfile to $dumptar");
-            }
-        }                
 
-        &forkgzipread("$dscdir/$difffile");
+    if ($newdirectory ne $expectprefix)
+    {
+	rename($expectprefix,$newdirectory) ||
+	    &syserr("failed to rename newly-extracted $expectprefix to $newdirectory");
+
+	# rename the copied .orig directory
+	! -e "$newdirectory.tmp-keep"
+	    || rename("$newdirectory.tmp-keep",$expectprefix)
+	    || &syserr("failed to rename saved $newdirectory.tmp-keep to $expectprefix");
+    }
+
+    for my $patch (@patches) {
+	print("$progname: applying $patch\n");
+	if ($patch =~ /\.(gz|bz2)$/) {
+	    &forkgzipread($patch);
+	    *DIFF = *GZIP;
+	} else {
+	    open DIFF, $patch or &error("can't open diff `$patch'");
+	}
+
         defined($c2= fork) || &syserr("fork for patch");
         if (!$c2) {
-            open(STDIN,"<&GZIP") || &syserr("reopen gzip for patch");
+            open(STDIN,"<&DIFF") || &syserr("reopen gzip for patch");
             chdir($newdirectory) || &syserr("chdir to $newdirectory for patch");
 	    $ENV{'LC_ALL'}= 'C';
 	    $ENV{'LANG'}= 'C';
             exec('patch','-s','-t','-F','0','-N','-p1','-u',
-                 '-V','never','-g0','-b','-z','.dpkg-orig');
-            &syserr("exec patch");
+                 '-V','never','-g0','-b','-z','.dpkg-orig') or &syserr("exec patch");
         }
-        close(GZIP);
+        close(DIFF);
         $c2 == waitpid($c2,0) || &syserr("wait for patch");
         $? && subprocerr("patch");
-        &reapgzip;
 
-        for $fn (keys %filepatched) {
-            $ftr= "$newdirectory/".substr($fn,length($expectprefix)+1).".dpkg-orig";
-            unlink($ftr) || &syserr("remove patch backup file $ftr");
-        }
+	&reapgzip if $patch =~ /\.(gz|bz2)$/;
+    }
 
-        if (!(@s= lstat("$newdirectory/debian/rules"))) {
-            $! == ENOENT || &syserr("cannot stat $newdirectory/debian/rules");
-            &warn("$newdirectory/debian/rules does not exist");
-        } elsif (-f _) {
-            chmod($s[2] | 0111, "$newdirectory/debian/rules") ||
-                &syserr("cannot make $newdirectory/debian/rules executable");
-        } else {
-            &warn("$newdirectory/debian/rules is not a plain file");
-        }
+    for $fn (keys %filepatched) {
+	$ftr= "$newdirectory/".substr($fn,length($expectprefix)+1).".dpkg-orig";
+	unlink($ftr) || &syserr("remove patch backup file $ftr");
+    }
+
+    if (!(@s= lstat("$newdirectory/debian/rules"))) {
+	$! == ENOENT || &syserr("cannot stat $newdirectory/debian/rules");
+	&warn("$newdirectory/debian/rules does not exist");
+    } elsif (-f _) {
+	chmod($s[2] | 0111, "$newdirectory/debian/rules") ||
+	    &syserr("cannot make $newdirectory/debian/rules executable");
+    } else {
+	&warn("$newdirectory/debian/rules is not a plain file");
     }
 
     $execmode= 0777 & ~umask;
-    (@s= stat('.')) || &syserr("cannot stat \`.'");
+    (@s= stat('.')) || &syserr("cannot stat `.'");
     $dirmode= $execmode | ($s[2] & 02000);
     $plainmode= $execmode & ~0111;
     $fifomode= ($plainmode & 0222) | (($plainmode & 0222) << 1);
     for $fn (@filesinarchive) {
 	$fn=~ s,^$expectprefix,$newdirectory,;
-        (@s= lstat($fn)) || &syserr("cannot stat extracted object \`$fn'");
+        (@s= lstat($fn)) || &syserr("cannot stat extracted object `$fn'");
         $mode= $s[2];
         if (-d _) {
             $newmode= $dirmode;
@@ -732,12 +771,12 @@ if ($opmode eq 'build') {
         } elsif (-p _) {
             $newmode= $fifomode;
         } elsif (!-l _) {
-            &internerr("unknown object \`$fn' after extract (mode ".
+            &internerr("unknown object `$fn' after extract (mode ".
                        sprintf("0%o",$mode).")");
         } else { next; }
         next if ($mode & 07777) == $newmode;
         chmod($newmode,$fn) ||
-            &syserr(sprintf("cannot change mode of \`%s' to 0%o from 0%o",
+            &syserr(sprintf("cannot change mode of `%s' to 0%o from 0%o",
                             $fn,$newmode,$mode));
     }
     exit(0);
@@ -752,7 +791,7 @@ sub checkstats {
     $s[7] == $size{$f} || &error("file $f has size $s[7] instead of expected $size{$f}");
     $m= `md5sum`; $? && subprocerr("md5sum $f"); $m =~ s/\n$//;
     $m =~ s/ *-$//; # Remove trailing spaces and -, to work with GNU md5sum
-    $m =~ m/^[0-9a-f]{32}$/ || &failure("md5sum of $f gave bad output \`$m'");
+    $m =~ m/^[0-9a-f]{32}$/ || &failure("md5sum of $f gave bad output `$m'");
     $m eq $md5sum{$f} || &error("file $f has md5sum $m instead of expected $md5sum{$f}");
     open(STDIN,"</dev/null") || &syserr("reopen stdin from /dev/null");
 }
@@ -767,9 +806,9 @@ sub erasedir {
     $? && subprocerr("rm -rf $dir");
     if (!stat($dir)) {
         $! == ENOENT && return;
-        &syserr("unable to check for removal of dir \`$dir'");
+        &syserr("unable to check for removal of dir `$dir'");
     }
-    &failure("rm -rf failed to remove \`$dir'");
+    &failure("rm -rf failed to remove `$dir'");
 }
 
 use strict 'vars';
@@ -789,8 +828,7 @@ sub checktarcpio {
 	$ENV{'LANG'}= 'C';
         open (STDIN,"<&GZIP") || &syserr ("reopen gzip for cpio");
         &cpiostderr;
-        exec ('cpio','-0t');
-	&syserr ("exec cpio");
+        exec ('cpio','-0t') or &syserr ("exec cpio");
     }
     close (GZIP);
 
@@ -804,7 +842,7 @@ sub checktarcpio {
 	$pname =~ y/ -~/?/c;
 
         if ($fn =~ m/\n/) {
-	    &error ("tarfile \`$tarfileread' contains object with".
+	    &error ("tarfile `$tarfileread' contains object with".
 		    " newline in its name ($pname)");
 	}
 
@@ -812,7 +850,7 @@ sub checktarcpio {
 
 	if (! $tarprefix) {
 	    if ($fn =~ m/\n/) {
-                &error("first output from cpio -0t (from \`$tarfileread') ".
+                &error("first output from cpio -0t (from `$tarfileread') ".
                        "contains newline - you probably have an out of ".
                        "date version of cpio.  GNU cpio 2.4.2-2 is known to work");
 	    }
@@ -820,7 +858,7 @@ sub checktarcpio {
 	    # need to check for multiple dots on some operating systems
 	    # empty tarprefix (due to regex failer) will match emptry string
 	    if ($tarprefix =~ /^[.]*$/) {
-		&error("tarfile \`$tarfileread' does not extract into a ".
+		&error("tarfile `$tarfileread' does not extract into a ".
 		       "directory off the current directory ($tarprefix from $pname)");
 	    }
 	}
@@ -828,13 +866,13 @@ sub checktarcpio {
 	my $fprefix = substr ($fn, 0, length ($tarprefix));
         my $slash = substr ($fn, length ($tarprefix), 1);
         if ((($slash ne '/') && ($slash ne '')) || ($fprefix ne $tarprefix)) {
-	    &error ("tarfile \`$tarfileread' contains object ($pname) ".
+	    &error ("tarfile `$tarfileread' contains object ($pname) ".
 		    "not in expected directory ($tarprefix)");
 	}
 
 	# need to check for multiple dots on some operating systems
         if ($fn =~ m/[.]{2,}/) {
-            &error ("tarfile \`$tarfileread' contains object with".
+            &error ("tarfile `$tarfileread' contains object with".
 		    " /../ in its name ($pname)");
 	}
         push (@filesinarchive, $fn);
@@ -866,7 +904,7 @@ sub checktarsane {
 	$ENV{'LC_ALL'}= 'C';
         $ENV{'LANG'}= 'C';
         open (STDIN, "<&GZIP") || &syserr ("reopen gzip for tar -t");
-        exec ('tar', '-vvtf', '-'); &syserr ("exec tar -vvtf -");
+        exec ('tar', '-vvtf', '-') or &syserr ("exec tar -vvtf -");
     }
     close (GZIP);
 
@@ -876,14 +914,14 @@ sub checktarsane {
         chomp;
 
         if (! m,^(\S{10})\s,) {
-            &error("tarfile \`$tarfileread' contains unknown object ".
-                   "listed by tar as \`$_'");
+            &error("tarfile `$tarfileread' contains unknown object ".
+                   "listed by tar as `$_'");
 	}
 	my $mode = $1;
 
         $mode =~ s/^([-dpsl])// ||
-            &error("tarfile \`$tarfileread' contains object \`$fn' with ".
-                   "unknown or forbidden type \`".substr($_,0,1)."'");
+            &error("tarfile `$tarfileread' contains object `$fn' with ".
+                   "unknown or forbidden type `".substr($_,0,1)."'");
         my $type = $&;
 
         if ($mode =~ /^l/) { $_ =~ s/ -> .*//; }
@@ -891,7 +929,7 @@ sub checktarsane {
 
 	my @tarfields = split(' ', $_, 6);
 	if (@tarfields < 6) { 
-	    &error ("tarfile \`$tarfileread' contains incomplete entry \`$_'\n");
+	    &error ("tarfile `$tarfileread' contains incomplete entry `$_'\n");
 	}
 
 	my $tarfn = deoctify ($tarfields[5]);
@@ -914,15 +952,15 @@ sub checktarsane {
 		&& (substr ($fn, 0, 99) eq substr ($tarfn, 0, 99))) {
 		# this file doesn't match because cpio truncated the name
 		# to the first 100 characters.  let it slide for now.
-		&warn ("filename \`$pname' was truncated by cpio;" .
+		&warn ("filename `$pname' was truncated by cpio;" .
 		       " unable to check full pathname");
 		# Since it didn't match, later checks will not be able
 		# to stat this file, so we replace it with the filename
 		# fetched from tar.
 		$filesinarchive[$efix-1] = $tarfn;
 	    } else {
-		&error ("tarfile \`$tarfileread' contains unexpected object".
-			" listed by tar as \`$_'; expected \`$pname'");
+		&error ("tarfile `$tarfileread' contains unexpected object".
+			" listed by tar as `$_'; expected `$pname'");
 	    }
 	}
 
@@ -930,21 +968,21 @@ sub checktarsane {
 	# we still can't allow files to expand into /../
 	# need to check for multiple dots on some operating systems
         if ($tarfn =~ m/[.]{2,}/) {
-            &error ("tarfile \`$tarfileread' contains object with".
+            &error ("tarfile `$tarfileread' contains object with".
 		    "/../ in its name ($pname)");
 	}
 
         if ($tarfn =~ /\.dpkg-orig$/) {
-            &error ("tarfile \`$tarfileread' contains file with name ending in .dpkg-orig");
+            &error ("tarfile `$tarfileread' contains file with name ending in .dpkg-orig");
 	}
 
         if ($mode =~ /[sStT]/ && $type ne 'd') {
-            &error ("tarfile \`$tarfileread' contains setuid, setgid".
-		    " or sticky object \`$pname'");
+            &error ("tarfile `$tarfileread' contains setuid, setgid".
+		    " or sticky object `$pname'");
 	}
 
         if ($tarfn eq "$tarprefix/debian" && $type ne 'd') {
-            &error ("tarfile \`$tarfileread' contains object \`debian'".
+            &error ("tarfile `$tarfileread' contains object `debian'".
                    " that isn't a directory");
 	}
 
@@ -953,8 +991,8 @@ sub checktarsane {
         my $dirname = $tarfn;
 
         if (($dirname =~ s,/[^/]+$,,) && (! defined ($dirincluded{$dirname}))) {
-            &warnerror ("tarfile \`$tarfileread' contains object \`$pname' but its containing ".
-		    "directory \`$dirname' does not precede it");
+            &warnerror ("tarfile `$tarfileread' contains object `$pname' but its containing ".
+		    "directory `$dirname' does not precede it");
 	    $dirincluded{$dirname} = 1;
 	}
 	if ($type eq 'd') { $dirincluded{$tarfn} = 1; }
@@ -972,6 +1010,87 @@ sub checktarsane {
 
 no strict 'vars';
 
+# check diff for sanity, find directories to create as a side effect
+sub checkdiff
+{
+    my $diff = shift;
+    if ($diff =~ /\.(gz|bz2)$/) {
+	&forkgzipread($diff);
+	*DIFF = *GZIP;
+    } else {
+	open DIFF, $diff or &error("can't open diff `$diff'");
+    }
+    $/="\n";
+    $_ = <DIFF>;
+
+  HUNK:
+    while (defined($_) || !eof(DIFF)) {
+	# skip cruft leading up to patch (if any)
+	until (/^--- /) {
+	    last HUNK unless defined ($_ = <DIFF>);
+	}
+	# read file header (---/+++ pair)
+	s/\n$// or &error("diff `$diff' is missing trailing newline");
+	s/^--- // or &error("expected ^--- in line $. of diff `$diff'");
+	s/\t.*//;
+	$_ eq '/dev/null' or s!^(\./)?[^/]+/!$expectprefix/! or
+	    &error("diff `$diff' patches file with no subdirectory");
+	/\.dpkg-orig$/ and
+	    &error("diff `$diff' patches file with name ending .dpkg-orig");
+	$fn = $_;
+
+	(defined($_= <DIFF>) and s/\n$//) or
+	    &error("diff `$diff' finishes in middle of ---/+++ (line $.)");
+
+	s/\t.*//;
+	(s/^\+\+\+ // and s!^(\./)?[^/]+/!!)
+	    or &error("line after --- isn't as expected in diff `$diff' (line $.)");
+
+	if ($fn eq '/dev/null') {
+	    $fn = "$expectprefix/$_";
+	} else {
+	    $_ eq substr($fn, length($expectprefix)+1)
+		or &error("line after --- isn't as expected in diff `$diff' (line $.)");
+	}
+
+	$dirname = $fn;
+	if ($dirname =~ s,/[^/]+$,, && !defined($dirincluded{$dirname})) {
+	    $dirtocreate{$dirname} = 1;
+	}
+	defined($notfileobject{$fn}) &&
+	    &error("diff `$diff' patches something which is not a plain file");
+
+	$filepatched{$fn} eq $diff && &error("diff patches file $fn twice");
+	$filepatched{$fn} = $diff;
+
+	# read hunks
+	my $hunk = 0;
+	while (defined($_ = <DIFF>) && !(/^--- / or /^Index:/)) {
+	    # read hunk header (@@)
+	    s/\n$// or &error("diff `$diff' is missing trailing newline");
+	    next if /^\\ No newline/;
+	    /^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@$/ or
+		&error("Expected ^\@\@ in line $. of diff `$diff'");
+	    my ($olines, $nlines) = ($1 ? $2 : 1, $3 ? $4 : 1);
+	    ++$hunk;
+	    # read hunk
+	    while ($olines || $nlines) {
+		defined($_ = <DIFF>) or &error("unexpected end of diff `$diff'");
+		s/\n$// or &error("diff `$diff' is missing trailing newline");
+		next if /^\\ No newline/;
+		if (/^ /) { --$olines; --$nlines; }
+		elsif (/^-/) { --$olines; }
+		elsif (/^\+/) { --$nlines; }
+		else { &error("expected [ +-] at start of line $. of diff `$diff'"); }
+	    }
+	}
+	$hunk or &error("expected ^\@\@ at line $. of diff `$diff'");
+    }
+    close(DIFF);
+    
+    &reapgzip if $diff =~ /\.(gz|bz2)$/;
+}
+
 sub extracttar {
     my ($tarfileread,$dirchdir,$newtopdir) = @_;
     &forkgzipread("$tarfileread");
@@ -979,8 +1098,8 @@ sub extracttar {
     if (!$c2) {
         open(STDIN,"<&GZIP") || &syserr("reopen gzip for tar -xkf -");
         &cpiostderr;
-        chdir("$dirchdir") || &syserr("cannot chdir to \`$dirchdir' for tar extract");
-        exec('tar','-xkf','-'); &syserr("exec tar -xkf -");
+        chdir($dirchdir) || &syserr("cannot chdir to `$dirchdir' for tar extract");
+        exec('tar','-xkf','-') or &syserr("exec tar -xkf -");
     }
     close(GZIP);
     $c2 == waitpid($c2,0) || &syserr("wait for tar -xkf -");
@@ -995,13 +1114,15 @@ sub extracttar {
 	    &syserr("Unable to rename $dirchdir/$dirchdirfiles[0] to ".
 	    "$dirchdir/$newtopdir");
     } else {
-	mkdir("$dirchdir/$newtopdir", 0777) ||
-	    &syserr("Unable to mkdir $dirchdir/$newtopdir");
+	mkdir("$dirchdir/$newtopdir.tmp", 0777) or
+	    &syserr("Unable to mkdir $dirchdir/$newtopdir.tmp");
 	for (@dirchdirfiles) {
-	    rename("$dirchdir/$_", "$dirchdir/$newtopdir/$_") ||
+	    rename("$dirchdir/$_", "$dirchdir/$newtopdir.tmp/$_") or
 		&syserr("Unable to rename $dirchdir/$_ to ".
-		"$dirchdir/$newtopdir/$_");
+		"$dirchdir/$newtopdir.tmp/$_");
 	}
+	rename("$dirchdir/$newtopdir.tmp", "$dirchdir/$newtopdir") or
+	    &syserr("Unable to rename $dirchdir/$newtopdir.tmp to $dirchdir/$newtopdir");
     }
 }
 
@@ -1010,14 +1131,6 @@ sub cpiostderr {
         &syserr("reopen stderr for tar to grep out blocks message");
 }
 
-sub setfile {
-    my ($varref) = @_;
-    if (defined ($$varref)) { 
-	&error ("repeated file type - files " . $$varref . " and $file"); 
-    }
-    $$varref = $file;
-}
-
 sub checktype {
     if (!lstat("$origdir/$fn")) {
         &unrepdiff2("nonexistent",$type{$fn});
@@ -1055,7 +1168,7 @@ sub forkgzipwrite {
     if (!$cgz) {
         open(STDIN,"<&GZIPREAD") || &syserr("reopen gzip pipe"); close(GZIPREAD);
         close(GZIP); open(STDOUT,">&GZIPFILE") || &syserr("reopen tar.gz");
-        exec('gzip','-9'); &syserr("exec gzip");
+        exec('gzip','-9') or &syserr("exec gzip");
     }
     close(GZIPREAD);
     $gzipsigpipeok= 0;
@@ -1063,13 +1176,14 @@ sub forkgzipwrite {
 
 sub forkgzipread {
     local $SIG{PIPE} = 'DEFAULT';
+    my $prog = $_[0] =~ /\.gz$/ ? 'gunzip' : 'bunzip2';
     open(GZIPFILE,"< $_[0]") || &syserr("read file $_[0]");
-    pipe(GZIP,GZIPWRITE) || &syserr("pipe for gunzip");
-    defined($cgz= fork) || &syserr("fork for gunzip");
+    pipe(GZIP,GZIPWRITE) || &syserr("pipe for $prog");
+    defined($cgz= fork) || &syserr("fork for $prog");
     if (!$cgz) {
-        open(STDOUT,">&GZIPWRITE") || &syserr("reopen gunzip pipe"); close(GZIPWRITE);
+        open(STDOUT,">&GZIPWRITE") || &syserr("reopen $prog pipe"); close(GZIPWRITE);
         close(GZIP); open(STDIN,"<&GZIPFILE") || &syserr("reopen input file");
-        exec('gunzip'); &syserr("exec gunzip");
+        exec($prog) or &syserr("exec $prog");
     }
     close(GZIPWRITE);
     $gzipsigpipeok= 1;
@@ -1084,11 +1198,11 @@ sub reapgzip {
 
 sub addfile {
     my ($filename)= @_;
-    stat($filename) || &syserr("could not stat output file \`$filename'");
+    stat($filename) || &syserr("could not stat output file `$filename'");
     $size= (stat _)[7];
     my $md5sum= `md5sum <$filename`;
     $? && &subprocerr("md5sum $filename");
-    $md5sum =~ s/^([0-9a-f]{32})\s*-?\s*\n$/$1/ || &failure("md5sum gave bogus output \`$_'");
+    $md5sum =~ s/^([0-9a-f]{32})\s*-?\s*\n$/$1/ || &failure("md5sum gave bogus output `$_'");
     $f{'Files'}.= "\n $md5sum $size $filename";
 }
 

+ 3 - 2
src/Makefile.am

@@ -25,14 +25,15 @@ dpkg_SOURCES = \
 	select.c \
 	update.c
 
-dpkg_LDADD = $(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS)
+dpkg_LDADD = \
+	$(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS) $(SELINUX_LIBS)
 
 dpkg_query_SOURCES = \
 	errors.c \
 	filesdb.c filesdb.h \
 	query.c
 
-dpkg_query_LDADD = $(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS)
+dpkg_query_LDADD = $(LIBINTL) ../lib/libdpkg.a
 
 
 install-data-local:

+ 14 - 21
src/Makefile.in

@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
+# Makefile.in generated by automake 1.9.4 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -77,23 +77,15 @@ am_dpkg_OBJECTS = archives.$(OBJEXT) cleanup.$(OBJEXT) \
 dpkg_OBJECTS = $(am_dpkg_OBJECTS)
 am__DEPENDENCIES_1 =
 dpkg_DEPENDENCIES = $(am__DEPENDENCIES_1) ../lib/libdpkg.a \
-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+	$(am__DEPENDENCIES_1)
 am_dpkg_query_OBJECTS = errors.$(OBJEXT) filesdb.$(OBJEXT) \
 	query.$(OBJEXT)
 dpkg_query_OBJECTS = $(am_dpkg_query_OBJECTS)
-dpkg_query_DEPENDENCIES = $(am__DEPENDENCIES_1) ../lib/libdpkg.a \
-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+dpkg_query_DEPENDENCIES = $(am__DEPENDENCIES_1) ../lib/libdpkg.a
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/archives.Po ./$(DEPDIR)/cleanup.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/configure.Po ./$(DEPDIR)/depcon.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/enquiry.Po ./$(DEPDIR)/errors.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/filesdb.Po ./$(DEPDIR)/help.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/main.Po ./$(DEPDIR)/packages.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/processarc.Po ./$(DEPDIR)/query.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/remove.Po ./$(DEPDIR)/select.Po \
-@AMDEP_TRUE@	./$(DEPDIR)/update.Po
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
@@ -113,7 +105,6 @@ AUTOHEADER = @AUTOHEADER@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
-BZ2_CFLAGS = @BZ2_CFLAGS@
 BZ2_LIBS = @BZ2_LIBS@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
@@ -173,6 +164,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
 PERL = @PERL@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SELINUX_LIBS = @SELINUX_LIBS@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SSD_LIBS = @SSD_LIBS@
@@ -185,7 +177,6 @@ WITH_DSELECT_TRUE = @WITH_DSELECT_TRUE@
 WITH_START_STOP_DAEMON_FALSE = @WITH_START_STOP_DAEMON_FALSE@
 WITH_START_STOP_DAEMON_TRUE = @WITH_START_STOP_DAEMON_TRUE@
 XGETTEXT = @XGETTEXT@
-ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIBS = @ZLIB_LIBS@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
@@ -199,6 +190,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
@@ -253,13 +246,15 @@ dpkg_SOURCES = \
 	select.c \
 	update.c
 
-dpkg_LDADD = $(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS)
+dpkg_LDADD = \
+	$(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS) $(SELINUX_LIBS)
+
 dpkg_query_SOURCES = \
 	errors.c \
 	filesdb.c filesdb.h \
 	query.c
 
-dpkg_query_LDADD = $(LIBINTL) ../lib/libdpkg.a $(ZLIB_LIBS) $(BZ2_LIBS)
+dpkg_query_LDADD = $(LIBINTL) ../lib/libdpkg.a
 all: all-am
 
 .SUFFIXES:
@@ -349,16 +344,14 @@ distclean-compile:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
 @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
 @am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 uninstall-info-am:
 
@@ -463,7 +456,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-	-rm -f $(CONFIG_CLEAN_FILES)
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"

+ 0 - 0
src/configure.c


Some files were not shown because too many files changed in this diff