Great, thanks to everyone who helped. Is it worth adding to the WiKi? It's similar to http://wiki.freeswitch.org/wiki/Installation_Guide#Reverting_to_an_Earlier_Commit_in_Git
but not exactly the same.

The final version is:

git fetch
git checkout <hash>
git clean -d -f -x
rm -rf /usr/local/freeswitch/{lib,mod,bin}/*
./bootstrap.sh
./configure <my configure options>
<restore previously backed-up modules.conf>
make
make install

-Victor


On 13-03-30 01:13 PM, Avi Marcus wrote:
The code to delete the installed binaries is here:

http://wiki.freeswitch.org/wiki/Installation_Guide#Reverting_to_an_Earlier_Commit_in_Git
rm -rf /usr/local/freeswitch/{lib,mod,bin}/*

Also, you don't need to do a git pull -- just a git fetch. fetch grabs the updates. Pull fetches the updates and then checks out the most recent revision on the selected branch. So do fetch then checkout the version you want.

-Avi Marcus
BestFone

On Sat, Mar 30, 2013 at 5:24 AM, Victor Chukalovskiy <victor.chukalovskiy@gmail.com> wrote:
Am I missing something? Any unnecessary  steps? Based on Michael's input, the following should be done in the source directory:

git pull
git checkout <hash>
git clean -d -f -x
./bootstrap.sh
./configure <my configure options>
<restore previously backed-up modules.conf>
make
make install

Thank you,
Victor

On 13-03-29 11:29 AM, Michael Collins wrote:
FS will never overwrite existing configs in the conf directory. However, you can be extra safe by backing up your conf directory, performing your update, then restoring your conf directory.

As far as the non-standard "configure" script that will need to be backed up as well. You'll need to restore that script after you run or re-run the bootstrap.sh script. Same goes for modules.conf - back it up and restore it after you run the modified configure script. In cases like this I recommend that you write a simple shell script and add a few comments to it so that the next time you do this in a few months you'll know not only what is supposed to happen (shell script commands) but why (comments).

-MC

On Thu, Mar 28, 2013 at 6:48 PM, Victor Chukalovskiy <victor.chukalovskiy@gmail.com> wrote:
Hello,

What would be the right way to update existing system to a particular
version?

Under normal conditions I'd do "make current" Here I want exactly the
same, but:
-specify the version to install
Making sure to:
-preserve non-standard ./configure string used during initial install
-make sure conf directory is not overwritten by stock config.
-make sure modules.conf is not overwritten / changed

It should be simple...but want to avoid trial and error. WiKi is
somewhat confusing.

Thank you,
-Victor


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org