Added Debian Lenny & Squeeze

This commit is contained in:
Yorhel 2012-07-06 18:56:24 +02:00
parent 39e61a3cfb
commit b463d8e87e
3 changed files with 31 additions and 3 deletions

View file

@ -79,7 +79,9 @@ INSERT INTO systems (id, name, release, short, relorder) VALUES
(23, 'Debian', '2.2', 'debian-potato', 5),
(24, 'Debian', '3.0', 'debian-woody', 6),
(25, 'Debian', '3.1', 'debian-sarge', 7),
(26, 'Debian', '4.0', 'debian-etch', 8);
(26, 'Debian', '4.0', 'debian-etch', 8),
(27, 'Debian', '5.0', 'debian-lenny', 9),
(28, 'Debian', '6.0', 'debian-squeeze', 10);
-- Removes any path components and compression extensions from the filename.

View file

@ -139,7 +139,9 @@ EOP
# TODO: Index stuff from snapshot.debian.org
# TODO: backports?
# TODO: Debian testing?
ubuntu_warty() {
syncrepo 2 "http://old-releases.ubuntu.com/ubuntu/" "warty" "main multiverse restricted universe"
@ -271,6 +273,11 @@ ubuntu_active() {
ubuntu_precise # until 2017-04
}
ubuntu() {
ubuntu_old
ubuntu_active
}
debian_buzz() {
# Contrib uses a rather non-standard arch directory ("binary" and "binary-all"), so let's stick with main for now.
@ -311,6 +318,15 @@ debian_etch() {
syncrepo 26 "http://archive.debian.org/debian/" "etch" "main contrib non-free"
}
debian_lenny() {
syncrepo 27 "http://archive.debian.org/debian/" "lenny" "main contrib non-free"
}
debian_squeeze() {
syncrepo 28 "http://ftp.nl.debian.org/debian/" "squeeze" "main contrib non-free"
syncrepo 28 "http://ftp.nl.debian.org/debian/" "squeeze-updates" "main contrib non-free"
}
debian_old() {
debian_buzz
debian_rex
@ -321,6 +337,16 @@ debian_old() {
debian_woody
debian_sarge
debian_etch
debian_lenny
}
debian_active() {
debian_squeeze
}
debian() {
debian_old
debian_active
}

View file

@ -57,8 +57,8 @@ sub home {
# Relevant query: SELECT count(distinct hash), count(distinct name), count(*), count(distinct package) FROM man;
# It's far too slow to run that on every pageview. :-(
p style => 'float: none'; lit <<' _';
Indexing <b>561,179</b> versions of <b>131,879</b> manual pages found in
<b>1,854,105</b> files of <b>196,356</b> packages.
Indexing <b>612,354</b> versions of <b>132,474</b> manual pages found in
<b>2,056,796</b> files of <b>217,369</b> packages.
<br /><br />
Manned.org aims to index all manual pages from a variety of systems, both
old and new, and provides a convenient interface for looking up and viewing