-
- // HTTP method configuration
- http
- {
- Proxy "http://127.0.0.1:3128";
- Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
- Timeout "120";
-
- // Cache Control. Note these do not work with Squid 2.0.2
- No-Cache "false";
- Max-Age "86400"; // 1 Day age on index files
- No-Store "false"; // Prevent the cache from storing archives
- };
-
- ftp
- {
- Proxy "ftp://127.0.0.1/";
- Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
-
- /* Required script to perform proxy login. This example should work
- for tisfwtk */
- ProxyLogin
- {
- "USER $(PROXY_USER)";
- "PASS $(PROXY_PASS)";
- "USER $(SITE_USER)@$(SITE):$(SITE_PORT)";
- "PASS $(SITE_PASS)";
- };
-
- Timeout "120";
-
- /* Passive mode control, proxy, non-proxy and per-host. Pasv mode
- is prefered if possible */
- Passive "true";
- Proxy::Passive "true";
- Passive::http.us.debian.org "true"; // Specific per-host setting
- };
-
- cdrom
- {
- Mount "/cdrom";
-
- // You need the trailing slash!
- "/cdrom/"
- {
- Mount "sleep 1000";
- UMount "sleep 500";
- }
- };
-};
-
-// Directory layout
-Dir
-{
- // Location of the state dir
- State "/var/state/apt/"
- {
- lists "lists/";
- xstatus "xstatus";
- userstatus "status.user";
- status "/var/lib/dpkg/status";
- cdroms "cdroms.list";
- };
-
- // Location of the cache dir
- Cache "/var/cache/apt/" {
- archives "archives/";
- srcpkgcache "srcpkgcache.bin";
- pkgcache "pkgcache.bin";
- };
-
- // Config files
- Etc "/etc/apt/" {
- sourcelist "sources.list";
- main "apt.conf";
- };
-
- // Locations of binaries
- Bin {
- methods "/usr/lib/apt/methods/";
- gzip "/bin/gzip";
- dpkg "/usr/bin/dpkg";
- apt-get "/usr/bin/apt-get";
- apt-cache "/usr/bin/apt-cache";
- };