Various changes/fixes, 3 new distro versions
This commit is contained in:
parent
a2f3692f3c
commit
2da67d585c
9 changed files with 58 additions and 17 deletions
2
Makefile
2
Makefile
|
|
@ -1,7 +1,7 @@
|
||||||
.PHONY: ManUtils
|
.PHONY: ManUtils
|
||||||
|
|
||||||
ManUtils: lib/ManUtils/Build
|
ManUtils: lib/ManUtils/Build
|
||||||
cd lib/ManUtils && ./Build install --install-base=inst
|
cd lib/ManUtils && perl Build.PL && ./Build install --install-base=inst
|
||||||
|
|
||||||
lib/ManUtils/Build: lib/ManUtils/Build.PL
|
lib/ManUtils/Build: lib/ManUtils/Build.PL
|
||||||
cd lib/ManUtils && perl Build.PL
|
cd lib/ManUtils && perl Build.PL
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,9 @@ sub fmt {
|
||||||
# Disable hyphenation, since that screws up man page references. :-(
|
# Disable hyphenation, since that screws up man page references. :-(
|
||||||
$input = ".hy 0\n.de hy\n..\n$input";
|
$input = ".hy 0\n.de hy\n..\n$input";
|
||||||
|
|
||||||
|
# Emulate man-db's --nj option
|
||||||
|
$input = ".na\n.de ad\n..\n$input";
|
||||||
|
|
||||||
$input = encode_utf8($input);
|
$input = encode_utf8($input);
|
||||||
|
|
||||||
# Call grog to figure out which preprocessors to use.
|
# Call grog to figure out which preprocessors to use.
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,10 @@ INSERT INTO systems (id, name, release, short, relorder) VALUES
|
||||||
(85, 'FreeBSD', '9.1', 'freebsd-9.1', 53),
|
(85, 'FreeBSD', '9.1', 'freebsd-9.1', 53),
|
||||||
(86, 'FreeBSD', '9.2', 'freebsd-9.2', 54),
|
(86, 'FreeBSD', '9.2', 'freebsd-9.2', 54),
|
||||||
(87, 'Ubuntu', '13.10', 'ubuntu-saucy', 18),
|
(87, 'Ubuntu', '13.10', 'ubuntu-saucy', 18),
|
||||||
(88, 'Ubuntu', '14.04', 'ubuntu-trusty', 19);
|
(88, 'Ubuntu', '14.04', 'ubuntu-trusty', 19),
|
||||||
|
(89, 'Ubuntu', '14.10', 'ubuntu-utopic', 20),
|
||||||
|
(90, 'Ubuntu', '15.04', 'ubuntu-vivid', 21),
|
||||||
|
(91, 'Debian', '8.0', 'debian-jessie', 12);
|
||||||
|
|
||||||
-- Removes any path components and compression extensions from the filename.
|
-- Removes any path components and compression extensions from the filename.
|
||||||
CREATE OR REPLACE FUNCTION basename_from_filename(fn text) RETURNS text AS $$
|
CREATE OR REPLACE FUNCTION basename_from_filename(fn text) RETURNS text AS $$
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
# Usage: ./arch.sh
|
# Usage: ./arch.sh
|
||||||
# Synchronises the database with an Arch mirror, fetching any packages that
|
# Synchronises the database with an Arch mirror, fetching any packages that
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
CURL="curl -fSs -A manual-page-crawler,info@manned.org --limit-rate 500k"
|
CURL="curl -fSs -A manual-page-crawler,info@manned.org --limit-rate 500k"
|
||||||
PSQL="psql -U manned -Awtq"
|
PSQL="psql -U manned -Awtq"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
. ./common.sh
|
. ./common.sh
|
||||||
|
|
||||||
|
|
|
||||||
26
util/deb.sh
26
util/deb.sh
|
|
@ -271,6 +271,18 @@ ubuntu_trusty() {
|
||||||
syncrepo 88 "http://nl.archive.ubuntu.com/ubuntu/" "trusty-security" "main multiverse restricted universe"
|
syncrepo 88 "http://nl.archive.ubuntu.com/ubuntu/" "trusty-security" "main multiverse restricted universe"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ubuntu_utopic() {
|
||||||
|
syncrepo 89 "http://nl.archive.ubuntu.com/ubuntu/" "utopic" "main multiverse restricted universe"
|
||||||
|
syncrepo 89 "http://nl.archive.ubuntu.com/ubuntu/" "utopic-updates" "main multiverse restricted universe"
|
||||||
|
syncrepo 89 "http://nl.archive.ubuntu.com/ubuntu/" "utopic-security" "main multiverse restricted universe"
|
||||||
|
}
|
||||||
|
|
||||||
|
ubuntu_vivid() {
|
||||||
|
syncrepo 90 "http://nl.archive.ubuntu.com/ubuntu/" "vivid" "main multiverse restricted universe"
|
||||||
|
syncrepo 90 "http://nl.archive.ubuntu.com/ubuntu/" "vivid-updates" "main multiverse restricted universe"
|
||||||
|
syncrepo 90 "http://nl.archive.ubuntu.com/ubuntu/" "vivid-security" "main multiverse restricted universe"
|
||||||
|
}
|
||||||
|
|
||||||
ubuntu_old() {
|
ubuntu_old() {
|
||||||
ubuntu_warty
|
ubuntu_warty
|
||||||
ubuntu_hoary
|
ubuntu_hoary
|
||||||
|
|
@ -282,6 +294,7 @@ ubuntu_old() {
|
||||||
ubuntu_intrepid
|
ubuntu_intrepid
|
||||||
ubuntu_jaunty
|
ubuntu_jaunty
|
||||||
ubuntu_karmic
|
ubuntu_karmic
|
||||||
|
ubuntu_lucid
|
||||||
ubuntu_maverick
|
ubuntu_maverick
|
||||||
ubuntu_natty
|
ubuntu_natty
|
||||||
ubuntu_hardy
|
ubuntu_hardy
|
||||||
|
|
@ -292,9 +305,10 @@ ubuntu_old() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ubuntu_active() {
|
ubuntu_active() {
|
||||||
ubuntu_lucid # until 2015-04
|
|
||||||
ubuntu_precise # until 2017-04
|
ubuntu_precise # until 2017-04
|
||||||
ubuntu_trusty # until 2019-04
|
ubuntu_trusty # until 2019-04
|
||||||
|
ubuntu_utopic # until 2015-07
|
||||||
|
ubuntu_vivid # until 2016-01
|
||||||
}
|
}
|
||||||
|
|
||||||
ubuntu() {
|
ubuntu() {
|
||||||
|
|
@ -359,6 +373,15 @@ debian_wheezy() {
|
||||||
syncrepo 83 "http://ftp.nl.debian.org/debian/" "wheezy-updates" "non-free" "dists/wheezy-updates/non-free/Contents-i386.gz"
|
syncrepo 83 "http://ftp.nl.debian.org/debian/" "wheezy-updates" "non-free" "dists/wheezy-updates/non-free/Contents-i386.gz"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
debian_jessie() {
|
||||||
|
syncrepo 91 "http://ftp.nl.debian.org/debian/" "jessie" "main" "dists/jessie/main/Contents-i386.gz"
|
||||||
|
syncrepo 91 "http://ftp.nl.debian.org/debian/" "jessie" "contrib" "dists/jessie/contrib/Contents-i386.gz"
|
||||||
|
syncrepo 91 "http://ftp.nl.debian.org/debian/" "jessie" "non-free" "dists/jessie/non-free/Contents-i386.gz"
|
||||||
|
syncrepo 91 "http://ftp.nl.debian.org/debian/" "jessie-updates" "main" "dists/jessie-updates/main/Contents-i386.gz"
|
||||||
|
syncrepo 91 "http://ftp.nl.debian.org/debian/" "jessie-updates" "contrib" "dists/jessie-updates/contrib/Contents-i386.gz"
|
||||||
|
syncrepo 91 "http://ftp.nl.debian.org/debian/" "jessie-updates" "non-free" "dists/jessie-updates/non-free/Contents-i386.gz"
|
||||||
|
}
|
||||||
|
|
||||||
debian_old() {
|
debian_old() {
|
||||||
debian_buzz
|
debian_buzz
|
||||||
debian_rex
|
debian_rex
|
||||||
|
|
@ -375,6 +398,7 @@ debian_old() {
|
||||||
debian_active() {
|
debian_active() {
|
||||||
debian_squeeze
|
debian_squeeze
|
||||||
debian_wheezy
|
debian_wheezy
|
||||||
|
debian_jessie
|
||||||
}
|
}
|
||||||
|
|
||||||
debian() {
|
debian() {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
. ./common.sh
|
. ./common.sh
|
||||||
|
|
||||||
|
|
@ -727,6 +727,14 @@ f9_2() {
|
||||||
check_pkgdir 86 "$MIR/packages"
|
check_pkgdir 86 "$MIR/packages"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
f9_3() {
|
||||||
|
MIR="http://ftp.dk.freebsd.org/pub/FreeBSD/releases/i386/9.2-RELEASE/"
|
||||||
|
echo "============ $MIR"
|
||||||
|
check_dist 86 "$MIR/base.txz" "core-base" "2013-09-27"
|
||||||
|
check_dist 86 "$MIR/games.txz" "core-games" "2013-09-27"
|
||||||
|
check_pkgdir 86 "$MIR/packages"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
old() {
|
old() {
|
||||||
f1_0
|
f1_0
|
||||||
|
|
|
||||||
24
www/index.pl
24
www/index.pl
|
|
@ -43,16 +43,18 @@ TUWF::set(
|
||||||
|
|
||||||
|
|
||||||
# TODO: Abstract this into the systems table?
|
# TODO: Abstract this into the systems table?
|
||||||
$TUWF::OBJ->{pkglinks} = {
|
$TUWF::OBJ->{pkglinks} = { };
|
||||||
arch => sub { "http://www.archlinux.org/packages/$_[0]{category}/i686/$_[0]{name}/" },
|
# arch => sub { "http://www.archlinux.org/packages/$_[0]{category}/i686/$_[0]{name}/" },
|
||||||
'debian-squeeze' => sub { "http://packages.debian.org/squeeze/$_[0]{name}" },
|
# 'debian-squeeze' => sub { "http://packages.debian.org/squeeze/$_[0]{name}" },
|
||||||
'debian-wheezy' => sub { "http://packages.debian.org/wheezy/$_[0]{name}" },
|
# 'debian-wheezy' => sub { "http://packages.debian.org/wheezy/$_[0]{name}" },
|
||||||
'ubuntu-lucid' => sub { "http://packages.ubuntu.com/lucid/$_[0]{name}" },
|
# 'ubuntu-lucid' => sub { "http://packages.ubuntu.com/lucid/$_[0]{name}" },
|
||||||
'ubuntu-precise' => sub { "http://packages.ubuntu.com/precise/$_[0]{name}" },
|
# 'ubuntu-precise' => sub { "http://packages.ubuntu.com/precise/$_[0]{name}" },
|
||||||
'ubuntu-quantal' => sub { "http://packages.ubuntu.com/quantal/$_[0]{name}" },
|
# 'ubuntu-quantal' => sub { "http://packages.ubuntu.com/quantal/$_[0]{name}" },
|
||||||
'ubuntu-raring' => sub { "http://packages.ubuntu.com/raring/$_[0]{name}" },
|
# 'ubuntu-raring' => sub { "http://packages.ubuntu.com/raring/$_[0]{name}" },
|
||||||
'ubuntu-saucy' => sub { "http://packages.ubuntu.com/saucy/$_[0]{name}" },
|
# 'ubuntu-saucy' => sub { "http://packages.ubuntu.com/saucy/$_[0]{name}" },
|
||||||
};
|
# 'ubuntu-trusty' => sub { "http://packages.ubuntu.com/trusty/$_[0]{name}" },
|
||||||
|
# 'ubuntu-utopic' => sub { "http://packages.ubuntu.com/utopic/$_[0]{name}" },
|
||||||
|
#};
|
||||||
|
|
||||||
|
|
||||||
TUWF::register(
|
TUWF::register(
|
||||||
|
|
@ -609,7 +611,7 @@ sub htmlHeader {
|
||||||
div id => 'header';
|
div id => 'header';
|
||||||
a href => '/', 'manned.org';
|
a href => '/', 'manned.org';
|
||||||
form action => '/browse/search', method => 'get';
|
form action => '/browse/search', method => 'get';
|
||||||
input type => 'text', name => 'q', id => 'q';
|
input type => 'text', name => 'q', id => 'q', tabindex => 1;
|
||||||
input type => 'submit', value => ' ';
|
input type => 'submit', value => ' ';
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue