case, you might have to adjust some of the steps.
1) Install git (package git-core). You will get a much more pleasant user
- experience if you use a version from backports.org or a self-compiled one
+ experience if you use a version from backports.debian.org or a self-compiled one
instead of etch's version.
2) Download the code from git://source.djpig.de/git/packages.git
(Something like `git clone git://source.djpig.de/git/packages.git')
3) Install the needed dependencies. A list can be found in debian/control.
One dependency can't be fulfilled directly from etch and is therefor not listed
there: the Search::Xapian perl module. You can either compile that yourself against
- libxapian from etch, use the backport on backports.org, or install the 0.9.9-1 deb
- from snapshots.debian.net.
+ libxapian from etch, use the backport on backports.debian.org, or install the
+ 0.9.9-1 deb from snapshot.debian.org.
4) Install apache2 (apache2-mpm-worker) and mod_perl (libapache2-mod-perl2)
5) Adjust the configuration to your needs. You should at least edit the following
files before starting to test (don't touch %TOPDIR% and %SITE%, as you will
010git -- pull changes from git
050checkinst -- check if all needed packages are installed
100syncarchive -- retrieve data from main Debian archive
-100syncarchive_backports -- retrieve data from backports.org
+100syncarchive_backports -- retrieve data from backports.debian.org
100syncarchive_debports -- retrieve data from debian-ports.org (m68k)
100syncarchive_installer -- retrieve d-i data
100syncarchive_m68k -- retrieve data for etch-m68k
my @archives = @ARCHIVES;
my @suites = @SUITES;
my @archs = @ARCHITECTURES;
+my %deborts_hash;
+@deborts_hash{qw( avr32 m68k powerpcspe sh4 sparc64 )} = ();
$DBDIR .= "/contents";
mkdirp( $DBDIR );
activate($filelist_db);
#FIXME: hardcoded archs. (debports has no contrib/non-free)
- if ($arch ne 'avr32' and $arch ne 'm68k') {
+ if (not exists $deborts_hash{$arch}) {
system("ln", "-sf", basename($filelist_db),
"$DBDIR/filelists_${suite}_all.db") == 0
or die "Oops";
ftpsite=http://archive.debian.org/debian
security_ftpsite=http://archive.debian.org/debian-security
volatile_ftpsite=http://archive.debian.org/debian-volatile
-backports_ftpsite=http://archive.debian.org/backports.org
+backports_ftpsite=http://archive.debian.org/debian-backports
ddtp_ftpsite=http://ftp.de.debian.org/debian
+debports_ftpsite=http://ftp.debian-ports.org/debian
wget_cmd="wget --no-verbose --tries=2 --timeout=60"
check_release_cmd="perl -I${libdir} ${bindir}/check-release --verbose --ignoremissing --keyring ${configdir}/trusted.gpg"
--- /dev/null
+#! /bin/bash
+
+. `dirname $0`/../config.sh
+
+test -d ${archivedir} || mkdir -p ${archivedir}
+cd ${archivedir}
+
+# Main archive
+#
+architectures="avr32 powerpcspe sh4 m68k sparc64"
+
+for dist in sid experimental
+ do
+ echo "retrieve Release(.gpg) $dist"
+ test -d debports/${dist} || mkdir -p debports/${dist}
+ (cd debports/${dist} &&
+ $wget_cmd -N ${debports_ftpsite}/dists/${dist}/Release &&
+ $wget_cmd -N ${debports_ftpsite}/dists/${dist}/Release.gpg )
+
+ for arch in $architectures
+ do
+ for part in ${parts} main/debian-installer
+ do
+ echo retrieve Packages $dist/$part/$arch
+ test -d debports/${dist}/${part}/binary-${arch} || mkdir -p debports/${dist}/${part}/binary-${arch}
+ (cd debports/${dist}/${part}/binary-${arch} &&
+ $wget_cmd -N ${debports_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
+ done
+ echo retrieve Contents $dist/$arch
+ (cd debports/${dist} &&
+ $wget_cmd -N ${debports_ftpsite}/dists/${dist}/Contents-${arch}.gz)
+ done
+
+ $check_release_cmd $archivedir/debports/${dist}/Release
+done
'etch-volatile' => 'etch',
'lenny-backports' => 'lenny',
'lenny-volatile' => 'lenny',
+ 'squeeze-backports' => 'squeeze',
experimental => 'sid' );
sub read_entry_simple {
#: lib/Packages/Sections.pm:82
msgid "Other OS's and file systems"
-msgstr "Autres OS et systèmes de fichiers"
+msgstr "Autres systèmes d'exploitation et systèmes de fichiers"
#: lib/Packages/Sections.pm:83
#| msgid ""
#: lib/Packages/Sections.pm:103
msgid "Translation packages and language support meta packages."
-msgstr "Paquets de traductions et meta-paquets de gestion des langues"
+msgstr "Paquets de traduction et méta-paquets de gestion des langues"
#: lib/Packages/Sections.pm:104
msgid "Utilities"
msgid ""
"You have searched for %s that names contain <em>%s</em> in %s, %s, and %s."
msgstr ""
-"Ihre Suche nach Paketen, deren Name <em>%s</em> enthält, in %s, %s, und "
+"Ihre Suche nach %s, deren Name <em>%s</em> enthält, in %s, %s, und "
"%s:"
#: templates/html/search.tmpl:87
"keywords or alternative keywords."
msgstr ""
"注意: 这里列出的是最符合搜索关键字要求的结果,并按相关性作了排序。如果前几个"
-"包不是您要找的,请尝试更多的或者其它的关键字。"
+"包不是您要找的,请尝试更多的或者其他的关键字。"
#: templates/html/search.tmpl:104
#, fuzzy
#: templates/html/show.tmpl:243
msgid "Other Packages Related to %s"
-msgstr "其它与 %s 有关的软件包"
+msgstr "其他与 %s 有关的软件包"
#: templates/html/show.tmpl:245
msgid "legend"
"keywords or alternative keywords."
msgstr ""
"注意: 這裡列出的是最符合搜尋關鍵字要求的結果,並按相關性作了排序。如果前幾個"
-"包不是您要找的,請嘗試更多的或者其它的關鍵字。"
+"包不是您要找的,請嘗試更多的或者其他的關鍵字。"
#: templates/html/search.tmpl:104
msgid ""
#: templates/html/show.tmpl:243
msgid "Other Packages Related to %s"
-msgstr "其它與 %s 有關的套件"
+msgstr "其他與 %s 有關的套件"
#: templates/html/show.tmpl:245
msgid "legend"
.sarge-volatile, .sarge-backports, .etch-m68k, .etch-backports,
-.lenny-volatile, .lenny-backports {
+.lenny-volatile, .lenny-backports .squeeze-backports {
font-size: smaller;
}
"kfreebsd-i386" => g('GNU/kFreeBSD (i386)'),
"kfreebsd-amd64" => g('GNU/kFreeBSD (amd64)'),
avr32 => g('AVR32'),
+ powerpcspe => g('PowerPC SPE (e500 core)'),
+ sh4 => g('SH4'),
+ sparc64 => g('Sparc64'),
}
%]
],
},
backports => {
- url => 'http://www.backports.org/',
+ url => 'http://backports.debian.org/',
title => g('newer packages that have been adapted to stable releases of Debian'),
europa => [
"archive.debian.org/backports.org",