DAR is a framework for building packages in clean build environments (distributions).
It consists of tools to create and manage these build environments, to build packages
for each build environment and to update multiple Apt repositories.
DAR was my abbreviation for "",
which was my own collection of packages. But soon the scripts took over the name.
dar now stand for Dynamic Apt Repository builder or maybe not.
With DAR you can do any of the following things
- Install a basic build environment (for several distros, eg rh73, rh80, su81, md91) - todo
- Install packages and upgrade build environments
- Configure per-package information (archs, distro's, special compile info)
- Build packages against any or all of these distro's for multiple archs
- Manage RPM spec-files
- Manage Apt repositories
- Sync local Apt repository to a remote repository
- Downloads sources/patches automatically
- Works with several additional tools:
- soapbox (sandbox)
- compartment (chroot, set*id, capabilities)
- distcc (distributed compiler)
- ccache (compiler cache)
Each SPEC file contains extra information for DAR. Extra headers can be:
- Upstream - contact persons to inform of new packages
- Dists - distributions this SPEC file will be build for by default
- Archs - architectures this SPEC file will be build for by default
- SourceDists - distribution to build the source package against
- Tag - repository name ('tag') to use by default
- Soapbox - enable/disable soapbox (enabled if host and guest have soapbox)
- Compartment - enable/disable imprison (enabled if host has imprison installed)
- Ccache - enable/disable ccache (enabled if guest has ccache installed)
- Distcc - enable/disable distcc (enabled if guest has distcc installed and DISTCC_HOSTS set)
- Authority - the repository that is authoritative for this package
- Screenshot(URL) - a screenshot and a click-through URL for the website
Rebuild all kernel-packages for Red Hat 8.0 and force overwriting if they exist.
Tag them as being in the test repository.
dar-build -f -d rh80 -t test /mnt/dar/SPECS/kernel-*
Update repositories with package libmad-devel and soapbox.
dar-update libmad-devel soapbox
Sync local repositories with remote repositories.
dar-sync
Execute a command in each build environment.
dar-exec cat /etc/redhat-release
I have pretty old packages available at:
You can have access to the latest release via subversion from: