diff --git a/schema.sql b/schema.sql index f16bdeb..af3114e 100644 --- a/schema.sql +++ b/schema.sql @@ -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. diff --git a/util/deb.sh b/util/deb.sh index c0b7b9c..5889f1d 100755 --- a/util/deb.sh +++ b/util/deb.sh @@ -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 } diff --git a/www/index.pl b/www/index.pl index bac7393..33cb5c4 100755 --- a/www/index.pl +++ b/www/index.pl @@ -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 561,179 versions of 131,879 manual pages found in - 1,854,105 files of 196,356 packages. + Indexing 612,354 versions of 132,474 manual pages found in + 2,056,796 files of 217,369 packages.

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