diff --git a/CASA-auth-token/server/AuthTokenValidate/Svc/linux/Makefile.am b/CASA-auth-token/server/AuthTokenValidate/Svc/linux/Makefile.am index 8126bb5b..bdb2163d 100644 --- a/CASA-auth-token/server/AuthTokenValidate/Svc/linux/Makefile.am +++ b/CASA-auth-token/server/AuthTokenValidate/Svc/linux/Makefile.am @@ -41,9 +41,9 @@ ROOT = ../../.. LIBDIR = $(ROOT)/$(LIB) BINDIR = $(ROOT)/$(BIN) -IBM_JAVA_LIBDIR = /usr/lib/jvm/jre-1.5.0/bin -SUN_JAVA_LIBDIR = /usr/lib/jvm/jre-1.5.0/lib/$(HOSTTYPE)/server -JAVA_INCDIR = /usr/lib/jvm/java-1.5.0/include +IBM_JAVA_LIBDIR = /usr/$(LIB)/jvm/jre-1.5.0/bin +SUN_JAVA_LIBDIR = /usr/$(LIB)/jvm/jre-1.5.0/lib/$(HOSTTYPE)/server +JAVA_INCDIR = /usr/$(LIB)/jvm/java-1.5.0/include # handle Mono secondary dependencies export MONO_PATH := $(MONO_PATH) diff --git a/CASA-auth-token/server/AuthTokenValidate/Svc/linux/envvars b/CASA-auth-token/server/AuthTokenValidate/Svc/linux/envvars index 78782233..2e102d0e 100644 --- a/CASA-auth-token/server/AuthTokenValidate/Svc/linux/envvars +++ b/CASA-auth-token/server/AuthTokenValidate/Svc/linux/envvars @@ -25,19 +25,25 @@ # is only meaningful when the auto-restart daemon # # feature mentioned above is enabled. Core dumps are # # allowed to be taken when the auto-restart daemon # -# feature is disabled. Core dumps of novell-xsrvd # -# service processes are taken to the # -# /var/novell/xtier folder. # +# feature is disabled. Core dumps of casa_atvd service # +# processes are taken to the # +# /var/lib/CASA/authtoken/validate folder. # # # ############################################################ -TEST_IBM_JVM=$(/usr/lib/jvm/jre-1.5.0/bin/java -version 2>&1 | grep -i ibm) +if [ -d /usr/lib64 ]; then + LIB=lib64 +else + LIB=lib +fi + +TEST_IBM_JVM=$(/usr/$LIB/jvm/jre-1.5.0/bin/java -version 2>&1 | grep -i ibm) if [ -z "${TEST_IBM_JVM}" ]; then # Assume Sun JVM JVM_VER=SUN - LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/lib/jvm/jre-1.5.0/lib/$HOSTTYPE/server + LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/lib/$HOSTTYPE/server else JVM_VER=IBM - LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/lib/jvm/jre-1.5.0/bin:/usr/lib/jvm/jre-1.5.0/bin/classic + LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/bin:/usr/$LIB/jvm/jre-1.5.0/bin/classic fi export JVM_VER export LD_LIBRARY_PATH diff --git a/CASA-auth-token/server/configure.in b/CASA-auth-token/server/configure.in index eb011e68..057a82e0 100644 --- a/CASA-auth-token/server/configure.in +++ b/CASA-auth-token/server/configure.in @@ -202,15 +202,13 @@ esac # # Check for IBM JVM # -test_ibm_jvm=$(/usr/lib/jvm/jre-1.5.0/bin/java -version 2>&1 | grep -i ibm) +test_ibm_jvm=$(/usr/$LIB/jvm/jre-1.5.0/bin/java -version 2>&1 | grep -i ibm) if test "$test_ibm_jvm" = "" then # Assume Sun JVM JVM_VER=SUN - echo "SUN_JVM test_ibm_jvm=$test_ibm_jvm" else JVM_VER=IBM - echo "IBM_JVM test_ibm_jvm=$test_ibm_jvm" fi AC_SUBST(JVM_VER) AM_CONDITIONAL(IBM_JVM, test "$JVM_VER" = IBM) diff --git a/CASA-auth-token/server/package/linux/CASA_auth_token_server.changes b/CASA-auth-token/server/package/linux/CASA_auth_token_server.changes index 00164a8b..6b58eb61 100644 --- a/CASA-auth-token/server/package/linux/CASA_auth_token_server.changes +++ b/CASA-auth-token/server/package/linux/CASA_auth_token_server.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 28 16:11:36 MST 2006 - jluciani@novell.com + +- Fixed 64-bit platform problems introduced while addressing + bugs: BUG222541, BUG216949, BUG215221. + ------------------------------------------------------------------- Wed Nov 22 08:45:06 MST 2006 - jluciani@novell.com diff --git a/CASA-auth-token/server/package/linux/CASA_auth_token_server.spec.in b/CASA-auth-token/server/package/linux/CASA_auth_token_server.spec.in index b7c97c13..27425914 100644 --- a/CASA-auth-token/server/package/linux/CASA_auth_token_server.spec.in +++ b/CASA-auth-token/server/package/linux/CASA_auth_token_server.spec.in @@ -15,7 +15,7 @@ Name: CASA_auth_token_server %define debug_opt "" URL: http://www.novell.com/products -BuildRequires: CASA-devel apache2-devel expat gcc-c++ glib2-devel libstdc++ libstdc++-devel mono-devel pam-devel pkgconfig update-alternatives java-sdk-1.5.0 sysvinit insserv glade-sharp glade-sharp2 +BuildRequires: CASA-devel apache2-devel expat gcc-c++ glib2-devel libstdc++ libstdc++-devel mono-devel pam-devel pkgconfig update-alternatives java-sdk-1.5.0 sysvinit insserv glade-sharp glade-sharp2 %define prefix /usr License: LGPL Group: System/Libraries