From SambaWiki
Revision as of 15:39, 11 September 2008 by JelmerVernooij (talk | contribs) (Add instructions for building Debian packages.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

To build:

Check out the official Debian packaging:

svn co svn:// samba4/debian

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 svn-buildpackage to build the Debian package:

svn-buildpackage -rfakeroot