summaryrefslogtreecommitdiff
path: root/docs/docbook/devdoc/packagers.sgml
blob: fb47c7305c359fd03f8a776d2b68858b39834277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<chapter id="Packaging">
<chapterinfo>
	<author>
		<firstname>Jelmer</firstname><surname>Vernooij</surname>
	</author>
</chapterinfo>

<title>Notes to packagers</title>

<sect1>
<title>Versioning</title>

<para>Please, please update the version number in 
<filename>source/include/version.h</filename> to include the versioning of your package. This makes it easier to distinguish standard samba builds
from custom-build samba builds (distributions often patch packages). For 
example, a good version would be: </para>

<para><programlisting>
Version 2.999+3.0.alpha21-5 for Debian
</programlisting></para>

</sect1>

<sect1>
<title>Modules</title>

<para>Samba now has support for building parts of samba as plugins. This 
makes it possible to, for example, put ldap or mysql support in a seperate 
package, thus making it possible to have a normal samba package not 
depending on ldap or mysql. To build as much parts of samba 
as a plugin, run: </para>

<para><programlisting>
./configure --with-shared-modules=rpc,vfs,auth,pdb,charset
</programlisting></para>

</sect1>


</chapter>