CPAN: :Inject replicates the basics of this functionality.
It takes an arbitrary tarball and adds it to the CPAN sources directory for a particular author, and then add the new file to the CHECKSUMS file.