2004-06-06 02:31:58 +04:00
<?xml version="1.0" encoding="iso-8859-1"?>
2005-03-13 04:38:40 +03:00
<!DOCTYPE chapter PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
2004-04-07 14:15:11 +04:00
<chapter id= "Packaging" >
<chapterinfo >
<author >
<firstname > Jelmer</firstname> <surname > Vernooij</surname>
</author>
</chapterinfo>
<title > Notes to packagers</title>
<sect1 >
<title > Versioning</title>
2007-09-02 23:28:54 +04:00
<para >
2008-07-17 15:37:31 +04:00
Please, please set the vendor version suffix and number in <filename > source/VERSION</filename> and call
<filename > source/script/mkvesion.sh</filename> to include the versioning of your package. There is also
the possibility to set a function to create the vendor version. 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:
2007-09-02 23:28:54 +04:00
</para>
2004-04-07 14:15:11 +04:00
<para > <programlisting >
Version 2.999+3.0.alpha21-5 for Debian
</programlisting> </para>
</sect1>
<sect1 >
<title > Modules</title>
2007-09-02 23:28:54 +04:00
<para >
2017-05-05 12:11:07 +03:00
Samba has support for building parts of samba as plugins. This makes it possible to, for example,
2007-09-02 23:28:54 +04:00
put ldap or mysql support in a separate 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>
2004-04-07 14:15:11 +04:00
2007-09-02 23:28:54 +04:00
<para >
The option <literal > --with-shared-modules</literal> is maintained to support specific modules such as
idmap_XXX and vfs_XXX. For example, <literal > --with-shared-modules=idmap_ad</literal> . Use of this parameter
to the <command > configure</command> command as not been supported in official releases.
</para>
<para >
<programlisting >
2004-04-07 14:15:11 +04:00
./configure --with-shared-modules=rpc,vfs,auth,pdb,charset
2007-09-02 23:28:54 +04:00
</programlisting>
</para>
2004-04-07 14:15:11 +04:00
</sect1>
</chapter>