Samba4/Debian: Difference between revisions

From SambaWiki
(-> bzr)
No edit summary
Line 19: Line 19:
mkdir ../tarballs && mv *.orig.tar.gz ../tarballs
mkdir ../tarballs && mv *.orig.tar.gz ../tarballs


You can now use svn-buildpackage to build the Debian package:
You can now use bzr builddeb or dpkg-buildpackage to build the Debian package:


$ bzr builddeb
svn-buildpackage -rfakeroot

or:

$ dpkg-buildpackage -rfakeroot

Revision as of 14:32, 20 July 2010

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:

bzr branch http://bzr.debian.org/pkg-samba/samba4/unstable 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 bzr builddeb or dpkg-buildpackage to build the Debian package:

$ bzr builddeb

or:

$ dpkg-buildpackage -rfakeroot