# $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.30 2005/08/26 15:47:43 billwe Exp $
#  Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Strings specific to basepack Setup

####
# Install type
m_cantupgrade1="Sorry, but $PRODUCT_SHORT_NAME Setup can't "
m_cantupgrade2=" to this version ($PRODUCT_VERSION_FULL) from version "
m_cantupgrade3="."
m_upgrade_via330="Please upgrade first to version 3.30, and then you will be able to upgrade
from 3.30 to this version."

a_downgrade="downgrade"
a_upgrade="upgrade"

#####################
# Licensing bits
h_licenseagreement="$PRODUCT_SHORT_NAME Software License Agreement"
p_chooselicop="\
To use $PRODUCT_SHORT_NAME you must agree to be bound by
the terms of the Software License Agreement.

  Y - I have read, and accept the terms of the license agreement
  N - I do not accept the terms of the license agreement
  R - Let me read the license agreement"

q_chooselicop="Accept terms of Software License Agreement?"

# What you type to read the license agreement.
a_readlicense="R"
a_case_readlicense="rR"

# This is the question used once you've read the license agreement.
q_license="Have you read, and do you agree to the terms of the license?"

####
## Document root and cgi prompts
h_docs="What's next?"

p_docintro="\
$PRODUCT_SHORT_NAME is now installed and ready to use.

To get started:
"

# tta URL between 1 and 2; newline after 2.
p_url1="\
 - In a web browser, go to:
   "
p_url2=""

# Only one of these is shown: depends on new or upgrade install.
# Followed by newline.
p_login_new="\
 - When prompted, log in with username \"Administrator\" and root's password."
p_login_upg="\
 - When prompted, type the username and password for a $PRODUCT_SHORT_NAME
   Administrator."

p_webtop="\
 - On your webtop, click Administration Guide to learn more about the product
   (we strongly recommend you read the \"Getting started\" section).
   Or click $OBJECT_MGR_NAME to start creating user webtops.
"

p_license="\

To add license keys, click $ARRAY_MGR_NAME on your webtop or type:
${INSTDIR}/bin/tarantella license add <key>...
"

p_readme_upgrade="
IMPORTANT: Your installation has been upgraded. Please read 
$INSTDIR/var/log/upgraded.files
for details of modified files that have been preserved.
"

p_customizedfiles1="\
Setup upgraded a customized installation (version "

p_customizedfiles1b=").
This file contains details of how the customizations were preserved.

 - Number of files that were previously changed or added by hand 
   in the original $PRODUCT_SHORT_NAME "

p_customizedfiles1c=" installation: "

p_customizedfiles2="
   See $INSTDIR/var/log/customized.list.
   These customizations are preserved and still active within
   $INSTDIR/var. You should review these files in conjunction with 
   $INSTDIR/var/docroot/help/en-us/base/gettingstarted/upgrading_tarantella.html"

p_customizedchanged1="
 - Number of these files that would also change for the upgrade to 
   $PRODUCT_SHORT_NAME $PRODUCT_VERSION: "

p_customizedchanged2="
   See $INSTDIR/var/log/customizedchanged.list.
   We recommend that you compare these files against the uncustomized
   template files used before and after the upgrade.
   Old templates: $INSTDIR/etc/templates."

p_customizedchanged2b="   New templates: $INSTDIR/etc/templates
"

p_expectupgrade1="\

Setup upgraded customized expect scripts from a previous 
installation (version "

# The code appends a build number to this string; the trailing dot is
# not punctuation, it's part of a filename.
p_expectupgrade1b=").

Your customizations to the following files have been saved in 
$INSTDIR/var/serverresources/expect."

# The code appends a build number to this string; the trailing dot is
# not punctuation, it's part of a filename.
p_expectupgrade2="\

   We recommend that you compare these files against the uncustomized
   template files and the newly installed files.
   New files:     $INSTDIR/var/serverresources/expect
   Old templates: $INSTDIR/etc/templates."

p_expectupgrade2b="/var/serverresources/expect
"

p_docrootjava=" - New or modified java files from the original installation
   have been detected and saved. For details see:
  "

pg_prompt="Press Return for next page..."
less_prompt="Press Space for next page..."

####
# certificates
p_copyingcerts="Copying existing X.509 certificates ..."
p_symlinkcantfind="Unable to resolve the certificates symlink:"
p_symlinkbadlink="The certificates symlink goes nowhere:"
p_nocertificate="Unable to find certificate:"

####
# Yes and No

a_case_y="yY"
a_case_yes="yY"
s_yes="yes"

a_case_n="nN"
a_case_no="nN"
s_no="no"

a_case_q="qQ"
a_case_quit="qQ"
s_quit="quit"

a_case_a="aA"

a_y="y"
a_n="n"
a_q="q"
a_a="a"

a_yes="yes"
a_no="no"
a_quit="quit"
a_auto="auto"

####
# Misc

l_seesetuplog1="Further details given in "
l_seesetuplog2="
may help to diagnose the problem."
m_nojre="Unable to find JRE in package or elsewhere on host"

###
# Web
l_config_webservices="$PRODUCT_SHORT_NAME web server..."

###
# Arch check
l_warnprefix="WARNING: "
l_archmismatch="Operating systems don't match.
The packages you're about to install are intended for a different operating
system. We recommend you exit Setup without installing the packages.
Continue installation only if you are sure the operating systems are
compatible."
l_versionmismatch="Operating system version lower than expected.
The packages you're about to install are intended for a later revision
of your operating system. We recommend you exit Setup without installing
the packages. Continue installation only if you are sure the operating
systems are compatible."
l_continue="Would you like Setup to continue?"
