Samba4/Debian: Difference between revisions
From SambaWiki
No edit summary |
|||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== Build a Debian .deb package from git.debian.org sources == |
|||
The Debian packaging for Samba 4 is maintained in the |
The Debian packaging for Samba 4 is maintained in the git |
||
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: |
|||
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 |
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