Package: aptitude
Version: 0.6.3-3.2+squeeze1
Severity: normal
Tags: patch

       Hi!

 Given that backports is now in the main pool and that the changelogs of
packages are available at the usual place, aptitude changelog should
show those changelogs, too.

 I did a quick testbuild for myself, and the patch is as simple as:

#v+
--- aptitude-0.6.8.2.orig/src/cmdline/cmdline_changelog.cc
+++ aptitude-0.6.8.2/src/cmdline/cmdline_changelog.cc
@@ -325,7 +325,8 @@ void do_cmdline_changelog(const vector<s
              for(pkgCache::VerFileIterator vf=ver.FileList();
                  !vf.end() && !in_debian; ++vf)
                if(!vf.File().end() && vf.File().Origin()!=NULL &&
-                  strcmp(vf.File().Origin(), "Debian")==0)
+                  (strcmp(vf.File().Origin(), "Debian")==0 ||
+                   strcmp(vf.File().Origin(), "Debian Backports")==0))
                  in_debian=true;
 
              if(!in_debian)
#v-

 I.e., allowing "Debian Backports" as Origin, too.

 Please apply that patch to unstable, and it would be extra nice if you
could run it through a stable update for wheezy, too.

 Enjoy!
Rhonda
-- 
Fühlst du dich mutlos, fass endlich Mut, los      |
Fühlst du dich hilflos, geh raus und hilf, los    | Wir sind Helden
Fühlst du dich machtlos, geh raus und mach, los   | 23.55: Alles auf Anfang
Fühlst du dich haltlos, such Halt und lass los    |

_______________________________________________
Aptitude-devel mailing list
Aptitude-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to