Start testing a few more things out of smbtorture in the build farm.
[kai/samba.git] / packaging / Debian / README
1 Building Samba Packages for Debian GNU/Linux
2 --------------------------------------------
3
4 If you want to build Samba packages for Debian and you just want to use
5 upstream sources, i.e. you don't want to wait for us to put official
6 packages out, or you want packages for a Debian version for which we
7 don't provide deb's, or you don't want to use official packages, or
8 you want to add --this-cool-switch to configure, or whatever, follow
9 these instructions:
10
11 0) Make sure you have the following packages installed:
12    debhelper
13    libpam0g-dev
14    libreadline4-dev
15    libcupsys2-dev
16    + the minimum Debian development stuff (dpkg-dev, libc6-dev, etc.)
17    Note: libcupsys2-dev is not available for Potato. It's safe
18    to not install it if you don't need CUPS support.
19 1) cd samba[-<version>]
20 2) cp -a packaging/Debian/debian/ debian
21   It's important that you copy instead of symlink because the build
22   tools in Potato have a problem that prevents the build to work with
23   a symlink.
24 3) dch -i
25   - Edit the changelog and make sure the version is right. For example,
26   for Samba 2.2.3, the version number should be 2.2.3-0.1 (use
27   a number less than 1 like 0.1, 0.2, etc. so there is no conflict
28   with future upgrades to the official Debian packages.)
29 4) Run 'debian/rules binary'.
30   - It is better that you prefix the above command with 'fakeroot'.
31     If you have problems you might try building as root.
32 5) That's it. Your new packages should be in ../. Install with dpkg.
33
34 Please e-mail samba@packages.debian.org with comments, question or
35 usggestions. Please talk to us and not to the Samba Team. They have
36 better things to do and know nothing about the Debian packaging system.
37
38 Eloy A. Paris <peloy@debian.org>
39 Steve Langasek <vorlon@debian.org>
40
41 Sat Feb  2 00:44:42 CET 2002
42