ソースを参照

* imported the changes from 0.5.30 to 0.5.30ubuntu2

Michael Vogt 21 年 前
コミット
df96f2e54f
共有4 個のファイルを変更した17 個の追加8 個の削除を含む
  1. 4 1
      apt-pkg/acquire-item.cc
  2. 1 1
      configure.in
  3. 10 4
      debian/changelog
  4. 2 2
      debian/control

+ 4 - 1
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;

+ 1 - 1
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)

+ 10 - 4
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
 

+ 2 - 2
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)