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.75.2"><link rel="home" 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" title="Chapter 16. Notes to packagers"><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#id333244">Versioning</a></span></dt><dt><span class="sect1"><a href="Packaging.html#id333274">Modules</a></span></dt></dl></div><div class="sect1" title="Versioning"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id333244"></a>Versioning</h2></div></div></div><p>
|
---|
2 | Please, please set the vendor version suffix and number in <code class="filename">source/VERSION</code> and call
|
---|
3 | <code class="filename">source/script/mkvesion.sh</code> to include the versioning of your package. There is also
|
---|
4 | the possibility to set a function to create the vendor version. This makes it easier to distinguish
|
---|
5 | standard samba builds from custom-build samba builds (distributions often patch packages). For example,
|
---|
6 | a good version would be:
|
---|
7 | </p><pre class="programlisting">
|
---|
8 | Version 2.999+3.0.alpha21-5 for Debian
|
---|
9 | </pre></div><div class="sect1" title="Modules"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id333274"></a>Modules</h2></div></div></div><p>
|
---|
10 | Samba3 has support for building parts of samba as plugins. This makes it possible to, for example,
|
---|
11 | put ldap or mysql support in a separate package, thus making it possible to have a normal samba package not
|
---|
12 | depending on ldap or mysql. To build as much parts of samba as a plugin, run:
|
---|
13 | </p><p>
|
---|
14 | The option <code class="literal">--with-shared-modules</code> is maintained to support specific modules such as
|
---|
15 | idmap_XXX and vfs_XXX. For example, <code class="literal">--with-shared-modules=idmap_ad</code>. Use of this parameter
|
---|
16 | to the <code class="literal">configure</code> command as not been supported in official releases.
|
---|
17 | </p><p>
|
---|
18 | </p><pre class="programlisting">
|
---|
19 | ./configure --with-shared-modules=rpc,vfs,auth,pdb,charset
|
---|
20 | </pre><p>
|
---|
21 | </p></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>
|
---|