Overview
We provide the necessary files to build your own Debian packages for UMIP. It is maintained as a git repository that can directly be cloned as a debian/ folder. The files in the folder are used by dpkg-buildpackage to build the package. It also contain an init scripts for the daemon and dummy configuration files.
Create your custom packages
First, install some necessary packages:
$ sudo apt-get install fakeroot build-essential debhelper quilt
Clone our umip.git repository:
$ git clone git://git.umip.org/umip.git
Then, in the UMIP directory, clone our debian.git repository:
$ cd umip/ $ git clone git://git.umip.org/debian.git
If you want to include our experimental set of patches, you can also clone our patches.git repository in the debian/ folder. In that case, when dpkg-buildpackage is called (later in the document), quilt takes care (as asked in the Debian "rule" file in the debian/ folder) of applying the patches:
$ cd debian/ $ git clone git://git.umip.org/patches.git $ cd ../
Let's build the package. Verify that you execute the following command in the umip/ folder:
$ dpkg-buildpackage -us -uc -sd -b -i -I.git ... dpkg-deb: building package `umip' in `../umip_0.4-19_i386.deb'. dpkg-genchanges -b -sd >../umip_0.4-19_i386.changes dpkg-genchanges: binary-only upload - not including any source code dpkg-buildpackage: binary only upload (no source included)
You can then install the UMIP package with:
$ sudo dpkg -i ../umip_0.4-19_i386.deb
Changelog
- 2011/03/19: Updated addresses of repo (switch from http transport to git).
- 2010/02/16: First version of this document.