Browse Source

dpkg (1.13.2) experimental; urgency=low

  * md5sum has been removed, the coreutils or textutils version will be
    diverted to /usr/bin/md5sum.  Closes: #6633, #136110.
    The following bugs are filed against the dpkg md5sum, so no longer apply.
    Closes: #95755, #193877, #223381, #264195, #270241, #286632,
  * Take Replaces into account when installing packages; don't issue a
    "trying to overwrite" error if the file that already exists is in
    a package that Replaces the one being installed.
    Closes: #164595, #184635, #277890.
  * Allow actions and status changes to be logged to a file.  Disabled by
    default, uncomment line in /etc/dpkg/dpkg.cfg to enable.
    Closes: #957, #53376, #77109, #143882, #284499.
  * Don't truncate output of 'dpkg -l' when stdout is not a tty.
    Closes: #92263, #253860, #258608, #261822, #282790.
  * Fix further compilation problems with gcc 4.0.  Closes: #299699
  * Handle tar files without trailing slash in directory names.
    Closes: #287152.
  * Output arguments to maintainer scripts with -D2.  Closes: #237684,
    #296030.

  * Architecture Support:
    - Added ppc64.  Closes: #263743.
    - Split archtable into cputable and ostable, archtable is retained
      for compatibility with other packages that might use it only.
    - dpkg-architecture no longer canonises -t argument.  Closes: #173205.
    - dpkg-architecture output includes new DEB_*_ARCH_OS and
      DEB_*_ARCH_CPU variables that contain the Debian system and CPU
      names respectively.
    - dpkg-architecture outputs (mostly) correct GNU system names now,
      in particular this means that it will output "linux-gnu" instead
      of "linux".  You should use the new _ARCH_OS variables instead.
  * Documentation:
    - Add examples to dpkg-divert(8).  Closes: #291816.
    - Correct typo in dpkg-architecture(1).  Closes: #299090.

 -- Scott James Remnant <scott@netsplit.com>  Fri, 18 Mar 2005 16:21:32 +0000
Scott James Remnant 21 years ago
parent
commit
00e5640a99
100 changed files with 6846 additions and 7372 deletions
  1. 155 0
      ChangeLog
  2. 2 29
      Makefile.am
  3. 2 27
      Makefile.in
  4. 0 36
      archtable
  5. 7 1
      config.h.in
  6. 63 92
      configure
  7. 2 2
      configure.ac
  8. 34 0
      cputable
  9. 26 0
      debian/archtable
  10. 40 8
      debian/changelog
  11. 1 0
      debian/control
  12. 0 8
      debian/copyright
  13. 3 0
      debian/dpkg.cfg
  14. 1 3
      debian/dpkg.install
  15. 14 0
      debian/dpkg.postinst
  16. 2 0
      debian/dpkg.preinst
  17. 2 3
      debian/pseudo-tags
  18. 22 0
      lib/dbmodify.c
  19. 1 1
      lib/dpkg-db.h
  20. 0 1
      lib/dpkg.h
  21. 1 1
      lib/mlib.c
  22. 9 9
      lib/parsedump.h
  23. 3 1
      lib/tarfn.c
  24. 32 69
      m4/arch.m4
  25. 0 1
      man/C/Makefile.am
  26. 0 1
      man/C/Makefile.in
  27. 17 4
      man/C/dpkg-architecture.1
  28. 19 0
      man/C/dpkg-divert.8
  29. 8 0
      man/C/dpkg.1
  30. 0 75
      man/C/md5sum.1
  31. 0 1
      man/de/Makefile.am
  32. 8 56
      man/de/Makefile.in
  33. 0 74
      man/de/md5sum.1
  34. 0 1
      man/es/Makefile.am
  35. 0 1
      man/es/Makefile.in
  36. 0 78
      man/es/md5sum.1
  37. 0 1
      man/ja/Makefile.am
  38. 0 1
      man/ja/Makefile.in
  39. 0 86
      man/ja/md5sum.1
  40. 0 1
      man/sv/Makefile.am
  41. 0 1
      man/sv/Makefile.in
  42. 0 83
      man/sv/md5sum.1
  43. 23 0
      ostable
  44. 4 0
      po/ChangeLog
  45. 0 1
      po/POTFILES.in
  46. BIN
      po/bs.gmo
  47. 201 249
      po/bs.po
  48. BIN
      po/ca.gmo
  49. 239 244
      po/ca.po
  50. BIN
      po/cs.gmo
  51. 241 245
      po/cs.po
  52. BIN
      po/da.gmo
  53. 240 244
      po/da.po
  54. BIN
      po/de.gmo
  55. 239 244
      po/de.po
  56. 201 249
      po/dpkg.pot
  57. BIN
      po/el.gmo
  58. 241 246
      po/el.po
  59. BIN
      po/es.gmo
  60. 239 244
      po/es.po
  61. BIN
      po/eu.gmo
  62. 239 244
      po/eu.po
  63. BIN
      po/fr.gmo
  64. 242 247
      po/fr.po
  65. BIN
      po/gl.gmo
  66. 239 244
      po/gl.po
  67. BIN
      po/he.gmo
  68. 201 249
      po/he.po
  69. BIN
      po/id.gmo
  70. 221 239
      po/id.po
  71. BIN
      po/it.gmo
  72. 242 245
      po/it.po
  73. BIN
      po/ja.gmo
  74. 241 244
      po/ja.po
  75. BIN
      po/ko.gmo
  76. 239 244
      po/ko.po
  77. BIN
      po/nb.gmo
  78. 240 245
      po/nb.po
  79. BIN
      po/nl.gmo
  80. 242 246
      po/nl.po
  81. BIN
      po/nn.gmo
  82. 240 245
      po/nn.po
  83. BIN
      po/pl.gmo
  84. 239 244
      po/pl.po
  85. BIN
      po/pt.gmo
  86. 240 245
      po/pt.po
  87. BIN
      po/pt_BR.gmo
  88. 240 245
      po/pt_BR.po
  89. BIN
      po/ru.gmo
  90. 240 245
      po/ru.po
  91. BIN
      po/sk.gmo
  92. 240 245
      po/sk.po
  93. BIN
      po/sv.gmo
  94. 239 244
      po/sv.po
  95. BIN
      po/zh_CN.gmo
  96. 239 244
      po/zh_CN.po
  97. BIN
      po/zh_TW.gmo
  98. 239 244
      po/zh_TW.po
  99. 2 2
      scripts/changelog/debian.pl
  100. 0 0
      scripts/dpkg-architecture.pl

+ 155 - 0
ChangeLog

@@ -1,5 +1,160 @@
+2005-03-18  Scott James Remnant  <scott@netsplit.com>
+
+	* configure.ac: Release 1.13.2.
+
+	* src/query.c (getwidth): Return -1 if we're not on a tty.
+	(list1package): Take a package list as well, and if getwidth()
+	returns -1 determine the longest name, version and description
+	and use those for output.
+	(listpackages): Pass the package list and length to both
+	calls to list1package to allow them to go wide.
+
+	* lib/dbmodify.c (modstatdb_note): Every time we'd output a
+	status change to the status-fd, also output a log message to
+	the log-fd if we have one.
+	* lib/dpkg-db.h: Add definition of log_pipes.
+	* src/help.c (log_action): Write an action line to the log-fd.
+	* src/processarc.c (process_archive): Log installation and
+	upgrade actions.
+	* src/remove.c (removal_bulk_remove_configfiles): Log purge
+	action.
+	(deferred_remove) Log remove action.
+	* src/main.c (setfile): Take a filename, open it and add the
+	file descriptor to a list of pipes.
+	(cmdinfos): Add log command-line option that takes a filename
+	and adds it to log_pipes.
+	(usage): Add --log=<filename> usage.
+	* man/C/dpkg.1: Document --log=filename.
+	* debian/dpkg.cfg: Include a commented-out log option.
+
+2005-03-18  Peter van Dijk  <peter@dataloss.nl>
+
+	* lib/tarfn.c (TarExtractor): Only remove the last character
+	from directory names if it's a trailing slash.
+
+2005-03-18  Scott James Remnant  <scott@netsplit.com>
+
+	* man/C/dpkg-divert.8: Add an EXAMPLES section giving the two
+	most common uses of dpkg-divert, for both add and remove.
+
+	* man/C/dpkg-architecture.1: Update (should have done this with
+	the changes below, really).
+
+	* src/help.c (preexecscript): The first member of argv is always
+	NULL because it's filled in by the return value of this function,
+	so increment argv first when debug-outputting maintainer script
+	arguments.
+
+	* utils/md5sum.c: Remove file.
+	* lib/dpkg.h (MD5SUM): Remove definition of md5sum program name.
+	* utils/Makefile.am (bin_PROGRAMS): Remove md5sum.
+	* man/C/md5sum.1: Remove manual page.
+	* man/C/Makefile.am (dist_man_MANS): Remove md5sum.1.
+	* man/de/md5sum.1: Remove manual page.
+	* man/de/Makefile.am (dist_man_MANS): Remove md5sum.1.
+	* man/es/md5sum.1: Remove manual page.
+	* man/es/Makefile.am (dist_man_MANS): Remove md5sum.1.
+	* man/ja/md5sum.1: Remove manual page.
+	* man/ja/Makefile.am (dist_man_MANS): Remove md5sum.1.
+	* man/sv/md5sum.1: Remove manual page.
+	* man/sv/Makefile.am (dist_man_MANS): Remove md5sum.1.
+	* debian/dpkg.postinst (divert_md5sum): Divert the version of
+	md5sum installed by textutils or coreutils to the place where we
+	used to put our copy, include its manual page.
+	* debian/control ([dpkg]Depends): Depend on coreutils, which has
+	always included md5sum, or the version of textutils that has.
+	* debian/dpkg.install: Remove md5sum-related files.
+	* debian/copyright: Remove mentions of utils/md5sum.c.
+	* debian/pseudo-tags: Remove md5sum tag; no point filing bugs on
+	a non-existant program.
+
+	* ostable (netbsd): Restore missing "*" on the end of the regex.
+
+	Take a further step towards having separate CPU and system names
+	instead of just a joined architecture name; in particular add
+	support to dpkg-architecture.
+
+	* cputable: Create new table of cpu names with canonical GNU
+	names and a regex to match against config.guess output.
+	* ostable: Create new table of operating system names with
+	canonical GNU names and a regex to match against config.guess
+	output.
+	* archtable: Move to debian directory.
+	* debian/archtable: Reduce to a simple set of architecture names
+	in Debian's sid distribution.
+	* scripts/dpkg-architecture.pl: Add support for split cputable
+	and ostable, including new DEB_*_ARCH_OS and DEB_*_ARCH_CPU
+	variables containing the Debian system and cpu names appropriately.
+	(usageversion): Remove list of known architectures, as we can't
+	easily compute this anymore (cputable * ostable).
+	(read_archtable): Removed function, we no longer touch archtable.
+	(read_cputable): Add function to parse cputable.
+	(read_ostable): Add function to parse ostable.
+	(split_debian): Add function to split a Debian "os-cpu" name.
+	(debian_to_gnu): Add function to split and look up the GNU names
+	for the Debian os and cpu, and return the joined GNU name.
+	(split_gnu): Add function to split a GNU triplet/quartet.
+	(gnu_to_debian): Add function to split and look up the Debian
+	names for the GNU os and cpu (by regex), and return the joined
+	Debian name.
+	(rewrite_gnu): Removed, replaced by regexes in the tables.
+	* m4/arch.m4 (DPKG_CPU_TYPE): Use awk to parse the new cputable
+	and define an ARCHITECTURE_CPU macro with the result.
+	(DPKG_OS_TYPE): Use awk to parse the new ostable and define an
+	ARCHITECTURE_OS macro with the result.
+	(DPKG_ARCHITECTURE): Simply join the os and cpu names together,
+	or omit the os name if "linux".
+	* Makefile.am (dist_pkgdata_DATA): Remove archtable, add
+	cputable and ostable instead.
+	(EXTRA_DIST): Add debian/archtable.
+	* debian/dpkg.install: Install debian/archtable in /usr/share/dpkg
+	for packages that still want it.
+	* debian/pseudo-tags: Replace mention of archtable.
+
+	* archtable: Add ppc64 for powerpc-linux.
+	* scripts/dpkg-architecture.pl (rewrite_gnu): Rewrite powerpc64
+	and ppc64 into powerpc64 for archtable.
+
+2005-03-17  Scott James Remnant  <scott@netsplit.com>
+
+	* debian/dpkg.preinst (confirm_dselect_split): Check that dselect
+	is running before bitching; it's easy to do and will stop this
+	question more often than not.
+
+2005-03-17  Scott James Remnant  <scott@ubuntu.com>,
+	    Anthony Towns  <aj@azure.humbug.org.au>
+
+	* src/archives.c (tarobject): Detect when installing a file that
+	exists in a package that replaces the one being installed.  Leave
+	that on the disk and remove the file from the list for the package
+	being installed.
+
+2005-03-16  Scott James Remnant  <scott@netsplit.com>
+
+	* lib/parsedump.h: Move definitions of fieldinfos and nicknames
+	arrays to the bottom of the file, to ensure we know the size of
+	the arrays we're declaring.
+	* lib/mlib.c (buffer_write): Cast unsigned char * to plain old
+	char * when calling sprintf.
+
+2005-03-12  Frank S. Thomas  <frank@thomas-alfeld.de>
+
+	* man/C/dpkg-architecture.1: Correct typo (variales -> variables).
+
+2005-03-08  Scott James Remnant  <scott@netsplit.com>
+
+	* Makefile.am (package): Remove rule, as it is only really
+	required outside of arch (otherwise you have a tarball).
+	* Makefile.maint: New file holding the package rule.
+
 2005-03-03  Scott James Remnant  <scott@netsplit.com>
 2005-03-03  Scott James Remnant  <scott@netsplit.com>
 
 
+	* archtable: Describe column 2 as the value returned by
+	dpkg --print-architecture not --print-installation-architecture
+	which we deprecated in the last release.
+
+	* configure.ac: Bump version to 1.13.2~.
+
 	* configure.ac: Release 1.13.1.
 	* configure.ac: Release 1.13.1.
 
 
 2005-03-03  Michael Vogt  <mvo@ubuntu.com>
 2005-03-03  Michael Vogt  <mvo@ubuntu.com>

+ 2 - 29
Makefile.am

@@ -22,9 +22,10 @@ SUBDIRS = \
 ACLOCAL_AMFLAGS = -I m4
 ACLOCAL_AMFLAGS = -I m4
 
 
 
 
-dist_pkgdata_DATA = archtable
+dist_pkgdata_DATA = cputable ostable
 
 
 EXTRA_DIST = \
 EXTRA_DIST = \
+	debian/archtable \
 	debian/changelog \
 	debian/changelog \
 	debian/compat \
 	debian/compat \
 	debian/control \
 	debian/control \
@@ -43,31 +44,3 @@ EXTRA_DIST = \
 	debian/rules \
 	debian/rules \
 	debian/shlibs.default \
 	debian/shlibs.default \
 	debian/shlibs.override
 	debian/shlibs.override
-
-
-GAIN_ROOT_COMMAND=fakeroot
-TARGET_ARGS=
-DPKG_BUILDPACKAGE_ARGS=
-LINTIAN_ARGS=
-
-package: distdir
-	cd $(distdir) && dpkg-buildpackage \
-		-r$(GAIN_ROOT_COMMAND) \
-		$(TARGET_ARGS) $(DPKG_BUILDPACKAGE_ARGS)
-	$(am__remove_distdir)
-	@set -e; \
-	if test "x$(TARGET_ARGS)" = "x-S"; then \
-	  arch=source; \
-	else \
-	  arch=`dpkg-architecture $(TARGET_ARGS) -qDEB_HOST_ARCH`; \
-	fi; \
-	changes=$(PACKAGE)_$(VERSION)_$$arch.changes; \
-	test -f $$changes || { echo $$changes missing; exit 1;}; \
-	if which lintian >/dev/null; then \
-	  echo lintian $(LINTIAN_ARGS) $$changes; \
-	  lintian $(LINTIAN_ARGS) $$changes || true; \
-	fi; \
-	(echo "$(distdir) package files ready for upload: "; \
-	  echo $$changes; \
-	  sed -e '1,/^Files:/d;/^$$/,$$d;s/.* //g' $$changes) | \
-	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'

+ 2 - 27
Makefile.in

@@ -241,8 +241,9 @@ SUBDIRS = \
 	man
 	man
 
 
 ACLOCAL_AMFLAGS = -I m4
 ACLOCAL_AMFLAGS = -I m4
-dist_pkgdata_DATA = archtable
+dist_pkgdata_DATA = cputable ostable
 EXTRA_DIST = \
 EXTRA_DIST = \
+	debian/archtable \
 	debian/changelog \
 	debian/changelog \
 	debian/compat \
 	debian/compat \
 	debian/control \
 	debian/control \
@@ -262,10 +263,6 @@ EXTRA_DIST = \
 	debian/shlibs.default \
 	debian/shlibs.default \
 	debian/shlibs.override
 	debian/shlibs.override
 
 
-GAIN_ROOT_COMMAND = fakeroot
-TARGET_ARGS = 
-DPKG_BUILDPACKAGE_ARGS = 
-LINTIAN_ARGS = 
 all: config.h
 all: config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
 
 
@@ -701,28 +698,6 @@ uninstall-info: uninstall-info-recursive
 	uninstall uninstall-am uninstall-dist_pkgdataDATA \
 	uninstall uninstall-am uninstall-dist_pkgdataDATA \
 	uninstall-info-am
 	uninstall-info-am
 
 
-
-package: distdir
-	cd $(distdir) && dpkg-buildpackage \
-		-r$(GAIN_ROOT_COMMAND) \
-		$(TARGET_ARGS) $(DPKG_BUILDPACKAGE_ARGS)
-	$(am__remove_distdir)
-	@set -e; \
-	if test "x$(TARGET_ARGS)" = "x-S"; then \
-	  arch=source; \
-	else \
-	  arch=`dpkg-architecture $(TARGET_ARGS) -qDEB_HOST_ARCH`; \
-	fi; \
-	changes=$(PACKAGE)_$(VERSION)_$$arch.changes; \
-	test -f $$changes || { echo $$changes missing; exit 1;}; \
-	if which lintian >/dev/null; then \
-	  echo lintian $(LINTIAN_ARGS) $$changes; \
-	  lintian $(LINTIAN_ARGS) $$changes || true; \
-	fi; \
-	(echo "$(distdir) package files ready for upload: "; \
-	  echo $$changes; \
-	  sed -e '1,/^Files:/d;/^$$/,$$d;s/.* //g' $$changes) | \
-	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
 .NOEXPORT:

+ 0 - 36
archtable

@@ -1,36 +0,0 @@
-# This file contains the table of known architecture strings.
-#
-# Column 1 is determined by dpkg's configure script based on the output
-# of the config.guess script.
-# Column 2 contains the Debian name for the architecture, which is returned
-# by ‘dpkg --print-installation-architecture’.
-# 
-# <cpu-os>			<Debian name>
-i386-linux			i386
-ia64-linux			ia64
-alpha-linux			alpha
-x86_64-linux			amd64
-arm-linux			arm
-hppa-linux			hppa
-m32r-linux			m32r
-m68k-linux			m68k
-mips-linux			mips
-mipsel-linux			mipsel
-powerpc-linux			powerpc
-s390-linux			s390
-s390x-linux			s390x
-sh3-linux			sh3
-sh3eb-linux			sh3eb
-sh4-linux			sh4
-sh4eb-linux			sh4eb
-sparc-linux			sparc
-
-i386-darwin			darwin-i386
-powerpc-darwin			darwin-powerpc
-i386-freebsd			freebsd-i386
-i386-gnu			hurd-i386
-i386-kfreebsd-gnu		kfreebsd-i386
-x86_64-kfreebsd-gnu		kfreebsd-amd64
-i386-knetbsd-gnu		knetbsd-i386
-i386-netbsd			netbsd-i386
-i386-openbsd			openbsd-i386

+ 7 - 1
config.h.in

@@ -1,8 +1,14 @@
 /* config.h.in.  Generated from configure.ac by autoheader.  */
 /* config.h.in.  Generated from configure.ac by autoheader.  */
 
 
-/* Set this to the canonical Debian architecture string for this CPU type. */
+/* Set this to the canonical dpkg architecture name. */
 #undef ARCHITECTURE
 #undef ARCHITECTURE
 
 
+/* Set this to the canonical dpkg CPU name. */
+#undef ARCHITECTURE_CPU
+
+/* Set this to the canonical dpkg system name. */
+#undef ARCHITECTURE_OS
+
 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
    systems. This function is required for `alloca.c' support on those systems.
    systems. This function is required for `alloca.c' support on those systems.
    */
    */

+ 63 - 92
configure

@@ -1,6 +1,6 @@
 #! /bin/sh
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for dpkg 1.13.1.
+# Generated by GNU Autoconf 2.59 for dpkg 1.13.2.
 #
 #
 # Report bugs to <debian-dpkg@lists.debian.org>.
 # Report bugs to <debian-dpkg@lists.debian.org>.
 #
 #
@@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 # Identity of this package.
 # Identity of this package.
 PACKAGE_NAME='dpkg'
 PACKAGE_NAME='dpkg'
 PACKAGE_TARNAME='dpkg'
 PACKAGE_TARNAME='dpkg'
-PACKAGE_VERSION='1.13.1'
-PACKAGE_STRING='dpkg 1.13.1'
+PACKAGE_VERSION='1.13.2'
+PACKAGE_STRING='dpkg 1.13.2'
 PACKAGE_BUGREPORT='debian-dpkg@lists.debian.org'
 PACKAGE_BUGREPORT='debian-dpkg@lists.debian.org'
 
 
 ac_unique_file="lib/dpkg.h"
 ac_unique_file="lib/dpkg.h"
@@ -816,7 +816,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
   cat <<_ACEOF
-\`configure' configures dpkg 1.13.1 to adapt to many kinds of systems.
+\`configure' configures dpkg 1.13.2 to adapt to many kinds of systems.
 
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
 
@@ -883,7 +883,7 @@ fi
 
 
 if test -n "$ac_init_help"; then
 if test -n "$ac_init_help"; then
   case $ac_init_help in
   case $ac_init_help in
-     short | recursive ) echo "Configuration of dpkg 1.13.1:";;
+     short | recursive ) echo "Configuration of dpkg 1.13.2:";;
    esac
    esac
   cat <<\_ACEOF
   cat <<\_ACEOF
 
 
@@ -1037,7 +1037,7 @@ fi
 test -n "$ac_init_help" && exit 0
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
 if $ac_init_version; then
   cat <<\_ACEOF
   cat <<\_ACEOF
-dpkg configure 1.13.1
+dpkg configure 1.13.2
 generated by GNU Autoconf 2.59
 generated by GNU Autoconf 2.59
 
 
 Copyright (C) 2003 Free Software Foundation, Inc.
 Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1051,7 +1051,7 @@ cat >&5 <<_ACEOF
 This file contains any messages produced by compilers while
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 running configure, to aid debugging if configure makes a mistake.
 
 
-It was created by dpkg $as_me 1.13.1, which was
+It was created by dpkg $as_me 1.13.2, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
 
   $ $0 $@
   $ $0 $@
@@ -1513,6 +1513,59 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 _ACEOF
 
 
 
 
+echo "$as_me:$LINENO: checking dpkg cpu type" >&5
+echo $ECHO_N "checking dpkg cpu type... $ECHO_C" >&6
+cpu_type="`awk \"! /^(#.*)?\\$/ { if (match(\\\"$target_cpu\\\", \\\"^\\\"\\$3\\\"\\$\\\")) { print \\$1; exit; } }\" $srcdir/cputable`"
+if test "x$cpu_type" = "x"; then
+	cpu_type=$target_cpu
+	echo "$as_me:$LINENO: result: $cpu_type" >&5
+echo "${ECHO_T}$cpu_type" >&6
+	{ echo "$as_me:$LINENO: WARNING: $target_cpu not found in cputable" >&5
+echo "$as_me: WARNING: $target_cpu not found in cputable" >&2;}
+else
+	echo "$as_me:$LINENO: result: $cpu_type" >&5
+echo "${ECHO_T}$cpu_type" >&6
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define ARCHITECTURE_CPU "${cpu_type}"
+_ACEOF
+
+
+echo "$as_me:$LINENO: checking dpkg operating system type" >&5
+echo $ECHO_N "checking dpkg operating system type... $ECHO_C" >&6
+os_type="`awk \"! /^(#.*)?\\$/ { if (match(\\\"$target_os\\\", \\\"^\\\"\\$3\\\"\\$\\\")) { print \\$1; exit; } }\" $srcdir/ostable`"
+if test "x$os_type" = "x"; then
+	os_type=$target_os
+	echo "$as_me:$LINENO: result: $os_type" >&5
+echo "${ECHO_T}$os_type" >&6
+	{ echo "$as_me:$LINENO: WARNING: $target_os not found in ostable" >&5
+echo "$as_me: WARNING: $target_os not found in ostable" >&2;}
+else
+	echo "$as_me:$LINENO: result: $os_type" >&5
+echo "${ECHO_T}$os_type" >&6
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define ARCHITECTURE_OS "${os_type}"
+_ACEOF
+
+
+echo "$as_me:$LINENO: checking dpkg architecture name" >&5
+echo $ECHO_N "checking dpkg architecture name... $ECHO_C" >&6
+if test "x$os_type" = "xlinux"; then
+	dpkg_arch=$cpu_type
+else
+	dpkg_arch="$os_type-$cpu_type"
+fi
+echo "$as_me:$LINENO: result: $dpkg_arch" >&5
+echo "${ECHO_T}$dpkg_arch" >&6
+
+cat >>confdefs.h <<_ACEOF
+#define ARCHITECTURE "${dpkg_arch}"
+_ACEOF
+
+
 
 
 am__api_version="1.8"
 am__api_version="1.8"
 # Find a good install program.  We prefer a C program (faster),
 # Find a good install program.  We prefer a C program (faster),
@@ -1788,7 +1841,7 @@ fi
 
 
 # Define the identity of the package.
 # Define the identity of the package.
  PACKAGE='dpkg'
  PACKAGE='dpkg'
- VERSION='1.13.1'
+ VERSION='1.13.2'
 
 
 
 
 cat >>confdefs.h <<_ACEOF
 cat >>confdefs.h <<_ACEOF
@@ -11724,88 +11777,6 @@ fi
 rm -f conftest*
 rm -f conftest*
 fi
 fi
 
 
-echo "$as_me:$LINENO: checking cpu type" >&5
-echo $ECHO_N "checking cpu type... $ECHO_C" >&6
-case "$target_cpu" in
-    i386|i486|i586|i686|pentium)
-	cpu_type="i386"
-	;;
-    alpha*)
-	cpu_type="alpha"
-	;;
-    arm*)
-	cpu_type="arm"
-	;;
-    hppa*)
-	cpu_type="hppa"
-	;;
-    sparc|sparc64)
-	cpu_type="sparc"
-	;;
-    mips|mipseb)
-	cpu_type="mips"
-	;;
-    powerpc|ppc)
-	cpu_type="powerpc"
-	;;
-    *)
-	cpu_type=$target_cpu
-	;;
-esac
-echo "$as_me:$LINENO: result: $cpu_type" >&5
-echo "${ECHO_T}$cpu_type" >&6
-
-echo "$as_me:$LINENO: checking operating system type" >&5
-echo $ECHO_N "checking operating system type... $ECHO_C" >&6
-case "$target_os" in
-    linux*-gnu*)
-	os_type="linux"
-	;;
-    darwin*)
-	os_type="darwin"
-	;;
-    freebsd*)
-	os_type="freebsd"
-	;;
-    gnu*)
-	os_type="gnu"
-	;;
-    kfreebsd*-gnu*)
-	os_type="kfreebsd-gnu"
-	;;
-    knetbsd*-gnu*)
-	os_type="knetbsd-gnu"
-	;;
-    netbsd*)
-	os_type="netbsd"
-	;;
-    openbsd*)
-	os_type="openbsd"
-	;;
-    *)
-	os_type=$target_os
-	;;
-esac
-echo "$as_me:$LINENO: result: $os_type" >&5
-echo "${ECHO_T}$os_type" >&6
-
-echo "$as_me:$LINENO: checking Debian architecture name" >&5
-echo $ECHO_N "checking Debian architecture name... $ECHO_C" >&6
-dpkg_archset="`awk '$1 == "'$cpu_type-$os_type'" { print $2 }' $srcdir/archtable`"
-if test "x$dpkg_archset" = "x"; then
-	dpkg_archset=$cpu_type-$os_type
-	echo "$as_me:$LINENO: result: $dpkg_archset, but not found in archtable" >&5
-echo "${ECHO_T}$dpkg_archset, but not found in archtable" >&6
-else
-	echo "$as_me:$LINENO: result: $dpkg_archset" >&5
-echo "${ECHO_T}$dpkg_archset" >&6
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define ARCHITECTURE "${dpkg_archset}"
-_ACEOF
-
-
 
 
 # Checks for libraries.
 # Checks for libraries.
 
 
@@ -15417,7 +15388,7 @@ _ASBOX
 } >&5
 } >&5
 cat >&5 <<_CSEOF
 cat >&5 <<_CSEOF
 
 
-This file was extended by dpkg $as_me 1.13.1, which was
+This file was extended by dpkg $as_me 1.13.2, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_FILES    = $CONFIG_FILES
@@ -15480,7 +15451,7 @@ _ACEOF
 
 
 cat >>$CONFIG_STATUS <<_ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
 ac_cs_version="\\
-dpkg config.status 1.13.1
+dpkg config.status 1.13.2
 configured by $0, generated by GNU Autoconf 2.59,
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
 

+ 2 - 2
configure.ac

@@ -1,12 +1,13 @@
 # Process this file with autoconf to produce a configure script.
 # Process this file with autoconf to produce a configure script.
 
 
 AC_PREREQ(2.59)
 AC_PREREQ(2.59)
-AC_INIT([dpkg], [1.13.1], [debian-dpkg@lists.debian.org])
+AC_INIT([dpkg], [1.13.2], [debian-dpkg@lists.debian.org])
 AC_CONFIG_SRCDIR([lib/dpkg.h])
 AC_CONFIG_SRCDIR([lib/dpkg.h])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_MACRO_DIR([m4])
 
 
 AC_CANONICAL_SYSTEM
 AC_CANONICAL_SYSTEM
 AC_GNU_SOURCE
 AC_GNU_SOURCE
+DPKG_ARCHITECTURE
 
 
 AM_INIT_AUTOMAKE([1.8 gnu])
 AM_INIT_AUTOMAKE([1.8 gnu])
 
 
@@ -56,7 +57,6 @@ DPKG_PROG_PERL
 
 
 # Checks for operating system services and capabilities.
 # Checks for operating system services and capabilities.
 AC_SYS_LARGEFILE
 AC_SYS_LARGEFILE
-DPKG_ARCHITECTURE
 
 
 # Checks for libraries.
 # Checks for libraries.
 DPKG_LIB_ZLIB
 DPKG_LIB_ZLIB

+ 34 - 0
cputable

@@ -0,0 +1,34 @@
+# This file contains the table of known CPU names.
+#
+# Architecture names are formed as a combination of the system name
+# (from ostable) and CPU name (from this table).  A list of architecture
+# names in the Debian ‘sid’ distribution can be found in the archtable
+# file.
+#
+# Column 1 is the Debian name for the CPU, used to form the architecture
+# name.
+# Column 2 is the GNU name for the CPU, used to output build and host
+# targets in ‘dpkg-architecture’.
+# Column 3 is an extended regular expression used to match against the
+# CPU part of the output of the GNU config.guess script.
+#
+# <Debian name>	<GNU name>	<config.guess regex>
+i386		i386		(i[3456]86|pentium)
+ia64		ia64		ia64
+alpha		alpha		alpha.*
+amd64		x86_64		x86_64
+arm		arm		arm.*
+hppa		hppa		hppa.*
+m32r		m32r		m32r
+m68k		m68k		m68k
+mips		mips		mips(eb)?
+mipsel		mipsel		mipsel
+powerpc		powerpc		(powerpc|ppc)
+ppc64		powerpc64	(powerpc|ppc)64
+s390		s390		s390
+s390x		s390x		s390x
+sh3		sh3		sh3
+sh3eb		sh3eb		sh3eb
+sh4		sh4		sh4
+sh4eb		sh4eb		sh4eb
+sparc		sparc		sparc(64)?

+ 26 - 0
debian/archtable

@@ -0,0 +1,26 @@
+# This file contains the list of architecture names in Debian's ‘sid’
+# distribution.
+#
+# Architecture names are formed as a combination of the system name
+# (from ostable) and CPU name (from cputable).  Support for new
+# architectures in dpkg is added in those files, architecture names
+# are only added to this file when added to the distribution.
+#
+# Column 1 is present for historical reasons only, and should be ignored.
+# Column 2 contains the Debian name for the architecture, which is returned
+# by ‘dpkg --print-architecture’.
+# 
+# <ignore>			<Debian name>
+i386-linux-gnu			i386
+ia64-linux-gnu			ia64
+alpha-linux-gnu			alpha
+arm-linux-gnu			arm
+hppa-linux-gnu			hppa
+m68k-linux-gnu			m68k
+mips-linux-gnu			mips
+mipsel-linux-gnu		mipsel
+powerpc-linux-gnu		powerpc
+s390-linux-gnu			s390
+sh-linux-gnu			sh
+sparc-linux-gnu			sparc
+i386-gnu			hurd-i386

+ 40 - 8
debian/changelog

@@ -1,9 +1,40 @@
-dpkg (1.13.1.0.1) experimental; urgency=low
-
-  * Bin-MU; recompile against Debian unstable, to make dselect actually
-    installable.
+dpkg (1.13.2) experimental; urgency=low
+
+  * md5sum has been removed, the coreutils or textutils version will be
+    diverted to /usr/bin/md5sum.  Closes: #6633, #136110.
+    The following bugs are filed against the dpkg md5sum, so no longer apply.
+    Closes: #95755, #193877, #223381, #264195, #270241, #286632,
+  * Take Replaces into account when installing packages; don't issue a
+    "trying to overwrite" error if the file that already exists is in
+    a package that Replaces the one being installed.
+    Closes: #164595, #184635, #277890.
+  * Allow actions and status changes to be logged to a file.  Disabled by
+    default, uncomment line in /etc/dpkg/dpkg.cfg to enable.
+    Closes: #957, #53376, #77109, #143882, #284499.
+  * Don't truncate output of 'dpkg -l' when stdout is not a tty.
+    Closes: #92263, #253860, #258608, #261822, #282790.
+  * Fix further compilation problems with gcc 4.0.  Closes: #299699
+  * Handle tar files without trailing slash in directory names.
+    Closes: #287152.
+  * Output arguments to maintainer scripts with -D2.  Closes: #237684,
+    #296030.
+  
+  * Architecture Support:
+    - Added ppc64.  Closes: #263743.
+    - Split archtable into cputable and ostable, archtable is retained
+      for compatibility with other packages that might use it only.
+    - dpkg-architecture no longer canonises -t argument.  Closes: #173205.
+    - dpkg-architecture output includes new DEB_*_ARCH_OS and
+      DEB_*_ARCH_CPU variables that contain the Debian system and CPU
+      names respectively.
+    - dpkg-architecture outputs (mostly) correct GNU system names now,
+      in particular this means that it will output "linux-gnu" instead
+      of "linux".  You should use the new _ARCH_OS variables instead.
+  * Documentation:
+    - Add examples to dpkg-divert(8).  Closes: #291816.
+    - Correct typo in dpkg-architecture(1).  Closes: #299090.
 
 
- -- Scott James Remnant <scott@netsplit.com>  Fri, 11 Mar 2005 09:00:14 +0000
+ -- Scott James Remnant <scott@netsplit.com>  Fri, 18 Mar 2005 16:21:32 +0000
 
 
 dpkg (1.13.1) experimental; urgency=low
 dpkg (1.13.1) experimental; urgency=low
   
   
@@ -13,6 +44,7 @@ dpkg (1.13.1) experimental; urgency=low
     defined by dpkg-architecture instead.
     defined by dpkg-architecture instead.
   * Soft-deprecated dpkg --print-installation-architecture.  Use
   * Soft-deprecated dpkg --print-installation-architecture.  Use
     dpkg --print-architecture instead, which now does the same thing.
     dpkg --print-architecture instead, which now does the same thing.
+  * dpkg --print-architecture no longer calls c-compiler.  Closes: #164863.
   * Removed third field from /usr/share/dpkg/archtable.
   * Removed third field from /usr/share/dpkg/archtable.
 
 
   * Now we no-longer pre-depend on dselect, check the upgrade will work
   * Now we no-longer pre-depend on dselect, check the upgrade will work
@@ -31,7 +63,7 @@ dpkg (1.13.1) experimental; urgency=low
   * Fix start-stop-daemon's support for GNU/kFreeBSD.  Closes: #258051.
   * Fix start-stop-daemon's support for GNU/kFreeBSD.  Closes: #258051.
 
 
   * Architecture Support:
   * Architecture Support:
-    - Added kfreebsd-amd64.  Closes: #280693.
+    - Added kfreebsd-amd64.  Closes: #280963.
     - Added m32r.  Closes: #280710.
     - Added m32r.  Closes: #280710.
     - Clean up of archtable.  Closes: #118910, #286898.
     - Clean up of archtable.  Closes: #118910, #286898.
     - Clean up of dpkg-architecture.  Closes: #256323.
     - Clean up of dpkg-architecture.  Closes: #256323.
@@ -52,8 +84,8 @@ dpkg (1.13.0) experimental; urgency=low
   * Correct bashism in disk method update script.  Closes: #260568.
   * Correct bashism in disk method update script.  Closes: #260568.
 
 
   * Scorched-earth reimplementation of the build process and control files
   * Scorched-earth reimplementation of the build process and control files
-    with debhelper and automake.  Closes: #217946, #229629, #260568, #266995,
-    #283640, #292973, #293041.
+    with debhelper and automake.  Closes: #217946, #229629, #256589, #260568,
+    #266995, #283640, #292973, #293041.
   * Remove SGML and POD documentation formats due to both licensing and
   * Remove SGML and POD documentation formats due to both licensing and
     sanity issues.  Closes: #285086.
     sanity issues.  Closes: #285086.
   * The dpkg-doc and dpkg-static packages are no more.
   * The dpkg-doc and dpkg-static packages are no more.

+ 1 - 0
debian/control

@@ -12,6 +12,7 @@ Package: dpkg
 Architecture: any
 Architecture: any
 Essential: yes
 Essential: yes
 Pre-Depends: ${shlibs:Depends}
 Pre-Depends: ${shlibs:Depends}
+Depends: coreutils | textutils (>= 2.0-3)
 Conflicts: sysvinit (<< 2.82-1), dpkg-iasearch (<< 0.11), dpkg-static, dpkg-dev (<< 1.10)
 Conflicts: sysvinit (<< 2.82-1), dpkg-iasearch (<< 0.11), dpkg-static, dpkg-dev (<< 1.10)
 Replaces: dpkg-doc-ja, dpkg-static, manpages-de (<= 0.4-3)
 Replaces: dpkg-doc-ja, dpkg-static, manpages-de (<= 0.4-3)
 Suggests: apt
 Suggests: apt

+ 0 - 8
debian/copyright

@@ -27,7 +27,6 @@ Copyright © 1994 Ian Murdock <imurdock@debian.org>
 
 
 Includes public domain MD5 code:
 Includes public domain MD5 code:
 	lib/md5.c and lib/md5.h originally written by Colin Plumb,
 	lib/md5.c and lib/md5.h originally written by Colin Plumb,
-	utils/md5sum.c originally written by Branko Lankester.
 
 
 Includes code from ‘getopt’ and ‘gettext’:
 Includes code from ‘getopt’ and ‘gettext’:
 	Copyright © 1984-2002 Free Software Foundation, Inc.
 	Copyright © 1984-2002 Free Software Foundation, Inc.
@@ -48,10 +47,3 @@ General Public License for more details.
 On Debian GNU/Linux systems, the complete text of the GNU General Public
 On Debian GNU/Linux systems, the complete text of the GNU General Public
 License can be found in ‘/usr/share/common-licenses/GPL’ or in the dpkg
 License can be found in ‘/usr/share/common-licenses/GPL’ or in the dpkg
 source as the file ‘COPYING’
 source as the file ‘COPYING’
-
-
-/usr/bin/md5sum is compiled from md5.[ch] (written by Colin Plumb in
-1993 and modified by Ian Jackson in 1995) and md5sum.c (written by
-Branko Lankester in 1993 and modified by Colin Plumb in 1993 and Ian
-Jackson in 1995).  The sources and the binary are all in the public
-domain.

+ 3 - 0
debian/dpkg.cfg

@@ -4,3 +4,6 @@
 # options are allowed.  Values can be specified by putting them after
 # options are allowed.  Values can be specified by putting them after
 # the option, separated by whitespace and/or an `=' sign.
 # the option, separated by whitespace and/or an `=' sign.
 #
 #
+
+# Log status changes and actions to a file.
+#log /var/log/dpkg.log

+ 1 - 3
debian/dpkg.install

@@ -1,4 +1,5 @@
 ../dpkg.cfg etc/dpkg
 ../dpkg.cfg etc/dpkg
+../archtable usr/share/dpkg
 
 
 etc/alternatives
 etc/alternatives
 etc/dpkg/origins
 etc/dpkg/origins
@@ -6,7 +7,6 @@ usr/bin/dpkg
 usr/bin/dpkg-deb
 usr/bin/dpkg-deb
 usr/bin/dpkg-query
 usr/bin/dpkg-query
 usr/bin/dpkg-split
 usr/bin/dpkg-split
-usr/bin/md5sum
 usr/lib/dpkg/enoent
 usr/lib/dpkg/enoent
 usr/lib/dpkg/mksplit
 usr/lib/dpkg/mksplit
 usr/sbin/start-stop-daemon sbin
 usr/sbin/start-stop-daemon sbin
@@ -31,8 +31,6 @@ usr/share/man/*/*/dpkg.1
 usr/share/man/*/dpkg.1
 usr/share/man/*/dpkg.1
 usr/share/man/*/*/install-info.8
 usr/share/man/*/*/install-info.8
 usr/share/man/*/install-info.8
 usr/share/man/*/install-info.8
-usr/share/man/*/*/md5sum.1
-usr/share/man/*/md5sum.1
 usr/share/man/*/*/start-stop-daemon.8
 usr/share/man/*/*/start-stop-daemon.8
 usr/share/man/*/start-stop-daemon.8
 usr/share/man/*/start-stop-daemon.8
 usr/share/man/*/*/update-alternatives.8
 usr/share/man/*/*/update-alternatives.8

+ 14 - 0
debian/dpkg.postinst

@@ -137,6 +137,19 @@ Shall I remove these links ? [y/n] "
 }
 }
 
 
 
 
+# Divert textutils/coreutils md5sum now that we no longer provide it
+divert_md5sum() {
+    if [ -f /usr/bin/md5sum.textutils ] && [ ! -f /usr/bin/md5sum ]; then
+	dpkg-divert --divert /usr/bin/md5sum --rename /usr/bin/md5sum.textutils
+    fi 
+    if [ -f /usr/share/man/man1/md5sum.textutils.1.gz ] \
+       && [ ! -f /usr/share/man/man1/md5sum.1.gz ]; then
+	dpkg-divert --divert /usr/share/man/man1/md5sum.1.gz --rename \
+	    /usr/share/man/man1/md5sum.textutils.1.gz
+    fi
+}
+
+
 case "$1" in
 case "$1" in
     configure)
     configure)
 	case "$2" in
 	case "$2" in
@@ -151,6 +164,7 @@ case "$1" in
 	create_database
 	create_database
 	move_info_directory
 	move_info_directory
 	remove_info_symlink
 	remove_info_symlink
+	divert_md5sum
 	;;
 	;;
 
 
     abort-upgrade|abort-deconfigure|abort-remove)
     abort-upgrade|abort-deconfigure|abort-remove)

+ 2 - 0
debian/dpkg.preinst

@@ -95,6 +95,8 @@ Are you installing only the dpkg upgrade in this dpkg run ? [y/n] "
 
 
 # Confirm that dselect got split into it's own package
 # Confirm that dselect got split into it's own package
 confirm_dselect_split() {
 confirm_dselect_split() {
+    ps -C dselect >/dev/null || return
+
     if ! grep "^Package: *dselect$" /var/lib/dpkg/status >/dev/null; then
     if ! grep "^Package: *dselect$" /var/lib/dpkg/status >/dev/null; then
 	echo -n "
 	echo -n "
 IMPORTANT - if you are upgrading this package from within dselect you
 IMPORTANT - if you are upgrading this package from within dselect you

+ 2 - 3
debian/pseudo-tags

@@ -12,8 +12,8 @@ When filing bugs, please do the same to aid triage.
 [PERF]			Performance problems.
 [PERF]			Performance problems.
 [DOC]			Documentation bugs, including --help and manpages.
 [DOC]			Documentation bugs, including --help and manpages.
 [UTF-8]			Conversion to the UTF-8 encoding.
 [UTF-8]			Conversion to the UTF-8 encoding.
-[ARCH]			Updates to ‘archtable’ and porting patches.  Include
-			the dpkg architecture name in the tag,
+[ARCH]			Updates to ‘cputable’, ‘ostable’ and porting patches.
+			Include the dpkg architecture name in the tag,
 			e.g. [ARCH:sparc]
 			e.g. [ARCH:sparc]
 [INTL]			New or updated translations and bugs affecting
 [INTL]			New or updated translations and bugs affecting
 			translation.  Include the language code in the tag,
 			translation.  Include the language code in the tag,
@@ -29,7 +29,6 @@ dpkg:
 [DPKG-QUERY]
 [DPKG-QUERY]
 [DPKG-SPLIT]
 [DPKG-SPLIT]
 [DPKG-STATOVERRIDE]
 [DPKG-STATOVERRIDE]
-[MD5SUM]
 [S-S-D]			start-stop-daemon
 [S-S-D]			start-stop-daemon
 [CLEANUP-INFO]
 [CLEANUP-INFO]
 [INSTALL-INFO]
 [INSTALL-INFO]

+ 22 - 0
lib/dbmodify.c

@@ -33,6 +33,7 @@
 #include <dirent.h>
 #include <dirent.h>
 #include <limits.h>
 #include <limits.h>
 #include <ctype.h>
 #include <ctype.h>
+#include <time.h>
 #include <assert.h>
 #include <assert.h>
 
 
 #include <dpkg.h>
 #include <dpkg.h>
@@ -229,6 +230,7 @@ void modstatdb_shutdown(void) {
 }
 }
 
 
 struct pipef *status_pipes= NULL;
 struct pipef *status_pipes= NULL;
+struct pipef *log_pipes= NULL;
 
 
 void modstatdb_note(struct pkginfo *pkg) {
 void modstatdb_note(struct pkginfo *pkg) {
   assert(cstatus >= msdbrw_write);
   assert(cstatus >= msdbrw_write);
@@ -250,6 +252,26 @@ void modstatdb_note(struct pkginfo *pkg) {
       pipef= pipef->next;
       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;
+    }
+  }
   varbufreset(&uvb);
   varbufreset(&uvb);
   varbufrecord(&uvb, pkg, &pkg->installed);
   varbufrecord(&uvb, pkg, &pkg->installed);
   if (fwrite(uvb.buf, 1, uvb.used, importanttmp) != uvb.used)
   if (fwrite(uvb.buf, 1, uvb.used, importanttmp) != uvb.used)

+ 1 - 1
lib/dpkg-db.h

@@ -164,7 +164,7 @@ struct pipef {
   int fd;
   int fd;
   struct pipef *next;
   struct pipef *next;
 };
 };
-extern struct pipef *status_pipes;
+extern struct pipef *status_pipes, *log_pipes;
 
 
 enum modstatdb_rw modstatdb_init(const char *admindir, enum modstatdb_rw reqrwflags);
 enum modstatdb_rw modstatdb_init(const char *admindir, enum modstatdb_rw reqrwflags);
 void modstatdb_note(struct pkginfo *pkg);
 void modstatdb_note(struct pkginfo *pkg);

+ 0 - 1
lib/dpkg.h

@@ -132,7 +132,6 @@
 #define BACKEND		"dpkg-deb"
 #define BACKEND		"dpkg-deb"
 #define DPKGQUERY	"dpkg-query"
 #define DPKGQUERY	"dpkg-query"
 #define SPLITTER	"dpkg-split"
 #define SPLITTER	"dpkg-split"
-#define MD5SUM		"md5sum"
 #define DSELECT		"dselect"
 #define DSELECT		"dselect"
 #define DPKG		"dpkg"
 #define DPKG		"dpkg"
 #define DEBSIGVERIFY	"/usr/bin/debsig-verify"
 #define DEBSIGVERIFY	"/usr/bin/debsig-verify"

+ 1 - 1
lib/mlib.c

@@ -176,7 +176,7 @@ off_t buffer_write(buffer_data_t data, void *buf, off_t length, const char *desc
 	  unsigned char *hash = *ctx->hash = malloc(33);
 	  unsigned char *hash = *ctx->hash = malloc(33);
 	  MD5Final(digest, &ctx->ctx);
 	  MD5Final(digest, &ctx->ctx);
 	  for (i = 0; i < 16; ++i) {
 	  for (i = 0; i < 16; ++i) {
-	    sprintf(hash, "%02x", *p++);
+	    sprintf((char *)hash, "%02x", *p++);
 	    hash += 2;
 	    hash += 2;
 	  }
 	  }
 	  *hash = 0;
 	  *hash = 0;

+ 9 - 9
lib/parsedump.h

@@ -25,15 +25,6 @@
 
 
 struct fieldinfo;
 struct fieldinfo;
 
 
-struct nickname {
-  const char *nick;
-  const char *canon;
-};
-
-extern const struct fieldinfo fieldinfos[];
-extern const struct nickname nicknames[];
-extern const int nfields; /* = elements in fieldinfos, including the sentinels */
-
 #define PKGIFPOFF(f) ((char*)(&(((struct pkginfoperfile *)0x1000)->f)) - \
 #define PKGIFPOFF(f) ((char*)(&(((struct pkginfoperfile *)0x1000)->f)) - \
                       (char*)(struct pkginfoperfile *)0x1000)
                       (char*)(struct pkginfoperfile *)0x1000)
 #define PKGPFIELD(pifp,of,type) (*(type*)((char*)(pifp)+(of)))
 #define PKGPFIELD(pifp,of,type) (*(type*)((char*)(pifp)+(of)))
@@ -78,4 +69,13 @@ void parsemustfield(FILE *file, const char *filename, int lno,
 
 
 #define MSDOS_EOF_CHAR '\032' /* ^Z */
 #define MSDOS_EOF_CHAR '\032' /* ^Z */
 
 
+struct nickname {
+  const char *nick;
+  const char *canon;
+};
+
+extern const struct fieldinfo fieldinfos[];
+extern const struct nickname nicknames[];
+extern const int nfields; /* = elements in fieldinfos, including the sentinels */
+
 #endif /* DPKG_PARSEDUMP_H */
 #endif /* DPKG_PARSEDUMP_H */

+ 3 - 1
lib/tarfn.c

@@ -185,7 +185,9 @@ TarExtractor(
 			}
 			}
 			/* Else, Fall Through */
 			/* Else, Fall Through */
 		case Directory:
 		case Directory:
-			h.Name[nameLength - 1] = '\0';
+			if ( h.Name[nameLength - 1] == '/' ) {
+				h.Name[nameLength - 1] = '\0';
+			}
 			status = (*functions->MakeDirectory)(&h);
 			status = (*functions->MakeDirectory)(&h);
 			break;
 			break;
 		case HardLink:
 		case HardLink:

+ 32 - 69
m4/arch.m4

@@ -1,90 +1,53 @@
 # DPKG_CPU_TYPE
 # DPKG_CPU_TYPE
 # -------------
 # -------------
-# Parse the target cpu name and check it against a list of special cases to
-# determine what type it is.
+# Parse the target cpu name and check it against the cputable to determine
+# the Debian name for it.  Sets ARCHITECTURE_CPU.
 AC_DEFUN([DPKG_CPU_TYPE],
 AC_DEFUN([DPKG_CPU_TYPE],
-[AC_MSG_CHECKING([cpu type])
-case "$target_cpu" in
-    i386|i486|i586|i686|pentium)
-	cpu_type="i386"
-	;;
-    alpha*)
-	cpu_type="alpha"
-	;;
-    arm*)
-	cpu_type="arm"
-	;;
-    hppa*)
-	cpu_type="hppa"
-	;;
-    sparc|sparc64)
-	cpu_type="sparc"
-	;;
-    mips|mipseb)
-	cpu_type="mips"
-	;;
-    powerpc|ppc)
-	cpu_type="powerpc"
-	;;
-    *)
+[AC_MSG_CHECKING([dpkg cpu type])
+[cpu_type="`awk \"! /^(#.*)?\\$/ { if (match(\\\"$target_cpu\\\", \\\"^\\\"\\$][3\\\"\\$\\\")) { print \\$][1; exit; } }\" $srcdir/cputable`"]
+if test "x$cpu_type" = "x"; then
 	cpu_type=$target_cpu
 	cpu_type=$target_cpu
-	;;
-esac
-AC_MSG_RESULT([$cpu_type])
+	AC_MSG_RESULT([$cpu_type])
+	AC_MSG_WARN([$target_cpu not found in cputable])
+else
+	AC_MSG_RESULT([$cpu_type])
+fi
+AC_DEFINE_UNQUOTED(ARCHITECTURE_CPU, "${cpu_type}",
+	[Set this to the canonical dpkg CPU name.])
 ])# DPKG_CPU_TYPE
 ])# DPKG_CPU_TYPE
 
 
 # DPKG_OS_TYPE
 # DPKG_OS_TYPE
 # ------------
 # ------------
 # Parse the target operating system name and check it against a list of
 # Parse the target operating system name and check it against a list of
-# special cases to determine what type it is.
+# special cases to determine what type it is.  Sets ARCHITECTURE_OS.
 AC_DEFUN([DPKG_OS_TYPE],
 AC_DEFUN([DPKG_OS_TYPE],
-[AC_MSG_CHECKING([operating system type])
-case "$target_os" in
-    linux*-gnu*)
-	os_type="linux"
-	;;
-    darwin*)
-	os_type="darwin"
-	;;
-    freebsd*)
-	os_type="freebsd"
-	;;
-    gnu*)
-	os_type="gnu"
-	;;
-    kfreebsd*-gnu*)
-	os_type="kfreebsd-gnu"
-	;;
-    knetbsd*-gnu*)
-	os_type="knetbsd-gnu"
-	;;
-    netbsd*)
-	os_type="netbsd"
-	;;
-    openbsd*)
-	os_type="openbsd"
-	;;
-    *)
+[AC_MSG_CHECKING([dpkg operating system type])
+[os_type="`awk \"! /^(#.*)?\\$/ { if (match(\\\"$target_os\\\", \\\"^\\\"\\$][3\\\"\\$\\\")) { print \\$][1; exit; } }\" $srcdir/ostable`"]
+if test "x$os_type" = "x"; then
 	os_type=$target_os
 	os_type=$target_os
-	;;
-esac
-AC_MSG_RESULT([$os_type])
+	AC_MSG_RESULT([$os_type])
+	AC_MSG_WARN([$target_os not found in ostable])
+else
+	AC_MSG_RESULT([$os_type])
+fi
+AC_DEFINE_UNQUOTED(ARCHITECTURE_OS, "${os_type}",
+	[Set this to the canonical dpkg system name.])
 ])# DPKG_OS_TYPE
 ])# DPKG_OS_TYPE
 
 
 # DPKG_ARCHITECTURE
 # DPKG_ARCHITECTURE
 # ------------------------
 # ------------------------
-# Locate the target operating system in the archtable, sets ARCHITECTURE
+# Determine the Debian name for the target operating system,
+# sets ARCHITECTURE.
 AC_DEFUN([DPKG_ARCHITECTURE],
 AC_DEFUN([DPKG_ARCHITECTURE],
 [DPKG_CPU_TYPE
 [DPKG_CPU_TYPE
 DPKG_OS_TYPE
 DPKG_OS_TYPE
-AC_MSG_CHECKING([Debian architecture name])
-dpkg_archset="`awk '[$]1 == "'$cpu_type-$os_type'" { print [$]2 }' $srcdir/archtable`"
-if test "x$dpkg_archset" = "x"; then
-	dpkg_archset=$cpu_type-$os_type
-	AC_MSG_RESULT([$dpkg_archset, but not found in archtable])
+AC_MSG_CHECKING([dpkg architecture name])
+if test "x$os_type" = "xlinux"; then
+	dpkg_arch=$cpu_type
 else
 else
-	AC_MSG_RESULT([$dpkg_archset])
+	dpkg_arch="$os_type-$cpu_type"
 fi
 fi
-AC_DEFINE_UNQUOTED(ARCHITECTURE, "${dpkg_archset}",
-	[Set this to the canonical Debian architecture string for this CPU type.])
+AC_MSG_RESULT([$dpkg_arch])
+AC_DEFINE_UNQUOTED(ARCHITECTURE, "${dpkg_arch}",
+	[Set this to the canonical dpkg architecture name.])
 ])# DPKG_ARCHITECTURE
 ])# DPKG_ARCHITECTURE

+ 0 - 1
man/C/Makefile.am

@@ -22,7 +22,6 @@ dist_man_MANS = \
 	dselect.1 \
 	dselect.1 \
 	dselect.cfg.5 \
 	dselect.cfg.5 \
 	install-info.8 \
 	install-info.8 \
-	md5sum.1 \
 	start-stop-daemon.8 \
 	start-stop-daemon.8 \
 	update-alternatives.8
 	update-alternatives.8
 
 

+ 0 - 1
man/C/Makefile.in

@@ -222,7 +222,6 @@ dist_man_MANS = \
 	dselect.1 \
 	dselect.1 \
 	dselect.cfg.5 \
 	dselect.cfg.5 \
 	install-info.8 \
 	install-info.8 \
-	md5sum.1 \
 	start-stop-daemon.8 \
 	start-stop-daemon.8 \
 	update-alternatives.8
 	update-alternatives.8
 
 

+ 17 - 4
man/C/dpkg-architecture.1

@@ -28,7 +28,7 @@ is sufficient, the value of the other will be set to a usable default.
 Indeed, it is often better to only specify one, because dpkg-architecture
 Indeed, it is often better to only specify one, because dpkg-architecture
 will warn you if your choice doesn't match the default.
 will warn you if your choice doesn't match the default.
 .PP
 .PP
-The default action is \fB\-l\fR, which prints the environment variales, one each line,
+The default action is \fB\-l\fR, which prints the environment variables, one each line,
 in the format VARIABLE=value. If you are only interested in the value of a
 in the format VARIABLE=value. If you are only interested in the value of a
 single variable, you can use \fB\-q\fR. If you specify \fB\-s\fR, it will output an export
 single variable, you can use \fB\-q\fR. If you specify \fB\-s\fR, it will output an export
 command. This can be used to set the environment variables using eval. \fB\-u\fR
 command. This can be used to set the environment variables using eval. \fB\-u\fR
@@ -54,8 +54,9 @@ The Debian archietcture string, which specifies the binary tree in the \s-1FTP\s
 archive. Examples: i386, sparc, hurd\-i386.
 archive. Examples: i386, sparc, hurd\-i386.
 .IP "\s-1GNU\s0 System Type" 4
 .IP "\s-1GNU\s0 System Type" 4
 .IX Item "GNU System Type"
 .IX Item "GNU System Type"
-An architecture specification string consisting of two or three parts,
-cpu-system or cpu\-vendor\-system. Examples: i386\-linux, sparc\-linux, i386\-gnu.
+An architecture specification string consisting of two parts,
+cpu-system.  Examples: i386\-linux-gnu, sparc\-linux-gnu, i386\-gnu,
+x86_64-netbsd.
 .SH "EXAMPLES"
 .SH "EXAMPLES"
 .IX Header "EXAMPLES"
 .IX Header "EXAMPLES"
 dpkg-buildpackage accepts the \fB\-a\fR option and passes it to dpkg\-architecture.
 dpkg-buildpackage accepts the \fB\-a\fR option and passes it to dpkg\-architecture.
@@ -70,6 +71,12 @@ The following variables are set by dpkg\-architecture:
 .IP "\s-1DEB_BUILD_ARCH\s0" 4
 .IP "\s-1DEB_BUILD_ARCH\s0" 4
 .IX Item "DEB_BUILD_ARCH"
 .IX Item "DEB_BUILD_ARCH"
 The Debian architecture of the build machine.
 The Debian architecture of the build machine.
+.IP "\s-1DEB_BUILD_ARCH_OS\s0" 4
+.IX Item "DEB_BUILD_ARCH_OS"
+The Debian system name of the build machine.
+.IP "\s-1DEB_BUILD_ARCH_CPU\s0" 4
+.IX Item "DEB_BUILD_ARCH_CPU"
+The Debian cpu name of the build machine.
 .IP "\s-1DEB_BUILD_GNU_TYPE\s0" 4
 .IP "\s-1DEB_BUILD_GNU_TYPE\s0" 4
 .IX Item "DEB_BUILD_GNU_TYPE"
 .IX Item "DEB_BUILD_GNU_TYPE"
 The \s-1GNU\s0 system type of the build machine.
 The \s-1GNU\s0 system type of the build machine.
@@ -82,6 +89,12 @@ The System part of \s-1DEB_BUILD_GNU_TYPE\s0
 .IP "\s-1DEB_HOST_ARCH\s0" 4
 .IP "\s-1DEB_HOST_ARCH\s0" 4
 .IX Item "DEB_HOST_ARCH"
 .IX Item "DEB_HOST_ARCH"
 The Debian architecture of the host machine.
 The Debian architecture of the host machine.
+.IP "\s-1DEB_HOST_ARCH_OS\s0" 4
+.IX Item "DEB_HOST_ARCH_OS"
+The Debian system name of the host machine.
+.IP "\s-1DEB_HOST_ARCH_CPU\s0" 4
+.IX Item "DEB_HOST_ARCH_CPU"
+The Debian cpu name of the host machine.
 .IP "\s-1DEB_HOST_GNU_TYPE\s0" 4
 .IP "\s-1DEB_HOST_GNU_TYPE\s0" 4
 .IX Item "DEB_HOST_GNU_TYPE"
 .IX Item "DEB_HOST_GNU_TYPE"
 The \s-1GNU\s0 system type of the host machine.
 The \s-1GNU\s0 system type of the host machine.
@@ -145,7 +158,7 @@ debian/rules files.  The following does the job:
 ifeq ($(filter\-out hurd\-%,$(\s-1DEB_BUILD_ARCH\s0)),)
 ifeq ($(filter\-out hurd\-%,$(\s-1DEB_BUILD_ARCH\s0)),)
   \s-1DEB_BUILD_GNU_SYSTEM\s0 := gnu
   \s-1DEB_BUILD_GNU_SYSTEM\s0 := gnu
 else
 else
-  \s-1DEB_BUILD_GNU_SYSTEM\s0 := linux
+  \s-1DEB_BUILD_GNU_SYSTEM\s0 := linux-gnu
 endif
 endif
 DEB_BUILD_GNU_TYPE=$(\s-1DEB_BUILD_GNU_CPU\s0)\-$(\s-1DEB_BUILD_GNU_SYSTEM\s0)
 DEB_BUILD_GNU_TYPE=$(\s-1DEB_BUILD_GNU_CPU\s0)\-$(\s-1DEB_BUILD_GNU_SYSTEM\s0)
 .PP
 .PP

+ 19 - 0
man/C/dpkg-divert.8

@@ -74,6 +74,25 @@ a symbolic link based on the DT_SONAME field embedded in the library.
 Because ldconfig doesn't honour diverts (only dpkg does), if a diverted
 Because ldconfig doesn't honour diverts (only dpkg does), if a diverted
 library has the same SONAME as the undiverted one the symlink may end up
 library has the same SONAME as the undiverted one the symlink may end up
 pointing at the diverted library.
 pointing at the diverted library.
+.SH EXAMPLES
+To divert all copies of a \fI/usr/bin/example.foo\fR to \fI/usr/bin/example\fR,
+performing the rename if required:
+.HP
+dpkg-divert --divert /usr/bin/example --rename /usr/bin/example.foo
+.PP
+To remove that diversion:
+.HP
+dpkg-divert --rename --remove /usr/bin/example.foo
+
+.PP
+To divert any package trying to install \fI/usr/bin/example\fR to
+\fI/usr/bin/example.foo\fR, except your own \fIwibble\fR package:
+.HP
+dpkg-divert --package wibble --divert /usr/bin/example.foo --rename /usr/bin/example
+.PP
+To remove that diversion:
+.HP
+dpkg-divert --package wibble --rename --remove /usr/bin/example
 .SH FILES
 .SH FILES
 .TP
 .TP
 .I /var/lib/dpkg/diversions
 .I /var/lib/dpkg/diversions

+ 8 - 0
man/C/dpkg.1

@@ -473,6 +473,14 @@ multiple times.  Status updates are of the form `status: <pkg>: <pkg qstate>'.
 Errors are reported as `status: <pkg>: error: extend-error-message'.
 Errors are reported as `status: <pkg>: error: extend-error-message'.
 Configuration file conflicts are reported as 
 Configuration file conflicts are reported as 
 `status: conffile-prompt: conffile : 'current-conffile' 'new-conffile' useredited distedited'
 `status: conffile-prompt: conffile : 'current-conffile' 'new-conffile' useredited distedited'
+.TP
+\fB\-\-log=\fP\fIfilename\fP
+Log status change updates and actions to \fIfilename\fP.  This can be given
+multiple times.  Log messages are of the form `YYYY-MM-DD HH:MM:SS status
+<state> <pkg> <installed-version>' for status change updates and
+`YYYY-MM-DD HH:MM:SS <action> <pkg> <installed-version>
+<available-version>' for actions where \fI<action>\fP is one of install,
+upgrade, remove, purge.
 .SH FILES
 .SH FILES
 .TP
 .TP
 .I /etc/dpkg/dpkg.cfg
 .I /etc/dpkg/dpkg.cfg

+ 0 - 75
man/C/md5sum.1

@@ -1,75 +0,0 @@
-.\" Hey, Emacs!  This is an -*- nroff -*- source file.
-.TH MD5SUM 1 "29th November 1995" "Lankester et al." "Debian GNU/Linux"
-.SH NAME
-md5sum \- generates or checks MD5 message digests
-
-.SH SYNOPSIS
-.B md5sum
-[\-bv] [\-c [file]] | [file...]
-
-.SH DESCRIPTION
-.B md5sum
-generates or checks MD5 checksums. The algorithm to generate the
-checksum is reasonably fast and strong enough for most cases. Exact
-specification of the algorithm is in
-.I RFC 1321.
-
-Normally
-.B md5sum
-generates checksums of all files given to it as a parameter and prints
-the checksums followed by the filenames. If, however,
-.B \-c
-is specified, only one filename parameter is allowed. This file should
-contain checksums and filenames to which these checksums refer to, and
-the files listed in that file are checked against the checksums listed
-there. See option
-.B \-c
-for more information.
-
-.SS OPTIONS
-.TP
-.B \-b
-Use binary mode. In unix environment, only difference between this and
-the normal mode is an asterisk preceding the filename in the output.
-.TP
-.B \-c
-Check md5sum of all files listed in
-.I file
-against the checksum listed in the same file. The actual format of that
-file is the same as output of
-.B md5sum.
-That is, each line in the file describes a file. A line looks like:
-
-.B <MD5 checksum>  <filename>
-
-So, for example, if a file was created and its message digest calculated
-like so:
-
-.B echo foo > md5\-test\-file; md5sum md5\-test\-file
-
-.B md5sum
-would report:
-
-.B d3b07384d113edec49eaa6238ad5ff00\  md5\-test\-file
-
-.TP
-.B \-v
-Be more verbose. Print filenames when checking (with \-c).
-
-.SH BUGS
-The related MD4 message digest algorithm was broken in October 1995.
-MD5 isn't looking as secure as it used to.
-
-This manpage is not quite accurate and has formatting inconsistent
-with other manpages.
-
-.B md5sum
-does not accept standard options like
-.BR \-\-help .
-
-.SH AUTHOR
-
-.B md5sum
-was originally written by Branko Lankester, and modified afterwards by
-Colin Plumb and Ian Jackson (ijackson@gnu.ai.mit.edu). Manual page was
-added by Juho Vuori (javuori@cc.helsinki.fi)

+ 0 - 1
man/de/Makefile.am

@@ -3,6 +3,5 @@
 mandir = @mandir@/de
 mandir = @mandir@/de
 
 
 dist_man_MANS = \
 dist_man_MANS = \
-	md5sum.1 \
 	start-stop-daemon.8 \
 	start-stop-daemon.8 \
 	update-alternatives.8
 	update-alternatives.8

+ 8 - 56
man/de/Makefile.in

@@ -65,9 +65,8 @@ CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_FILES =
 SOURCES =
 SOURCES =
 DIST_SOURCES =
 DIST_SOURCES =
-man1dir = $(mandir)/man1
-am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
 man8dir = $(mandir)/man8
 man8dir = $(mandir)/man8
+am__installdirs = "$(DESTDIR)$(man8dir)"
 NROFF = nroff
 NROFF = nroff
 MANS = $(dist_man_MANS)
 MANS = $(dist_man_MANS)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -200,7 +199,6 @@ target_cpu = @target_cpu@
 target_os = @target_os@
 target_os = @target_os@
 target_vendor = @target_vendor@
 target_vendor = @target_vendor@
 dist_man_MANS = \
 dist_man_MANS = \
-	md5sum.1 \
 	start-stop-daemon.8 \
 	start-stop-daemon.8 \
 	update-alternatives.8
 	update-alternatives.8
 
 
@@ -237,51 +235,6 @@ $(top_srcdir)/configure:  $(am__configure_deps)
 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 uninstall-info-am:
 uninstall-info-am:
-install-man1: $(man1_MANS) $(man_MANS)
-	@$(NORMAL_INSTALL)
-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
-	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
-	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
-	for i in $$l2; do \
-	  case "$$i" in \
-	    *.1*) list="$$list $$i" ;; \
-	  esac; \
-	done; \
-	for i in $$list; do \
-	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
-	  else file=$$i; fi; \
-	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-	  case "$$ext" in \
-	    1*) ;; \
-	    *) ext='1' ;; \
-	  esac; \
-	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
-	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
-	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
-	done
-uninstall-man1:
-	@$(NORMAL_UNINSTALL)
-	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
-	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
-	for i in $$l2; do \
-	  case "$$i" in \
-	    *.1*) list="$$list $$i" ;; \
-	  esac; \
-	done; \
-	for i in $$list; do \
-	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-	  case "$$ext" in \
-	    1*) ;; \
-	    *) ext='1' ;; \
-	  esac; \
-	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
-	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
-	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
-	done
 install-man8: $(man8_MANS) $(man_MANS)
 install-man8: $(man8_MANS) $(man_MANS)
 	@$(NORMAL_INSTALL)
 	@$(NORMAL_INSTALL)
 	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
 	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
@@ -365,7 +318,7 @@ check-am: all-am
 check: check-am
 check: check-am
 all-am: Makefile $(MANS)
 all-am: Makefile $(MANS)
 installdirs:
 installdirs:
-	for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
+	for dir in "$(DESTDIR)$(man8dir)"; do \
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
 	done
 	done
 install: install-am
 install: install-am
@@ -416,7 +369,7 @@ install-exec-am:
 
 
 install-info: install-info-am
 install-info: install-info-am
 
 
-install-man: install-man1 install-man8
+install-man: install-man8
 
 
 installcheck-am:
 installcheck-am:
 
 
@@ -438,17 +391,16 @@ ps-am:
 
 
 uninstall-am: uninstall-info-am uninstall-man
 uninstall-am: uninstall-info-am uninstall-man
 
 
-uninstall-man: uninstall-man1 uninstall-man8
+uninstall-man: uninstall-man8
 
 
 .PHONY: all all-am check check-am clean clean-generic distclean \
 .PHONY: all all-am check check-am clean clean-generic distclean \
 	distclean-generic distdir dvi dvi-am html html-am info info-am \
 	distclean-generic distdir dvi dvi-am html html-am info info-am \
 	install install-am install-data install-data-am install-exec \
 	install install-am install-data install-data-am install-exec \
 	install-exec-am install-info install-info-am install-man \
 	install-exec-am install-info install-info-am install-man \
-	install-man1 install-man8 install-strip installcheck \
-	installcheck-am installdirs maintainer-clean \
-	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
-	pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
-	uninstall-man uninstall-man1 uninstall-man8
+	install-man8 install-strip installcheck installcheck-am \
+	installdirs maintainer-clean maintainer-clean-generic \
+	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
+	uninstall-am uninstall-info-am uninstall-man uninstall-man8
 
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 # Otherwise a system limit (for SysV at least) may be exceeded.

+ 0 - 74
man/de/md5sum.1

@@ -1,74 +0,0 @@
-.\" Hey, Emacs!  This is an -*- nroff -*- source file.
-.hw ge-knackt
-.TH MD5SUM 1 "29. November 1995" "Lankester et al." "Debian GNU/Linux"
-.SH NAME
-md5sum \- generiert oder überprüft MD5-Prüfsummen
-
-.SH "ÜBERSICHT"
-.B md5sum
-[-bv] [-c [datei]] | [datei...]
-
-.SH BESCHREIBUNG
-.B md5sum
-generiert oder überprüft MD5-Prüfsummen. Der Algorithmus zur Generierung
-der Prüfsummen ist ausreichend schnell und sicher genug für die meisten
-Fälle. Die genaue Spezifikation der Algorithmus findet sich in
-.I RFC 1321.
-
-Normalerweise generiert
-.B md5sum
-Prüfsummen aller als Parameter übergebenen Dateien und gibt die Prüfsummen
-gefolgt von den entsprechenden Dateinamen aus. Wenn allerdings
-.B -c
-angegeben wird, ist nur ein Dateiname erlaubt. Diese Datei sollte Prüfsummen
-und zu ihnen gehörende Dateinamen enthalten; die aufgeführten Dateien werden
-dann mit den angegebenen Prüfsummen gegengeprüft. Siehe Option
-.B -c
-für mehr Information.
-
-.SH OPTIONEN
-.TP
-.B -b
-Binärmodus benutzen. In einer UNIX-Umgebung ist der einzige Unterschied zwischen
-diesem und dem Normalmodus ein Sternchen, das dem Dateinamen in der Ausgabe
-vorangeht.
-.TP
-.B -c
-Die Prüfsummen aller Dateien, die in
-.I datei
-aufgeführt sind, nachprüfen. Das Format dieser Datei ist das gleiche wie die
-Ausgabe von
-.B md5sum.
-Es beschreibt also jede Zeile eine Datei. Eine Zeile sieht so aus:
-
-.B <MD5-Prüfsumme>  <Dateiname>
-
-Wenn also beispielsweise eine Datei erstellt und ihre Prüfsumme berechnet wird,
-etwa so:
-
-.B echo foo > md5-test-file; md5sum md5-test-file
-
-dann würde
-.B md5sum
-Folgendes melden:
-
-.B d3b07384d113edec49eaa6238ad5ff00\  md5-test-file
-
-.TP
-.B -v
-Wortreicher sein. Gibt Dateinamen während der Überprüfung (mit \fB-c\fR) aus.
-
-.SH BUGS
-Der verwandte MD4-Prüfsummen-Algorithmus wurde im Oktober 1995 geknackt. MD5
-sieht nicht mehr so sicher aus wie früher.
-
-.B md5sum
-akzeptiert keine Standardoptionen wie
-.BR --help .
-
-.SH AUTOR
-
-.B md5sum
-wurde ursprünglich von Branko Lankester geschrieben und hiernach von
-Colin Plumb und Ian Jackson (ijackson@gnu.ai.mit.edu) geändert. Die Man-Seite
-wurde von Juho Vuori (javuori@cc.helsinki.fi) hinzugefügt.

+ 0 - 1
man/es/Makefile.am

@@ -19,6 +19,5 @@ dist_man_MANS = \
 	dpkg-statoverride.8 \
 	dpkg-statoverride.8 \
 	dpkg.1 \
 	dpkg.1 \
 	dselect.1 \
 	dselect.1 \
-	md5sum.1 \
 	start-stop-daemon.8 \
 	start-stop-daemon.8 \
 	update-alternatives.8
 	update-alternatives.8

+ 0 - 1
man/es/Makefile.in

@@ -217,7 +217,6 @@ dist_man_MANS = \
 	dpkg-statoverride.8 \
 	dpkg-statoverride.8 \
 	dpkg.1 \
 	dpkg.1 \
 	dselect.1 \
 	dselect.1 \
-	md5sum.1 \
 	start-stop-daemon.8 \
 	start-stop-daemon.8 \
 	update-alternatives.8
 	update-alternatives.8
 
 

+ 0 - 78
man/es/md5sum.1

@@ -1,78 +0,0 @@
-.\" Hey, Emacs!  This is an -*- nroff -*- source file.
-.TH MD5SUM 1 "29 de Noviembre de 1995" "Lankester et al." "Debian GNU/Linux"
-.SH NOMBRE
-md5sum \- genera o comprueba las sumas de control MD5
-
-.SH SINOPSIS
-.B md5sum
-[\-bv] [\-c [nombre_archivo]] | [nombre_archivo...]
-
-.SH DESCRIPCIÓN
-.B md5sum
-genera o comprueba las sumas de control MD5. El algoritmo que genera las
-sumas de control es razonablemente rápido y robusto para la mayoría de 
-los casos. Las especificaciones exactas del algoritmo están en 
-.I RFC 1321.
-
-Normalmente
-.B md5sum
-genera las sumas de control de todos los archivos que se le pasan como 
-argumentos e imprime las sumas de control seguidas de los nombres de 
-los archivos. Sin embargo si se especifica el parámetro
-.B \-c
-, solo un nombre de archivo es permitido como parámetro.
-Este fichero debe de contener las sumas de control y los nombres de archivo
-a las que estas se refieren, entonces los ficheros listados en el archivo
-son comprobados con las sumas de control especificadas. Ver opción
-.B \-c
-para mas información.
-
-.SS OPCIONES
-.TP
-.B \-b
-Usar modo binario. En Unix, la única diferencia entre este modo y el normal
-es un asterisco que precede al nombre del fichero en la salida de la
-ejecución del comando.
-.TP
-.B \-c
-Comprueba la suma de control md5 de todos los archivos listados en el
-.I archivo
-con la suma de control que aparece listada en el mismo fichero. El
-formato actual de este archivo es el mismo que la salida de
-.B md5sum.
-Esto es, cada linea en el archivo describe un fichero, y tiene
-dos campos, que son:
-
-.B <Suma de control MD5>  <nombre_archivo>
-
-Entonces, por ejemplo, si se crea un fichero y se calcula su suma de control como sigue:
-
-.B echo foo > md5\-fichero\-prueba; md5sum md5\-fichero\-prueba
-
-.B md5sum
-devolverá:
-
-.B d3b07384d113edec49eaa6238ad5ff00\  md5\-fichero\-prueba
-
-.TP
-.B \-v
-Ser mas explicativo. Imprimir nombres de archivo (con \-c).
-
-.SH FALLOS
-El relacionado algoritmo MD4 fue crackeado en octubre de 1995.
-MD5 no parece tan seguro como antes.
-
-Esta pagina del manual no es muy precisa y tiene un formato inconsistente
-con otras paginas del manual.
-
-.B md5sum
-no acepta opciones estándar como
-.BR \-\-help .
-
-.SH AUTOR
-
-.B md5sum
-fue originalmente escrito por Branko Lankester, y modificado después por
-Colin Plumb y Ian Jackson (ijackson@gnu.ai.mit.edu). La pagina del manual
-fue agregada por  Juho Vuori (javuori@cc.helsinki.fi) y traducida por Rubén
-Porras (nahoo@inicia.es)

+ 0 - 1
man/ja/Makefile.am

@@ -21,6 +21,5 @@ dist_man_MANS = \
 	dpkg.1 \
 	dpkg.1 \
 	dselect.1 \
 	dselect.1 \
 	install-info.8 \
 	install-info.8 \
-	md5sum.1 \
 	start-stop-daemon.8 \
 	start-stop-daemon.8 \
 	update-alternatives.8
 	update-alternatives.8

+ 0 - 1
man/ja/Makefile.in

@@ -219,7 +219,6 @@ dist_man_MANS = \
 	dpkg.1 \
 	dpkg.1 \
 	dselect.1 \
 	dselect.1 \
 	install-info.8 \
 	install-info.8 \
-	md5sum.1 \
 	start-stop-daemon.8 \
 	start-stop-daemon.8 \
 	update-alternatives.8
 	update-alternatives.8
 
 

+ 0 - 86
man/ja/md5sum.1

@@ -1,86 +0,0 @@
-.\" Hey, Emacs!  This is an -*- nroff -*- source file.
-.\"WORD:  message digest	メッセージダイジェスト
-.\"WORD:  checksum		チェックサム
-.\"WORD:  check			照合
-.\"original revision: 1.2
-.TH MD5SUM 1 "29th November 1995" "Lankester et al." "Debian GNU/Linux"
-.SH 名前
-md5sum \- MD5 メッセージダイジェストを作成・照合する。
-
-.SH 書式
-.B md5sum
-[-bv] [-c [file]] | [file...]
-
-.SH 説明
-.B md5sum
-は、MD5 チェックサムを作成、もしくは MD5 チェックサムの照合を行う。
-チェックサムを生成するアルゴリズムは比較的高速であり、ほとんどの
-場合で十分堅牢である。このアルゴリズムの厳密な仕様については
-.I RFC 1321
-を参照されたい。
-
-通常
-.B md5sum
-は、引数に与えられたすべてのファイルのチェックサムを作成し、
-チェックサムとそのファイル名を一行ずつ出力する。しかし、
-.B -c
-オプションが指定された場合、引数にはファイル名がひとつだけ許される。
-引数に与えられたファイルには、チェックサムとそのファイル名が記述さ
-れていなければならない。記述されたファイルに対する実際のチェックサ
-ムが、記述されたチェックサムと照合される。詳細はオプション
-.B -c
-の項目を参照されたい。
-
-.SS オプション
-.TP
-.B -b
-バイナリモードを使用する。UNIX 環境では、バイナリモードとノーマルモー
-ドの違いは、出力されるファイル名の前にアスタリスクが付くのみである。
-.TP
-.B -c
-.I file
-中に記述された全てのファイルの md5sum を実際のチェックサムと
-照合する。引数に与えるファイルの形式は
-.B md5sum
-の出力と同じである。つまり、ファイル中の各行につきひとつのファイル
-が記述される。その形式は、
-
-.B <MD5 checksum>  <filename>
-
-である。例えば、次のようにファイルを作成して、そのメッセージダイジェスト
-を計算する。
-
-.B echo foo > md5-test-file; md5sum md5-test-file
-
-この場合、
-.B md5sum
-は次のような報告をする。
-
-.B d3b07384d113edec49eaa6238ad5ff00\  md5-test-file
-
-.TP
-.B -v
-詳細表示。(-c オプションで)照合する場合はファイル名を出力する。
-
-.SH バグ
-MD4 メッセージダイジェストアルゴリズムが 1995 年 10 月に破られた。
-同系である MD5 も以前ほど安全とは言えないであろう。
-
-このマニュアルページは不正確であり、他のマニュアルページと整合性
-のある書式でない。
-
-.B md5sum
-は
-.BR --help 
-のような標準的なオプションが使えない。
-
-.SH 著者
-
-.B md5sum
-は、元々 by Branko Lankester により書かれ、その後 Colin Plumb と
- Ian Jackson (ijackson@gnu.ai.mit.edu) により書き変えられた。
-マニュアルページは Juho Vuori (javuori@cc.helsinki.fi) により追加された。
-
-.SH 翻訳者
-
-鍋谷 栄展 <nabe@debian.or.jp>

+ 0 - 1
man/sv/Makefile.am

@@ -14,5 +14,4 @@ dist_man_MANS = \
 	dpkg.cfg.5 \
 	dpkg.cfg.5 \
 	dselect.1 \
 	dselect.1 \
 	dselect.cfg.5 \
 	dselect.cfg.5 \
-	md5sum.1 \
 	start-stop-daemon.8
 	start-stop-daemon.8

+ 0 - 1
man/sv/Makefile.in

@@ -212,7 +212,6 @@ dist_man_MANS = \
 	dpkg.cfg.5 \
 	dpkg.cfg.5 \
 	dselect.1 \
 	dselect.1 \
 	dselect.cfg.5 \
 	dselect.cfg.5 \
-	md5sum.1 \
 	start-stop-daemon.8
 	start-stop-daemon.8
 
 
 all: all-am
 all: all-am

+ 0 - 83
man/sv/md5sum.1

@@ -1,83 +0,0 @@
-.\" Hey, Emacs!  This is an -*- nroff -*- source file.
-.\" Translation of CVS revision 1.2.18.3
-.TH MD5SUM 1 "29 november 1995" "Lankester m fl" "Debian GNU/Linux"
-.SH NAMN
-md5sum \- genererar eller kontrollerar MD5-meddelandesamlingar
-
-.SH SYNOPS
-.B md5sum
-[\-bv] [\-c [fil]] | [fil...]
-
-.SH BESKRIVNING
-.B md5sum
-genererar eller kontrollerar MD5-kontrollsummor.
-Algoritmen som genererar kontrollsumman är hyfsat snabb och tillräckligt
-stark för de flesta fallen.
-En exakt specifikation av algoritmen finns i
-.I RFC 1321.
-
-Normalt genererar
-.B md5sum
-kontrollsummor för samtliga filer som anges som flaggor och skriver
-kontrollsummorna följt av filnamnen.
-Om däremot flaggan
-.B \-c
-anges tillåts endast en filnamnsparameter.
-Denna fil innehåller kontrollsummor och tillhörande filnamn, och filerna som
-listas i den filen kommer att kontrolleras gentemot kontrollsumman som står
-där.
-Se flaggan
-.B \-c
-för ytterligare information.
-
-.SS FLAGGOR
-.TP
-.B \-b
-Använd binärt läge.
-I en unixmiljö är den enda skillnaden mellan detta och det normala läget en
-asterisk framför filnamnet i utdata.
-.TP
-.B \-c
-Kontrollera md5-summan för samtliga filer som listas i
-.I fil
-mot kontrollsummorna som står i filen.
-Formatet som används för denna fil är detsamma som utdata för
-.B md5sum.
-Det betyder att varje rad i filen beskriver en fil, på formen:
-
-.B <MD5-kontrollsumma>  <filnamn>
-
-Så, till exempel, om en fil skapats och dess meddelandesamlingar (message
-digest) beräknats enligt
-
-.B echo foo > md5\-testfil; md5sum md5\-testfil
-
-kommer
-.B md5sum
-rapportera:
-
-.B d3b07384d113edec49eaa6238ad5ff00\  md5\-testfil
-
-.TP
-.B -v
-Var mer pratsam.
-Skriv ut filnamn när de kontrolleras (med \-c).
-
-.SH PROGRAMFEL
-Den relaterade meddelandesamlingsalgoritmen MD4 knäcktes i oktober 1995.
-MD5 verkar inte vara lika säker som den en gång var.
-
-Denna manualsida är inte helt korrekt och har formatering som inte är
-konsistent med andra manualsidor.
-
-.B md5sum
-tillåter inte standardflaggor såsom
-.BR \-\-help .
-
-.SH FÖRFATTARE
-
-.B md5sum
-skrevs ursprungligen av Branko Lankester och modifierades sedan av
-Colin Plumb och Ian Jackson (ijackson@gnu.ai.mit.edu).
-Manualsidan lades till av Juho Vuori (javuori@cc.helsinki.fi)
-och översattes av Peter Karlsson.

+ 23 - 0
ostable

@@ -0,0 +1,23 @@
+# This file contains the table of known operating system names.
+#
+# Architecture names are formed as a combination of the system name
+# (from this table) and CPU name (from cputable).  A list of architecture
+# names in the Debian ‘sid’ distribution can be found in the archtable
+# file.
+#
+# Column 1 is the Debian name for the system, used to form the
+# architecture name.
+# Column 2 is the GNU name for the system, used to output build and host
+# targets in ‘dpkg-architecture’.
+# Column 3 is an extended regular expression used to match against the
+# system part of the output of the GNU config.guess script.
+#
+# <Debian name>	<GNU name>	<config.guess regex>
+linux		linux-gnu	linux[^-]*(-gnu.*)?
+darwin		darwin		darwin[^-]*
+freebsd		freebsd		freebsd[^-]*
+hurd		gnu		gnu[^-]*
+kfreebsd	kfreebsd-gnu	kfreebsd[^-]*(-gnu.*)?
+knetbsd		knetbsd-gnu	knetbsd[^-]*(-gnu.*)?
+netbsd		netbsd		netbsd[^-]*
+openbsd		openbsd		openbsd[^-]*

+ 4 - 0
po/ChangeLog

@@ -1,3 +1,7 @@
+2005-03-18  Scott James Remnant  <scott@netsplit.com>
+
+	* POTFILES.in: Removed utils/md5sum.c now it no longer exists.
+
 2005-03-03  Arief S Fitrianto  <arief@gurame.fisika.ui.ac.id>
 2005-03-03  Arief S Fitrianto  <arief@gurame.fisika.ui.ac.id>
 
 
 	* id.po: First version.
 	* id.po: First version.

+ 0 - 1
po/POTFILES.in

@@ -70,5 +70,4 @@ dpkg-split/queue.c
 dpkg-split/split.c
 dpkg-split/split.c
 
 
 utils/enoent.c
 utils/enoent.c
-utils/md5sum.c
 utils/start-stop-daemon.c
 utils/start-stop-daemon.c

BIN
po/bs.gmo


File diff suppressed because it is too large
+ 201 - 249
po/bs.po


BIN
po/ca.gmo


File diff suppressed because it is too large
+ 239 - 244
po/ca.po


BIN
po/cs.gmo


File diff suppressed because it is too large
+ 241 - 245
po/cs.po


BIN
po/da.gmo


File diff suppressed because it is too large
+ 240 - 244
po/da.po


BIN
po/de.gmo


File diff suppressed because it is too large
+ 239 - 244
po/de.po


File diff suppressed because it is too large
+ 201 - 249
po/dpkg.pot


BIN
po/el.gmo


File diff suppressed because it is too large
+ 241 - 246
po/el.po


BIN
po/es.gmo


File diff suppressed because it is too large
+ 239 - 244
po/es.po


BIN
po/eu.gmo


File diff suppressed because it is too large
+ 239 - 244
po/eu.po


BIN
po/fr.gmo


File diff suppressed because it is too large
+ 242 - 247
po/fr.po


BIN
po/gl.gmo


File diff suppressed because it is too large
+ 239 - 244
po/gl.po


BIN
po/he.gmo


File diff suppressed because it is too large
+ 201 - 249
po/he.po


BIN
po/id.gmo


File diff suppressed because it is too large
+ 221 - 239
po/id.po


BIN
po/it.gmo


File diff suppressed because it is too large
+ 242 - 245
po/it.po


BIN
po/ja.gmo


File diff suppressed because it is too large
+ 241 - 244
po/ja.po


BIN
po/ko.gmo


File diff suppressed because it is too large
+ 239 - 244
po/ko.po


BIN
po/nb.gmo


File diff suppressed because it is too large
+ 240 - 245
po/nb.po


BIN
po/nl.gmo


File diff suppressed because it is too large
+ 242 - 246
po/nl.po


BIN
po/nn.gmo


File diff suppressed because it is too large
+ 240 - 245
po/nn.po


BIN
po/pl.gmo


File diff suppressed because it is too large
+ 239 - 244
po/pl.po


BIN
po/pt.gmo


File diff suppressed because it is too large
+ 240 - 245
po/pt.po


BIN
po/pt_BR.gmo


File diff suppressed because it is too large
+ 240 - 245
po/pt_BR.po


BIN
po/ru.gmo


File diff suppressed because it is too large
+ 240 - 245
po/ru.po


BIN
po/sk.gmo


File diff suppressed because it is too large
+ 240 - 245
po/sk.po


BIN
po/sv.gmo


File diff suppressed because it is too large
+ 239 - 244
po/sv.po


BIN
po/zh_CN.gmo


File diff suppressed because it is too large
+ 239 - 244
po/zh_CN.po


BIN
po/zh_TW.gmo


File diff suppressed because it is too large
+ 239 - 244
po/zh_TW.po


+ 2 - 2
scripts/changelog/debian.pl

@@ -42,7 +42,7 @@ while (@ARGV) {
 
 
 %mapkv=(); # for future use
 %mapkv=(); # for future use
 $i=100;grep($fieldimps{$_}=$i--,
 $i=100;grep($fieldimps{$_}=$i--,
-          qw(Source Version Distribution Urgency Maintainer Date Closes
+          qw(Source Version Distribution Urgency Changed-By Date Closes
 	     Changes));
 	     Changes));
 $i=1;grep($urgencies{$_}=$i++,
 $i=1;grep($urgencies{$_}=$i++,
           qw(low medium high critical emergency));
           qw(low medium high critical emergency));
@@ -111,7 +111,7 @@ while (<STDIN>) {
     } elsif (m/^ \-\- (.*) <(.*)>  ((\w+\,\s*)?\d{1,2}\s+\w+\s+\d{4}\s+\d{1,2}:\d\d:\d\d\s+[-+]\d{4}(\s+\([^\\\(\)]\))?)$/) {
     } elsif (m/^ \-\- (.*) <(.*)>  ((\w+\,\s*)?\d{1,2}\s+\w+\s+\d{4}\s+\d{1,2}:\d\d:\d\d\s+[-+]\d{4}(\s+\([^\\\(\)]\))?)$/) {
         $expect eq 'more change data or trailer' ||
         $expect eq 'more change data or trailer' ||
             &clerror("found trailer where expected $expect");
             &clerror("found trailer where expected $expect");
-        $f{'Maintainer'}= "$1 <$2>" unless defined($f{'Maintainer'});
+        $f{'Changed-By'}= "$1 <$2>" unless defined($f{'Changed-By'});
         $f{'Date'}= $3 unless defined($f{'Date'});
         $f{'Date'}= $3 unless defined($f{'Date'});
 #        $f{'Changes'}.= " .\n $_\n";
 #        $f{'Changes'}.= " .\n $_\n";
         $expect= 'next heading or eof';
         $expect= 'next heading or eof';

+ 0 - 0
scripts/dpkg-architecture.pl


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