The folder structure is following:
`-- unstable # files here generated
bzip2 -c9 unstable/Packages > unstable/Packages.bz2
gzip -c9 unstable/Packages > unstable/Packages.gz
bzip2 -c9 unstable/Sources > unstable/Sources.bz2
gzip -c9 unstable/Sources > unstable/Sources.gz
apt-ftparchive -c=Release.conf release unstable > unstable/Release
gpg -abs -o unstable/Release.gpg unstable/Release
rm -f unstable/Packages* unstable/Sources* unstable/Release*
APT::FTPArchive::Release::Label "Test repository";
APT::FTPArchive::Release::Architectures "i386 source";
*.deb, *.dsc, *.diff.gz, *.changes, *.orig.tar.gz has to
be copied to the
unstable/ folder and `make` executed. This
unstable/Packages*, unstable/Sources*, unstable/Release*
files. Then just the whole folder as-is copied to a web/ftp server.
/etc/apt/sources.list file on a Debian machine
has to be updated and a gpg key has to be added through `apt-key add`.
deb http://your.hostname/some/folder/ unstable/
deb-src http://your.hostname/some/folder/ unstable/
For more advanced and more distribution like repository use reprepro. Setting up your own APT repository with upload support - is a good introduction to it.