Docbook XML conversion: devdoc
[Samba/gebeck_regimport.git] / docs / docbook / devdoc / packagers.xml
blobfb47c7305c359fd03f8a776d2b68858b39834277
1 <chapter id="Packaging">
2 <chapterinfo>
3         <author>
4                 <firstname>Jelmer</firstname><surname>Vernooij</surname>
5         </author>
6 </chapterinfo>
8 <title>Notes to packagers</title>
10 <sect1>
11 <title>Versioning</title>
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>
18 <para><programlisting>
19 Version 2.999+3.0.alpha21-5 for Debian
20 </programlisting></para>
22 </sect1>
24 <sect1>
25 <title>Modules</title>
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>
33 <para><programlisting>
34 ./configure --with-shared-modules=rpc,vfs,auth,pdb,charset
35 </programlisting></para>
37 </sect1>
40 </chapter>