Your message dated Mon, 16 Jun 2008 22:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#484760: fixed in apt-cacher-ng 0.2~pre1-1
has caused the Debian Bug report #484760,
regarding apt-cacher-ng: Does not import symlinks
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.)
--
484760: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484760
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: apt-cacher-ng
Version: 0.1.13-1
Severity: normal
Tags: patch
If there are symlinks in the /var/cache/apt-cacher-ng/_import directory, they
are not imported, failing with a messages stating they could not be copied or
linked. The following trivial patch fixes that.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental'), (1,
'unstable'), (1, 'testing'), (1, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Naur apt-cacher-ng_0.1.13-1/debian/changelog apt-cacher-ng-0.1.13/debian/changelog
--- apt-cacher-ng_0.1.13-1/debian/changelog 2008-06-06 04:00:26.000000000 -0400
+++ apt-cacher-ng-0.1.13/debian/changelog 2008-06-06 05:05:56.000000000 -0400
@@ -1,3 +1,9 @@
+apt-cacher-ng (0.1.13-2dfd1) unstabled; urgency=low
+
+ * Fixed failure to import symlinks in _import
+
+ -- Daniel Dickinson <[EMAIL PROTECTED]> Fri, 06 Jun 2008 06:05:55 -0500
+
apt-cacher-ng (0.1.13-1) unstable; urgency=low
* New upstream release
diff -Naur apt-cacher-ng_0.1.13-1/source/pkgimport.cc apt-cacher-ng-0.1.13/source/pkgimport.cc
--- apt-cacher-ng_0.1.13-1/source/pkgimport.cc 2008-06-06 04:00:26.000000000 -0400
+++ apt-cacher-ng-0.1.13/source/pkgimport.cc 2008-06-06 05:07:02.000000000 -0400
@@ -30,6 +30,7 @@
void pkgimport::ProcessOther(const string &sPath, const struct stat &stinfo)
{
// NOOP;
+
}
void pkgimport::ProcessRegular(const string &sPath, const struct stat &stinfo)
{
@@ -167,17 +168,19 @@
{
char buf[PATH_MAX+1];
buf[PATH_MAX]=0x0;
-
- readlink(from.c_str(), buf, PATH_MAX);
- if (buf[0]!=*SZPATHSEP) // not absolute, crap...
- {
+
+ // readlink and check for absolute is bogus given later use
+ // of realpath
+ // readlink(from.c_str(), buf, PATH_MAX);
+ // if (buf[0]!=*SZPATHSEP) // not absolute, crap...
+ // {
// stupid stuff inside, resolve it, hope that's ok
- if (!realpath(from.c_str(), buf))
+ if (!realpath(from.c_str(), buf))
return false;
if(0==symlink(buf, to.c_str()))
return true;
- }
+ // }
}
else
{
--- End Message ---
--- Begin Message ---
Source: apt-cacher-ng
Source-Version: 0.2~pre1-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.2~pre1-1.diff.gz
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.2~pre1-1.diff.gz
apt-cacher-ng_0.2~pre1-1.dsc
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.2~pre1-1.dsc
apt-cacher-ng_0.2~pre1-1_amd64.deb
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.2~pre1-1_amd64.deb
apt-cacher-ng_0.2~pre1.orig.tar.gz
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.2~pre1.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.8
Date: Tue, 17 Jun 2008 00:04:24 +0200
Source: apt-cacher-ng
Binary: apt-cacher-ng
Architecture: source amd64
Version: 0.2~pre1-1
Distribution: experimental
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: 458782 475583 477044 484760
Changes:
apt-cacher-ng (0.2~pre1-1) experimental; urgency=low
.
* New upstream preview release
+ adds more local Ubuntu mirrors (closes: #477044)
+ fixes/improves connection and thread management (closes:#475583, #458782)
+ dropped bogus path check on symlink import (closes: #484760)
Checksums-Sha1:
95844b957ffc95484d84447f7dd66dbb718b34db 1049 apt-cacher-ng_0.2~pre1-1.dsc
5d50e4bf98ec234d5a966585f775f9a024850564 167420
apt-cacher-ng_0.2~pre1.orig.tar.gz
e28d6e0e48a4ccb82681b1b88125a78f4c18974b 6906 apt-cacher-ng_0.2~pre1-1.diff.gz
128ca4e77d8dc726cacc88617999fb437c35eae6 213488
apt-cacher-ng_0.2~pre1-1_amd64.deb
Checksums-Sha256:
6bea92b0f677cb882312d21b48b9ad243f54e92a2672994fbeb3141964750f55 1049
apt-cacher-ng_0.2~pre1-1.dsc
81c67c7851b4877b49b7b4cf578cc280e9b298bc85c968413cabe97bf7f1faf5 167420
apt-cacher-ng_0.2~pre1.orig.tar.gz
77fea88e1711b152f611a6331b63162b46dd571fa605491f9bca56f0571ad10f 6906
apt-cacher-ng_0.2~pre1-1.diff.gz
bc30900795f3d770c75cd43ada8cacf8f1449dc1dac84fb60f2476c432b420d6 213488
apt-cacher-ng_0.2~pre1-1_amd64.deb
Files:
b3bf970bfcd8d6d618bd644f9c046371 1049 net optional apt-cacher-ng_0.2~pre1-1.dsc
f1fc76822e85ea3cdbed8cf4ceec216b 167420 net optional
apt-cacher-ng_0.2~pre1.orig.tar.gz
ad242230530a82d320641ec8e5522231 6906 net optional
apt-cacher-ng_0.2~pre1-1.diff.gz
0b9f1e3344c8e05dcb9fc6b175f7f857 213488 net optional
apt-cacher-ng_0.2~pre1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIVuUw4QZIHu3wCMURAlYcAJsH6losq1YrdAeZ1D6UVI8ZPlpfWACeMBTM
TYRcpiGiRPjydzRzLAqt4eE=
=FpzW
-----END PGP SIGNATURE-----
--- End Message ---