39 lines
870 B
Python
39 lines
870 B
Python
# -*- mode: python; coding: utf-8 -*-
|
|
|
|
include("mode/space")
|
|
header("Fichier de configuration principal de apt-mirror")
|
|
|
|
@# Valeurs par defauts
|
|
@#
|
|
@# set base_path /var/spool/apt-mirror
|
|
@# set mirror_path $base_path/mirror
|
|
@# set skel_path $base_path/skel
|
|
@# set var_path $base_path/var
|
|
@#
|
|
@# set defaultarch <running host architecture>
|
|
@# set nthreads 1
|
|
@#
|
|
@set _tilde 0
|
|
@set base_path /mirror/apt-mirror
|
|
@set nthreads 2
|
|
|
|
mirror = "ftp://debian.ens-cachan.fr/"
|
|
|
|
def source(args):
|
|
%deb-i386 mirror + args
|
|
%deb-amd64 mirror + args
|
|
%deb-src mirror + args
|
|
|
|
@# +------+
|
|
@# | Etch |
|
|
@# +------+
|
|
|
|
source("debian etch main contrib")
|
|
source("debian-volatile etch/volatile main contrib")
|
|
source("debian-security etch/updates main")
|
|
|
|
@# +-------------------+
|
|
@# | Debian multimedia |
|
|
@# +-------------------+
|
|
|
|
source("debian-marillat etch main")
|