[Freeswitch-users] Alternative Debian package builder

Andrew Cassidy andrew at cassidywebservices.co.uk
Sat Mar 16 02:25:55 MSK 2013


I just wrote a script that chroots and builds for each env I have installed
using the provided build scripts.

On 15 March 2013 20:27, Cal Leeming [Simplicity Media Ltd] <
cal.leeming at simplicitymedialtd.co.uk> wrote:

> Hello,
>
> I've recently released an alternative Debian package builder for
> FreeSWITCH.
>
> https://github.com/foxx/freeswitch-debian
>
> 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).
>
> Some of the reasons for this might be;
>
> * Build your own packages with custom patches applied
> * Your build system requires an easy to use, 1 command buider
> * Building your own source packages from GIT for security reasons
> * Have a single Debian package to install rather than 100+
>
> It supports the following features;
>
> * Uses 'get-packaged-orig-source' to fetch original source from FreeSWITCH
> git
> * Builds as non-native, all arch package using quilt 3.0 patching (in
> accordance with Debian guidelines)
> * Uses start-stop-daemon
> * Uses pbuilder to ensure a clean build
> * Creates 'freeswitch' system user and enforces permissions on FreeSWITCH
> files
> * Installs into /opt/freeswitch, rather than system dirs
> * Removing/purging package will NOT remove data/logs dir or delete
> 'freeswitch' system user (in accordance with Debian guidelines)
> * Enforces all necessary dependancies
>
> Usage:
>
> # Replace GIT_REF with the ref from GIT you wish to compile against
> # Replace FS_VERSION with the version of FreeSWITCH we are compiling
>
> $ apt-get install git
> $ git clone https://github.com/foxx/freeswitch-debian.git
> $ cd freeswitch-debian
> $ GIT_REF=master FS_VERSION=1.3.16 make
>
> Hope this helps someone else!
>
> Cal
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
*Andrew Cassidy BSc (Hons) MBCS SSCA*
Managing Director


*T <info at cassidywebservices.co.uk> *03300 100 960
*F<info at cassidywebservices.co.uk>
 *03300 100 961
*E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
*W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130315/4231e175/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list