[Freeswitch-users] Switching from RPM to GIT

Ken Rice krice at freeswitch.org
Mon Jan 6 20:33:46 MSK 2014


Actually if you want to roll your own RPMs from FS source for master, its
pretty easy

First set up all the pre-req devel packages (with yum)

Checkout the source from git as normal, then run the following 3 scripts
from the root of your FS source tree

./scripts/ci/src_tarball.sh ${version_number}   ;# replace version number
with your version number... I suggest using the one in configure.in
./scripts/ci/get_extra_sources.sh               ;# this will get any extra
sources you need
./scripts/ci/rpmbuilder.sh  ${version_number} ${build_number}  ;# make the
version number the same as above, make the build number increment each time
you build the same version

RPMs will be dropped in the RPMS dir in your FS source tree, then use
yum/rpm to install them as normal. If you have already installed the sound
files you are fine... Same with your configs...



On 1/6/14 11:21 AM, "Callum Guy" <callum.guy at x-on.co.uk> wrote:

> Thanks Steven, i can only say that i'm aware of that as a possibility but with
> 100 things on the to-do that one sounds a little daunting. Out of interest is
> there a guide that you are aware of? I would certainly add this as task 101 :)
> 
> ______________________________
> 
> Callum Guy
> Developer
> 
> X-on
> Framlingham Technology Centre
> Station Road, Framlingham,
> Suffolk, IP13 9EZ
> 
> T       0333 332 0116
> E       callum.guy at x-on.co.uk
> 
> 
> 
> 
> X-on is a trading name of Storacall Technology Ltd a limited company
> registered in England and Wales
> Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead,
> Herts, HP3 9SD  
> Company Registration No. 2578478
> 
> This email has been sent from X-on.The contents and attachments are
> confidential to the sender and the intended addressees.If the message
> is received by anyone other than the addressee please return the message to
> the sender by replying to it and then delete the message from
> your computer without copying or disclosing the contents to anyone.Opinions,
> conclusions and statements of intent in this email are those of
> the sender and do not bind X-on unless confirmed by authorised representatives
> independently of this message.While best endeavours have
> been taken to avoid transmission of viruses, it is the responsibility of the
> recipient to scan for these.Please note emails sent to and from X-on
> are routinely monitored for record keeping and quality control, to ensure
> regulatory compliance and prevent unauthorised use of our systems.
> 
> Please consider the environment before printing this email.
> 
> 
> On 6 January 2014 12:38, Steven Ayre <steveayre at gmail.com> wrote:
>> You could build your own RPMs from git head then upgrade to those versions.
>> 
>> 
>> On 6 January 2014 10:22, Callum Guy <callum.guy at x-on.co.uk> wrote:
>>> I have a simple Monday morning query - if i've installed FreeSWITCH using
>>> RPM's and have now decided to remove the application and use the git head -
>>> is there a simple way to do this?
>>> 
>>> I'm pretty much a novice so far as Linux administration so my approach would
>>> be as follows:
>>> 
>>> List the packages: 
>>> 
>>> rpm -qa | grep -i freeswitch
>>> freeswitch-1.2.14-1.el6.x86_64
>>> freeswitch-application-snom-1.2.14-1.el6.x86_64
>>> freeswitch-appl....
>>> ...
>>> ... (x30)
>>> 
>>> Remove them all one at a time using rpm -e  freeswitch-1.2.14-1.el6.x86_64
>>> 
>>> Proceed with GIT install. Is there a cleaner/easier approach?
>>> 
>>> Thanks.
>>> 
>>> _________________________________________________________________________
>>> 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
>>> 
>> 
>> 
>> _________________________________________________________________________
>> 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
>> 
> 
> 
> 
> _________________________________________________________________________
> 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

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch
Twitter: @FreeSWITCH


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140106/da85c254/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list