]> git.proxmox.com Git - frr.git/blame - debian/backports/README
import debianpkg directory as debian
[frr.git] / debian / backports / README
CommitLineData
bf024873
AD
1This directory contains the debian directories for backports to other debian
2platforms. These are built via the `3.0 (custom)' source format, which
3allows one to build a source package directly out of tarballs (e.g. an
4orig.tar.gz tarball and a debian.tar.gz file), at which point the format can
5be changed to a real format (e.g. `3.0 (quilt)').
6
7Source packages are assembled via targets of the same name as the system to
8which the backport is done (e.g. `precise'), included in debian/rules.
9
10To create a new debian backport:
11
12* Add its name to `KNOWN_BACKPORTS', defined in debian/rules.
13* Create a directory of the same name in debian/backports.
14* Add the files `exclude', `versionext', and `debian/source/format' under
15 this directory:
16 * `exclude' contains whitespace-separated paths (relative to the root of
17 the source dir) that should be excluded from the source package (e.g.
18 debian/patches).
19 * `versionext' contains the suffix added to the version number for this
20 backport's build. Distributions often have guidelines for what this
21 should be. If left empty, no new debian/changelog entry is created.
22 * `debian/source/format' should contain the source format of the resulting
23 source package. As of of the writing of this document the only supported
24 format is `3.0 (quilt)'.
25* Add appropriate files under the `debian/' subdirectory. These will be
26 included in the source package, overriding any top-level `debian/' files
27 with equivalent paths.
28