1 <chapter id="Packaging">
6 <title>Notes to packagers</title>
9 <title>Versioning</title>
11 <para>Please, please update the version number in
12 <filename>source/include/version.h</filename> to include the versioning of your package. This makes it easier to distinguish standard samba builds
13 from custom-build samba builds (distributions often patch packages). For
14 example, a good version would be: </para>
16 <para><programlisting>
17 Version 2.999+3.0.alpha21-5 for Debian
18 </programlisting></para>
23 <title>Modules</title>
25 <para>Samba now has support for building parts of samba as plugins. This
26 makes it possible to, for example, put ldap or mysql support in a seperate
27 package, thus making it possible to have a normal samba package not
28 depending on ldap or mysql. To build as much parts of samba
29 as a plugin, run: </para>
31 <para><programlisting>
32 ./configure --with-shared-modules=rpc,vfs,auth,pdb,charset
33 </programlisting></para>