If you gpg2 over gpg, building a debian package with debuild or gbp buildpackage may require some fiddling.
building gpg debian gpg2
In Debian/Stretch, the default ViM settings have been changed — for the worse, in my opinion.
stretch vimrc debian vim
We used to use reprepro (4.17) to manage our package repository. However, it did not support serving multiple versions of the same package. The Benjamin Drung version from GitHub/profitbricks/reprepro does. Here's our recipe to build it.
build reprepro debian pkg
I'm quite happy with our LXC environment on which I've got various Debian and Ubuntu build VMs so I can package backports and other fixes into nice .deb packages.
lxc virtualization debian
As of this writing, Debian testing (stretch) contains Asterisk version 13.1.0. The Debian source as GIT repository is here: https://anonscm.debian.org/git/pkg-voip/asterisk.git (browse)
packaging asterisk debian