Your message dated Fri, 03 Apr 2009 05:32:06 +0000
with message-id <[email protected]>
and subject line Bug#522227: fixed in debarchiver 0.9.3
has caused the Debian Bug report #522227,
regarding mailformat variable should not be initialized
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 [email protected]
immediately.)
--
522227: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522227
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debarchiver
Version: 0.9.2
Severity: normal
Hi Ola,
I was using debarchiver and I encountered a problem with the mailformat
variable.
At the beginning of debarchiver I had set:
$mailformat = "sendmail"
and thus if people do not define $usermailcmd in their config file, they
get the following error:
--
The mailformat option must be used in conjunction to the mailcmd option
--
due to this:
[quote=debarchiver]
if ( ($mailformat ne "") && ($usermailcmd eq "") ) {
errormsg...
} elsif ($mailformat eq "sendmail") {
@mailsearch = ("sendmail", "mail");
} elsif ($mailformat eq "mail") {
@mailsearch = ("mail", "sendmail");
} else {
error_msg...
}
[/quote]
I have enclosed a patch which should fix the problem.
What do you think?
Sorry :(
--
Franck Joncourt
http://debian.org - http://smhteam.info/wiki/
diff --git a/src/debarchiver.pl b/src/debarchiver.pl
index efa3797..ce3cf0a 100755
--- a/src/debarchiver.pl
+++ b/src/debarchiver.pl
@@ -76,7 +76,7 @@ use OpaL::read qw(readfile readcommand);
# 2009-03-16 Franck Joncourt <[email protected]>
# Added usermailcmd, mailsearch, usermailcmd and cmds. Removed mailcmd.
-$mailformat = "sendmail";
+$mailformat = "";
@mailsearch = ();
$usermailcmd = '';
@@ -2554,7 +2554,7 @@ sub check_mailconfig()
if ( ($mailformat ne "") && ($usermailcmd eq "") ) {
pdebug(2, "The mailformat option must be used in conjunction to the mailcmd option.");
- } elsif ($mailformat eq "sendmail") {
+ } elsif ( ($mailformat eq "sendmail") || ($mailformat eq "") ) {
@mailsearch = ("sendmail", "mail");
} elsif ($mailformat eq "mail") {
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: debarchiver
Source-Version: 0.9.3
We believe that the bug you reported is fixed in the latest version of
debarchiver, which is due to be installed in the Debian FTP archive:
debarchiver_0.9.3.dsc
to pool/main/d/debarchiver/debarchiver_0.9.3.dsc
debarchiver_0.9.3.tar.gz
to pool/main/d/debarchiver/debarchiver_0.9.3.tar.gz
debarchiver_0.9.3_all.deb
to pool/main/d/debarchiver/debarchiver_0.9.3_all.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ola Lundqvist <[email protected]> (supplier of updated debarchiver 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 03 Apr 2009 07:13:51 +0200
Source: debarchiver
Binary: debarchiver
Architecture: source all
Version: 0.9.3
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[email protected]>
Changed-By: Ola Lundqvist <[email protected]>
Description:
debarchiver - Tool to handle Debian package archives
Closes: 522227
Changes:
debarchiver (0.9.3) unstable; urgency=low
.
* Applied patch from Franck Joncourt to make sure that mailformat has
proper backwards compatibility. Closes: #522227.
Checksums-Sha1:
8cb4f3ec93dbc361d5f724836b47cd542b1cbf2b 763 debarchiver_0.9.3.dsc
ed2bdddd84410927d63c5f8d4d59ca422e87d1f2 118713 debarchiver_0.9.3.tar.gz
efbd33ad992416743fbb5c1f21d963545be52ef2 58812 debarchiver_0.9.3_all.deb
Checksums-Sha256:
ea89d65adb04bac63a217146dddb3773cd3d558c7a651395eae7773ed51eb87e 763
debarchiver_0.9.3.dsc
f4b7695962676dda1d0a24dc3a9a35e709cd99ff43ea23115446e413775296ee 118713
debarchiver_0.9.3.tar.gz
f4b3da99d3f7e5563b6c64f9ca06328a6f8565ca62679e9fdff37d9c258bc669 58812
debarchiver_0.9.3_all.deb
Files:
b00296781c46d4647cfc11f045040e8f 763 devel optional debarchiver_0.9.3.dsc
e40bb921a8804f83dfb15b466feabd37 118713 devel optional debarchiver_0.9.3.tar.gz
0e85e00c982358af6a3b44724e00fc0b 58812 devel optional debarchiver_0.9.3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknVmzgACgkQGKGxzw/lPdk0tQCghT3FzDomfevVfohpUYB6eY7z
jKcAnjZZUuwuTgZtbiyzNRMD0yuTnzDQ
=G3U4
-----END PGP SIGNATURE-----
--- End Message ---