Bug#251048: marked as done (apache-common: listconffiles doesn't cope well with extra whitespace)
Your message dated Thu, 24 Jun 2004 18:32:05 -0400
with message-id <E1BdclJ-0007pJ-00@newraff.debian.org>
and subject line Bug#251048: fixed in apache 1.3.31-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 26 May 2004 15:51:53 +0000
>From colm@dagda.tuatha.org Wed May 26 08:51:53 2004
Return-path: <colm@dagda.tuatha.org>
Received: from dagda.tuatha.org [193.1.31.98]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BT0h7-0001W1-00; Wed, 26 May 2004 08:51:53 -0700
Received: by dagda.tuatha.org (Postfix, from userid 1000)
id 279AEC0CF; Wed, 26 May 2004 16:51:52 +0100 (IST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Colm Buckley <colm@dagda.tuatha.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache-common: listconffiles doesn't cope well with extra whitespace
X-Mailer: reportbug 2.60
Date: Wed, 26 May 2004 16:51:52 +0100
Message-Id: <20040526155152.279AEC0CF@dagda.tuatha.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: apache-common
Version: 1.3.31-1
Severity: normal
listconffiles doesn't cope well with extra whitespace in the lines
containing ServerRoot or Include directives in httpd.conf. The attached
patch makes it a lot happier.
--- listconffiles.dist 2004-05-26 16:48:59.000000000 +0100
+++ listconffiles 2004-05-26 16:48:08.000000000 +0100
@@ -85,35 +85,28 @@
# This takes care of possible multiple serverroot instances.
# By specifying fields in split we allow for filename containing spaces.
if (/^\s*serverroot/i) {
- s/^\s*(.*)/$1/;
- (undef,$serverroot) = split (/\s/,$_,2);
-
-# take away surrounding ' and "
- $serverroot =~ s/[\"\']//g;
+ if (/serverroot\s+"([^"]*)"/i) {
+ $serverroot = $1;
+ }
+ if (/serverroot\s+(.*)$/i) {
+ $serverroot = $1;
+ }
($serverroot .= "/") unless ($serverroot =~ m|/$|);
}
# Build the full path for the included file.
if (/^\s*include/i) {
- s/^\s*(.*)/$1/;
- my (undef,$file) = split (/\s/,$_,2);
-
-# take away surrounding ' and "
- $file =~ s/[\"\']//g;
-
+ my $file;
+ if (/include\s+"([^"]*)"/i) {
+ $file = $1;
+ }
+ if (/include\s+(.*)$/i) {
+ $file = $1;
+ }
if ($file !~ m|^/| ) {
$file = $serverroot . $file;
}
-
-# put back surrounding " only if needed:
-# if ($file =~ /\s/) {
-# $file = "\"$file\"";
-# }
-
-# print "DEBUG: filename = $file\n";
-
-# Follow the include.
testfile($file);
}
}
-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Kernel: Linux 2.4.23
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache-common depends on:
ii apache-utils 1.3.31-1 Utility programs for webservers
ii debconf 1.4.25 Debian configuration management sy
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.4-2 Larry Wall's Practical Extraction
ii sed 4.0.9-3 The GNU sed stream editor
ii ucf 1.06 Update Configuration File: preserv
-- debconf information excluded
---------------------------------------
Received: (at 251048-close) by bugs.debian.org; 24 Jun 2004 22:38:12 +0000
>From katie@ftp-master.debian.org Thu Jun 24 15:38:12 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BdcrD-0003JV-00; Thu, 24 Jun 2004 15:38:12 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1BdclJ-0007pJ-00; Thu, 24 Jun 2004 18:32:05 -0400
From: Amaya Rodrigo Sastre <amaya@debian.org>
To: 251048-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#251048: fixed in apache 1.3.31-2
Message-Id: <E1BdclJ-0007pJ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 24 Jun 2004 18:32:05 -0400
Delivered-To: 251048-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 4
Source: apache
Source-Version: 1.3.31-2
We believe that the bug you reported is fixed in the latest version of
apache, which is due to be installed in the Debian FTP archive:
apache-common_1.3.31-2_i386.deb
to pool/main/a/apache/apache-common_1.3.31-2_i386.deb
apache-dbg_1.3.31-2_i386.deb
to pool/main/a/apache/apache-dbg_1.3.31-2_i386.deb
apache-dev_1.3.31-2_all.deb
to pool/main/a/apache/apache-dev_1.3.31-2_all.deb
apache-doc_1.3.31-2_all.deb
to pool/main/a/apache/apache-doc_1.3.31-2_all.deb
apache-perl_1.3.31-2_i386.deb
to pool/main/a/apache/apache-perl_1.3.31-2_i386.deb
apache-ssl_1.3.31-2_i386.deb
to pool/main/a/apache/apache-ssl_1.3.31-2_i386.deb
apache-utils_1.3.31-2_i386.deb
to pool/main/a/apache/apache-utils_1.3.31-2_i386.deb
apache_1.3.31-2.diff.gz
to pool/main/a/apache/apache_1.3.31-2.diff.gz
apache_1.3.31-2.dsc
to pool/main/a/apache/apache_1.3.31-2.dsc
apache_1.3.31-2_i386.deb
to pool/main/a/apache/apache_1.3.31-2_i386.deb
libapache-mod-perl_1.29.0.2-9_i386.deb
to pool/main/a/apache/libapache-mod-perl_1.29.0.2-9_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 251048@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Amaya Rodrigo Sastre <amaya@debian.org> (supplier of updated apache 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 24 Jun 2004 10:24:27 +0200
Source: apache
Binary: apache-dev apache-common apache-doc apache-utils apache apache-dbg apache-perl libapache-mod-perl apache-ssl
Architecture: source i386 all
Version: 1.3.31-2
Distribution: unstable
Urgency: high
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Amaya Rodrigo Sastre <amaya@debian.org>
Description:
apache - Versatile, high-performance HTTP server
apache-common - Support files for all Apache webservers
apache-dbg - Apache webservers (debugging versions)
apache-dev - Apache webserver development kit
apache-doc - Apache webserver docs
apache-perl - Versatile, high-performance HTTP server with Perl support
apache-ssl - Versatile, high-performance HTTP server with SSL support
apache-utils - Utility programs for webservers
libapache-mod-perl - Integration of perl with the Apache web server
Closes: 199045 234652 250408 251048
Changes:
apache (1.3.31-2) unstable; urgency=high
.
* (Amaya)
- The "I really really want to upload apache" release...
And Fabionne rocks more than I can find words for!!!
* (Fabio M. Di Nitto)
- Backported CAN-2004-0492 fix from upstream cvs.
- Applied patch from Colm Buckley and Pierfrancesco Caci to
listconffiles to deal better with whitespaces and tabs.
(Closes: #251048)
- Fixed apache-modconf grep environment. (Closes: #250408)
- Placeholders are now generated for each apache package.
(Closes: #199045)
- Added patch 514_nice_proxy_cache_cleanup to lower proxy cache cleanup
priority. (Closes: #234652)
Files:
b28c659d51ab66e64f5ce4326ababcaa 1114 web optional apache_1.3.31-2.dsc
0ec09b47de196b175e5d3661e2dffde2 394146 web optional apache_1.3.31-2.diff.gz
897c518535e9c0b7f6d9c932eff7570e 1185138 doc optional apache-doc_1.3.31-2_all.deb
ae29274e5a7543d1895dae2131519e54 328250 devel extra apache-dev_1.3.31-2_all.deb
2301dc177ef0f24926dbd03038526cb5 379860 web optional apache_1.3.31-2_i386.deb
bff651e7aedb2dec1c3667adbb5fd998 491616 web optional apache-ssl_1.3.31-2_i386.deb
690b0d190cad1c75cf2d9218b6831934 498574 web optional apache-perl_1.3.31-2_i386.deb
d21c2c4b873b4d088b2adaa29e913651 9101576 devel extra apache-dbg_1.3.31-2_i386.deb
209053868df8cb416355a29463d206fa 840054 web optional apache-common_1.3.31-2_i386.deb
e5831f0533284175034f787e0cc1a242 264420 web optional apache-utils_1.3.31-2_i386.deb
cc8d2abf1f1c247371a294bdee47915a 483480 web optional libapache-mod-perl_1.29.0.2-9_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA2z+eNFDtUT/MKpARAnAxAKDF/97+KGXA5+Z6zzx3bfp7vDWhiACgh/ek
j6caNim6RMB1ojv6LsCd8h0=
=ngj+
-----END PGP SIGNATURE-----
Reply to: