More changes to deal with 64bit platform issues.

This commit is contained in:
Juan Carlos Luciani 2006-11-29 06:23:48 +00:00
parent 33ca5ca168
commit dfc4379769
4 changed files with 17 additions and 5 deletions

View File

@ -34,7 +34,13 @@
# #
#############################################################
JAVA_HOME=/usr/lib/jvm/jre-1.5.0
if [ -d /usr/lib64 ]; then
LIB=lib64
else
LIB=lib
fi
JAVA_HOME=/usr/$LIB/jvm/jre-1.5.0
# Do not do anything if the client keystore has already been created
if [ -f /etc/CASA/authtoken/keys/client/jks-store ]; then

View File

@ -6,9 +6,15 @@
# when starting the service. #
# #
############################################################
if [ -d /usr/lib64 ]; then
LIB=lib64
else
LIB=lib
fi
CATALINA_BASE="/srv/www/casaats"
CATALINA_HOME="/usr/share/tomcat5"
JAVA_HOME="/usr/lib/jvm/jre-1.5.0"
JAVA_HOME="/usr/$LIB/jvm/jre-1.5.0"
JAVA_OPTS="-Dcom.novell.casa.authtoksvc.config=/etc/CASA/authtoken/svc"
export CATALINA_BASE CATALINA_HOME JAVA_HOME JAVA_OPTS

View File

@ -29,7 +29,7 @@ Release: 0
Summary: Novell Common Authentication Services Adapter Authentication Token Infrastructure "Java" (CASA_auth_token)
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: java-1_5_0 >= 1.5.0
Requires: java >= 1.5.0
Requires: servletapi5 tomcat5 sysvinit insserv identity-abstraction sed
PreReq: %fillup_prereq %insserv_prereq
PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd
@ -55,7 +55,7 @@ enabled.
%package -n CASA_auth_token_jaas_support
Summary: Libraries needed for JAAS applications development.
Group: Applications/System
Requires: java-1_5_0 >= 1.5.0
Requires: java >= 1.5.0
%description -n CASA_auth_token_jaas_support
CASA_auth_token is an authentication token infrastructure with support for multiple

View File

@ -26,7 +26,7 @@ Release: 1
Summary: Novell CASA Authentication Token Libraries for C/C++ Server Applications
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: java-1_5_0 >= 1.5.0
Requires: java >= 1.5.0
Requires: expat binutils CASA_auth_token_jaas_support sysvinit insserv
PreReq: %fillup_prereq %insserv_prereq
PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd