More changes to deal with 64bit platform issues.
This commit is contained in:
parent
33ca5ca168
commit
dfc4379769
@ -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
|
# Do not do anything if the client keystore has already been created
|
||||||
if [ -f /etc/CASA/authtoken/keys/client/jks-store ]; then
|
if [ -f /etc/CASA/authtoken/keys/client/jks-store ]; then
|
||||||
|
@ -6,9 +6,15 @@
|
|||||||
# when starting the service. #
|
# when starting the service. #
|
||||||
# #
|
# #
|
||||||
############################################################
|
############################################################
|
||||||
|
if [ -d /usr/lib64 ]; then
|
||||||
|
LIB=lib64
|
||||||
|
else
|
||||||
|
LIB=lib
|
||||||
|
fi
|
||||||
|
|
||||||
CATALINA_BASE="/srv/www/casaats"
|
CATALINA_BASE="/srv/www/casaats"
|
||||||
CATALINA_HOME="/usr/share/tomcat5"
|
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"
|
JAVA_OPTS="-Dcom.novell.casa.authtoksvc.config=/etc/CASA/authtoken/svc"
|
||||||
export CATALINA_BASE CATALINA_HOME JAVA_HOME JAVA_OPTS
|
export CATALINA_BASE CATALINA_HOME JAVA_HOME JAVA_OPTS
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ Release: 0
|
|||||||
Summary: Novell Common Authentication Services Adapter Authentication Token Infrastructure "Java" (CASA_auth_token)
|
Summary: Novell Common Authentication Services Adapter Authentication Token Infrastructure "Java" (CASA_auth_token)
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
Requires: servletapi5 tomcat5 sysvinit insserv identity-abstraction sed
|
||||||
PreReq: %fillup_prereq %insserv_prereq
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd
|
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
|
%package -n CASA_auth_token_jaas_support
|
||||||
Summary: Libraries needed for JAAS applications development.
|
Summary: Libraries needed for JAAS applications development.
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Requires: java-1_5_0 >= 1.5.0
|
Requires: java >= 1.5.0
|
||||||
|
|
||||||
%description -n CASA_auth_token_jaas_support
|
%description -n CASA_auth_token_jaas_support
|
||||||
CASA_auth_token is an authentication token infrastructure with support for multiple
|
CASA_auth_token is an authentication token infrastructure with support for multiple
|
||||||
|
@ -26,7 +26,7 @@ Release: 1
|
|||||||
Summary: Novell CASA Authentication Token Libraries for C/C++ Server Applications
|
Summary: Novell CASA Authentication Token Libraries for C/C++ Server Applications
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
Requires: expat binutils CASA_auth_token_jaas_support sysvinit insserv
|
||||||
PreReq: %fillup_prereq %insserv_prereq
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd
|
PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd
|
||||||
|
Loading…
Reference in New Issue
Block a user