summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-05-26 18:17:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-05-26 18:17:09 +0200
commitc833c7a16381c383588265bbb35ed24ad383b53f (patch)
tree8120ac41cd8204a6cbfd7796c3cab0a7d576990a
parent6627bdccce46a9acdae09d37e6e1444a5f7384e1 (diff)
* methods/http.cc: change user agent from debian to ubuntu
-rw-r--r--configure.in2
-rw-r--r--debian/changelog7
-rw-r--r--methods/http.cc2
3 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 2e92bd0a9..bb15eeb85 100644
--- a/configure.in
+++ b/configure.in
@@ -18,7 +18,7 @@ AC_CONFIG_AUX_DIR(buildlib)
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.43.3ubuntu1")
+AC_DEFINE_UNQUOTED(VERSION,"0.6.43.3ubuntu3")
PACKAGE="apt"
AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
AC_SUBST(PACKAGE)
diff --git a/debian/changelog b/debian/changelog
index e8962595f..08ba10a63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+apt (0.6.43.3ubuntu3) dapper; urgency=low
+
+ * methods/http.cc:
+ - fix the user-agent string
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 26 May 2006 18:09:32 +0200
+
apt (0.6.43.3ubuntu2) dapper; urgency=low
* apt-pkg/deb/dpkgpm.cc: wording fixes (thanks to Matt Zimmerman)
diff --git a/methods/http.cc b/methods/http.cc
index 341de94e3..09dab8188 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -714,7 +714,7 @@ void HttpMethod::SendReq(FetchItem *Itm,CircleBuf &Out)
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: Ubuntu APT-HTTP/1.3\r\n\r\n";
if (Debug == true)
cerr << Req << endl;