Редакция 146 | Содержимое файла | Сравнить с предыдущей | Последнее изменение | Открыть журнал | RSS
Редакция | Автор | № строки | Строка |
---|---|---|---|
56 | alex-w | 1 | -- phpMyAdmin SQL Dump |
2 | -- version 3.0.0-alpha |
||
3 | -- http://www.phpmyadmin.net |
||
4 | -- |
||
5 | -- Хост: localhost |
||
144 | alex-w | 6 | -- Время создания: Апр 01 2009 г., 14:43 |
56 | alex-w | 7 | -- Версия сервера: 5.0.51 |
8 | -- Версия PHP: 5.2.6-1+lenny2 |
||
9 | |||
10 | SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
||
11 | |||
12 | |||
13 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
||
14 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
||
15 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
||
16 | /*!40101 SET NAMES utf8 */; |
||
17 | |||
18 | -- |
||
19 | -- База данных: `ant` |
||
20 | -- |
||
21 | |||
22 | -- -------------------------------------------------------- |
||
23 | |||
24 | -- |
||
25 | -- Структура таблицы `arch` |
||
26 | -- |
||
27 | |||
28 | CREATE TABLE IF NOT EXISTS `arch` ( |
||
29 | `arch_id` int(2) NOT NULL auto_increment, |
||
30 | `arch` varchar(10) default NULL, |
||
31 | PRIMARY KEY (`arch_id`) |
||
32 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; |
||
33 | |||
34 | -- |
||
35 | -- Дамп данных таблицы `arch` |
||
36 | -- |
||
37 | |||
38 | INSERT INTO `arch` (`arch_id`, `arch`) VALUES |
||
39 | (1, 'i386'), |
||
40 | (2, 'amd64'); |
||
41 | |||
42 | -- -------------------------------------------------------- |
||
43 | |||
44 | -- |
||
45 | -- Структура таблицы `arch2rep` |
||
46 | -- |
||
47 | |||
48 | CREATE TABLE IF NOT EXISTS `arch2rep` ( |
||
49 | `id` int(11) NOT NULL auto_increment, |
||
50 | `arch_id` int(2) default NULL, |
||
51 | `rep_id` int(5) default NULL, |
||
52 | PRIMARY KEY (`id`), |
||
53 | KEY `arch_id` (`arch_id`), |
||
54 | KEY `rep_id` (`rep_id`) |
||
55 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; |
||
56 | |||
57 | -- |
||
58 | -- Дамп данных таблицы `arch2rep` |
||
59 | -- |
||
60 | |||
61 | INSERT INTO `arch2rep` (`id`, `arch_id`, `rep_id`) VALUES |
||
62 | (1, 1, 1), |
||
63 | (2, 1, 2), |
||
64 | (3, 2, 2); |
||
65 | |||
66 | -- -------------------------------------------------------- |
||
67 | |||
68 | -- |
||
92 | alex-w | 69 | -- Структура таблицы `changelog` |
70 | -- |
||
71 | |||
72 | CREATE TABLE IF NOT EXISTS `changelog` ( |
||
73 | `log_id` int(5) NOT NULL auto_increment, |
||
74 | `log_record` datetime NOT NULL, |
||
75 | `log_title` varchar(35) NOT NULL, |
||
76 | `log_desc` text NOT NULL, |
||
77 | PRIMARY KEY (`log_id`) |
||
78 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; |
||
79 | |||
80 | -- |
||
81 | -- Дамп данных таблицы `changelog` |
||
82 | -- |
||
83 | |||
84 | INSERT INTO `changelog` (`log_id`, `log_record`, `log_title`, `log_desc`) VALUES |
||
85 | (1, '2009-03-25 09:38:30', 'Добавлен новый дистрибутив', 'В Ant добавлена поддержка основанного на rpm-пакетах дистрибутива AltLinux.'), |
||
86 | (2, '2009-03-25 09:39:02', 'Добавлена новая версия 6', 'В Ant добавлена поддержка новой версии дистрибутива 6 – 4.1.'), |
||
87 | (3, '2009-03-25 09:43:03', 'Добавлена новая версия AltLinux', 'В Ant добавлена поддержка новой версии дистрибутива AltLinux – 5.0.'), |
||
88 | (4, '2009-03-25 09:45:06', 'Удаление поддержки дистрибутива', 'Из Ant удалена поддержка основанного на rpm-пакетах дистрибутива AltLinux.'); |
||
89 | |||
90 | -- -------------------------------------------------------- |
||
91 | |||
92 | -- |
||
56 | alex-w | 93 | -- Структура таблицы `distribution` |
94 | -- |
||
95 | |||
96 | CREATE TABLE IF NOT EXISTS `distribution` ( |
||
97 | `dist_id` int(5) NOT NULL auto_increment, |
||
98 | `distname` varchar(25) default NULL, |
||
67 | alex-w | 99 | `distua` varchar(50) NOT NULL, |
56 | alex-w | 100 | `disttype` int(1) NOT NULL, |
86 | alex-w | 101 | `distlogo` enum('0','1') NOT NULL, |
56 | alex-w | 102 | PRIMARY KEY (`dist_id`), |
86 | alex-w | 103 | KEY `disttype` (`disttype`), |
104 | KEY `distlogo` (`distlogo`) |
||
92 | alex-w | 105 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ; |
56 | alex-w | 106 | |
107 | -- |
||
108 | -- Дамп данных таблицы `distribution` |
||
109 | -- |
||
110 | |||
86 | alex-w | 111 | INSERT INTO `distribution` (`dist_id`, `distname`, `distua`, `disttype`, `distlogo`) VALUES |
112 | (1, 'Debian GNU/Linux', 'debian', 1, '1'), |
||
113 | (2, 'Ubuntu Linux', 'ubuntu', 1, '1'), |
||
114 | (3, 'InfraLinux', 'infralinux', 1, '1'); |
||
56 | alex-w | 115 | |
116 | -- -------------------------------------------------------- |
||
117 | |||
118 | -- |
||
119 | -- Структура таблицы `dtype` |
||
120 | -- |
||
121 | |||
122 | CREATE TABLE IF NOT EXISTS `dtype` ( |
||
123 | `type_id` int(1) NOT NULL auto_increment, |
||
124 | `type` char(3) character set utf8 NOT NULL, |
||
125 | PRIMARY KEY (`type_id`) |
||
126 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ; |
||
127 | |||
128 | -- |
||
129 | -- Дамп данных таблицы `dtype` |
||
130 | -- |
||
131 | |||
132 | INSERT INTO `dtype` (`type_id`, `type`) VALUES |
||
133 | (1, 'deb'), |
||
134 | (2, 'rpm'); |
||
135 | |||
136 | -- -------------------------------------------------------- |
||
137 | |||
138 | -- |
||
78 | alex-w | 139 | -- Структура таблицы `interfaces` |
140 | -- |
||
141 | |||
142 | CREATE TABLE IF NOT EXISTS `interfaces` ( |
||
143 | `if_id` int(2) NOT NULL auto_increment, |
||
144 | `interface` varchar(25) NOT NULL, |
||
145 | `interfaceinfo` varchar(100) NOT NULL, |
||
146 | PRIMARY KEY (`if_id`) |
||
147 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; |
||
148 | |||
149 | -- |
||
150 | -- Дамп данных таблицы `interfaces` |
||
151 | -- |
||
152 | |||
153 | INSERT INTO `interfaces` (`if_id`, `interface`, `interfaceinfo`) VALUES |
||
154 | (1, 'classic', 'Классический'), |
||
155 | (2, 'modern', 'Современный'), |
||
156 | (3, 'telepathy', 'Телепатический'); |
||
157 | |||
158 | -- -------------------------------------------------------- |
||
159 | |||
160 | -- |
||
56 | alex-w | 161 | -- Структура таблицы `owner` |
162 | -- |
||
163 | |||
164 | CREATE TABLE IF NOT EXISTS `owner` ( |
||
165 | `id` int(11) NOT NULL auto_increment, |
||
166 | `login` char(32) default NULL, |
||
167 | `passwd` char(32) default NULL, |
||
168 | PRIMARY KEY (`id`) |
||
169 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; |
||
170 | |||
171 | -- |
||
172 | -- Дамп данных таблицы `owner` |
||
173 | -- |
||
174 | |||
175 | INSERT INTO `owner` (`id`, `login`, `passwd`) VALUES |
||
176 | (1, 'admin', 'b167f5e9e5794a7e1eaca776fed7afb9'); |
||
177 | |||
178 | -- -------------------------------------------------------- |
||
179 | |||
180 | -- |
||
181 | -- Структура таблицы `repository` |
||
182 | -- |
||
183 | |||
184 | CREATE TABLE IF NOT EXISTS `repository` ( |
||
185 | `rep_id` int(5) NOT NULL auto_increment, |
||
186 | `repname` varchar(20) default NULL, |
||
187 | `repdescribe` text, |
||
188 | `scheme_id` int(2) NOT NULL, |
||
189 | `rtype_id` int(2) NOT NULL, |
||
90 | alex-w | 190 | `root_id` int(2) NOT NULL, |
56 | alex-w | 191 | PRIMARY KEY (`rep_id`), |
192 | KEY `scheme` (`scheme_id`), |
||
90 | alex-w | 193 | KEY `rtype_id` (`rtype_id`), |
194 | KEY `root_id` (`root_id`) |
||
56 | alex-w | 195 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=59 ; |
196 | |||
197 | -- |
||
198 | -- Дамп данных таблицы `repository` |
||
199 | -- |
||
200 | |||
90 | alex-w | 201 | INSERT INTO `repository` (`rep_id`, `repname`, `repdescribe`, `scheme_id`, `rtype_id`, `root_id`) VALUES |
202 | (1, 'sarge', 'Базовый репозиторий', 4, 1, 1), |
||
203 | (2, 'sarge-backports', 'Бэкпорты для Sarge', 9, 2, 1), |
||
204 | (3, 'etch', 'Базовый репозиторий', 4, 1, 1), |
||
205 | (4, 'etch-updates', 'Обновления безопасности', 6, 2, 1), |
||
206 | (5, 'etch-backports', 'Бэкпорты для Etch', 9, 2, 1), |
||
207 | (6, 'etch-opera', 'Репозиторий с браузером Opera', 4, 3, 1), |
||
208 | (7, 'etch-virtualbox', 'Репозиторий с VirtualBox', 4, 3, 1), |
||
209 | (8, 'etch-winehq', 'Репозиторий с wine', 4, 3, 1), |
||
210 | (9, 'lenny', 'Базовый репозиторий', 4, 1, 1), |
||
211 | (10, 'lenny-2gis', 'Репозиторий с 2GIS', 4, 3, 1), |
||
212 | (11, 'lenny-opera', 'Репозиторий с браузером Opera', 4, 3, 1), |
||
213 | (12, 'lenny-updates', 'Обновления безопасности', 6, 2, 1), |
||
214 | (13, 'lenny-virtualbox', 'Репозиторий с VirtualBox', 4, 3, 1), |
||
215 | (14, 'hardy', 'Базовый репозиторий', 4, 1, 1), |
||
216 | (15, 'hardy-commercial', 'Репозиторий с коммерческим ПО', 4, 2, 1), |
||
217 | (16, 'hardy', 'Обновления безопасности', 11, 2, 1), |
||
218 | (17, 'hardy', 'Обновления', 10, 2, 1), |
||
219 | (18, 'hardy-2gis', 'Репозиторий с 2GIS', 4, 3, 1), |
||
220 | (19, 'hardy-freenx', 'Репозиторий с FreeNX', 4, 3, 1), |
||
221 | (20, 'hardy-playonlinux', 'Репозиторий с играми', 4, 3, 1), |
||
222 | (35, 'infralinux', 'Обновления безопасности', 11, 2, 1), |
||
223 | (21, 'hardy-virtualbox', 'Репозиторий с VirtualBox', 4, 3, 1), |
||
224 | (22, 'hardy-winehq', 'Репозиторий с Wine', 4, 3, 1), |
||
225 | (23, 'intrepid', 'Бэкпорты для Intrepid Ibex', 9, 2, 1), |
||
226 | (24, 'hardy', 'Бэкпорты для Hardy Heron', 9, 2, 1), |
||
227 | (25, 'intrepid', 'Базовый репозиторий', 4, 1, 1), |
||
228 | (26, 'intrepid', 'Обновления безопасности', 11, 2, 1), |
||
229 | (27, 'intrepid', 'Обновления', 10, 2, 1), |
||
230 | (28, 'intrepid-commercial', 'Репозиторий с коммерческим ПО', 4, 2, 1), |
||
231 | (29, 'kubuntu-experimental', 'Экспериментальный репозиторий с KDE 4', 4, 3, 1), |
||
232 | (30, 'intrepid-playonlinux', 'Репозиторий с играми', 4, 3, 1), |
||
233 | (33, 'infralinux', 'Базовый репозиторий', 4, 1, 1), |
||
234 | (31, 'intrepid-virtualbox', 'Репозиторий с VirtualBox', 4, 3, 1), |
||
235 | (32, 'intrepid-winehq', 'Репозиторий с Wine', 4, 3, 1), |
||
236 | (36, 'infralinux', 'Обновления', 10, 2, 1), |
||
237 | (37, 'infralinux', 'Бэкпорты для Intrepid Ibex', 9, 2, 1), |
||
238 | (43, 'etch-multimedia', 'Мультимедийный репозиторий для Etch', 4, 3, 1), |
||
239 | (44, 'lenny-multimedia', 'Мультимедийный репозиторий для Lenny', 4, 3, 1), |
||
240 | (45, 'etch', 'Обновления для Etch', 5, 2, 1), |
||
241 | (46, 'lenny', 'Обновления для Lenny', 5, 2, 1), |
||
242 | (47, 'lenny-volatile', 'Обновления для Lenny', 7, 2, 1), |
||
243 | (48, 'lenny-volatile', 'Обновления для Lenny', 8, 2, 1), |
||
244 | (50, 'squeeze', 'Базовый репозиторий', 4, 1, 1), |
||
245 | (51, 'squeeze-updates', 'Обновления безопасности для Squeeze', 6, 2, 1), |
||
246 | (52, 'squeeze', 'Обновления для Squeeze', 5, 2, 1), |
||
247 | (55, 'jaunty', 'Базовый репозиторий', 4, 1, 1), |
||
248 | (56, 'jaunty', 'Бэкпорты', 9, 2, 1), |
||
249 | (57, 'jaunty', 'Обновления', 10, 2, 1), |
||
250 | (58, 'jaunty', 'Обновления безопасности', 11, 2, 1); |
||
56 | alex-w | 251 | |
252 | -- -------------------------------------------------------- |
||
253 | |||
254 | -- |
||
90 | alex-w | 255 | -- Структура таблицы `root` |
256 | -- |
||
257 | |||
258 | CREATE TABLE IF NOT EXISTS `root` ( |
||
259 | `root_id` int(2) NOT NULL auto_increment, |
||
260 | `root_folder` varchar(50) NOT NULL, |
||
261 | PRIMARY KEY (`root_id`) |
||
262 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; |
||
263 | |||
264 | -- |
||
265 | -- Дамп данных таблицы `root` |
||
266 | -- |
||
267 | |||
268 | INSERT INTO `root` (`root_id`, `root_folder`) VALUES |
||
269 | (1, '/'); |
||
270 | |||
271 | -- -------------------------------------------------------- |
||
272 | |||
273 | -- |
||
56 | alex-w | 274 | -- Структура таблицы `rtype` |
275 | -- |
||
276 | |||
277 | CREATE TABLE IF NOT EXISTS `rtype` ( |
||
278 | `rtype_id` int(2) NOT NULL auto_increment, |
||
279 | `rtype` varchar(25) NOT NULL, |
||
280 | PRIMARY KEY (`rtype_id`) |
||
281 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; |
||
282 | |||
283 | -- |
||
284 | -- Дамп данных таблицы `rtype` |
||
285 | -- |
||
286 | |||
287 | INSERT INTO `rtype` (`rtype_id`, `rtype`) VALUES |
||
288 | (1, 'Базовый'), |
||
289 | (2, 'Дополнительный'), |
||
290 | (3, 'Extra (добавочный)'); |
||
291 | |||
292 | -- -------------------------------------------------------- |
||
293 | |||
294 | -- |
||
295 | -- Структура таблицы `scheme` |
||
296 | -- |
||
297 | |||
298 | CREATE TABLE IF NOT EXISTS `scheme` ( |
||
299 | `scheme_id` int(2) NOT NULL auto_increment, |
||
300 | `scheme` varchar(200) NOT NULL, |
||
301 | PRIMARY KEY (`scheme_id`) |
||
302 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; |
||
303 | |||
304 | -- |
||
305 | -- Дамп данных таблицы `scheme` |
||
306 | -- |
||
307 | |||
308 | INSERT INTO `scheme` (`scheme_id`, `scheme`) VALUES |
||
90 | alex-w | 309 | (4, '{TYPE} {PROTO}{URL}{ROOT}{REP} {DIST} {SECT}'), |
310 | (5, '{TYPE} {PROTO}{URL}{ROOT}{REP} {DIST}-proposed-updates {SECT}'), |
||
311 | (6, '{TYPE} {PROTO}{URL}{ROOT}{REP} {DIST}/updates {SECT}'), |
||
312 | (7, '{TYPE} {PROTO}{URL}{ROOT}{REP} {DIST}/volatile {SECT}'), |
||
313 | (8, '{TYPE} {PROTO}{URL}{ROOT}{REP} {DIST}/volatile-sloppy {SECT}'), |
||
314 | (9, '{TYPE} {PROTO}{URL}{ROOT}{REP} {DIST}-backports {SECT}'), |
||
315 | (10, '{TYPE} {PROTO}{URL}{ROOT}{REP} {DIST}-updates {SECT}'), |
||
316 | (11, '{TYPE} {PROTO}{URL}{ROOT}{REP} {DIST}-security {SECT}'); |
||
56 | alex-w | 317 | |
318 | -- -------------------------------------------------------- |
||
319 | |||
320 | -- |
||
321 | -- Структура таблицы `sect2dist` |
||
322 | -- |
||
323 | |||
324 | CREATE TABLE IF NOT EXISTS `sect2dist` ( |
||
325 | `id` int(10) NOT NULL auto_increment, |
||
326 | `sect_id` int(3) NOT NULL, |
||
327 | `dist_id` int(5) NOT NULL, |
||
328 | PRIMARY KEY (`id`), |
||
329 | KEY `sect_id` (`sect_id`,`dist_id`) |
||
330 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=27 ; |
||
331 | |||
332 | -- |
||
333 | -- Дамп данных таблицы `sect2dist` |
||
334 | -- |
||
335 | |||
336 | INSERT INTO `sect2dist` (`id`, `sect_id`, `dist_id`) VALUES |
||
337 | (11, 0, 2), |
||
338 | (2, 2, 1), |
||
339 | (25, 3, 2), |
||
340 | (10, 0, 1), |
||
341 | (16, 4, 2), |
||
342 | (18, 5, 2), |
||
343 | (20, 6, 2), |
||
344 | (22, 7, 2), |
||
345 | (24, 3, 1), |
||
346 | (12, 0, 3), |
||
347 | (13, 1, 1), |
||
348 | (14, 1, 2), |
||
349 | (15, 1, 3), |
||
350 | (17, 4, 3), |
||
351 | (19, 5, 3), |
||
352 | (21, 6, 3), |
||
353 | (23, 7, 3), |
||
354 | (26, 3, 3); |
||
355 | |||
356 | -- -------------------------------------------------------- |
||
357 | |||
358 | -- |
||
359 | -- Структура таблицы `sect2rep` |
||
360 | -- |
||
361 | |||
362 | CREATE TABLE IF NOT EXISTS `sect2rep` ( |
||
363 | `id` int(10) NOT NULL auto_increment, |
||
364 | `sect_id` int(3) NOT NULL, |
||
365 | `rep_id` int(5) NOT NULL, |
||
366 | PRIMARY KEY (`id`), |
||
367 | KEY `sect_id` (`sect_id`,`rep_id`) |
||
368 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=529 ; |
||
369 | |||
370 | -- |
||
371 | -- Дамп данных таблицы `sect2rep` |
||
372 | -- |
||
373 | |||
374 | INSERT INTO `sect2rep` (`id`, `sect_id`, `rep_id`) VALUES |
||
375 | (74, 3, 0), |
||
376 | (73, 2, 0), |
||
377 | (72, 1, 0), |
||
378 | (77, 3, 0), |
||
379 | (76, 2, 0), |
||
380 | (75, 1, 0), |
||
381 | (80, 3, 0), |
||
382 | (79, 2, 0), |
||
383 | (78, 1, 0), |
||
384 | (83, 3, 0), |
||
385 | (82, 2, 0), |
||
386 | (81, 1, 0), |
||
387 | (86, 3, 0), |
||
388 | (85, 2, 0), |
||
389 | (84, 1, 0), |
||
390 | (87, 3, 0), |
||
391 | (88, 3, 0), |
||
392 | (89, 1, 0), |
||
393 | (92, 3, 0), |
||
394 | (91, 2, 0), |
||
395 | (90, 1, 0), |
||
396 | (93, 3, 0), |
||
397 | (94, 3, 0), |
||
398 | (97, 3, 0), |
||
399 | (96, 2, 0), |
||
400 | (95, 1, 0), |
||
401 | (98, 3, 0), |
||
402 | (102, 6, 0), |
||
403 | (101, 5, 0), |
||
404 | (100, 4, 0), |
||
405 | (99, 1, 0), |
||
406 | (103, 7, 0), |
||
407 | (107, 6, 0), |
||
408 | (106, 5, 0), |
||
409 | (105, 4, 0), |
||
410 | (104, 1, 0), |
||
411 | (111, 6, 0), |
||
412 | (110, 5, 0), |
||
413 | (109, 4, 0), |
||
414 | (108, 1, 0), |
||
415 | (112, 3, 0), |
||
416 | (113, 1, 0), |
||
417 | (114, 1, 0), |
||
418 | (115, 3, 0), |
||
419 | (116, 1, 0), |
||
420 | (124, 6, 0), |
||
421 | (123, 5, 0), |
||
422 | (122, 4, 0), |
||
423 | (121, 1, 0), |
||
424 | (120, 6, 0), |
||
425 | (119, 5, 0), |
||
426 | (118, 4, 0), |
||
427 | (117, 1, 0), |
||
428 | (128, 6, 0), |
||
429 | (127, 5, 0), |
||
430 | (126, 4, 0), |
||
431 | (125, 1, 0), |
||
432 | (132, 6, 0), |
||
433 | (131, 5, 0), |
||
434 | (130, 4, 0), |
||
435 | (129, 1, 0), |
||
436 | (136, 6, 0), |
||
437 | (135, 5, 0), |
||
438 | (134, 4, 0), |
||
439 | (133, 1, 0), |
||
440 | (137, 7, 0), |
||
441 | (138, 1, 0), |
||
442 | (139, 1, 0), |
||
443 | (140, 3, 0), |
||
444 | (71, 1, 0), |
||
445 | (454, 6, 33), |
||
446 | (453, 5, 33), |
||
447 | (452, 4, 33), |
||
448 | (451, 1, 33), |
||
449 | (524, 6, 35), |
||
450 | (523, 5, 35), |
||
451 | (522, 4, 35), |
||
452 | (521, 1, 35), |
||
453 | (528, 6, 36), |
||
454 | (527, 5, 36), |
||
455 | (526, 4, 36), |
||
456 | (525, 1, 36), |
||
457 | (520, 6, 37), |
||
458 | (519, 5, 37), |
||
459 | (518, 4, 37), |
||
460 | (517, 1, 37), |
||
461 | (161, 1, 0), |
||
462 | (162, 4, 0), |
||
463 | (163, 5, 0), |
||
464 | (164, 6, 0), |
||
465 | (165, 1, 0), |
||
466 | (166, 2, 0), |
||
467 | (167, 3, 0), |
||
468 | (367, 3, 1), |
||
469 | (366, 2, 1), |
||
470 | (365, 1, 1), |
||
471 | (370, 3, 2), |
||
472 | (369, 2, 2), |
||
473 | (368, 1, 2), |
||
474 | (373, 3, 3), |
||
475 | (372, 2, 3), |
||
476 | (371, 1, 3), |
||
477 | (377, 3, 4), |
||
478 | (376, 2, 4), |
||
479 | (375, 1, 4), |
||
480 | (380, 3, 5), |
||
481 | (379, 2, 5), |
||
482 | (378, 1, 5), |
||
483 | (384, 3, 6), |
||
484 | (385, 3, 7), |
||
485 | (386, 1, 8), |
||
486 | (391, 3, 9), |
||
487 | (390, 2, 9), |
||
488 | (389, 1, 9), |
||
489 | (404, 3, 10), |
||
490 | (405, 3, 11), |
||
491 | (394, 3, 12), |
||
492 | (393, 2, 12), |
||
493 | (392, 1, 12), |
||
494 | (406, 3, 13), |
||
495 | (411, 6, 14), |
||
496 | (410, 5, 14), |
||
497 | (409, 4, 14), |
||
498 | (408, 1, 14), |
||
499 | (412, 7, 15), |
||
500 | (416, 6, 16), |
||
501 | (415, 5, 16), |
||
502 | (414, 4, 16), |
||
503 | (413, 1, 16), |
||
504 | (420, 6, 17), |
||
505 | (419, 5, 17), |
||
506 | (418, 4, 17), |
||
507 | (417, 1, 17), |
||
508 | (475, 3, 18), |
||
509 | (476, 1, 19), |
||
510 | (477, 1, 20), |
||
511 | (478, 3, 21), |
||
512 | (479, 1, 22), |
||
513 | (424, 6, 24), |
||
514 | (423, 5, 24), |
||
515 | (422, 4, 24), |
||
516 | (421, 1, 24), |
||
517 | (433, 6, 23), |
||
518 | (432, 5, 23), |
||
519 | (431, 4, 23), |
||
520 | (430, 1, 23), |
||
521 | (437, 6, 25), |
||
522 | (436, 5, 25), |
||
523 | (435, 4, 25), |
||
524 | (434, 1, 25), |
||
525 | (441, 6, 26), |
||
526 | (440, 5, 26), |
||
527 | (439, 4, 26), |
||
528 | (438, 1, 26), |
||
529 | (445, 6, 27), |
||
530 | (444, 5, 27), |
||
531 | (443, 4, 27), |
||
532 | (442, 1, 27), |
||
533 | (446, 7, 28), |
||
534 | (447, 1, 29), |
||
535 | (480, 1, 30), |
||
536 | (481, 3, 31), |
||
537 | (482, 1, 32), |
||
538 | (387, 1, 43), |
||
539 | (407, 1, 44), |
||
540 | (383, 3, 45), |
||
541 | (382, 2, 45), |
||
542 | (381, 1, 45), |
||
543 | (397, 3, 46), |
||
544 | (396, 2, 46), |
||
545 | (395, 1, 46), |
||
546 | (400, 3, 47), |
||
547 | (399, 2, 47), |
||
548 | (398, 1, 47), |
||
549 | (403, 3, 48), |
||
550 | (402, 2, 48), |
||
551 | (401, 1, 48), |
||
552 | (486, 1, 50), |
||
553 | (487, 2, 50), |
||
554 | (488, 3, 50), |
||
555 | (489, 1, 51), |
||
556 | (490, 2, 51), |
||
557 | (491, 3, 51), |
||
558 | (492, 1, 52), |
||
559 | (493, 2, 52), |
||
560 | (494, 3, 52), |
||
561 | (501, 1, 55), |
||
562 | (502, 4, 55), |
||
563 | (503, 5, 55), |
||
564 | (504, 6, 55), |
||
565 | (505, 1, 56), |
||
566 | (506, 4, 56), |
||
567 | (507, 5, 56), |
||
568 | (508, 6, 56), |
||
569 | (509, 1, 57), |
||
570 | (510, 4, 57), |
||
571 | (511, 5, 57), |
||
572 | (512, 6, 57), |
||
573 | (513, 1, 58), |
||
574 | (514, 4, 58), |
||
575 | (515, 5, 58), |
||
576 | (516, 6, 58); |
||
577 | |||
578 | -- -------------------------------------------------------- |
||
579 | |||
580 | -- |
||
581 | -- Структура таблицы `section` |
||
582 | -- |
||
583 | |||
584 | CREATE TABLE IF NOT EXISTS `section` ( |
||
585 | `sect_id` int(3) NOT NULL auto_increment, |
||
586 | `sectname` varchar(25) NOT NULL, |
||
587 | `sectinfo` text NOT NULL, |
||
588 | PRIMARY KEY (`sect_id`) |
||
589 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ; |
||
590 | |||
591 | -- |
||
592 | -- Дамп данных таблицы `section` |
||
593 | -- |
||
594 | |||
595 | INSERT INTO `section` (`sect_id`, `sectname`, `sectinfo`) VALUES |
||
596 | (1, 'main', 'Основной раздел, в котором собраны пакеты ПО только под свободными лицензиями.'), |
||
597 | (4, 'restricted', ''), |
||
598 | (5, 'universe', ''), |
||
599 | (2, 'contrib', 'Пакеты в этой части распространяются владельцем авторских прав на условиях свободной лицензии, но зависят от несвободного программного обеспечения.'), |
||
600 | (6, 'multiverse', ''), |
||
601 | (3, 'non-free', 'Лицензии пакетов в этой части содержат условия, ограничивающие использование или распространение ПО'), |
||
602 | (7, 'partner', ''); |
||
603 | |||
604 | -- -------------------------------------------------------- |
||
605 | |||
606 | -- |
||
607 | -- Структура таблицы `settings` |
||
608 | -- |
||
609 | |||
610 | CREATE TABLE IF NOT EXISTS `settings` ( |
||
611 | `opt_id` int(2) NOT NULL auto_increment, |
||
612 | `opt` varchar(50) NOT NULL, |
||
613 | `optvalue` varchar(200) NOT NULL, |
||
614 | PRIMARY KEY (`opt_id`) |
||
144 | alex-w | 615 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; |
56 | alex-w | 616 | |
617 | -- |
||
618 | -- Дамп данных таблицы `settings` |
||
619 | -- |
||
620 | |||
621 | INSERT INTO `settings` (`opt_id`, `opt`, `optvalue`) VALUES |
||
622 | (1, 'proto', 'http://'), |
||
78 | alex-w | 623 | (2, 'url', 'apt.nix-files.org.ru'), |
144 | alex-w | 624 | (3, 'version', '0.2.3'), |
625 | (4, 'interface', 'telepathy'), |
||
626 | (5, 'codename', 'Ant'); |
||
56 | alex-w | 627 | |
628 | -- -------------------------------------------------------- |
||
629 | |||
630 | -- |
||
631 | -- Структура таблицы `ver2rep` |
||
632 | -- |
||
633 | |||
634 | CREATE TABLE IF NOT EXISTS `ver2rep` ( |
||
635 | `id` int(11) NOT NULL auto_increment, |
||
636 | `ver_id` int(5) default NULL, |
||
637 | `rep_id` int(5) default NULL, |
||
638 | PRIMARY KEY (`id`), |
||
639 | KEY `ver_id` (`ver_id`), |
||
640 | KEY `rep_id` (`rep_id`) |
||
641 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=59 ; |
||
642 | |||
643 | -- |
||
644 | -- Дамп данных таблицы `ver2rep` |
||
645 | -- |
||
646 | |||
647 | INSERT INTO `ver2rep` (`id`, `ver_id`, `rep_id`) VALUES |
||
648 | (1, 1, 1), |
||
649 | (2, 1, 2), |
||
650 | (3, 2, 3), |
||
651 | (4, 2, 4), |
||
652 | (5, 2, 5), |
||
653 | (6, 2, 6), |
||
654 | (7, 2, 7), |
||
655 | (8, 2, 8), |
||
656 | (9, 3, 9), |
||
657 | (10, 3, 10), |
||
658 | (11, 3, 11), |
||
659 | (12, 3, 12), |
||
660 | (13, 3, 13), |
||
661 | (14, 4, 14), |
||
662 | (15, 4, 15), |
||
663 | (16, 4, 16), |
||
664 | (17, 4, 17), |
||
665 | (18, 4, 18), |
||
666 | (19, 4, 19), |
||
667 | (20, 4, 20), |
||
668 | (21, 4, 21), |
||
669 | (22, 4, 22), |
||
670 | (23, 5, 23), |
||
671 | (24, 4, 24), |
||
672 | (25, 5, 25), |
||
673 | (26, 5, 26), |
||
674 | (27, 5, 27), |
||
675 | (28, 5, 28), |
||
676 | (29, 5, 29), |
||
677 | (30, 5, 30), |
||
678 | (31, 5, 31), |
||
679 | (32, 5, 32), |
||
680 | (33, 6, 33), |
||
681 | (35, 6, 35), |
||
682 | (36, 6, 36), |
||
683 | (37, 6, 37), |
||
684 | (43, 2, 43), |
||
685 | (44, 3, 44), |
||
686 | (45, 2, 45), |
||
687 | (46, 3, 46), |
||
688 | (47, 3, 47), |
||
689 | (48, 3, 48), |
||
690 | (50, 9, 50), |
||
691 | (51, 9, 51), |
||
692 | (52, 9, 52), |
||
693 | (55, 10, 55), |
||
694 | (56, 10, 56), |
||
695 | (57, 10, 57), |
||
696 | (58, 10, 58); |
||
697 | |||
698 | -- -------------------------------------------------------- |
||
699 | |||
700 | -- |
||
701 | -- Структура таблицы `version` |
||
702 | -- |
||
703 | |||
704 | CREATE TABLE IF NOT EXISTS `version` ( |
||
705 | `version_id` int(5) NOT NULL auto_increment, |
||
706 | `dist_id` int(5) default NULL, |
||
707 | `vname` varchar(25) default NULL, |
||
708 | `version` varchar(10) NOT NULL, |
||
709 | `vcodename` varchar(10) default NULL, |
||
710 | PRIMARY KEY (`version_id`), |
||
711 | KEY `dist_id` (`dist_id`) |
||
92 | alex-w | 712 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ; |
56 | alex-w | 713 | |
714 | -- |
||
715 | -- Дамп данных таблицы `version` |
||
716 | -- |
||
717 | |||
718 | INSERT INTO `version` (`version_id`, `dist_id`, `vname`, `version`, `vcodename`) VALUES |
||
719 | (1, 1, 'Sarge', '3.1', 'sarge'), |
||
720 | (2, 1, 'Etch', '4.0', 'etch'), |
||
721 | (3, 1, 'Lenny', '5.0', 'lenny'), |
||
722 | (4, 2, 'Hardy Heron', '8.04', 'hardy'), |
||
723 | (5, 2, 'Intrepid Ibex', '8.10', 'intrepid'), |
||
724 | (6, 3, 'Intrepid Ibex', '8.10', 'intrepid'), |
||
725 | (9, 1, 'Squeeze', '6.0', 'squeeze'), |
||
726 | (10, 2, 'Jaunty Jackalope', '9.04', 'jaunty'); |
||
146 | diffor | 727 | |
728 | -- -------------------------------------------------------- |
||
729 | |||
730 | -- |
||
731 | -- Структура таблицы `origin` |
||
732 | -- |
||
733 | |||
734 | CREATE TABLE IF NOT EXISTS `origin` ( |
||
153 | diffor | 735 | `id` int(5) NOT NULL auto_increment, |
146 | diffor | 736 | `origin` varchar(25) default NULL, |
153 | diffor | 737 | `desk` text NOT NULL, |
738 | `basedir` varchar(50) NOT NULL, |
||
739 | `homeurl` varchar(50) NOT NULL, |
||
740 | `keyurl` varchar(50) NOT NULL, |
||
741 | PRIMARY KEY (`id`) |
||
742 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=16 ; |
||
146 | diffor | 743 | |
744 | -- -------------------------------------------------------- |
||
745 | |||
746 | -- |
||
747 | -- Структура таблицы `orig2rep` |
||
748 | -- |
||
749 | |||
750 | CREATE TABLE IF NOT EXISTS `orig2reps` ( |
||
751 | `id` int(11) NOT NULL auto_increment, |
||
752 | `orig_id` int(5) default NULL, |
||
753 | `dist_id` int(5) default NULL, |
||
754 | `ver_id` int(5) default NULL, |
||
755 | `rep_id` int(5) default NULL, |
||
756 | PRIMARY KEY (`id`), |
||
757 | KEY `orig_id` (`orig_id`), |
||
758 | KEY `dist_id` (`dist_id`), |
||
759 | KEY `ver_id` (`ver_id`), |
||
760 | KEY `rep_id` (`rep_id`) |
||
761 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |