Initial import
[samba] / docs / htmldocs / Samba3-Developers-Guide / Packaging.html
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 16. Notes to packagers</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="SAMBA Developers Guide"><link rel="up" href="pt05.html" title="Part V. Appendices"><link rel="prev" href="pt05.html" title="Part V. Appendices"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 16. Notes to packagers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pt05.html">Prev</a> </td><th width="60%" align="center">Part V. Appendices</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Packaging"></a>Chapter 16. Notes to packagers</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="surname">Vernooij</span></h3></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Packaging.html#id2528187">Versioning</a></span></dt><dt><span class="sect1"><a href="Packaging.html#id2528215">Modules</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2528187"></a>Versioning</h2></div></div></div><p>Please, please update the version number in 
2 <code class="filename">source/include/version.h</code> to include the versioning of your package. This makes it easier to distinguish standard samba builds
3 from custom-build samba builds (distributions often patch packages). For 
4 example, a good version would be: </p><pre class="programlisting">
5 Version 2.999+3.0.alpha21-5 for Debian
6 </pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2528215"></a>Modules</h2></div></div></div><p>Samba now has support for building parts of samba as plugins. This 
7 makes it possible to, for example, put ldap or mysql support in a separate 
8 package, thus making it possible to have a normal samba package not 
9 depending on ldap or mysql. To build as much parts of samba 
10 as a plugin, run: </p><pre class="programlisting">
11 ./configure --with-shared-modules=rpc,vfs,auth,pdb,charset
12 </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pt05.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pt05.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Part V. Appendices </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>