[Aptitude-devel] Bug#714619: aptitude changelog doesn't show changelogs for backports packages
Gerfried Fuchs
rhonda at debian.org
Mon Jul 1 11:35:53 UTC 2013
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 |
More information about the Aptitude-devel
mailing list