Your message dated Mon, 02 Mar 2009 05:17:05 +0000
with message-id <e1le0wx-0002bo...@ries.debian.org>
and subject line Bug#465340: fixed in dpkg 1.15.0
has caused the Debian Bug report #465340,
regarding dpkg: Broken call to open in Dpkg/Control.pm
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
465340: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465340
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg
Version: 1.14.16.6
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In Ubuntu, we've applied the attached patch to achieve the following:
* Fix wrong call to open in Dpkg/Control.pm that makes using a different
control file than debian/control fail horribly.
We thought you might be interested in doing the same.
- -- System Information:
Debian Release: lenny/sid
APT prefers hardy
APT policy: (500, 'hardy'), (500, 'gutsy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-6-generic (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHsNBxonjfXui9pOMRAtxZAJwOJGRnPBBVuxf+wyjj7heRPh6ldwCfYGKk
gnFO1f8OjTlKg6rp654onUk=
=u9ID
-----END PGP SIGNATURE-----
diff -Nru /tmp/63ah7FRjAl/dpkg-1.14.16.6ubuntu1/scripts/Dpkg/Control.pm
/tmp/fQCCS9NM6H/dpkg-1.14.16.6ubuntu2/scripts/Dpkg/Control.pm
--- dpkg-1.14.16.6ubuntu1/scripts/Dpkg/Control.pm 2008-01-18
11:12:53.000000000 +0100
+++ dpkg-1.14.16.6ubuntu2/scripts/Dpkg/Control.pm 2008-02-11
23:20:11.000000000 +0100
@@ -78,7 +78,7 @@
my ($self, $file) = @_;
$self->reset();
# Parse
- open(CDATA, "<", $file) || syserr(_g("cannot read %s"), $file);
+ open(CDATA, "< $file") || syserr(_g("cannot read %s"), $file);
my $cdata = parsecdata(\*CDATA, $file);
return if not defined $cdata;
$self->{source} = $cdata;
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.15.0
We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:
dpkg-dev_1.15.0_all.deb
to pool/main/d/dpkg/dpkg-dev_1.15.0_all.deb
dpkg_1.15.0.dsc
to pool/main/d/dpkg/dpkg_1.15.0.dsc
dpkg_1.15.0.tar.gz
to pool/main/d/dpkg/dpkg_1.15.0.tar.gz
dpkg_1.15.0_i386.deb
to pool/main/d/dpkg/dpkg_1.15.0_i386.deb
dselect_1.15.0_i386.deb
to pool/main/d/dpkg/dselect_1.15.0_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 465...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (supplier of updated dpkg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 02 Mar 2009 06:13:53 +0200
Source: dpkg
Binary: dpkg dpkg-dev dselect
Architecture: source i386 all
Version: 1.15.0
Distribution: experimental
Urgency: low
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Description:
dpkg - Debian package management system
dpkg-dev - Debian package development tools
dselect - Debian package management front-end
Closes: 21659 58735 87677 98822 99870 100135 102144 107098 129577 141325 143701
149961 160848 175740 216606 250258 273406 281057 336091 342566 368000 381219
388313 390282 392429 392430 395140 395556 412487 423176 426752 437060 441904
443535 445270 457135 457371 457863 465340 474092 474671 476899 477916 480556
481165 481185 481716 481805 482834 485012 485365 487455 488293 490693 492052
499924 502258 502496 503954 505172 506028 507568 509312 509578 514106 514106
514490 516481 517264
Changes:
dpkg (1.15.0) experimental; urgency=low
.
[ Guillem Jover ]
* Do not suggest manually changing the alternative symlinks on
update-alternative's verbose mode. Closes: #412487
* Refactor subprocess signal setup.
* Mark and coalesce similar strings for translation.
* Add '.be' to the default dpkg-source -i regex. Closes: #481716
Based on a patch by Ben Finney.
* Fix link order when using libcompat.a and libintl.a by placing them after
libdpkg.a. Based on a patch by Martin Koeppe. Closes: #481805
* Remove duplicate program name from dpkg-trigger badusage output.
* Trim trailing slash and slash dot from 'dpkg -S' arguments when those
are path names, but not on patterns. Closes: #129577
* Fix the support for passing more than one --status-fd option to dpkg.
Until now only the last one was being used.
* Replace realloc plus error checking usage with m_realloc.
* Add '.hgignore' to the default dpkg-source -i regex and -I pattern.
Closes: #485365
* Support diverting files when origin and destination are on different file
systems. Based on a patch by Juergen Kreileder. Closes: #102144, #149961
* Do not silently enable --rename on dpkg-divert --remove. Closes: #160848
* Do not allocate memory when lstat fails during package upgrade.
* Properly lstat the correct file when using --root on package upgrade.
Thanks to Egmont Koblinger. Closes: #281057
* Print a longer string when a disallowed field value is found when parsing.
* Use $(filter ...) instead of $(findstring ...) to extract space separated
options from DEB_BUILD_OPTIONS in debian/rules.
* Do not leave new conffile as .dpkg-new when it has been diverted, also
properly activate the file trigger for the diverted conffile.
Based on a patch by Timothy G Abbott. Closes: #58735, #476899
* Improve comment on BUGS section in dpkg-deb.1 about lack of authentication
and checksum support in .deb files. Closes: #492052
* Use a troff special character for the copyright symbol on man pages.
* Mark program names in dpkg-trigger.1 in bold.
* Unmark dselect debug messages for translation.
* Use a the warning function to uniformly print all warning messages.
* Properly use internerr to report about programming bugs.
* Do not log repeated strings when the write call wrote partial data.
* Change dir to / after chroot when using --instdir.
Thanks to Colin Watson <cjwat...@ubuntu.com>. Closes: #509578
* Make dpkg log files user readable. Closes: #480556
* Clarify in the start-stop-daemon man page that the signal sent by default
is TERM not KILL. Closes: #507568
* Warn in dpkg-deb man page that -x will modify the extraction directory
permissions. Closes: #502496
* Make start-stop-daemon behave the same way whether --chuid gets a user
name or a uid. Closes: #368000
* Add new option --procsched to start-stop-daemon to be able to set the
process scheduling policy and priority. Closes: #175740
* Add initial C unit test suite for libdpkg.
* Sanitize --status-fd output by replacing newlines with spaces.
Closes: #505172
* Remove unneeded cpio dependency from dpkg-dev.
* Add kopensolaris support to ostable and triplettable. Closes: #509312
* Document in deb.5 in detail the currently supported format, ar member
names, types of tar archives and data.tar members.
* Print correct feature name on «dpkg --assert-*» failures.
* Add progress reporting to dpkg while reading the file list database.
Based on a patch by Romain Francoise.
* Add new option --iosched to start-stop-daemon to be able to set the
IO scheduling class and priority. Closes: #443535
Thanks to Chris Coulson <chrisccoul...@googlemail.com>.
* Add tar format detection support to the internal extractor.
* Add support for ustar long names using the prefix field. Closes: #474092
* Code refactoring and cleanup, some of the major changes include:
- Use standard interfaces instead of ad-hoc ones.
- Fix memory leaks.
- Fix compilation warnings.
- Constify string members in structures and arguments in functions.
- Make local functions static.
- Remove unused functions, macros and variables.
- Fix and cleanup libcompat broken replacement implementations.
- Reduction of module interdependencies.
- Rename function and variable names to make them more clear.
- Cleanup and split of header files.
.
[ Raphael Hertzog ]
* Enhance dpkg-shlibdeps's error message when a library can't be found to
include the ELF format of the desired library. Closes: #474671
* dpkg-gensymbols now refuses empty values for the the -v -P and -e
parameters.
* Update dpkg(1) to refer to conffile whenever we speak of configuration
file handled by dpkg. Thus harmonize vocabulary with the policy. Thanks
to Helge Kreutzmann <deb...@helgefjell.de>. Closes: #381219
* Improve error message stating that dpkg is unable to create a file so that
it also refers to the real filename instead of the non-diverted name only.
Thanks to Daniel Hahler for the patch. Closes: #457135
* dpkg-gencontrol can now again read the control file from its standard
input with "-c-". Closes: #465340
* Add DEB_VENDOR environment variable in the build environment to be able
to change behaviour dynamically depending on the vendor of the current
system (or target system when the user overrides DEB_VENDOR by setting
it himself). Closes: #457371
* dpkg-shlibdeps give less strong warnings for symbols not found in NEEDED
libraries when the shared library is a non-public directory and is likely
to be a plugin. Closes: #481165
* Clarify list of packages displayed by dpkg --get-selections and
dpkg-query -l. Thanks to Jidanni. Closes: #487455
* Document -A option in dpkg-buildpackage(1). Closes: #482834
* Add some warning concerning the available file and the related commands.
They are mostly obsolete for APT users. Closes: #481185
* Add new option --listpackage to dpkg-divert. Thanks to Timothy G Abbott
<tabb...@mit.edu> for the patch. Closes: #485012
* Add new option --require-valid-signature to dpkg-source. Closes: #390282
* In dpkg-query(1) document the origin of the various fields and warn that
they are not always available. Closes: #488293
* Improve error message in install-info when the file doesn't exist.
Thanks to Thomas Hood <jdth...@yahoo.co.uk>. Closes: #107098
* Use description of installed package as fallback in dselect.
Based on a patch from Bruce Sass <bms...@shaw.ca>. Closes: #21659
* Reduce memory usage of dselect by avoiding usage of a big infopad.
Thanks to Michel Lespinasse <wal...@zoy.org> for the patch.
Closes: #395140
* Largely improve and update dpkg-buildpackage's manual page.
* Clarify two points in dpkg-source(1). Closes: #490693
* Support RUNPATH exactly like RPATH in dpkg-shlibdeps. Closes: #502258
Thanks to Javier Serrano Polo <jas...@terra.es>.
* Set Standards-Version to 3.8.0 (no changes needed).
* Drop some unneeded lintian overrides.
* Fix a chmod call in dpkg-source to not fail when POSIXLY_CORRECT is set.
Closes: #506028
* Optimize dpkg-shlibdeps by caching parsed symbols files and
objdump objects. Thanks to Modestas Vainius <modes...@vainius.eu> for the
patch. Closes: #503954
* Add new framework to hook vendor-specific logic (see
module Dpkg::Vendor::Default).
* Add Ubuntu vendor object implementing lookup of launchpad bugs in
changelogs and a safety-check for Maintainer fields of forked packages
(launched during source build). Closes: #426752, #499924
* Improve behaviour of update-alternatives --config. Thanks to
Osamu Aoki <os...@debian.org> for the initial patch. We can know
select between manual and auto in --config and --all. Closes: #392430
* Fix update-alternatives to not switch to manual mode an alternative
with a broken symlink (instead let the current action fix it).
Also ensure that a message is displayed by default when such a switch is
made. Closes: #141325, #87677
* Fix update-alternatives' logic to rename files. It failed to ignore errors
in some cases where it wanted to when the source file didn't exist.
Closes: #99870
This also makes update-alternatives less noisy when this happens since we
don't call mv when we know that it's going to fail.
Closes: #98822
* Properly remove inappropriate slave links in update-alternatives even when
we switch to manual mode with --set or --config. Closes: #388313
* Modify update-alternatives to always remove the alternative group when the
last alternative is removed (even in manual mode).
* Ensure that update-alternative --install fix the links if the alternative
installed is the one currently selected. Closes: #100135
* Let update-alternatives deal with empty files in its administrative
directory by ignoring them. Closes: #457863
* Add new --target and --as-root options to dpkg-buildpackage to call
any debian/rules target with the proper build environment.
Closes: #477916
* Move update-alternatives, dpkg-divert and dpkg-statoverride to /usr/bin
but keep compatibility symlinks in /usr/sbin for the squeeze release
until all maintainer scripts are fixed (see
http://lintian.debian.org/tags/command-with-path-in-maintainer-script.html).
Closes: #216606
* Use dh_lintian to install lintian overrides. Build-Depends on debhelper
(>= 6.0.7) for this. Update debhelper compatility level to 6 at the same
time.
* Drop cleanup-info script.
* Reset umask to 0022 in dpkg-gencontrol and dpkg-gensymbols to ensure that
files created in the DEBIAN directory have sane permissions.
Closes: #516481
* Rewrite update-alternatives (so that we can understand it again) and
implement new features on top of it:
- the --config output is now sorted. Closes: #437060
- it now logs information to /var/log/dpkg.log. Closes: #445270
- it forbids reusing master alternative as slave and vice-versa.
Closes: #342566
- it forbids reusing alternative links managed by other alternatives
- new sanity checks on --install parameters. Closes: #423176
- install slave link only if the corresponding slave file is available.
Closes: #143701
- new option --get-selections to export the configuration of all
alternatives. It's a simple way to discover the name of all available
alternatives. Closes: #273406, #392429
- new option --set-selections to reconfigure a set of alternatives in
a single command.
* Document in update-alternatives(8) how one can repair all broken
alternatives with a single command. Closes: #250258, #395556
* Modify dpkg-gensymbols to replace #PACKAGE# on the fly while installing
symbols files so that package having libraries whose name varies between
architectures do not need to hardcode the package name. Closes: #517264
.
[ Pierre Habouzit ]
* Add a --query option to update-alternatives. Closes: #336091, #441904
.
[ Updated scripts translations ]
* Polish (Wiktor Wandachowicz). Closes: #514106
.
[ Updated manpages translations ]
* Polish (Wiktor Wandachowicz). Closes: #514106
.
[ Updated dpkg translations ]
* Portuguese (Miguel Figueiredo).
* Korean (Changwoo Ryu).
* Romanian (Eddy Petrișor)
* Slovak (Ivan Masár). Closes: #514490
Checksums-Sha1:
59c1f788d8b6159d101972648c0bc52c3adb4d39 1210 dpkg_1.15.0.dsc
5810eb92225882112bae82b09cb02a345f0b2b57 6707886 dpkg_1.15.0.tar.gz
03c092c6bb37ec2442ccd20940d97f7fa6c485cd 2144406 dpkg_1.15.0_i386.deb
31126fb08151e11bed6323b4d4318b7f5e4f84ba 810768 dselect_1.15.0_i386.deb
16b00c67eaa4158a880c083d7a6a36d7a7d96217 760490 dpkg-dev_1.15.0_all.deb
Checksums-Sha256:
bb77a5243d55c3143678dbcc7787242a85f511ea8e188ab7fe7370d899333e25 1210
dpkg_1.15.0.dsc
3ace352953112783e4018ca43e1cd50a2ec362dcd39e762fe335e9a0bb8c8ceb 6707886
dpkg_1.15.0.tar.gz
f7b65682b91403e9abd3b035e71c6a6766128fb8f9875f30246901d21be1ef21 2144406
dpkg_1.15.0_i386.deb
e173282bcdc225fdc17338a77f639bbbb54404c92b851cb6f19e2104fe9e608e 810768
dselect_1.15.0_i386.deb
d724e5da724f6274c55af3455426446b1f8154f57d664b3c1c35d5d5d42523ab 760490
dpkg-dev_1.15.0_all.deb
Files:
50d034e664af9527d8a8e4749e1ee3ae 1210 admin required dpkg_1.15.0.dsc
e4067113a967ada30c57ba4bf1c819e2 6707886 admin required dpkg_1.15.0.tar.gz
11ab0f2db795e645683c79ed2ad8b36c 2144406 admin required dpkg_1.15.0_i386.deb
d723ae29b3b7348aeea9c3a6c1eab901 810768 admin optional dselect_1.15.0_i386.deb
891ac5149a544d72f57646d9a1686c51 760490 utils optional dpkg-dev_1.15.0_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmrXocACgkQuW9ciZ2SjJs3zACeLx6FY1rU208M9gxYEK2qFuV8
n3QAn1eOPFBB9frdQlYs2+9YGyvf80PQ
=Tspn
-----END PGP SIGNATURE-----
--- End Message ---