more search-and-replace

This commit is contained in:
fgerlits 2006-10-16 15:03:23 +00:00
parent 53a7f9a726
commit ed31251b46
21 changed files with 109 additions and 110 deletions

View file

@ -31,7 +31,7 @@
# (based on the version in enlightenment's cvs) # (based on the version in enlightenment's cvs)
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
package="LiveSupport" package="Campcaster"
# assume we're in $basedir/bin # assume we're in $basedir/bin
reldir=`dirname $0`/.. reldir=`dirname $0`/..

View file

@ -26,7 +26,7 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script creates Debian packages from LiveSupport tarballs. # This script creates Debian packages from Campcaster tarballs.
# To create the tarballs first, see the dist.sh script. # To create the tarballs first, see the dist.sh script.
# #
# Invoke as: # Invoke as:
@ -53,10 +53,10 @@ usrdir=`cd $basedir/usr; pwd;`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport debian source package creation script"; echo "Campcaster debian source package creation script";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -d, --directory Place to look for the livesupport source"; echo " -d, --directory Place to look for the campcaster source";
echo " tarballs [default: current directory]"; echo " tarballs [default: current directory]";
echo " -m, --maintainer The name and e-mail address of the package"; echo " -m, --maintainer The name and e-mail address of the package";
echo " maintainer."; echo " maintainer.";
@ -128,7 +128,7 @@ else
fi fi
echo "Creating Debian source packages for LiveSupport."; echo "Creating Debian source packages for Campcaster.";
echo ""; echo "";
echo "Using the following parameters:"; echo "Using the following parameters:";
echo ""; echo "";
@ -168,8 +168,8 @@ check_exe "sed" || exit 1;
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# More definitions # More definitions
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
tarball=$directory/livesupport-$version.tar.bz2 tarball=$directory/campcaster-$version.tar.bz2
tarball_libs=$directory/livesupport-libraries-$version.tar.bz2 tarball_libs=$directory/campcaster-libraries-$version.tar.bz2
if [ ! -f $tarball ]; then if [ ! -f $tarball ]; then
echo "source tarball $tarball not found in directory $directory"; echo "source tarball $tarball not found in directory $directory";
@ -182,7 +182,7 @@ if [ ! -f $tarball_libs ]; then
fi fi
packageName=livesupport-$version packageName=campcaster-$version
packageNameOrig=$packageName.orig packageNameOrig=$packageName.orig
workdir=$tmpdir/debianize workdir=$tmpdir/debianize
@ -202,17 +202,17 @@ cd $workdir
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
echo "Extracting source tarballs..."; echo "Extracting source tarballs...";
# untar first, and rename as livesupport-$version.orig # untar first, and rename as campcaster-$version.orig
tar xfj $tarball tar xfj $tarball
tar xfj $tarball_libs tar xfj $tarball_libs
mv $packageName $packageNameOrig mv $packageName $packageNameOrig
# untar again, and leave it as livesupport-$version # untar again, and leave it as campcaster-$version
tar xfj $tarball tar xfj $tarball
tar xfj $tarball_libs tar xfj $tarball_libs
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Debianize the livesupport-$version sources # Debianize the campcaster-$version sources
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
echo "Debianizing sources..."; echo "Debianizing sources...";
@ -239,7 +239,7 @@ dpkg-source -b $packageName $packageNameOrig
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
echo "Moving debian source package files to target directory..."; echo "Moving debian source package files to target directory...";
mv -f livesupport_$version* $outdir mv -f campcaster_$version* $outdir
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

View file

@ -26,10 +26,10 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script creates a distribution tarball for livesupport. # This script creates a distribution tarball for Campcaster.
# Creates two tarballs: # Creates two tarballs:
# livesupport-<version>.tar.bz2 - the LiveSupport source files # campcaster-<version>.tar.bz2 - the Campcaster source files
# livesupport-libraries-<version>.tar.bz2 - dependent libraries # campcaster-libraries-<version>.tar.bz2 - dependent libraries
# #
# Invoke as: # Invoke as:
# ./bin/dist.sh -v <version.number> # ./bin/dist.sh -v <version.number>
@ -57,7 +57,7 @@ usrdir=`cd $basedir/usr; pwd;`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport install script."; echo "Campcaster install script.";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -d, --directory Place the tarballs in the specified directory."; echo " -d, --directory Place the tarballs in the specified directory.";
@ -110,7 +110,7 @@ d=`cd $directory; pwd`
directory=$d directory=$d
echo "Creating tarballs for LiveSupport."; echo "Creating tarballs for Campcaster.";
echo ""; echo "";
echo "Using the following parameters:"; echo "Using the following parameters:";
echo ""; echo "";
@ -124,7 +124,7 @@ echo ""
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
if [ -f $basedir/Makefile ]; then if [ -f $basedir/Makefile ]; then
echo "ERROR: make sure to run this script on a freshly checked-out copy"; echo "ERROR: make sure to run this script on a freshly checked-out copy";
echo " of LiveSupport, with NO generated files!"; echo " of Campcaster, with NO generated files!";
exit 1; exit 1;
fi fi
@ -132,10 +132,10 @@ fi
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# More definitions # More definitions
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
tarball=$directory/livesupport-$version.tar.bz2 tarball=$directory/campcaster-$version.tar.bz2
tarball_libs=$directory/livesupport-libraries-$version.tar.bz2 tarball_libs=$directory/campcaster-libraries-$version.tar.bz2
ls_tmpdir=$tmpdir/livesupport-$version ls_tmpdir=$tmpdir/campcaster-$version
src_tmpdir=$ls_tmpdir/src src_tmpdir=$ls_tmpdir/src
tools_tmpdir=$src_tmpdir/tools tools_tmpdir=$src_tmpdir/tools
modules_tmpdir=$src_tmpdir/modules modules_tmpdir=$src_tmpdir/modules
@ -231,14 +231,13 @@ cp -pPR README INSTALL configure $ls_tmpdir
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Get rid of the remnants of the subversion system # Get rid of the remnants of the subversion system
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Paul Baranowski: you dont need to do this when you export from SVN. rm -rf `find $ls_tmpdir -name .svn -type d`
#rm -rf `find $ls_tmpdir -name .svn -type d`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Create the main configure script # Create the main configure script
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
cd $tmpdir/livesupport-$version cd $tmpdir/campcaster-$version
./bin/autogen.sh ./bin/autogen.sh
cd $basedir cd $basedir
@ -247,7 +246,7 @@ cd $basedir
# Create the tarball # Create the tarball
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
cd $tmpdir cd $tmpdir
tar cfj $tarball livesupport-$version tar cfj $tarball campcaster-$version
cd $basedir cd $basedir
@ -323,7 +322,7 @@ rm -rf `find $ls_tmpdir -name .svn -type d`
# Create the libraries tarball # Create the libraries tarball
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
cd $tmpdir cd $tmpdir
tar cfj $tarball_libs livesupport-$version tar cfj $tarball_libs campcaster-$version
cd $basedir cd $basedir

View file

@ -28,7 +28,7 @@
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script generates code coverage data for all modules # This script generates code coverage data for all modules
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
module="LiveSupport" module="Campcaster"
reldir=`dirname $0`/.. reldir=`dirname $0`/..
basedir=`cd $reldir; pwd;` basedir=`cd $reldir; pwd;`

View file

@ -2,48 +2,48 @@
# #
# #
LIVESUPPORT_DIR=/opt/livesupport CAMPCASTER_DIR=/opt/campcaster
LIVESUPPORT_BIN=$LIVESUPPORT_DIR/bin CAMPCASTER_BIN=$CAMPCASTER_DIR/bin
LIVESUPPORT_ETC=$LIVESUPPORT_DIR/etc CAMPCASTER_ETC=$CAMPCASTER_DIR/etc
LIVESUPPORT_LIB=$LIVESUPPORT_DIR/lib CAMPCASTER_LIB=$CAMPCASTER_DIR/lib
GSTREAMER_DIR=`find $LIVESUPPORT_LIB -type d -name "gstreamer-*"` GSTREAMER_DIR=`find $CAMPCASTER_LIB -type d -name "gstreamer-*"`
PATH=/sbin:/bin:/usr/sbin:/usr/bin:$LIVESUPPORT_BIN PATH=/sbin:/bin:/usr/sbin:/usr/bin:$CAMPCASTER_BIN
LD_LIBRARY_PATH=$LIVESUPPORT_LIB:$LD_LIBRARY_PATH LD_LIBRARY_PATH=$CAMPCASTER_LIB:$LD_LIBRARY_PATH
DAEMON=$LIVESUPPORT_BIN/scheduler DAEMON=$CAMPCASTER_BIN/scheduler
NAME=livesupport-scheduler NAME=campcaster-scheduler
DESC="livesupport scheduler" DESC="campcaster scheduler"
test -x $DAEMON || exit 0 test -x $DAEMON || exit 0
export PATH export PATH
export LD_LIBRARY_PATH export LD_LIBRARY_PATH
DAEMON_OPTS="-c $LIVESUPPORT_ETC/scheduler.xml" DAEMON_OPTS="-c $CAMPCASTER_ETC/scheduler.xml"
set -e set -e
case "$1" in case "$1" in
start) start)
echo -n "Starting $DESC: " echo -n "Starting $DESC: "
$DAEMON -c $LIVESUPPORT_ETC/scheduler.xml start > /dev/null $DAEMON -c $CAMPCASTER_ETC/scheduler.xml start > /dev/null
echo "$NAME." echo "$NAME."
;; ;;
stop) stop)
echo -n "Stopping $DESC: " echo -n "Stopping $DESC: "
$DAEMON -c $LIVESUPPORT_ETC/scheduler.xml stop > /dev/null $DAEMON -c $CAMPCASTER_ETC/scheduler.xml stop > /dev/null
echo "$NAME." echo "$NAME."
;; ;;
restart|force-reload) restart|force-reload)
echo -n "Restarting $DESC: " echo -n "Restarting $DESC: "
$DAEMON -c $LIVESUPPORT_ETC/scheduler.xml stop > /dev/null $DAEMON -c $CAMPCASTER_ETC/scheduler.xml stop > /dev/null
sleep 1 sleep 1
$DAEMON -c $LIVESUPPORT_ETC/scheduler.xml start > /dev/null $DAEMON -c $CAMPCASTER_ETC/scheduler.xml start > /dev/null
echo "$NAME." echo "$NAME."
;; ;;
kill) kill)
echo -n "Killing $DESC: " echo -n "Killing $DESC: "
$DAEMON -c $LIVESUPPORT_ETC/scheduler.xml kill > /dev/null $DAEMON -c $CAMPCASTER_ETC/scheduler.xml kill > /dev/null
echo "$NAME." echo "$NAME."
;; ;;
*) *)

View file

@ -26,7 +26,7 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script makes post-installation steps for the LiveSupport Station. # This script makes post-installation steps for the Campcaster Station.
# #
# Invoke as: # Invoke as:
# ./bin/postInstallStation.sh # ./bin/postInstallStation.sh
@ -48,12 +48,12 @@ bindir=$basedir/bin
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport scheduler post-install script."; echo "Campcaster Station post-install script.";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -d, --directory The installation directory, required."; echo " -d, --directory The installation directory, required.";
echo " -D, --database The name of the LiveSupport database."; echo " -D, --database The name of the Campcaster database.";
echo " [default: LiveSupport]"; echo " [default: Campcaster]";
echo " -g, --apache-group The group the apache daemon runs as."; echo " -g, --apache-group The group the apache daemon runs as.";
echo " [default: www-data]"; echo " [default: www-data]";
echo " -r, --www-root The root directory for web documents served"; echo " -r, --www-root The root directory for web documents served";
@ -61,9 +61,9 @@ printUsage()
echo " -s, --dbserver The name of the database server host."; echo " -s, --dbserver The name of the database server host.";
echo " [default: localhost]"; echo " [default: localhost]";
echo " -u, --dbuser The name of the database user to access the" echo " -u, --dbuser The name of the database user to access the"
echo " database. [default: livesupport]"; echo " database. [default: campcaster]";
echo " -w, --dbpassword The database user password."; echo " -w, --dbpassword The database user password.";
echo " [default: livesupport]"; echo " [default: campcaster]";
echo " -p, --postgresql-dir The postgresql data directory, containing"; echo " -p, --postgresql-dir The postgresql data directory, containing";
echo " pg_hba.conf [default: /etc/postgresql]"; echo " pg_hba.conf [default: /etc/postgresql]";
echo " -i, --postgresql-init-script The name of the postgresql init"; echo " -i, --postgresql-init-script The name of the postgresql init";
@ -133,15 +133,15 @@ if [ "x$dbserver" == "x" ]; then
fi fi
if [ "x$database" == "x" ]; then if [ "x$database" == "x" ]; then
database=LiveSupport; database=Campcaster;
fi fi
if [ "x$dbuser" == "x" ]; then if [ "x$dbuser" == "x" ]; then
dbuser=livesupport; dbuser=campcaster;
fi fi
if [ "x$dbpassword" == "x" ]; then if [ "x$dbpassword" == "x" ]; then
dbpassword=livesupport; dbpassword=campcaster;
fi fi
if [ "x$apache_group" == "x" ]; then if [ "x$apache_group" == "x" ]; then
@ -160,7 +160,7 @@ if [ "x$www_root" == "x" ]; then
www_root=/var/www; www_root=/var/www;
fi fi
echo "Making post-install steps for the LiveSupport scheduler."; echo "Making post-install steps for Campcaster Station.";
echo ""; echo "";
echo "Using the following installation parameters:"; echo "Using the following installation parameters:";
echo ""; echo "";
@ -189,7 +189,7 @@ install_bin=$installdir/bin
install_etc=$installdir/etc install_etc=$installdir/etc
install_lib=$installdir/lib install_lib=$installdir/lib
install_usr=$installdir/usr install_usr=$installdir/usr
install_var_ls=$installdir/var/LiveSupport install_var_ls=$installdir/var/Campcaster
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -252,7 +252,7 @@ echo "Modifying postgresql access permissions...";
pg_config_dir=$postgresql_dir pg_config_dir=$postgresql_dir
pg_config_file=pg_hba.conf pg_config_file=pg_hba.conf
pg_config_file_saved=pg_hba.conf.before-livesupport pg_config_file_saved=pg_hba.conf.before-campcaster
if [ -f $pg_config_dir/$pg_config_file ] ; then if [ -f $pg_config_dir/$pg_config_file ] ; then
mv -f $pg_config_dir/$pg_config_file $pg_config_dir/$pg_config_file_saved ; mv -f $pg_config_dir/$pg_config_file $pg_config_dir/$pg_config_file_saved ;
@ -331,12 +331,12 @@ if [ "x$odbcinst_template" != "x" ] && [ "x$odbcinst_res" == "x" ]; then
odbcinst -i -d -v -f $odbcinst_template || exit 1; odbcinst -i -d -v -f $odbcinst_template || exit 1;
fi fi
echo "Registering LiveSupport ODBC data source..."; echo "Registering Campcaster ODBC data source...";
odbcinst -i -s -l -f $odbc_template || exit 1; odbcinst -i -s -l -f $odbc_template || exit 1;
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Install PEAR packages (locally in the LiveSupport) # Install PEAR packages (locally in the Campcaster)
# only if necessary # only if necessary
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
if [ -f $install_usr/lib/pear/bin/install.sh ]; then if [ -f $install_usr/lib/pear/bin/install.sh ]; then
@ -379,7 +379,7 @@ chmod g+sw $install_var_ls/htmlUI/var/html/img
# Configuring Apache # Configuring Apache
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
echo "Configuring apache ..." echo "Configuring apache ..."
CONFFILE=90_php_livesupport.conf CONFFILE=90_php_campcaster.conf
AP_DDIR_FOUND=no AP_DDIR_FOUND=no
for APACHE_DDIR in \ for APACHE_DDIR in \
/etc/apache/conf.d /etc/apache2/conf.d /etc/apache2/conf/modules.d \ /etc/apache/conf.d /etc/apache2/conf.d /etc/apache2/conf/modules.d \
@ -431,8 +431,8 @@ echo "done"
echo "Creating symlinks..."; echo "Creating symlinks...";
# create symlink for the PHP pages in apache's document root # create symlink for the PHP pages in apache's document root
rm -f $www_root/livesupport rm -f $www_root/campcaster
ln -s $install_var_ls $www_root/livesupport ln -s $install_var_ls $www_root/campcaster
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

View file

@ -26,7 +26,7 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script makes post-uninstallation steps for LiveSupport. # This script makes post-uninstallation steps for Campcaster.
# #
# Invoke as: # Invoke as:
# ./bin/postUninstall.sh # ./bin/postUninstall.sh
@ -50,18 +50,18 @@ tmpdir=$basedir/tmp
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport post-uninstall script."; echo "Campcaster post-uninstall script.";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -d, --directory The installation directory, required."; echo " -d, --directory The installation directory, required.";
echo " -D, --database The name of the LiveSupport database."; echo " -D, --database The name of the Campcaster database.";
echo " [default: LiveSupport]"; echo " [default: Campcaster]";
echo " -r, --www-root The root directory for web documents served"; echo " -r, --www-root The root directory for web documents served";
echo " by apache [default: /var/www]"; echo " by apache [default: /var/www]";
echo " -s, --dbserver The name of the database server host."; echo " -s, --dbserver The name of the database server host.";
echo " [default: localhost]"; echo " [default: localhost]";
echo " -u, --dbuser The name of the database user to access the" echo " -u, --dbuser The name of the database user to access the"
echo " database. [default: livesupport]"; echo " database. [default: campcaster]";
echo " -h, --help Print this message and exit."; echo " -h, --help Print this message and exit.";
echo ""; echo "";
} }
@ -115,11 +115,11 @@ if [ "x$dbserver" == "x" ]; then
fi fi
if [ "x$database" == "x" ]; then if [ "x$database" == "x" ]; then
database=LiveSupport; database=Campcaster;
fi fi
if [ "x$dbuser" == "x" ]; then if [ "x$dbuser" == "x" ]; then
dbuser=livesupport; dbuser=campcaster;
fi fi
if [ "x$www_root" == "x" ]; then if [ "x$www_root" == "x" ]; then
@ -127,7 +127,7 @@ if [ "x$www_root" == "x" ]; then
fi fi
echo "Making post-uninstall steps for LiveSupport."; echo "Making post-uninstall steps for Campcaster.";
echo ""; echo "";
echo "Using the following installation parameters:"; echo "Using the following installation parameters:";
echo ""; echo "";
@ -196,7 +196,7 @@ check_exe "odbcinst" || exit 1;
echo "Removing symlinks..."; echo "Removing symlinks...";
# remove symlink for the PHP pages in apache's document root # remove symlink for the PHP pages in apache's document root
rm -f $www_root/livesupport rm -f $www_root/campcaster
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -219,7 +219,7 @@ rm -rf $installdir/var/archiveServer/var/trans/*
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
echo "Removing ODBC data source and driver..."; echo "Removing ODBC data source and driver...";
echo "Removing LiveSupport ODBC data source..."; echo "Removing Campcaster ODBC data source...";
odbcinst -u -s -l -n $ls_database || exit 1; odbcinst -u -s -l -n $ls_database || exit 1;
echo "De-registering ODBC PostgreSQL driver..."; echo "De-registering ODBC PostgreSQL driver...";

View file

@ -26,7 +26,7 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script makes pre-install steps and checks for LiveSupport. # This script makes pre-install steps and checks for Campcaster.
# #
# Invoke as: # Invoke as:
# ./bin/preInstall.sh # ./bin/preInstall.sh
@ -56,7 +56,7 @@ usrdir=`cd $basedir/usr; pwd;`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport pre-install script."; echo "Campcaster pre-install script.";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -g, --apache-group The group the apache daemon runs as."; echo " -g, --apache-group The group the apache daemon runs as.";
@ -96,7 +96,7 @@ if [ "x$apache_group" == "x" ]; then
fi fi
echo "Making pre-install steps for LiveSupport."; echo "Making pre-install steps for Campcaster.";
echo ""; echo "";
echo "Using the following installation parameters:"; echo "Using the following installation parameters:";
echo ""; echo "";

View file

@ -26,7 +26,7 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# A script to set up the development environment for LiveSupport # A script to set up the development environment for Campcaster
# #
# Invoke as: # Invoke as:
# ./bin/setupDevelopmentEnvironment.sh # ./bin/setupDevelopmentEnvironment.sh
@ -54,7 +54,7 @@ usrdir=`cd $basedir/usr; pwd;`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport development environment setup script."; echo "Campcaster development environment setup script.";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -g, --apache-group The group the apache daemon runs as."; echo " -g, --apache-group The group the apache daemon runs as.";

View file

@ -26,7 +26,7 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# A script to set up the development environment for LiveSupport # A script to set up the development environment for Campcaster
# #
# Invoke as: # Invoke as:
# ./bin/setupDevelopmentEnvironmentAndLog.sh # ./bin/setupDevelopmentEnvironmentAndLog.sh
@ -48,7 +48,7 @@ usrdir=`cd $basedir/usr; pwd;`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport development environment setup script."; echo "Campcaster development environment setup script.";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -g, --apache-group The group the apache daemon runs as."; echo " -g, --apache-group The group the apache daemon runs as.";
@ -120,9 +120,9 @@ ls -l $logdir/make_modprod_distclean_setup.log \
# --with-create-database=no =yes --with-create-odbc-data-source=no =yes # --with-create-database=no =yes --with-create-odbc-data-source=no =yes
# --with-init-database=no =yes # --with-init-database=no =yes
# #
# --with-database=LiveSupport =LiveSupport-test # --with-database=Campcaster =Campcaster-test
# --with-database-user=livesupport =test # --with-database-user=campcaster =test
# --with-database-password=livesupport =test # --with-database-password=campcaster =test
# #
# --with-station-audio-out=default # --with-station-audio-out=default
# --with-studio-audio-out=default # --with-studio-audio-out=default

View file

@ -27,7 +27,7 @@
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script runs cvs to update the LiveSupport source code. # This script runs cvs to update the Campcaster source code.
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
reldir=`dirname $0`/.. reldir=`dirname $0`/..
@ -37,7 +37,7 @@ tmpdir=$basedir/tmp
logdir=$basedir/tmp logdir=$basedir/tmp
echo ""; echo "";
echo "The LiveSupport source code will be updated now ... and logged in"; echo "The Campcaster source code will be updated now ... and logged in";
echo "$logdir"; echo "$logdir";
echo ""; echo "";

View file

@ -26,7 +26,7 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script sets up the test database for LiveSupport # This script sets up the test database for Campcaster
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -48,13 +48,13 @@ scheduler_bindir=${scheduler_dir}/bin
usrdir=`cd $basedir/usr; pwd;` usrdir=`cd $basedir/usr; pwd;`
installlog=/tmp/livesupport_install.log installlog=/tmp/campcaster_install.log
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# The details of the setup # The details of the setup
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
ls_database=LiveSupport-test ls_database=Campcaster-test
ls_dbuser=test ls_dbuser=test
ls_dbpassword=test ls_dbpassword=test
ls_dbserver=localhost ls_dbserver=localhost

View file

@ -26,7 +26,7 @@
# Location : $URL$ # Location : $URL$
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# This script updates the configuration file of gLiveSupport. # This script updates the configuration file of Campcaster Studio.
# #
# Invoke as: # Invoke as:
# ./bin/updateStudioConfig.sh # ./bin/updateStudioConfig.sh
@ -50,7 +50,7 @@ tmpdir=$basedir/tmp
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "GLiveSupport post-install script."; echo "Campcaster Studio post-install script.";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -d, --directory The installation directory, required."; echo " -d, --directory The installation directory, required.";
@ -134,7 +134,7 @@ if [ "x$cue_alsa_device" == "x" ]; then
cue_alsa_device="default"; cue_alsa_device="default";
fi fi
echo "Making post-install steps for GLiveSupport."; echo "Making post-install steps for Campcaster Studio.";
echo ""; echo "";
echo "Using the following installation parameters:"; echo "Using the following installation parameters:";
echo ""; echo "";
@ -151,7 +151,7 @@ echo ""
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
ls_php_host=$hostname ls_php_host=$hostname
ls_php_port=$http_port ls_php_port=$http_port
ls_php_urlPrefix=livesupport ls_php_urlPrefix=campcaster
ls_alib_xmlRpcPrefix="xmlrpc/xrLocStor.php" ls_alib_xmlRpcPrefix="xmlrpc/xrLocStor.php"
ls_storage_xmlRpcPrefix="xmlrpc/xrLocStor.php" ls_storage_xmlRpcPrefix="xmlrpc/xrLocStor.php"
@ -228,10 +228,10 @@ check_exe "sed" || exit 1;
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
echo "Customizing configuration files..." echo "Customizing configuration files..."
# customize the gLiveSupport config file # customize the Campcaster Studio config file
cat $install_etc/gLiveSupport.xml.template \ cat $install_etc/campcaster-studio.xml.template \
| sed -e "$replace_sed_string" \ | sed -e "$replace_sed_string" \
> $install_etc/gLiveSupport.xml > $install_etc/campcaster-studio.xml
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

View file

@ -58,7 +58,7 @@ usrdir=`cd $basedir/usr; pwd;`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport local user settings setup script."; echo "Campcaster local user settings setup script.";
echo "parameters"; echo "parameters";
echo ""; echo "";
echo " -g, --apache-group The group the apache daemon runs as."; echo " -g, --apache-group The group the apache daemon runs as.";
@ -105,17 +105,17 @@ hostname=localhost
http_port=80 http_port=80
scheduler_port=`expr $scheduler_base_port + $UID` scheduler_port=`expr $scheduler_base_port + $UID`
dbserver=localhost dbserver=localhost
database=LiveSupport-$user database=Campcaster-$user
dbuser=test dbuser=test
dbpassword=test dbpassword=test
homedir=$HOME homedir=$HOME
configdir=$homedir/.livesupport configdir=$homedir/.campcaster
htmldir=$homedir/public_html htmldir=$homedir/public_html
output_device=default output_device=default
cue_device=default cue_device=default
echo "Configuring LiveSupport development environment for user $user."; echo "Configuring Campcaster development environment for user $user.";
echo ""; echo "";
echo "Using the following installation parameters:"; echo "Using the following installation parameters:";
echo ""; echo "";
@ -155,7 +155,7 @@ installdir=$usrdir
ls_php_host=$hostname ls_php_host=$hostname
ls_php_port=$http_port ls_php_port=$http_port
ls_php_urlPrefix=~$user/livesupport ls_php_urlPrefix=~$user/campcaster
ls_alib_xmlRpcPrefix="xmlrpc/xrLocStor.php" ls_alib_xmlRpcPrefix="xmlrpc/xrLocStor.php"
ls_storage_xmlRpcPrefix="xmlrpc/xrLocStor.php" ls_storage_xmlRpcPrefix="xmlrpc/xrLocStor.php"
@ -308,9 +308,9 @@ cat $products_dir/scheduler/etc/scheduler.xml.template \
| sed -e "$replace_sed_string" \ | sed -e "$replace_sed_string" \
> $configdir/scheduler.xml > $configdir/scheduler.xml
cat $products_dir/gLiveSupport/etc/gLiveSupport.xml.user-template \ cat $products_dir/gLiveSupport/etc/campcaster-studio.xml.user-template \
| sed -e "$replace_sed_string" \ | sed -e "$replace_sed_string" \
> $configdir/gLiveSupport.xml > $configdir/campcaster-studio.xml
cat $products_dir/gLiveSupport/etc/authenticationClient.xml.user-template \ cat $products_dir/gLiveSupport/etc/authenticationClient.xml.user-template \
| sed -e "$replace_sed_string" \ | sed -e "$replace_sed_string" \
@ -328,9 +328,9 @@ echo "Creating public HTML directory and links to web interfaces..."
mkdir -p $htmldir mkdir -p $htmldir
rm -f $htmldir/livesupport rm -f $htmldir/campcaster
ln -s $modules_dir $htmldir/livesupport ln -s $modules_dir $htmldir/campcaster
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -382,7 +382,7 @@ cp $modules_dir/htmlUI/var/redirect.php $modules_dir/htmlUI/var/index.php
# Say goodbye # Say goodbye
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
echo ""; echo "";
echo "The HTML user interface for the LiveSupport development environment"; echo "The HTML user interface for the Campcaster development environment";
echo "for user $user is available at:"; echo "for user $user is available at:";
echo "http://$ls_php_host:$ls_php_port/$ls_php_urlPrefix/htmlUI/var"; echo "http://$ls_php_host:$ls_php_port/$ls_php_urlPrefix/htmlUI/var";
echo ""; echo "";

View file

@ -59,7 +59,7 @@ usrdir=`cd $basedir/usr; pwd;`
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
printUsage() printUsage()
{ {
echo "LiveSupport user database setup script."; echo "Campcaster user database setup script.";
echo "parameters:"; echo "parameters:";
echo ""; echo "";
echo " -u, --user The user to set up the environment for."; echo " -u, --user The user to set up the environment for.";
@ -101,7 +101,7 @@ if [ "x$user" == "x" ]; then
fi fi
echo "Creating the LiveSupport user database"; echo "Creating the Campcaster user database";
echo "for user: $user."; echo "for user: $user.";
echo "" echo ""
@ -111,7 +111,7 @@ echo ""
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
postgres_user=postgres postgres_user=postgres
ls_database=LiveSupport-$user ls_database=Campcaster-$user
ls_dbuser=test ls_dbuser=test
ls_dbpassword=test ls_dbpassword=test
ls_dbserver=localhost ls_dbserver=localhost

View file

@ -93,12 +93,12 @@ namespace {
/*------------------------------------------------------------------------------ /*------------------------------------------------------------------------------
* The name of the configuration file for this class * The name of the configuration file for this class
*----------------------------------------------------------------------------*/ *----------------------------------------------------------------------------*/
const std::string configFileDirStr = "/.livesupport/"; const std::string configFileDirStr = "/.campcaster/";
/*------------------------------------------------------------------------------ /*------------------------------------------------------------------------------
* The name of the configuration file for this class * The name of the configuration file for this class
*----------------------------------------------------------------------------*/ *----------------------------------------------------------------------------*/
const std::string configFileNameStr = "gLiveSupport.xml"; const std::string configFileNameStr = "campcaster-studio.xml";
/*------------------------------------------------------------------------------ /*------------------------------------------------------------------------------
* The name of the config element for the list of supported languages * The name of the config element for the list of supported languages

View file

@ -1,5 +1,5 @@
[ls_database] [ls_database]
Description = the LiveSupport database at PostgreSQL Description = the Campcaster database at PostgreSQL
Driver = PostgreSQL Driver = PostgreSQL
Trace = No Trace = No
TraceFile = /tmp/sql.log TraceFile = /tmp/sql.log

View file

@ -1,9 +1,9 @@
[LiveSupport-test] [LiveSupport-test]
Description = the LiveSupport database at PostgreSQL Description = the Campcaster database at PostgreSQL
Driver = PostgreSQL Driver = PostgreSQL
Trace = No Trace = No
TraceFile = /tmp/sql.log TraceFile = /tmp/sql.log
Database = LiveSupport-test Database = Campcaster-test
Servername = localhost Servername = localhost
Username = Username =
Password = Password =