Thank you Travis for the further clarification and thank you to everyone else who jumped on this thread, very much appreciated!<div><br></div><div>Cal<br><br><div class="gmail_quote">On Tue, Mar 12, 2013 at 3:28 PM, Travis Cross <span dir="ltr">&lt;<a href="mailto:tc@travislists.com" target="_blank">tc@travislists.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cal,<br>
<br>
It looks like others did rather well at answering these, so I&#39;ll just<br>
fill in some points.<br>
<div class="im"><br>
On 2013-03-12 12:44, Cal Leeming [Simplicity Media Ltd] wrote:<br>
&gt; So today I went to go and create a Debian package for FreeSWITCH<br>
&gt; using the existing packaging structure;<br>
&gt;<br>
&gt; <a href="https://github.com/traviscross/freeswitch/blob/master/debian/" target="_blank">https://github.com/traviscross/freeswitch/blob/master/debian/</a><br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Debian_packages_buildscript" target="_blank">http://wiki.freeswitch.org/wiki/Debian_packages_buildscript</a><br>
&gt;<br>
&gt; The first problem is that neither the helper or the debian/ dir have<br>
&gt; been configured for compatibility with pbuilder, which makes it<br>
&gt; untidy/non-sane to place this onto an automated production build<br>
&gt; system (it also impacts security slightly due to untrusted external<br>
&gt; code being ran outside of a chroot - but that&#39;s possibly an entirely<br>
&gt; different debate).<br>
<br>
</div>It works fine with pbuilder and cowbuilder.  If you take a look at the<br>
util.sh script, which is what I use to do the builds, you&#39;ll see I use<br>
cowbuilder there as well.<br>
<div class="im"><br>
&gt; The second problem is that the build resulted in nearly 100<br>
&gt; different *.deb files This also poses somewhat of an annoyance in<br>
&gt; automated deployment environments, for example saltstack, where the<br>
&gt; configuration would have to list each individual FreeSWITCH<br>
&gt; module.<br>
<br>
</div>You may not have noticed there are meta packages.  If you install<br>
freeswitch-meta-all you&#39;ll get everything pulled in.<br>
<div class="im"><br>
&gt; It also feels very untidy. I understand that certain packages (such<br>
&gt; as libfreeswitch, libfreeswitch-dev, freeswitch-server etc) should<br>
&gt; be separated. But having a package for each module, the only use I<br>
&gt; could think of for this, would be if the Debian package compiles<br>
&gt; absolutely every module possible, and is then linked dynamically,<br>
&gt; rather than compiled static. This means enabling/disabling modules<br>
&gt; would be a matter of simply adding/removing a package.<br>
<br>
</div>Yes, that&#39;s exactly how it works.<br>
<div class="im"><br>
&gt; However I&#39;m not entirely convinced if this is what it is<br>
&gt; doing.. when compiling absolutely every package possible, FreeSWITCH<br>
&gt; will usually fail to compile, due to collision etc.<br>
&gt;<br>
&gt; So I have a couple of questions;<br>
&gt;<br>
&gt; 1) Why are the modules separated into individual files?<br>
&gt;<br>
&gt; 2) Are there any reasons to not be using pbuilder?<br>
&gt;<br>
&gt; I have also CC&#39;d Travis Cross who appears to a major contributor on<br>
&gt; the Debian packaging code.<br>
<br>
</div>Please also be sure to read debian/README.{Debian,source}.<br>
<br>
Best,<br>
<br>
--<br>
Travis Cross<br>
<div class="HOEnZb"><div class="h5"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>