# Configuration for apt-proxy # Change this path if you do not want to keep your cache under var APT_PROXY_CACHE=/var/cache/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 /main/ \ # $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 /main/ \ $APT_PROXY_CACHE/debian/ \ ftp.minet.net::pub/distrib/debian/ \ ftp.us.debian.org::debian/ \ ftp.de.debian.org::debian/ \ ftp2.de.debian.org::debian/ \ ftp.uk.debian.org::debian/ add_backend /non-US/ \ $APT_PROXY_CACHE/non-US/ \ ftp.minet.net::pub/distrib/debian-non-US/ \ ftp.de.debian.org::debian-non-US/ \ ftp2.de.debian.org::debian-non-US/ \ ftp.uk.debian.org::debian/non-US/ add_backend /security/ \ $APT_PROXY_CACHE/security/ \ ftp.minet.net::pub/distrib/debian-security/ \ security.debian.org::debian-security/ \ non-us.debian.org::debian-security/ add_backend /contrib/ \ $APT_PROXY_CACHE/contrib/ \ ftp.minet.net::pub/distrib/debian/contrib/ \ security.debian.org::debian-contrib/ \ non-us.debian.org::debian-contrib/ add_backend /opera/ \ $APT_PROXY_CACHE/opera/ \ www.opera.com/debian/opera/ add_backend /wine/ \ $APT_PROXY_CACHE/wine/ \ gluck.debian.org/%7Eandreas/debian/wine/ \ ############################## 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=14 # 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=600 # 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=2 # Maximum frequency of Packages/etc. updates from back end (minutes) # Keep high to speed things up. BACKEND_FREQ=240 # 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 # Uncomment to change the path to rsync or add extra options. RSYNC=rsync -zu --partial # Uncomment to keep stats of successful backend transfers in the log. #KEEP_STATS=1 # Uncomment this for debugging messages DEBUG=true