1 <chapter id="Packaging">
4 <firstname>Jelmer</firstname><surname>Vernooij</surname>
8 <title>Notes to packagers</title>
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>
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>