- return the correct SHA1Hash()
* methods/http.cc:
- send VERSION of apt in the User-Agent string
/* */
string debRecordParser::SHA1Hash()
{
/* */
string debRecordParser::SHA1Hash()
{
- return Section.FindS("SHA1Sum");
+ return Section.FindS("SHA1");
}
/*}}}*/
// RecordParser::Maintainer - Return the maintainer email /*{{{*/
}
/*}}}*/
// RecordParser::Maintainer - Return the maintainer email /*{{{*/
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.6.46.3-0.1")
+AC_DEFINE_UNQUOTED(VERSION,"0.6.46.5")
PACKAGE="apt"
AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
AC_SUBST(PACKAGE)
PACKAGE="apt"
AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
AC_SUBST(PACKAGE)
- use clog for all debugging
- only increase the score of installed applications if they
are not obsolete
- use clog for all debugging
- only increase the score of installed applications if they
are not obsolete
+ * methods/http.cc:
+ - send apt version in User-Agent
+ * apt-pkg/deb/debrecords.cc:
+ - fix SHA1Hash() return value
-- Michael Vogt <michael.vogt@ubuntu.com> Mon, 18 Dec 2006 19:39:05 +0100
-- Michael Vogt <michael.vogt@ubuntu.com> Mon, 18 Dec 2006 19:39:05 +0100
// Internet stuff
#include <netdb.h>
// Internet stuff
#include <netdb.h>
#include "connect.h"
#include "rfc2553emu.h"
#include "http.h"
#include "connect.h"
#include "rfc2553emu.h"
#include "http.h"
Req += string("Authorization: Basic ") +
Base64Encode(Uri.User + ":" + Uri.Password) + "\r\n";
Req += string("Authorization: Basic ") +
Base64Encode(Uri.User + ":" + Uri.Password) + "\r\n";
- Req += "User-Agent: Debian APT-HTTP/1.3\r\n\r\n";
+ Req += "User-Agent: Debian APT-HTTP/1.3 ("VERSION")\r\n\r\n";
if (Debug == true)
cerr << Req << endl;
if (Debug == true)
cerr << Req << endl;
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-10-11 20:34+0200\n"
+"POT-Creation-Date: 2006-12-19 11:37+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Unable to accept connection"
msgstr ""
msgid "Unable to accept connection"
msgstr ""
-#: methods/ftp.cc:864 methods/http.cc:958 methods/rsh.cc:303
+#: methods/ftp.cc:864 methods/http.cc:959 methods/rsh.cc:303
msgid "Problem hashing file"
msgstr ""
msgid "Problem hashing file"
msgstr ""
msgid "Read error from %s process"
msgstr ""
msgid "Read error from %s process"
msgstr ""
msgid "Waiting for headers"
msgstr ""
msgid "Waiting for headers"
msgstr ""
#, c-format
msgid "Got a single header line over %u chars"
msgstr ""
#, c-format
msgid "Got a single header line over %u chars"
msgstr ""
msgid "Bad header line"
msgstr ""
msgid "Bad header line"
msgstr ""
-#: methods/http.cc:549 methods/http.cc:556
+#: methods/http.cc:550 methods/http.cc:557
msgid "The HTTP server sent an invalid reply header"
msgstr ""
msgid "The HTTP server sent an invalid reply header"
msgstr ""
msgid "The HTTP server sent an invalid Content-Length header"
msgstr ""
msgid "The HTTP server sent an invalid Content-Length header"
msgstr ""
msgid "The HTTP server sent an invalid Content-Range header"
msgstr ""
msgid "The HTTP server sent an invalid Content-Range header"
msgstr ""
msgid "This HTTP server has broken range support"
msgstr ""
msgid "This HTTP server has broken range support"
msgstr ""
msgid "Unknown date format"
msgstr ""
msgid "Unknown date format"
msgstr ""
msgid "Select failed"
msgstr ""
msgid "Select failed"
msgstr ""
msgid "Connection timed out"
msgstr ""
msgid "Connection timed out"
msgstr ""
msgid "Error writing to output file"
msgstr ""
msgid "Error writing to output file"
msgstr ""
msgid "Error writing to file"
msgstr ""
msgid "Error writing to file"
msgstr ""
msgid "Error writing to the file"
msgstr ""
msgid "Error writing to the file"
msgstr ""
msgid "Error reading from server. Remote end closed connection"
msgstr ""
msgid "Error reading from server. Remote end closed connection"
msgstr ""
msgid "Error reading from server"
msgstr ""
msgid "Error reading from server"
msgstr ""
msgid "Bad header data"
msgstr ""
msgid "Bad header data"
msgstr ""
msgid "Connection failed"
msgstr ""
msgid "Connection failed"
msgstr ""
msgid "Internal error"
msgstr ""
msgid "Internal error"
msgstr ""
msgid "Syntax error %s:%u: Extra junk at end of file"
msgstr ""
msgid "Syntax error %s:%u: Extra junk at end of file"
msgstr ""
-#: apt-pkg/contrib/progress.cc:154
+#: apt-pkg/contrib/progress.cc:155
#, c-format
msgid "%c%s... Error!"
msgstr ""
#, c-format
msgid "%c%s... Error!"
msgstr ""
-#: apt-pkg/contrib/progress.cc:156
+#: apt-pkg/contrib/progress.cc:157
#, c-format
msgid "%c%s... Done"
msgstr ""
#, c-format
msgid "%c%s... Done"
msgstr ""
"The package %s needs to be reinstalled, but I can't find an archive for it."
msgstr ""
"The package %s needs to be reinstalled, but I can't find an archive for it."
msgstr ""
-#: apt-pkg/algorithms.cc:1059
+#: apt-pkg/algorithms.cc:1061
msgid ""
"Error, pkgProblemResolver::Resolve generated breaks, this may be caused by "
"held packages."
msgstr ""
msgid ""
"Error, pkgProblemResolver::Resolve generated breaks, this may be caused by "
"held packages."
msgstr ""
-#: apt-pkg/algorithms.cc:1061
+#: apt-pkg/algorithms.cc:1063
msgid "Unable to correct problems, you have held broken packages."
msgstr ""
msgid "Unable to correct problems, you have held broken packages."
msgstr ""