- do not check for a "Package" tag in optional index targets
like the translations index
if (CompressionExtension.empty() == false)
CompressionExtension.erase(CompressionExtension.end()-1);
if (CompressionExtension.empty() == false)
CompressionExtension.erase(CompressionExtension.end()-1);
+ if (Target->IsOptional())
+ Verify = false;
+
Init(Target->URI, Target->Description, Target->ShortDesc);
}
/*}}}*/
Init(Target->URI, Target->Description, Target->ShortDesc);
}
/*}}}*/
/* Verify the index file for correctness (all indexes must
* have a Package field) (LP: #346386) (Closes: #627642) */
/* Verify the index file for correctness (all indexes must
* have a Package field) (LP: #346386) (Closes: #627642) */
{
FileFd fd(DestFile, FileFd::ReadOnly);
pkgTagSection sec;
{
FileFd fd(DestFile, FileFd::ReadOnly);
pkgTagSection sec;
+ /** \brief Verify for correctness by checking if a "Package"
+ * tag is found in the index. This can be set to
+ * false for optional index targets
+ *
+ */
+ // FIXME: instead of a bool it should use a verify string that will
+ // then be used in the pkgAcqIndex::Done method to ensure that
+ // the downloaded file contains the expected tag
+ bool Verify;
+
/** \brief The download request that is currently being
* processed.
*/
/** \brief The download request that is currently being
* processed.
*/
AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
dnl -- SET THIS TO THE RELEASE VERSION --
AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
dnl -- SET THIS TO THE RELEASE VERSION --
-AC_DEFINE_UNQUOTED(VERSION,"0.8.15")
+AC_DEFINE_UNQUOTED(VERSION,"0.8.16~exp5")
PACKAGE="apt"
AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
AC_SUBST(PACKAGE)
PACKAGE="apt"
AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
AC_SUBST(PACKAGE)
-apt (0.8.16~exp5) UNRELEASED; urgency=low
+apt (0.8.16~exp5) UNRELEASEDexperimental; urgency=low
* apt-pkg/makefile:
- install sha256.h compat header
* apt-pkg/makefile:
- install sha256.h compat header
libapt does not segfault if the cache is remapped in between
(LP: #812862)
- fix crash when P.Arch() was used but the cache got remapped
libapt does not segfault if the cache is remapped in between
(LP: #812862)
- fix crash when P.Arch() was used but the cache got remapped
+ * apt-pkg/acquire-item.{cc,h}:
+ - do not check for a "Package" tag in optional index targets
+ like the translations index
- -- Michael Vogt <mvo@debian.org> Mon, 01 Aug 2011 15:31:55 +0200
+ -- Michael Vogt <mvo@debian.org> Fri, 05 Aug 2011 09:11:42 +0200
apt (0.8.16~exp4) experimental; urgency=low
apt (0.8.16~exp4) experimental; urgency=low