The packaging is kept in git://git.debian.org/git/pkg-samba/samba.git (web interface: http://git.debian.org/?p=pkg-samba/samba.git). The version in unstable is on the 'master' branch, with the corresponding upstream version in the 'upstream_4.0' branch (with pristine-tar information in the pristine-tar branch). It should be possible to build the package by just running 'git-buildpackage'. Merging upstream releases ========================= Importing a new upstream version can be done like this: # recompress tarball gunzip samba-4.0.6.tar.gz xz samba-4.0.6.tar # go to git repo cd $GIT_DIR # make sure to be on the right branch git checkout master git-import-orig --upstream-version=4.0.6+dfsg --upstream-vcs-tag=samba-4.0.6 \ ../samba-4.0.6.tar.xz # all done :) Please note that there are some files that are not dfsg-free and they need to be filtered. The settings in the gpb.conf should take care of that.