Re: apt-proxy
Il mer, 2002-08-07 alle 23:00, alberto.rizzolio@tiscali.it ha scritto:
> ma veniamo al dunque:
> se qualcuno di voi usa apt-proxy potrebbe postare il suo file /etc/apt-proxy/apt-proxy.conf
> così da poterlo confrontare col mio.
eccolo... i backend scelti non sono i migliori, li avevo configurati
quando ci fu quel problema di sicurezza con rsync e poi non li ho piu'
cambiati, per cui vedi tu...
Ciao,
Gian Piero.
# Configuration for apt-proxy
# Change this path if you do not want to keep your cache under var
APT_PROXY_CACHE=/home/apt-proxy
### Rsync Backends
# Three or more fields each:
# 1) URL prefix
# 2) Dir to put files in (remember the trailing /!)
# 3...) rsync backends to replace it with (remember the trailing /!)
# You can specify multiple backends like this:
#add_backend /debian/ \
# $APT_PROXY_CACHE/debian/ \
# SERVERONE::debian/ \
# SERVERTWO::debian/ \
# SERVERTHREE::debian/
# HINT: Any request matching none of these is not served, making
# partial caching easy.
#add_backend /debian/ \
# $APT_PROXY_CACHE/debian/ \
# ftp.us.debian.org::debian/
#
#add_backend /non-US/ \
# $APT_PROXY_CACHE/non-US/ \
# non-us.debian.org::debian-non-US/
#
#add_backend /security/ \
# $APT_PROXY_CACHE/security/ \
# security.debian.org::debian-security/ \
# non-us.debian.org::debian-security/
add_backend /it/ \
$APT_PROXY_CACHE/it/ \
gluck.debian.org::~grisu/ddts/aptable/
add_backend /security/ \
$APT_PROXY_CACHE/security/ \
security.it.debian.org::debian-security/ \
security.debian.org::debian-security/ \
non-us.debian.org::debian-security/
add_backend /debian-non-US/ \
$APT_PROXY_CACHE/debian-non-US/ \
non-us.debian.org::debian-non-US/ \
ftp.es.debian.org::debian-non-US/ \
ftp.de.debian.org::debian-non-US/ \
ftp2.de.debian.org::debian-non-US/
add_backend /debian/ \
$APT_PROXY_CACHE/debian/ \
http.us.debian.org::debian/ \
ftp.es.debian.org::debian/ \
ftp.de.debian.org::debian/ \
ftp2.de.debian.org::debian/
add_backend /openoffice.org/ \
$APT_PROXY_CACHE/openoffice.org/ \
http://ftp.openoffice.tuxfamily.org/openoffice/
# ftp://ftp.vpn-junkies.de/openoffice/
# http://www.mx1.ru/~chris/openoffice/
add_backend /blackdown/ \
$APT_PROXY_CACHE/blackdown/ \
http://ftp.gwdg.de/pub/languages/java/linux/debian/ \
http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian/
############################# OTHER VARS ##################################
# Automatically delete old debs when we download a newer one
# after this many days of the older not being accessed.
# Comment out to avoid, set to 0 for `instantly' (not recommended;
# sometimes the new versions are broken
#CLEANUP_DAYS=7
# Once every n days, look through tree to erase and debs which
# haven't been accessed in that long (eg. obsolete, rarely used, etc).
# Comment out to disable.
#CLEAN_SWEEP=30
# Maximum number of versions of each package to keep in cache
# directory. Version purging is carried out immediately after a new
# version is downloaded.
# Comment out to disable.
#MAX_VERSIONS=3
# Maximum frequency of Packages/etc. updates from back end (minutes)
# Keep high to speed things up.
#BACKEND_FREQ=360
BACKEND_FREQ=360
# Number of seconds for rsync to wait before timing out.
RSYNC_TIMEOUT=30
# Number of seconds for wget to wait to connect before timing out.
WGET_TIMEOUT=30
# Uncomment to change the path to wget, or add extra options. For
# example, if you are behind a firewall that does not allow active
# FTP, use WGET="wget --passive-ftp"
#WGET=wget
WGET="wget --passive-ftp"
# Uncomment to change the path to rsync or add extra options.
#RSYNC=rsync
# Uncomment to keep stats of successful backend transfers in the log.
KEEP_STATS=1
# Uncomment this for debugging messages
#DEBUG=true
Reply to: