+

viewgit/inc/functions.php:463 Function create_function() is deprecated [8192]

Shortlog

Date Author Message Actions
17-04-28 15:11 Benjamin Renard Add --location parameter in Curl mode to handle remaster commitdiff tree tar/gz zip patch
17-04-24 12:51 Benjamin Renard Add possibility to use curl instead of wget commitdiff tree tar/gz zip patch
17-04-24 12:51 Benjamin Renard Update CHECK_URL commitdiff tree tar/gz zip patch
16-04-23 09:12 Benjamin Renard Fix method to retreive current stable version commitdiff tree tar/gz zip patch
16-04-23 09:10 Benjamin Renard Add option to disable SSL certificate check commitdiff tree tar/gz zip patch
15-02-10 09:14 root Fix to support complete/dependent package commitdiff tree tar/gz zip patch
15-01-26 09:17 Benjamin Renard Update README file commitdiff tree tar/gz zip patch
15-01-26 09:12 Benjamin Renard Fix Nagios mode return levels commitdiff tree tar/gz zip patch
15-01-26 09:11 Benjamin Renard Add -a parameter to only run after_upgrade() funct commitdiff tree tar/gz zip patch
14-12-31 09:59 Benjamin Renard Fix return code in OK case of Nagios mode commitdiff tree tar/gz zip patch
14-12-31 09:50 Benjamin Renard Add README file commitdiff tree tar/gz zip patch
14-12-31 09:50 Benjamin Renard Do not remove failed cache file on Nagios mode commitdiff tree tar/gz zip patch
14-12-31 09:46 Benjamin Renard Remove OWNER and GROUP deprecated parameters commitdiff tree tar/gz zip patch
14-12-31 09:08 Benjamin Renard Add Nagios mode commitdiff tree tar/gz zip patch
14-12-31 09:07 Benjamin Renard Pass installation path to after_upgrade function commitdiff tree tar/gz zip patch

more »

Tags

Date Tag Actions

View all tags

Heads

Date Branch Actions
17-04-28 15:11 master

Project informations

Description
Check upgrade script for Roundcube Webmail
Last Change
17-04-28 15:11
URL
  • http://git.zionetrix.net/git/check_rc_upgrade
  • git@git.zionetrix.net:public_git/check_rc_upgrade
README
Check Update script for Roundcube Webmail
=========================================

This script permit to check if an Roundcube Webmail is up to date.

It retreive current stable version on Roundcube Webmail Website and
compare it to the local version. If the local version is different
than the current stable version, it notify you by email.

The original script it design to be run by cron, but you could now
use the script as Nagios check plugin (-n parameter).

Upgrading your Roundcube Webmail installation
---------------------------------------------

The script could also help you to upgrade your installation. By
running the script with the -u parameter, it will automatically :
 - download and uncompress for you the newest version from Roundcube
   Webmail Website in an upstream directory
 - duplicate current installation data in a new directory
 - upgrade this duplicated installation by using 'installto.sh' script
   provide by Roundcube Webmail project
 - Optional : execute a custom bash function after_upgrade() if defined.
   It could be useful if you have custom modification in your installation.
 - If the current installation path is a symlink, it propose you to change
   the destionation of this symlink to the new installation path.

Usage
-----

  Usage : ./check_rc_upgrade.sh [-v] [-n] [-d] [-u]
    -v   Verbose mode
    -n   Nagios mode
    -d   Download new release
    -u   Upgrade installation
    -a   Just run after_upgrade function
    -j   Just display current stable version
    -h   Display this help

Configuration
-------------

The configuration of this script is located on top of it. It recommand
to copy the variables in a second file check_rc_upgrade.sh.local. This
file will be included if present.

Parameters :

 - RC_HOME :
    The full path of your  Roundcube Webmail installation

 - MAIL :
    The email address that will be notified on upgrade available (POSIX
    root user by default)

 - SEND_EVERY_NB_DAY :
    The frequency of upgrade available notification (in days, 7 by default)

 - CACHE :
    The path of a cache file use to keep the lastest upgrade notification.
    (By default : .cache_check_upgrade file in the parent directory of your
    Roundcube Webmail installation)

 - CACHE_FAILED :
    The path of a cache file use to keep the number of check failed.
    (By default : $CACHE suffix with '.failed')

 - MAX_CHECK :
    The maximum number of attempts to retreive current stable version on
    Roundcube Webmail Website. (10 by default)

 - MAX_FAILED :
    The maximum number of check failed before notify by email (3 by default)

 - SLEEP_ON_FAILED :
    The number of second to sleep between to attempts  to retreive current
    stable version on Roundcube Webmail Website. (10 by default)

 - CHECK_URL :
    The URL use to retrieve the lastest Roundcube Webmail version.
    (By default : http://www.roundcube.net/download)

 - DOWNLOAD :
    If this variable is set to 1, the newest version will be automatically
    download in the download directory. (Default : 0)

 - DOWNLOAD_DIR :
    The path of the download directory. (Default : upstream directory in
    the parent directory of your Roundcube Webmail installation)
ViewGit