[ANN] Version 3.0.0-rc1
a.cudbardb at freeradius.org
Mon Sep 9 16:18:06 CEST 2013
On 9 Sep 2013, at 14:24, Alan DeKok <aland at deployingradius.com> wrote:
> Stefan Winter wrote:
>> The idea is that make install is not supposed to touch my production
>> config in any way. I don't want it to generously add directories without
>> me knowing.
if ! git pull; then
hash=`git log -n 1 --pretty=format:%h`
./configure -C --prefix="/usr/local/freeradius-$hash" --enable-developer
if ! sudo make install; then
sudo rm /usr/local/freeradius
sudo ln -s "/usr/local/freeradius-$hash" /usr/local/freeradius
# Bootstrap configuration directory
if [ ! -d "/usr/local/etc/raddb" ]; then
if [ ! -d /usr/local/etc ]; then
sudo mkdir /usr/local/etc/
sudo cp -ra /usr/local/freeradius-$hash/etc/raddb /usr/local/etc/
sudo rm -rf /usr/local/freeradius/etc/raddb
sudo ln -s /usr/local/etc/raddb /usr/local/freeradius/etc/raddb
sudo service radiusd restart
Which is what I use to deploy GIT versions on production servers. It allows you to quickly fail back to a previous version if there are issues.
This negates problems caused by installing over the top of a previous installation, which IMHO is always an extremely bad idea with any unpackaged software.
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Freeradius-Users