Samba4/Debian

From SambaWiki
Revision as of 12:38, 11 December 2012 by JelmerVernooij (talk | contribs) (debian packaging has migrated to git)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The Debian packaging for Samba 4 is maintained in the Bazaar repository of the Debian Samba packaging team.

To build:

Check out the official Debian packaging:

git clone git://git.debian.org/pkg-samba/samba4 samba4-unstable

Samba is not a native Debian package, so you will need to create an .orig.tar.gz tarball. Run:

./debian/rules get-orig-source

This will create the .orig.tar.gz file in your working directory.

Move this directory to ../tarballs:

mkdir ../tarballs && mv *.orig.tar.gz ../tarballs

You can now use git-buildpackage or dpkg-buildpackage to build the Debian package:

$ git-buildpackage

or:

$ dpkg-buildpackage -rfakeroot