From d8a7e15834967b6df72ebb495b92f585d9b7fa1b Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Tue, 13 May 2008 14:44:11 +0200 Subject: [PATCH] [ARCHIVE] Extract changelogs at least for pool-using releases Which is currently woody only. --- config.sh.sed.in | 4 ++-- lib/Packages/DoShow.pm | 8 ++++++-- templates/config.tmpl | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/config.sh.sed.in b/config.sh.sed.in index 339fb5f..4931dbc 100644 --- a/config.sh.sed.in +++ b/config.sh.sed.in @@ -19,12 +19,12 @@ cachedir=${topdir}/cache # unset this if %SITE% moves somewhere where the packages files # cannot be obtained locally # -#localdir=/org/ftp.debian.org/debian +localdir=/srv/archive.debian.org/ftp # path to private ftp directory #ftproot=/org/ftp.root -ftpsite=http://archive.debian.org/ +ftpsite=http://archive.debian.org/debian-archive ddtp_ftpsite=http://ddtp.debian.net/debian wget_cmd="wget --no-verbose --tries=2 --timeout=60" diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 3964e78..e0c2627 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -241,11 +241,13 @@ sub do_show { # # more information # + my $changesandcopy = 0; + $changesandcopy = 1 if $suite eq "woody"; moreinfo( name => $pkg, data => $page, vars => \%contents, opts => $opts, env => \%FTP_SITES, bugreports => 1, sourcedownload => 1, - changesandcopy => 0, maintainers => 1, + changesandcopy => $changesandcopy, maintainers => 1, search => 1 ); } else { # unless $page->is_virtual $contents{is_virtual} = 1; @@ -321,11 +323,13 @@ sub do_show { # # more information # + my $changesandcopy = 0; + $changesandcopy = 1 if $suite eq "woody"; moreinfo( name => $pkg, data => $page, vars => \%contents, opts => $opts, env => \%FTP_SITES, bugreports => 1, - changesandcopy => 0, maintainers => 1, + changesandcopy => $changesandcopy, maintainers => 1, search => 1, is_source => 1 ); } # else (unless $opts->{source}) diff --git a/templates/config.tmpl b/templates/config.tmpl index 006583e..70f14a8 100644 --- a/templates/config.tmpl +++ b/templates/config.tmpl @@ -17,7 +17,7 @@ security_mirror = 'security.debian.org' security_mirror_url = security_mirror _ '/debian-security' security_suite_suffix = '/updates' - changelogs_url = 'http://packages.debian.org/changelogs/' + changelogs_url = 'http://archive.debian.net/changelogs/' policy_url = 'http://www.debian.org/doc/debian-policy/' cn_help_url = project_homepage _ 'intro/cn' logo = { -- 2.39.2