Hello,<div><br></div><div>I&#39;ve recently released an alternative Debian package builder for FreeSWITCH.</div><div><br></div><div><div><a href="https://github.com/foxx/freeswitch-debian">https://github.com/foxx/freeswitch-debian</a></div>
</div><div><br></div><div><div>Although FreeSWITCH does already have suitable Debian packages (and a builder), it might not be suitable for your needs (and in our specific use case, we required an alternative approach).</div>
</div><div><br></div><div>Some of the reasons for this might be;<br><br>* Build your own packages with custom patches applied<br>* Your build system requires an easy to use, 1 command buider<br>* Building your own source packages from GIT for security reasons<br>
* Have a single Debian package to install rather than 100+<br><br>It supports the following features;<br><br>* Uses &#39;get-packaged-orig-source&#39; to fetch original source from FreeSWITCH git<br>* Builds as non-native, all arch package using quilt 3.0 patching (in accordance with Debian guidelines)<br>
* Uses start-stop-daemon<br>* Uses pbuilder to ensure a clean build<br>* Creates &#39;freeswitch&#39; system user and enforces permissions on FreeSWITCH files<br>* Installs into /opt/freeswitch, rather than system dirs<br>
* Removing/purging package will NOT remove data/logs dir or delete &#39;freeswitch&#39; system user (in accordance with Debian guidelines)<br>* Enforces all necessary dependancies</div><div><br></div><div>Usage:</div><div>
<br></div><div># Replace GIT_REF with the ref from GIT you wish to compile against<br># Replace FS_VERSION with the version of FreeSWITCH we are compiling<br><br>$ apt-get install git<br>$ git clone <a href="https://github.com/foxx/freeswitch-debian.git">https://github.com/foxx/freeswitch-debian.git</a><br>
$ cd freeswitch-debian<br>$ GIT_REF=master FS_VERSION=1.3.16 make</div><div><br></div><div>Hope this helps someone else!</div><div><br></div><div>Cal</div>