Periapt
Periapt is a simple tool for generating a Debian (apt) package repository.
To use Periapt, first build your .deb package files, and lay them out on disk as shown:
packages/
# Create a directory under your root package folder for every
# distribution (i.e., Debian or Ubuntu) release for which you build
# packages:
â”” precise/
# Under each distribution directory, create a directory for each
# component of your distibution:
â”” main/
# Finally, under each component directory, include your .debs:
â”” python3.3_3.3.4-1_amd64.deb
â”” python3.3-setuptools_2.2-1_any.deb
â”” devel/
â”” python3.3-dev_3.3.4-1_amd64.deb
â”” wheezy/
â”” main/
â”” python3.3_3.3.4-1_amd64.deb
â”” python3.3-setuptools_2.2-1_any.deb
â”” devel/
â”” python3.3-dev_3.3.4-1_amd64.deb
Make sure the user under which you're running Periapt has your package signing key installed in its GnuPG keyring. Then:
$ periapt \
'Thumbtack' \ # title of your repository
~/packages \ # path to your .deb package tree
/srv/apt # path where the package tree should be generated
To sign your repository with a specific key instead of the GnuPG default, add
the --key
option and pass the key ID.
License
Periapt is distributed under the terms of the 3-clause BSD license. See COPYING.