Added Ubuntu 6.06
This commit is contained in:
parent
31e0d5ff08
commit
7015defba1
2 changed files with 42 additions and 12 deletions
|
|
@ -56,7 +56,8 @@ INSERT INTO systems (id, name, release, short, relorder) VALUES
|
|||
(1, 'Arch Linux', NULL, 'arch', 0),
|
||||
(2, 'Ubuntu', '4.10', 'ubuntu-warty', 0),
|
||||
(3, 'Ubuntu', '5.04', 'ubuntu-hoary', 1),
|
||||
(4, 'Ubuntu', '5.10', 'ubuntu-breezy', 2);
|
||||
(4, 'Ubuntu', '5.10', 'ubuntu-breezy', 2),
|
||||
(5, 'Ubuntu', '6.06', 'ubuntu-dapper', 3);
|
||||
|
||||
|
||||
-- Removes any path components and compression extensions from the filename.
|
||||
|
|
|
|||
51
util/deb.sh
51
util/deb.sh
|
|
@ -49,8 +49,10 @@ syncrepo() {
|
|||
CFN="$TMP/Contents"
|
||||
PFN="$TMP/Packages"
|
||||
printf "" >"$PFN"
|
||||
$CURL "$REPO/$CONTENTSURL" -o "$CFN.gz" || return 1
|
||||
gunzip "$CFN.gz"
|
||||
if [ "$CONTENTSURL" != "-" ]; then
|
||||
$CURL "$REPO/$CONTENTSURL" -o "$CFN.gz" || return 1
|
||||
gunzip "$CFN.gz"
|
||||
fi
|
||||
|
||||
for CMP in $COMPONENTS; do
|
||||
echo "MANDIFF-COMPONENT: $CMP" >>"$PFN"
|
||||
|
|
@ -103,19 +105,46 @@ EOP
|
|||
rm -f "$TMP/fifo" "$CFN" "$PFN"
|
||||
}
|
||||
|
||||
|
||||
# TODO: backports?
|
||||
|
||||
#syncrepo 2 "http://old-releases.ubuntu.com/ubuntu/" "warty" "main multiverse restricted universe"
|
||||
#syncrepo 2 "http://old-releases.ubuntu.com/ubuntu/" "warty-updates" "main multiverse restricted universe" "dists/warty/Contents-i386.gz"
|
||||
#syncrepo 2 "http://old-releases.ubuntu.com/ubuntu/" "warty-security" "main multiverse restricted universe" "dists/warty/Contents-i386.gz"
|
||||
ubuntu_warty() {
|
||||
syncrepo 2 "http://old-releases.ubuntu.com/ubuntu/" "warty" "main multiverse restricted universe"
|
||||
syncrepo 2 "http://old-releases.ubuntu.com/ubuntu/" "warty-updates" "main multiverse restricted universe" "dists/warty/Contents-i386.gz"
|
||||
syncrepo 2 "http://old-releases.ubuntu.com/ubuntu/" "warty-security" "main multiverse restricted universe" "dists/warty/Contents-i386.gz"
|
||||
}
|
||||
|
||||
#syncrepo 3 "http://old-releases.ubuntu.com/ubuntu/" "hoary" "main multiverse restricted universe"
|
||||
#syncrepo 3 "http://old-releases.ubuntu.com/ubuntu/" "hoary-updates" "main multiverse restricted universe" "dists/hoary/Contents-i386.gz"
|
||||
#syncrepo 3 "http://old-releases.ubuntu.com/ubuntu/" "hoary-security" "main multiverse restricted universe" "dists/hoary/Contents-i386.gz"
|
||||
ubuntu_hoary() {
|
||||
syncrepo 3 "http://old-releases.ubuntu.com/ubuntu/" "hoary" "main multiverse restricted universe"
|
||||
syncrepo 3 "http://old-releases.ubuntu.com/ubuntu/" "hoary-updates" "main multiverse restricted universe" "dists/hoary/Contents-i386.gz"
|
||||
syncrepo 3 "http://old-releases.ubuntu.com/ubuntu/" "hoary-security" "main multiverse restricted universe" "dists/hoary/Contents-i386.gz"
|
||||
}
|
||||
|
||||
#syncrepo 4 "http://old-releases.ubuntu.com/ubuntu/" "breezy" "main multiverse restricted universe"
|
||||
#syncrepo 4 "http://old-releases.ubuntu.com/ubuntu/" "breezy-updates" "main multiverse restricted universe" "dists/breezy/Contents-i386.gz"
|
||||
#syncrepo 4 "http://old-releases.ubuntu.com/ubuntu/" "breezy-security" "main multiverse restricted universe" "dists/breezy/Contents-i386.gz"
|
||||
ubuntu_breezy() {
|
||||
syncrepo 4 "http://old-releases.ubuntu.com/ubuntu/" "breezy" "main multiverse restricted universe"
|
||||
syncrepo 4 "http://old-releases.ubuntu.com/ubuntu/" "breezy-updates" "main multiverse restricted universe" "dists/breezy/Contents-i386.gz"
|
||||
syncrepo 4 "http://old-releases.ubuntu.com/ubuntu/" "breezy-security" "main multiverse restricted universe" "dists/breezy/Contents-i386.gz"
|
||||
}
|
||||
|
||||
ubuntu_dapper() {
|
||||
# Contents-i386.gz in dists/dapper/ is broken, so try to combine the files from breezy, edgy and Contents-hppa.gz.
|
||||
$CURL "http://old-releases.ubuntu.com/ubuntu/dists/dapper/Contents-hppa.gz" -o "$TMP/Contents-TMP.gz" || return
|
||||
zcat "$TMP/Contents-TMP.gz" > "$TMP/Contents"
|
||||
rm "$TMP/Contents-TMP.gz"
|
||||
$CURL "http://old-releases.ubuntu.com/ubuntu/dists/breezy/Contents-i386.gz" -o "$TMP/Contents-TMP.gz" || return
|
||||
zcat "$TMP/Contents-TMP.gz" >> "$TMP/Contents"
|
||||
rm "$TMP/Contents-TMP.gz"
|
||||
$CURL "http://old-releases.ubuntu.com/ubuntu/dists/edgy/Contents-i386.gz" -o "$TMP/Contents-TMP.gz" || return
|
||||
zcat "$TMP/Contents-TMP.gz" >> "$TMP/Contents"
|
||||
rm "$TMP/Contents-TMP.gz"
|
||||
syncrepo 5 "http://old-releases.ubuntu.com/ubuntu/" "dapper" "main multiverse restricted universe" -
|
||||
|
||||
# -updates and -security do have a functional Contents-i386.gz
|
||||
syncrepo 5 "http://old-releases.ubuntu.com/ubuntu/" "dapper-updates" "main multiverse restricted universe"
|
||||
syncrepo 5 "http://old-releases.ubuntu.com/ubuntu/" "dapper-security" "main multiverse restricted universe"
|
||||
}
|
||||
|
||||
ubuntu_dapper
|
||||
|
||||
rm -rf "$TMP"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue