blob: 0a7ba6ffae421a7aba599eef6caf08f0f919a5f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
|
#!/bin/sh
. ./common.sh
AMIRROR=http://old-releases.ubuntu.com/ubuntu/
CMIRROR=http://ftp.nluug.nl/os/Linux/distr/ubuntu/
# Shortcut for a standard Ubuntu repo, usage:
# stdrepo name mirror arch
stdrepo() {
local ARCH=${3:-"i386"}
index_deb ubuntu-$1 $2 $1 "main multiverse restricted universe" "" $ARCH
index_deb ubuntu-$1 $2 $1-updates "main multiverse restricted universe" "" $ARCH
index_deb ubuntu-$1 $2 $1-security "main multiverse restricted universe" "" $ARCH
}
case $1 in
warty)
index_deb ubuntu-warty $AMIRROR warty "main multiverse restricted universe"
index_deb ubuntu-warty $AMIRROR warty-updates "main multiverse restricted universe" "dists/warty/Contents-i386.gz"
index_deb ubuntu-warty $AMIRROR warty-security "main multiverse restricted universe" "dists/warty/Contents-i386.gz"
;;
hoary)
index_deb ubuntu-hoary $AMIRROR hoary "main multiverse restricted universe"
index_deb ubuntu-hoary $AMIRROR hoary-updates "main multiverse restricted universe" "dists/hoary/Contents-i386.gz"
index_deb ubuntu-hoary $AMIRROR hoary-security "main multiverse restricted universe" "dists/hoary/Contents-i386.gz"
;;
breezy)
index_deb ubuntu-breezy $AMIRROR breezy "main multiverse restricted universe"
index_deb ubuntu-breezy $AMIRROR breezy-updates "main multiverse restricted universe" "dists/breezy/Contents-i386.gz"
index_deb ubuntu-breezy $AMIRROR breezy-security "main multiverse restricted universe" "dists/breezy/Contents-i386.gz"
;;
dapper)
# dists/dapper/ has an empty Contents-i386.gz; but that's handled properly (by downloading every package -.-).
stdrepo dapper $AMIRROR
;;
edgy)
index_deb ubuntu-edgy $AMIRROR edgy "main multiverse restricted universe"
index_deb ubuntu-edgy $AMIRROR edgy-updates "main multiverse restricted universe" "dists/edgy/Contents-i386.gz"
index_deb ubuntu-edgy $AMIRROR edgy-security "main multiverse restricted universe" "dists/edgy/Contents-i386.gz"
;;
feisty)
stdrepo feisty $AMIRROR
;;
gutsy)
stdrepo gutsy $AMIRROR
;;
hardy)
stdrepo hardy $AMIRROR
;;
intrepid)
stdrepo intrepid $AMIRROR
;;
jaunty)
stdrepo jaunty $AMIRROR
;;
karmic)
stdrepo karmic $AMIRROR
;;
lucid)
stdrepo lucid $AMIRROR
;;
maverick)
stdrepo maverick $AMIRROR
;;
natty)
stdrepo natty $AMIRROR
;;
oneiric)
stdrepo oneiric $AMIRROR
;;
precise)
stdrepo precise $CMIRROR
;;
quantal)
stdrepo quantal $AMIRROR
;;
raring)
stdrepo raring $AMIRROR
;;
saucy)
stdrepo saucy $AMIRROR
;;
trusty)
stdrepo trusty $CMIRROR
;;
utopic)
stdrepo utopic $AMIRROR
;;
vivid)
stdrepo vivid $CMIRROR
;;
wily)
stdrepo wily $CMIRROR
;;
xenial)
stdrepo xenial $CMIRROR
;;
yakkety)
stdrepo yakkety $CMIRROR
;;
zesty)
stdrepo zesty $CMIRROR amd64
;;
artful)
stdrepo artful $CMIRROR amd64
;;
bionic)
stdrepo bionic $CMIRROR amd64
;;
cosmic)
stdrepo cosmic $CMIRROR amd64
;;
disco)
stdrepo disco $CMIRROR amd64
;;
eoan)
stdrepo eoan $CMIRROR amd64
;;
focal)
stdrepo focal $CMIRROR amd64
;;
groovy)
stdrepo groovy $CMIRROR amd64
;;
hirsute)
stdrepo hirsute $CMIRROR amd64
;;
impish)
stdrepo impish $CMIRROR amd64
;;
jammy)
stdrepo jammy $CMIRROR amd64
;;
kinetic)
stdrepo kinetic $CMIRROR amd64
;;
lunar)
stdrepo lunar $CMIRROR amd64
;;
mantic)
stdrepo mantic $CMIRROR amd64
;;
old)
$0 warty
$0 hoary
$0 breezy
$0 dapper
$0 edgy
$0 feisty
$0 gutsy
$0 intrepid
$0 jaunty
$0 karmic
$0 lucid
$0 maverick
$0 natty
$0 hardy
$0 oneiric
$0 precise
$0 raring
$0 quantal
$0 saucy
$0 trusty
$0 utopic
$0 vivid
$0 wily
$0 xenial
$0 yakkety
$0 zesty
$0 artful
$0 cosmic
$0 disco
$0 eoan
$0 groovy
$0 hirsute
$0 impish
$0 kinetic
;;
current)
$0 bionic # until 2028-04
$0 focal # until 2030-04
$0 jammy # until 2032-04
$0 lunar # until 2024-01
$0 mantic # until 2024-07
;;
all)
$0 old
$0 current
;;
esac
|