Samba4/Debian: Difference between revisions

From SambaWiki
(tiny layout changes, contributed a small faq for debian7)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
repository of the Debian Samba packaging team.
repository of the Debian Samba packaging team.


See instructions at: https://salsa.debian.org/samba-team/samba/blob/master/debian/README.source.md
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


==== contributed, not official FAQ ====
Q: This sources are old: 4.0.0~rc6+dfsg1-1 (Tue, 4 Dec 2012). There are newer versions planned for Debian7 (stable)?
A: In short: No, read https://lists.samba.org/archive/samba-technical/2013-April/091878.html

Q: What is the best way to get a newer Debian7 package, without recompiling the sources?
A: Depends, the lazy way is using enterprisesamba packages, but you have to register there (consider to build your own packages, ie. dh-make)

Latest revision as of 13:18, 15 March 2018

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.

See instructions at: https://salsa.debian.org/samba-team/samba/blob/master/debian/README.source.md