Your message dated Thu, 07 Feb 2008 23:17:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#461622: fixed in apt-cacher-ng 0.1.10-1
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)
--- Begin Message ---
Package: apt-cacher-ng
Version: 0.1.9-1
Severity: normal
Tags: patch
When configuring apt-cacher-ng to remap some paths, you can use
rewrite files and backend files. The documentation suggest that all of
those files maybe either URL lists or RFC822-style name:value lists.
This is not the case for rewrite files, since the function
_ReadRewriteFiles in acfg.cc is missing a special case for URLs.
The attached patch is a quick fix, but merging the differen file reading
functions would probably be the better solution...
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-xen-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-cacher-ng depends on:
ii adduser 3.105 add and remove users and groups
ii libbz2-1.0 1.0.4-2 high-quality block-sorting file co
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libfuse2 2.7.2-1 Filesystem in USErspace library
ii libgcc1 1:4.3-20080116-1 GCC support library
ii libstdc++6 4.3-20080116-1 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.3.dfsg-10 compression library - runtime
apt-cacher-ng recommends no packages.
-- no debconf information
diff -Naur apt-cacher-ng-0.1.9/source/acfg.cc apt-cacher-ng-0.1.9.new/source/acfg.cc
--- apt-cacher-ng-0.1.9/source/acfg.cc 2007-12-10 22:33:21.000000000 +0100
+++ apt-cacher-ng-0.1.9.new/source/acfg.cc 2008-01-20 00:56:23.000000000 +0100
@@ -302,7 +302,7 @@
reader.OpenFile(sFile.c_str());
if(verbose)
- cout << "Reading file: " << sFile <<endl;
+ cout << "Reading backend file: " << sFile <<endl;
if(!reader.CheckGoodState(false))
{
if(verbose)
@@ -372,7 +372,7 @@
filereader reader;
if(verbose)
- cout << "Reading file: " << sFile <<endl;
+ cout << "Reading rewrite file: " << sFile <<endl;
reader.OpenFile(sFile.c_str());
reader.CheckGoodState(true);
@@ -384,7 +384,21 @@
{
bNotEof=reader.GetOneLine(sLine);
- if (IsValidButIrrelevantLine(sLine)) // end of block, eof, ... -> commit it
+ if(0==sLine.compare(0, 7, "http://"))
+ {
+ tHttpUrl url;
+ if (url.SetHttpUrl(sLine)) {
+ _FixPostPreSlashes(url.sPath);
+ pair<tHttpUrl, const string*> info(url, _CheckBEentryGetNamePtr(sRepName));
+ mapUrl2pVname.insert(info);
+ } else {
+ cout << "Parse error, invalid URL" << sLine << " on line "
+ << reader.GetPositionDescription() <<endl;
+ exit(2);
+ }
+ continue;
+ }
+ else if (IsValidButIrrelevantLine(sLine)) // end of block, eof, ... -> commit it
{
if (hosts.empty() && paths.empty())
continue; // dummy run
--- End Message ---
--- Begin Message ---
Source: apt-cacher-ng
Source-Version: 0.1.10-1
We believe that the bug you reported is fixed in the latest version of
apt-cacher-ng, which is due to be installed in the Debian FTP archive:
apt-cacher-ng_0.1.10-1.diff.gz
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.1.10-1.diff.gz
apt-cacher-ng_0.1.10-1.dsc
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.1.10-1.dsc
apt-cacher-ng_0.1.10-1_amd64.deb
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.1.10-1_amd64.deb
apt-cacher-ng_0.1.10.orig.tar.gz
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.1.10.orig.tar.gz
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.
Eduard Bloch <[EMAIL PROTECTED]> (supplier of updated apt-cacher-ng 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.7
Date: Thu, 07 Feb 2008 23:38:30 +0100
Source: apt-cacher-ng
Binary: apt-cacher-ng
Architecture: source amd64
Version: 0.1.10-1
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <[EMAIL PROTECTED]>
Changed-By: Eduard Bloch <[EMAIL PROTECTED]>
Description:
apt-cacher-ng - Caching proxy for distribution of software packages
Closes: 461622
Changes:
apt-cacher-ng (0.1.10-1) unstable; urgency=low
.
* New upstream version (mostly bugfixes)
+ adds simple URL support in rewrite lists (closes: #461622), thanks
to Tobias Gruetzmacher
Files:
03f0f884940782508051ba214387a42e 631 net optional apt-cacher-ng_0.1.10-1.dsc
baf31e2dc9ea57a55dd632375ab68faf 162363 net optional
apt-cacher-ng_0.1.10.orig.tar.gz
808a5856c6bc42772d558593b5600e70 5837 net optional
apt-cacher-ng_0.1.10-1.diff.gz
a29c578471693f52dda5d1f24d4e47f7 252804 net optional
apt-cacher-ng_0.1.10-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHq46l4QZIHu3wCMURAiMSAJ47SBYt9KRAYEKlxmg4Gw/F66M1HACfYmcJ
xaSrPnKThPJtP/ZJLCVgnqs=
=ymWj
-----END PGP SIGNATURE-----
--- End Message ---