Hello community,
here is the log from the commit of package CASA_auth_token_server
checked in at Wed Jun 4 00:12:59 CEST 2008.
--------
--- CASA_auth_token_server/CASA_auth_token_server.changes 2008-04-10 12:57:08.000000000 +0200
+++ /mounts/work_src_done/STABLE/CASA_auth_token_server/CASA_auth_token_server.changes 2008-06-03 22:00:12.000000000 +0200
@@ -1,0 +2,12 @@
+Tue Jun 3 10:11:27 MDT 2008 - jluciani@novell.com
+
+- Updated to remove dependency on specific versions of the JVM to
+ address BUG 394342.
+
+- Merged changes into our spec file from what was being utilized to
+ build the package on openSUSE.
+
+- Fixed build issue to remove the need to utilize patch for building
+ component.
+
+-------------------------------------------------------------------
@@ -7,0 +20,7 @@
+Mon Jan 14 13:16:42 MST 2008 - jluciani@novell.com
+
+- Fixed segmentation fault during libclient_ipc un-initialization
+ caused when the RemoteEndPoint map destructor was executed before
+ the library destructor. This addresses BUG 353752.
+
+-------------------------------------------------------------------
Old:
----
baselibs.conf
CASA_auth_token_server-1.7.1395.tar.bz2
CASA_auth_token_server-gcc43.patch
New:
----
CASA_auth_token_server-1.7.1545.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ CASA_auth_token_server.spec ++++++
--- /var/tmp/diff_new_pack.W31302/_old 2008-06-04 00:12:41.000000000 +0200
+++ /var/tmp/diff_new_pack.W31302/_new 2008-06-04 00:12:41.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package CASA_auth_token_server (Version 1.7.1395 )
+# spec file for package CASA_auth_token_server (Version 1.7.1545 )
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -23,12 +23,11 @@
License: LGPL v2.1 or later
Group: System/Libraries
AutoReqProv: on
-%define bldno 1.7.1395
-Version: 1.7.1395
-Release: 117
+%define bldno 1.7.1545
+Version: 1.7.1545
+Release: 1
Summary: Novell CASA Authentication Token Libraries for C/C++ Server Applications
Source: %{name}-%{version}.tar.bz2
-Patch: CASA_auth_token_server-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: jre >= 1.5.0
Requires: expat binutils CASA_auth_token_jaas_support sysvinit insserv
@@ -154,7 +153,7 @@
%prep
%setup -q
-%patch
+#%patch
%if %{_lib} == "lib64"
%define binsource bin64
%else
@@ -163,9 +162,7 @@
%build
export PATH=.:$PATH:/usr/%_lib/qt3/bin
-%if %suse_version > 1000
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
-%endif
./autogen.sh
make
@@ -200,18 +197,15 @@
# Symbolic Links
ln -sf casa_iden_token.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so
ln -sf casa_iden_token.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so.1
-ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so
ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so.1
-ln -sf libcasa_c_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_ipc.so
ln -sf libcasa_c_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_ipc.so.1
-ln -sf libcasa_s_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so
ln -sf libcasa_s_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so.1
# Bins
install -m 755 %{binsource}/%{cfg}/CasaAuthtokenValidateD %{buildroot}%{prefix}/bin/casa_atvd
# Others
install -m 644 %{_lib}/%{cfg}/CasaIdentityToken.conf %{buildroot}/etc/CASA/authtoken/modules/CasaIdentityToken.conf
install -m 755 AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD %{buildroot}/etc/init.d/casa_atvd
-install -m 750 AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken/validate/
+install -m 640 AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken/validate/
ln -sf casa_atvd %{buildroot}%{prefix}/sbin/rccasa_atvd
## CASA_auth_token_pam_support ##
# Libs
@@ -227,6 +221,10 @@
install -m 644 include/casa_s_authtoken.h %{buildroot}%{prefix}/include
install -m 644 include/casa_c_ipc.h %{buildroot}%{prefix}/include
install -m 644 include/casa_s_ipc.h %{buildroot}%{prefix}/include
+# Symbolic Links
+ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so
+ln -sf libcasa_c_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_ipc.so
+ln -sf libcasa_s_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so
%clean
rm -rf $RPM_BUILD_ROOT
@@ -274,13 +272,10 @@
%dir /etc/CASA/authtoken/validate
%dir /etc/CASA/authtoken/modules
%{prefix}/%{_lib}/libcasa_s_authtoken.so.%{bldno}
-%{prefix}/%{_lib}/libcasa_s_authtoken.so
%{prefix}/%{_lib}/libcasa_s_authtoken.so.1
%{prefix}/%{_lib}/libcasa_c_ipc.so.%{bldno}
-%{prefix}/%{_lib}/libcasa_c_ipc.so
%{prefix}/%{_lib}/libcasa_c_ipc.so.1
%{prefix}/%{_lib}/libcasa_s_ipc.so.%{bldno}
-%{prefix}/%{_lib}/libcasa_s_ipc.so
%{prefix}/%{_lib}/libcasa_s_ipc.so.1
%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so.%{bldno}
%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so
@@ -346,33 +341,47 @@
%{prefix}/include/casa_s_authtoken.h
%{prefix}/include/casa_c_ipc.h
%{prefix}/include/casa_s_ipc.h
+%{prefix}/%{_lib}/libcasa_s_authtoken.so
+%{prefix}/%{_lib}/libcasa_c_ipc.so
+%{prefix}/%{_lib}/libcasa_s_ipc.so
%changelog
+* Tue Jun 03 2008 jluciani@novell.com
+- Updated to remove dependency on specific versions of the JVM to
+ address BUG 394342.
+- Merged changes into our spec file from what was being utilized to
+ build the package on openSUSE.
+- Fixed build issue to remove the need to utilize patch for building
+ component.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
+* Mon Jan 14 2008 jluciani@novell.com
+- Fixed segmentation fault during libclient_ipc un-initialization
+ caused when the RemoteEndPoint map destructor was executed before
+ the library destructor. This addresses BUG 353752.
* Mon Dec 03 2007 ro@suse.de
- fix build with gcc-4.3
-* Tue Apr 03 2007 jluciani@novell.com
+* Mon Apr 02 2007 jluciani@novell.com
- Added pwdutils to BuildRequires to fix a build problem.
-* Sat Feb 17 2007 schoi@novell.com
+* Fri Feb 16 2007 schoi@novell.com
- fix the build failure on x86_64
* Mon Feb 12 2007 jluciani@novell.com
- Removed BuildRequires dependency on glade-sharp.
- Stopped deleting the user casaatvd during RPM un-install to
avoid issues created when files created by that user are
orphaned.
-* Fri Feb 09 2007 jluciani@novell.com
-- Resolved Bug 243162.
* Thu Feb 08 2007 jluciani@novell.com
+- Resolved Bug 243162.
+* Wed Feb 07 2007 jluciani@novell.com
- Resolved Bug 243159.
-* Thu Feb 08 2007 jluciani@novell.com
+* Wed Feb 07 2007 jluciani@novell.com
- Resolved Bugs 243122, 243124, 243125, 243135, 243138, 243142,
243143, 243144, 243147, 243148, 243155, 243156, 243158.
* Wed Jan 24 2007 jluciani@novell.com
- Made a spec file change to support applications that want to
dynamically load our libraries.
-* Thu Jan 04 2007 jluciani@novell.com
+* Wed Jan 03 2007 jluciani@novell.com
- Fixed casa_atvd not starting by default problem documented
in BUG228036.
- Fixed problem that was causing token validation to fail because
@@ -384,29 +393,29 @@
sequence.
* Tue Dec 19 2006 cgardner@novell.com
- Fix build on ix86, require java alsa package.
-* Sat Dec 09 2006 jluciani@novell.com
+* Fri Dec 08 2006 jluciani@novell.com
- Made changes resulting from self-code review of the project.
-* Tue Dec 05 2006 jluciani@novell.com
+* Mon Dec 04 2006 jluciani@novell.com
- Fixed "Shutting..." rc script output problem documented in
BUG225027.
-* Wed Nov 29 2006 jluciani@novell.com
+* Tue Nov 28 2006 jluciani@novell.com
- Fixed 64-bit platform problems introduced while addressing
bugs: BUG222541, BUG216949, BUG215221.
* Wed Nov 22 2006 jluciani@novell.com
- Resolved the following bugs: BUG222541, BUG216949, BUG215221.
* Tue Nov 21 2006 jluciani@novell.com
- Fixed makefile issue.
-* Sat Nov 18 2006 jluciani@novell.com
+* Fri Nov 17 2006 jluciani@novell.com
- Removed hard dependency on IBM JVM.
* Mon Nov 13 2006 jluciani@novell.com
- Separated the non-java folder into client and server projects in
order to better support distributions that target desktops.
From now on, this changes files will only contain information
that applies to the server project.
-* Fri Nov 10 2006 jluciani@novell.com
+* Thu Nov 09 2006 jluciani@novell.com
- Finished the changes to enable client/ATS communications
over SSL.
-* Wed Nov 08 2006 jluciani@novell.com
+* Tue Nov 07 2006 jluciani@novell.com
- Made changes to enable client/ats communication over SSL. (Not quite
done with this yet).
- Updated the make system to allow Windows builds to be made from
@@ -420,15 +429,15 @@
* Mon Oct 09 2006 jluciani@novell.com
- Cleaned up compiler warnings that were present in some of the
components.
-* Sat Oct 07 2006 schoi@novell.com
+* Fri Oct 06 2006 schoi@novell.com
- Add the CASA build check as dependency in spec file
-* Fri Oct 06 2006 jluciani@novell.com
+* Thu Oct 05 2006 jluciani@novell.com
- Ported the client to Linux and created the CASA_auth_token_client package.
* Mon Oct 02 2006 jluciani@novell.com
- Made spec file modifications suggested by SuSE. The changes entailed
leveraging RPM macros instead of using my own scripts to make the
RPM more solid.
-* Fri Sep 15 2006 jluciani@novell.com
+* Thu Sep 14 2006 jluciani@novell.com
- Added rc script for Validate AuthToken Service.
* Thu Sep 14 2006 jluciani@novell.com
- Created the Validate AuthToken Service and made all of the necessary changes
++++++ CASA_auth_token_server-1.7.1395.tar.bz2 -> CASA_auth_token_server-1.7.1545.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA_auth_token_server-1.7.1395/AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD new/CASA_auth_token_server-1.7.1545/AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD
--- old/CASA_auth_token_server-1.7.1395/AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD 2007-06-08 07:26:23.000000000 +0200
+++ new/CASA_auth_token_server-1.7.1545/AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD 2008-06-03 21:46:08.000000000 +0200
@@ -16,9 +16,9 @@
### BEGIN INIT INFO
# Provides: casa_atvd
# Required-Start: $local_fs $remote_fs
-# X-UnitedLinux-Should-Start: $syslog $time
+# Should-Start: $syslog $time
# Required-Stop: $local_fs $remote_fs
-# X-UnitedLinux-Should-Stop: $syslog $time
+# Should-Stop: $syslog $time
# Default-Start: 2 3 5
# Default-Stop:
# Short-Description: Casa Authtoken Validate Daemon
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA_auth_token_server-1.7.1395/AuthTokenValidate/Svc/linux/envvars new/CASA_auth_token_server-1.7.1545/AuthTokenValidate/Svc/linux/envvars
--- old/CASA_auth_token_server-1.7.1395/AuthTokenValidate/Svc/linux/envvars 2007-06-08 07:26:23.000000000 +0200
+++ new/CASA_auth_token_server-1.7.1545/AuthTokenValidate/Svc/linux/envvars 2008-06-03 21:46:08.000000000 +0200
@@ -38,21 +38,21 @@
SUNLIBDIR=i386
fi
-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/bin/java -version 2>&1 | grep -i ibm)
if [ -z "${TEST_IBM_JVM}" ]; then
# Assume Sun JVM
JVM_VER=SUN
if [ -z "${LD_LIBRARY_PATH}" ]; then
- LD_LIBRARY_PATH=/usr/$LIB/jvm/jre-1.5.0/lib/$SUNLIBDIR/server
+ LD_LIBRARY_PATH=/usr/$LIB/jvm/jre/lib/$SUNLIBDIR/server
else
- LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/lib/$SUNLIBDIR/server
+ LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre/lib/$SUNLIBDIR/server
fi
else
JVM_VER=IBM
if [ -z "${LD_LIBRARY_PATH}" ]; then
- LD_LIBRARY_PATH=/usr/$LIB/jvm/jre-1.5.0/bin:/usr/$LIB/jvm/jre-1.5.0/bin/classic
+ LD_LIBRARY_PATH=/usr/$LIB/jvm/jre/bin:/usr/$LIB/jvm/jre/bin/classic
else
- 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/bin:/usr/$LIB/jvm/jre/bin/classic
fi
fi
export JVM_VER
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA_auth_token_server-1.7.1395/AuthTokenValidate/Svc/linux/internal.h new/CASA_auth_token_server-1.7.1545/AuthTokenValidate/Svc/linux/internal.h
--- old/CASA_auth_token_server-1.7.1395/AuthTokenValidate/Svc/linux/internal.h 2007-06-08 07:26:23.000000000 +0200
+++ new/CASA_auth_token_server-1.7.1545/AuthTokenValidate/Svc/linux/internal.h 2008-06-03 21:46:14.000000000 +0200
@@ -49,6 +49,7 @@
#include
#include
#include // Ensure that NDEBUG is defined for release builds!
+#include
#include
#include
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA_auth_token_server-1.7.1395/AuthTokenValidate/Svc/linux/Makefile.am new/CASA_auth_token_server-1.7.1545/AuthTokenValidate/Svc/linux/Makefile.am
--- old/CASA_auth_token_server-1.7.1395/AuthTokenValidate/Svc/linux/Makefile.am 2007-06-08 07:26:23.000000000 +0200
+++ new/CASA_auth_token_server-1.7.1545/AuthTokenValidate/Svc/linux/Makefile.am 2008-06-03 21:46:14.000000000 +0200
@@ -41,15 +41,15 @@
LIBDIR = $(ROOT)/$(LIB)
BINDIR = $(ROOT)/$(BIN)
-IBM_JAVA_LIBDIR = /usr/$(LIB)/jvm/jre-1.5.0/bin
+IBM_JAVA_LIBDIR = /usr/$(LIB)/jvm/jre/bin
if LIB64
-SUN_JAVA_LIBDIR = /usr/$(LIB)/jvm/jre-1.5.0/lib/amd64/server
+SUN_JAVA_LIBDIR = /usr/$(LIB)/jvm/jre/lib/amd64/server
else
-SUN_JAVA_LIBDIR = /usr/$(LIB)/jvm/jre-1.5.0/lib/i386/server
+SUN_JAVA_LIBDIR = /usr/$(LIB)/jvm/jre/lib/i386/server
endif
-JAVA_INCDIR = /usr/$(LIB)/jvm/java-1.5.0/include
+JAVA_INCDIR = /usr/$(LIB)/jvm/java/include
# handle Mono secondary dependencies
export MONO_PATH := $(MONO_PATH)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA_auth_token_server-1.7.1395/configure.in new/CASA_auth_token_server-1.7.1545/configure.in
--- old/CASA_auth_token_server-1.7.1395/configure.in 2007-06-08 07:26:23.000000000 +0200
+++ new/CASA_auth_token_server-1.7.1545/configure.in 2008-06-03 21:46:14.000000000 +0200
@@ -22,7 +22,7 @@
AC_INIT(CASA_auth_token_server, 1.7.795,,CASA_auth_token_server)
AC_CONFIG_SRCDIR(autogen.sh)
AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(CASA_auth_token_server, 1.7.1395)
+AM_INIT_AUTOMAKE(CASA_auth_token_server, 1.7.1545)
RELEASE=`date +%Y%m%d_%H%M`
AC_SUBST(RELEASE)
AM_MAINTAINER_MODE
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA_auth_token_server-1.7.1395/package/linux/CASA_auth_token_server.changes new/CASA_auth_token_server-1.7.1545/package/linux/CASA_auth_token_server.changes
--- old/CASA_auth_token_server-1.7.1395/package/linux/CASA_auth_token_server.changes 2007-06-08 07:26:24.000000000 +0200
+++ new/CASA_auth_token_server-1.7.1545/package/linux/CASA_auth_token_server.changes 2008-06-03 21:46:14.000000000 +0200
@@ -1,4 +1,34 @@
-------------------------------------------------------------------
+Tue Jun 3 10:11:27 MDT 2008 - jluciani@novell.com
+
+- Updated to remove dependency on specific versions of the JVM to
+ address BUG 394342.
+
+- Merged changes into our spec file from what was being utilized to
+ build the package on openSUSE.
+
+- Fixed build issue to remove the need to utilize patch for building
+ component.
+
+-------------------------------------------------------------------
+Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
+
+- added baselibs.conf file to build xxbit packages
+ for multilib support
+
+-------------------------------------------------------------------
+Mon Jan 14 13:16:42 MST 2008 - jluciani@novell.com
+
+- Fixed segmentation fault during libclient_ipc un-initialization
+ caused when the RemoteEndPoint map destructor was executed before
+ the library destructor. This addresses BUG 353752.
+
+-------------------------------------------------------------------
+Mon Dec 3 12:16:17 CET 2007 - ro@suse.de
+
+- fix build with gcc-4.3
+
+-------------------------------------------------------------------
Mon Apr 2 16:44:07 MDT 2007 - jluciani@novell.com
- Added pwdutils to BuildRequires to fix a build problem.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA_auth_token_server-1.7.1395/package/linux/CASA_auth_token_server.spec.in new/CASA_auth_token_server-1.7.1545/package/linux/CASA_auth_token_server.spec.in
--- old/CASA_auth_token_server-1.7.1395/package/linux/CASA_auth_token_server.spec.in 2007-06-08 07:26:23.000000000 +0200
+++ new/CASA_auth_token_server-1.7.1545/package/linux/CASA_auth_token_server.spec.in 2008-06-03 21:46:11.000000000 +0200
@@ -14,14 +14,14 @@
%define cfg Release
%define debug_opt ""
-URL: http://www.novell.com/products
+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 pwdutils
%ifarch %ix86
BuildRequires: java-1_5_0-ibm-alsa
%endif
%define prefix /usr
-License: LGPL
+License: LGPL v2.1 or later
Group: System/Libraries
Autoreqprov: on
%define bldno @VERSION@
@@ -38,21 +38,23 @@
%description
CASA_auth_token is an authentication token infrastructure with support
-for multiple authentication mechanisms with an emphasis on providing a scalable
-single sign-on solution.
+for multiple authentication mechanisms with an emphasis on providing a
+scalable single sign-on solution.
-A key feature of CASA_auth_token is that its authentication tokens contain
-identity information about the entity being authenticated. This information is
-made available to the consuming services. The amount of information contained in
-the tokens is configured on a per-service basis. Because of this feature, we say
-that CASA_auth_token projects an "Authenticated Identity".
-
-The CASA_auth_token_server package contains the CASA (Common Authentication
-Services Adapter) authentication token infrastructure lower level libraries for
-token verification from native code ("C"). It is recomended that this library
-not be invoked directly by applications, instead it is recomended that
-appplication invoke its services through the support modules provided to
-integrate with PAM or the Apache Web Server.
+A key feature of CASA_auth_token is that its authentication tokens
+contain identity information about the entity being authenticated. This
+information is made available to the consuming services. The amount of
+information contained in the tokens is configured on a per-service
+basis. Because of this feature, we say that CASA_auth_token projects an
+"Authenticated Identity".
+
+The CASA_auth_token_server package contains the CASA (Common
+Authentication Services Adapter) authentication token infrastructure
+lower level libraries for token verification from native code ("C"). It
+is recomended that this library not be invoked directly by
+applications, instead it is recomended that appplication invoke its
+services through the support modules provided to integrate with PAM or
+the Apache Web Server.
Authors:
--------
@@ -60,6 +62,7 @@
%package -n CASA_auth_token_pam_support
+License: LGPL v2.1 or later
Summary: Novell CASA Authentication Token PAM Support Components
Group: System/Libraries
Requires: CASA_auth_token_server pam
@@ -85,6 +88,7 @@
%package -n CASA_auth_token_apache2_2_support
+License: LGPL v2.1 or later
Summary: Novell CASA Authentication Token Apache2_2 Support Components
Group: System/Libraries
Requires: apache2 CASA_auth_token_server
@@ -114,6 +118,7 @@
%package -n CASA_auth_token_server-devel
+License: LGPL v2.1 or later
Summary: Novell CASA Authentication Token Server Development Files
Group: Development/Libraries/C and C++
Requires: CASA-devel CASA_auth_token_server CASA_auth_token_jaas_support CASA_auth_token_pam_support CASA_auth_token_apache2_2_support
@@ -149,9 +154,7 @@
%build
export PATH=.:$PATH:/usr/%_lib/qt3/bin
-%if %suse_version > 1000
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
-%endif
./autogen.sh
make
@@ -192,11 +195,8 @@
# Symbolic Links
ln -sf casa_iden_token.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so
ln -sf casa_iden_token.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so.1
-ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so
ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so.1
-ln -sf libcasa_c_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_ipc.so
ln -sf libcasa_c_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_ipc.so.1
-ln -sf libcasa_s_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so
ln -sf libcasa_s_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so.1
# Bins
@@ -205,7 +205,7 @@
# Others
install -m 644 %{_lib}/%{cfg}/CasaIdentityToken.conf %{buildroot}/etc/CASA/authtoken/modules/CasaIdentityToken.conf
install -m 755 AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD %{buildroot}/etc/init.d/casa_atvd
-install -m 750 AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken/validate/
+install -m 640 AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken/validate/
ln -sf casa_atvd %{buildroot}%{prefix}/sbin/rccasa_atvd
@@ -229,6 +229,10 @@
install -m 644 include/casa_c_ipc.h %{buildroot}%{prefix}/include
install -m 644 include/casa_s_ipc.h %{buildroot}%{prefix}/include
+# Symbolic Links
+ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so
+ln -sf libcasa_c_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_ipc.so
+ln -sf libcasa_s_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so
%clean
rm -rf $RPM_BUILD_ROOT
@@ -284,13 +288,10 @@
%dir /etc/CASA/authtoken/validate
%dir /etc/CASA/authtoken/modules
%{prefix}/%{_lib}/libcasa_s_authtoken.so.%{bldno}
-%{prefix}/%{_lib}/libcasa_s_authtoken.so
%{prefix}/%{_lib}/libcasa_s_authtoken.so.1
%{prefix}/%{_lib}/libcasa_c_ipc.so.%{bldno}
-%{prefix}/%{_lib}/libcasa_c_ipc.so
%{prefix}/%{_lib}/libcasa_c_ipc.so.1
%{prefix}/%{_lib}/libcasa_s_ipc.so.%{bldno}
-%{prefix}/%{_lib}/libcasa_s_ipc.so
%{prefix}/%{_lib}/libcasa_s_ipc.so.1
%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so.%{bldno}
%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so
@@ -359,6 +360,9 @@
%{prefix}/include/casa_s_authtoken.h
%{prefix}/include/casa_c_ipc.h
%{prefix}/include/casa_s_ipc.h
+%{prefix}/%{_lib}/libcasa_s_authtoken.so
+%{prefix}/%{_lib}/libcasa_c_ipc.so
+%{prefix}/%{_lib}/libcasa_s_ipc.so
%changelog -n CASA_auth_token_server
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/CASA_auth_token_server-1.7.1395/utilities/IpcLibs/linux/client/client.cpp new/CASA_auth_token_server-1.7.1545/utilities/IpcLibs/linux/client/client.cpp
--- old/CASA_auth_token_server-1.7.1395/utilities/IpcLibs/linux/client/client.cpp 2007-06-08 07:26:23.000000000 +0200
+++ new/CASA_auth_token_server-1.7.1545/utilities/IpcLibs/linux/client/client.cpp 2008-06-03 21:46:14.000000000 +0200
@@ -58,20 +58,20 @@
bool UseSyslog = false;
// Application Name for logging purposes
-char unInitialized[] = "Uninitialized";
+static char unInitialized[] = "Uninitialized";
char *pAppName = unInitialized;
// Application threaded information
-bool appMultithreaded;
+static bool appMultithreaded;
// Client mutex
-pthread_mutex_t clientMutex;
+static pthread_mutex_t clientMutex;
// Mutex for interlocked operations
pthread_mutex_t interlockedMutex;
// Indicators
-bool svcInitialized = false;
+static bool svcInitialized = false;
// Map of open remote endpoints.
//
@@ -83,10 +83,10 @@
typedef map REPMap;
typedef REPMap::iterator REPMapIter;
typedef pair REPIterBoolPair;
-REPMap repMap;
+static REPMap *g_pRepMap = NULL;
// RemoteEndPoint handle allocator
-uint32_t remoteEndPointHandleAllocator = 1;
+static uint32_t remoteEndPointHandleAllocator = 1;
//++=======================================================================
@@ -159,7 +159,7 @@
{
// Insert the new RemoteEndPoint into the REP map
REPIterBoolPair insertResult;
- insertResult = repMap.insert(make_pair(handle, pSmartRemoteEndPoint));
+ insertResult = g_pRepMap->insert(make_pair(handle, pSmartRemoteEndPoint));
if (!insertResult.second)
{
// Insertion failed
@@ -275,7 +275,7 @@
{
// Insert the new RemoteEndPoint into the REP map
REPIterBoolPair insertResult;
- insertResult = repMap.insert(make_pair(handle, pSmartRemoteEndPoint));
+ insertResult = g_pRepMap->insert(make_pair(handle, pSmartRemoteEndPoint));
if (!insertResult.second)
{
// Insertion failed
@@ -352,12 +352,12 @@
// Find the appropriate RemoteEndPoint object in the REP Map using
// the handle provided by the caller.
- REPMapIter iter = repMap.find(endPointHandle);
- if (iter != repMap.end())
+ REPMapIter iter = g_pRepMap->find(endPointHandle);
+ if (iter != g_pRepMap->end())
{
// Object was found in the map, remove it.
SmartRemoteEndPoint *pSmartRemoteEndPoint = iter->second;
- repMap.erase(iter);
+ g_pRepMap->erase(iter);
// Release our mutex before deleting the endpoint
pthread_mutex_unlock(&clientMutex);
@@ -452,8 +452,8 @@
// Find the appropriate RemoteEndPoint object in the REP Map using
// the handle provided by the caller.
- REPMapIter iter = repMap.find(endPointHandle);
- if (iter != repMap.end())
+ REPMapIter iter = g_pRepMap->find(endPointHandle);
+ if (iter != g_pRepMap->end())
{
// Object was found in the map, use it to submit
// the request.
@@ -543,29 +543,37 @@
// Verify that we have not been initialized already
if (!svcInitialized)
{
- // Save a copy of the application name
- pAppName = new char[strlen(pName) + 1];
- if (pAppName == NULL)
- {
- DbgTrace(0, "IpcClientInit- Memory allocation failure\n", 0);
- goto exit;
- }
- strcpy(pAppName, pName);
+ try {
+ // Save a copy of the application name
+ pAppName = new char[strlen(pName) + 1];
+ if (pAppName == NULL)
+ {
+ DbgTrace(0, "IpcClientInit- Memory allocation failure\n", 0);
+ goto exit;
+ }
+ strcpy(pAppName, pName);
+
+ // Create our Remote Endpoint Map
+ g_pRepMap = new REPMap();
+
+ // Save the app multithreaded information
+ appMultithreaded = multithreaded;
- // Save the app multithreaded information
- appMultithreaded = multithreaded;
+ // Save the rest of the debug settings
+ DebugLevel = debugLevel;
+ UseSyslog = useSyslog;
- // Save the rest of the debug settings
- DebugLevel = debugLevel;
- UseSyslog = useSyslog;
-
- // Initialize our mutexes
- pthread_mutex_init(&clientMutex, NULL);
- pthread_mutex_init(&interlockedMutex, NULL);
-
- // Success
- svcInitialized = true;
- retStatus = 0;
+ // Initialize our mutexes
+ pthread_mutex_init(&clientMutex, NULL);
+ pthread_mutex_init(&interlockedMutex, NULL);
+
+ // Success
+ svcInitialized = true;
+ retStatus = 0;
+
+ } catch (...) {
+ DbgTrace(0, "IpcClientInit- Exception caught\n", 0);
+ }
}
else
{
@@ -606,11 +614,11 @@
// Clean up the REP map
pthread_mutex_lock(&clientMutex);
- while (!repMap.empty())
+ while (!g_pRepMap->empty())
{
- REPMapIter iter = repMap.begin();
+ REPMapIter iter = g_pRepMap->begin();
SmartRemoteEndPoint *pSmartRemoteEndPoint = iter->second;
- repMap.erase(iter);
+ g_pRepMap->erase(iter);
pthread_mutex_unlock(&clientMutex);
delete pSmartRemoteEndPoint;
@@ -629,6 +637,10 @@
while (numCChannelObjects)
sleep(0); // Only suffer a time-slice
sleep(0);
+
+ // Delete the Remote Endpoint Map
+ delete(g_pRepMap);
+ g_pRepMap = NULL;
}
else
{
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org