sync packagaing with SAMBA_3_0
[kai/samba.git] / docs / docbook / devdoc / packagers.sgml
1 <chapter id="Packaging">
2 <chapterinfo>
3         <author>
4                 <firstname>Jelmer</firstname><surname>Vernooij</surname>
5         </author>
6 </chapterinfo>
7
8 <title>Notes to packagers</title>
9
10 <sect1>
11 <title>Versioning</title>
12
13 <para>Please, please update the version number in 
14 <filename>source/include/version.h</filename> to include the versioning of your package. This makes it easier to distinguish standard samba builds
15 from custom-build samba builds (distributions often patch packages). For 
16 example, a good version would be: </para>
17
18 <para><programlisting>
19 Version 2.999+3.0.alpha21-5 for Debian
20 </programlisting></para>
21
22 </sect1>
23
24 <sect1>
25 <title>Modules</title>
26
27 <para>Samba now has support for building parts of samba as plugins. This 
28 makes it possible to, for example, put ldap or mysql support in a seperate 
29 package, thus making it possible to have a normal samba package not 
30 depending on ldap or mysql. To build as much parts of samba 
31 as a plugin, run: </para>
32
33 <para><programlisting>
34 ./configure --with-shared-modules=rpc,vfs,auth,pdb,charset
35 </programlisting></para>
36
37 </sect1>
38
39
40 </chapter>