Hello.
You added support for the Index-Files, but without the attached patch,
apt-cacher refuses to download the actual pdiffs, because their filenames
don't match the patterns of the allowed files:
,----
| GET /debian/dists/experimental/main/source/Sources.diff/2006-02-24-1313.10.gz
HTTP/1.1
| Host: ds9:9999
| Connection: keep-alive
| User-Agent: Debian APT-HTTP/1.3
|
| HTTP/1.1 403 Sorry, not allowed to fetch that type of file:
2006-02-24-1313.10.gz
`----
After altering /usr/share/apt-cacher/apt-cacher as described in the patch,
everything works as expected.
Grüße,
Sven.
--
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://www.svenhartge.de/
Achtung, neue Mail-Adresse: [EMAIL PROTECTED]
--- apt-cacher 2006-02-23 23:23:47.000000000 +0100
+++ /usr/share/apt-cacher/apt-cacher 2006-02-25 00:15:20.000000000 +0100
@@ -643,7 +643,7 @@
$do_import=0;
$is_index_file=0;
- if ($filename =~ /(\.deb|\.rpm|\.dsc|\.tar\.gz|\.diff\.gz|\.udeb)$/) {
+ if ($filename =~
/(\.deb|\.rpm|\.dsc|\.tar\.gz|\.diff\.gz|\.udeb|[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{4}\.[0-9]{2}\.gz)$/)
{
# We must be fetching a .deb or a .rpm, so let's cache it.
# Place the file in the cache with just its basename
$new_filename = $filename;