reprepro

Reprepro (formerly having the working title mirrorer) is a tool to handle local repositories of debian packages.

Documentation

Look at the Source







[1] or whatever libgpgme wants to call; only needed while signing or verifying
[2] to be more specific the programs in /usr/lib/apt/methods, and only if importing from other sources.
[3] only needed when compiled without libarchive
[4] libdb3-dev, libdb4.2-dev and libdb4.4-dev should also be possible, but I stronly suggest to always use to libdb4.3-dev to avoid theoretically possible problems when changing from one to the other version