Difference between revisions of "Samba4/Debian"
Lutz.willek (talk | contribs) (tiny layout changes, contributed a small faq for debian7) |
(→contributed, not official FAQ) |
||
Line 27: | Line 27: | ||
$ dpkg-buildpackage -rfakeroot | $ dpkg-buildpackage -rfakeroot | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 00:34, 7 December 2013
Build a Debian .deb package from git.debian.org sources
The Debian packaging for Samba 4 is maintained in the git 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