;;
;; debpartial-mirror configuration file.
;;

[GLOBAL]
;; Show debug information?
;debug = DEBUG

;; Mirror destination directory
mirror_dir = ../debpartial-mirror/

;; Which architectures should I download?
architectures = i386

;; What should I look for, by default?
components = main
distributions = stable

;; What should I get?
get_suggests = true
get_recommends = true
get_provides = true
get_sources = false
get_packages = true

;; Here is our first backend.  It mirrors a subset of packages from the
;; Debian official repositories.
[sarge]

;; Where do we get the packages from?
server = http://ftp.debian.org/debian

;; Since we specify components and distributions in this section, what we
;; specify here overrides the settings in [DEFAULT].
components = main
distributions = sarge

;; Only get a subset of the packages in this source.
filter = subsection:base priority:important

;; And get the source packages as well for this backend.
get_sources = false

[sarge-security]
;; also get security updates for sarge
server = http://security.debian.org/
components = main
distributions = sarge/updates
filter = subsection:base priority:important
resolve_deps_using = sarge

;; Here is another backend.  This one will get all the debian-installer
;; packages from the unstable distribution (sid).
;;[sid_debian-installer]
;;server = http://ftp.debian.org/debian
;;components = main/debian-installer
;;distributions = sid

;; You can use debian-cd tasks to include or exclude a subset of the
;; packages.
;;filter = include-from:/usr/share/debian-cd/tasks/base-sarge exclude-from:/usr/share/debian-cd/tasks/exclude-sarge

;; Let's only get the source packages, not the binary ones.
#get_sources = false
;;get_packages = false

;; This backend is a local repository, as you can see from the use of the
;; file:// URL.  The idea is that we have a set of custom-made packages
;; stored on the local computer.
;;[local_custom_packages]
;;server = file:///var/lib/custom-packages
;;components = main
;;distributions = local

;; These packages depend on Debian official packages.  We will use the
;; "sarge" backend (above) to satisfy these dependencies.
;;resolve_deps_using = sarge

;; Here is a merging backend.  It uses the backends we specify above to
;; create a custom distribution that provides all the packages in each
;; backend.  This will be created using hard links to the package files
;; in each backend directory.
;;[my_custom_debian_distro]
;;backends = sarge sid_debian-installer local_custom_packages
;;name = sarge-with-sids-installer-and-some-other-stuff
;;filter_sarge = section:base

;;[backports]
;;server = http://backports.org/debian
;; note: sarge is not yet present at backports.org
;;distributions=woody
;;components = all
;; backports.org defines each package as a component, so you can specify
;; individual packages only: 
;;components = mailman spamassassin postfix postgrey
;;resolve_deps_using = sarge

;;[volatile]
;;server=http://volatile.debian.net/debian-volatile
;;distributions=sarge/volatile
;;components=main
;;resolve_deps_using = sarge
;;only grab the clamav package (and things that it depends on)
;;filter=name:clamav
