# $Id: common,v 1.9 2005/09/13 14:54:49 billwe Exp $
# Message strings common to all packages. A common string may be overridden by 
# using the packages own setup message file.

###
# Setup progress messages

p_74="--------------------------------------------------------------------------"

p_errttaver="ERROR: $PRODUCT_FULL_NAME $PRODUCT_VERSION_MAJOR.$PRODUCT_VERSION_FEATURE is not installed.
This package cannot be installed without it.
Please install $PRODUCT_FULL_NAME.
"

l_recordingsettings="$PRODUCT_SHORT_NAME Setup is recording settings..."

p_stopping="Stopping $PRODUCT_SHORT_NAME server, please wait..."

p_stoppingfrom1="Stopping $PRODUCT_SHORT_NAME server from "
p_stoppingfrom2=" , please wait..."

p_stopok="$PRODUCT_SHORT_NAME server stopped."

p_nostop="Unable to stop $PRODUCT_SHORT_NAME processes: Setup will continue
but may encounter problems. It may be necessary to remove the existing
$PRODUCT_SHORT_NAME installation."

p_nostopfrom1="Unable to stop $PRODUCT_SHORT_NAME processes: Setup will continue
but may encounter problems. It may be necessary to remove the existing
$PRODUCT_SHORT_NAME installation in"

p_nostopfrom2=""

lf_servernotstopped="The $PRODUCT_SHORT_NAME processes were not stopped: Setup will not continue."

p_nostart="Unable to start the $PRODUCT_SHORT_NAME server: Setup will continue
but may encounter problems. It may be necessary to configure the
$PRODUCT_SHORT_NAME X Protocol Engine font path by hand."

p_installing="$PRODUCT_SHORT_NAME Setup is installing files..."

# Removing old files from previous "<package>" installations...
p_removingoldpkg1="Removing old files from previous \""
p_removingoldpkg2="\" installations..."

p_stdconnsdisabled1="The "
p_stdconnsdisabled2=" has been uninstalled.

However, this server has been configured to accept only SSL connections.
This means you will not be able to connect to this server until either you
install the "
p_stdconnsdisabled3=" and start $PRODUCT_SHORT_NAME security services
or you run the tarantella config edit --security-connectiontypes std command."

p_oldwebserverconfig1="\
${p_74}
Webserver configuration
${p_74}"
p_oldwebserverconfig2="\
Your previous webserver configuration has been saved in:"
p_oldwebserverconfig3="\
One or more configuration files from your previous webserver installation
have been saved in:"
p_oldwebserverconfig4="\
If you made any local configuration changes that you want to preserve,
you will have to copy your changes to the appropriate place(s) in the new
webserver installation:"

p_configuring="Configuring your installation..."

# Config failed. See log file <filename> for more information.
p_configfailed1="$PRODUCT_SHORT_NAME configuration failed.

Please see "
p_configfailed2=" for more information."

p_instsuccess1="Successfully installed "
p_instsuccess2=""

m_runningscript1="${p_74}
Running "
m_runningscript2=" Setup script..."
m_scriptok="...OK"
m_scriptfail="...Failed. Exit code: "

m_configscript="${p_74}
Configuring and starting "

###
# messages for compat
l_cantinstall="
IMPORTANT: This package can't be installed. 
The new package is too old to work with some installed packages.
"

l_wontinstall="
IMPORTANT: This package can't be installed.
Some installed packages are too old to work with the new package."

l_package="Installed package: "
l_installed="Installed version: "
l_required="Required version: "
l_requires="Required version of new package: "
l_thisversion="Version of new package: "

l_cant_donext="To fix: Obtain a more recent version of this package."

l_wont_donext="To fix: Either upgrade each incompatible package named above to the 
required version, or install an earlier version of the new package."


# the following are required for some %%ask macros
a_yes="y"
a_Y="Y"
a_case_yes="yY"
s_yes="yes"

a_no="n"
a_case_no="nN"
a_N="N"
s_no="no"

a_quit="q"
a_Q="Q"
a_case_quit="qQ"
s_quit="quit"

# messages for ttasys/ttaserv user check
lf_no_ttaserv_user1="\
IMPORTANT: ttaserv/ttasys users not correctly defined. Setup will now exit.

You must define users before you can install $PRODUCT_SHORT_NAME. 

 - The user names must be \"ttaserv\" and \"ttasys\".
 - Both must have their primary group set to \"ttaserv\".
 - You can use any UIDs and GID you want.
 - The ttaserv/ttasys users must have a valid shell, for example /bin/sh.
 - We recommend that you lock the ttaserv/ttasys user accounts (passwd -l).

One way to create users and groups is with the useradd and groupadd
commands, but your organization may use other methods. Please contact
your network administrator if you're unsure of your organization's
policies or need help creating users and groups.

Setup runs the following commands as root to check that the user and group
are correctly configured:

su ttaserv -c \"/usr/bin/id -a\"
su ttasys -c \"/usr/bin/id -a\"

On your system this currently returns:
"
lf_no_ttaserv_user2="
Setup checks for output like this:

uid=nnn(ttaserv) gid=nnn(ttaserv) groups=nnn(ttaserv)
uid=nnn(ttasys) gid=nnn(ttaserv) groups=nnn(ttaserv)

Once the user and group have been created, run Setup again to install
the software.
"

l_waitforservertostart_upg="
The $PRODUCT_SHORT_NAME server will be started after old (upgraded)
packages have been removed.  This may take several minutes.  To find out
when the server has been started, run the command:

    $INSTDIR/bin/tarantella status
"

l_waitforservertostart="
The $PRODUCT_SHORT_NAME server is being started.  This may take some
time.  To find out when the server has been started, run the command:

    $INSTDIR/bin/tarantella status
"
# $Id: setup,v 1.7 2005/01/06 16:35:29 peterc Exp $
# Strings specific to wcp Setup

###
# CDM
p_smbportnotavailable1="WARNING: Client drive mapping not available.
To support client drive mapping, a $PRODUCT_SHORT_NAME server component needs
to listen on TCP port "
p_smbportnotavailable2=". Another program, for example Tarantella VisionFS or
Samba, is currently using the port. This means the client drive mapping
functionality is not available.

To fix: stop the other program, and then restart the $PRODUCT_SHORT_NAME server."

