summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2004-11-23 10:35:16 +0000
committerMichael Vogt <mvo@debian.org>2004-11-23 10:35:16 +0000
commitdf96f2e54f977e9c3d7531a97a0b84788ac3f44c (patch)
treeebb0d3369badff51a962c5eb790b5de35a7a5de7
parent4f1d712ccd299f7e14d997ab41b1c56b91dab473 (diff)
* imported the changes from 0.5.30 to 0.5.30ubuntu2
-rw-r--r--apt-pkg/acquire-item.cc5
-rw-r--r--configure.in2
-rw-r--r--debian/changelog14
-rw-r--r--debian/control4
4 files changed, 17 insertions, 8 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index bf19290c6..6227888b6 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -144,7 +144,10 @@ pkgAcqIndex::pkgAcqIndex(pkgAcquire *Owner,
DestFile += URItoFileName(URI);
// Create the item
- Desc.URI = URI + ".bz2";
+ if(FileExists("/usr/bin/bzip2"))
+ Desc.URI = URI + ".bz2";
+ else
+ Desc.URI = URI + ".gz";
Desc.Description = URIDesc;
Desc.Owner = this;
Desc.ShortDesc = ShortDesc;
diff --git a/configure.in b/configure.in
index f02ccd135..10feee63b 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.5.30")
+AC_DEFINE_UNQUOTED(VERSION,"0.5.30ubuntu2")
PACKAGE="apt"
AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
AC_SUBST(PACKAGE)
diff --git a/debian/changelog b/debian/changelog
index 606c119e4..a971e30b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,15 @@
-apt (0.5.31) unstable; urgency=low
+apt (0.5.30ubuntu2) hoary; urgency=low
- * New Romanian translation from Sorin Batariuc <sorin@bonbon.net>
- (Closes: #281458)
+ * bzip2 is now "Suggested" and it will detect if bzip2 is installed
+ and only then trying to get Packages.bz2
- --
+ -- Michael Vogt <mvo@debian.org> Fri, 19 Nov 2004 12:00:39 +0100
+
+apt (0.5.30ubuntu1) hoary; urgency=low
+
+ * Need to Depend: bzip2 or Packages.bz2 fail.
+
+ -- LaMont Jones <lamont@canonical.com> Thu, 18 Nov 2004 12:51:05 -0700
apt (0.5.30) hoary; urgency=low
diff --git a/debian/control b/debian/control
index 7bd0c368a..3ac709906 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Depends: ${shlibs:Depends}
Priority: important
Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7)
Provides: ${libapt-pkg:provides}
-Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc
+Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc, bzip2
Section: base
Description: Advanced front-end for dpkg
This is Debian's next generation front-end for the dpkg package manager.
@@ -52,7 +52,7 @@ Description: Documentation for APT development
Package: apt-utils
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: bzip2, ${shlibs:Depends}
Priority: optional
Provides: ${libapt-inst:provides}
Replaces: apt (<< 0.5.9)