From be1ed4d9bea2c7811e49d7b8a81022396fd08002 Mon Sep 17 00:00:00 2001 From: Juan Carlos Luciani Date: Tue, 5 Sep 2006 14:43:32 +0000 Subject: [PATCH] Added the IPC libraries to the CASA_auth_token_native package. --- .../package/linux/CASA_auth_token_native.changes | 7 +++++++ .../package/linux/CASA_auth_token_native.spec.in | 16 ++++++++++++++++ .../utilities/IpcLibs/linux/client/Makefile.am | 2 -- .../utilities/IpcLibs/linux/server/Makefile.am | 2 -- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/CASA-auth-token/non-java/package/linux/CASA_auth_token_native.changes b/CASA-auth-token/non-java/package/linux/CASA_auth_token_native.changes index 3752ca28..a63e083b 100644 --- a/CASA-auth-token/non-java/package/linux/CASA_auth_token_native.changes +++ b/CASA-auth-token/non-java/package/linux/CASA_auth_token_native.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 5 08:37:35 MDT 2006 - jluciani@novell.com + +- Created client/server IPC libraries that will be utilized by libcasa_s_authtoken + to communicate with the Java Validate AuthToken Service (yet to be created) over + DOMAIN sockets. The service will utilize the libraries via JNI to be able to + process requests sent using DOMAIN sockets. ------------------------------------------------------------------- Tue Aug 15 10:09:32 MDT 2006 - schoi@novell.com diff --git a/CASA-auth-token/non-java/package/linux/CASA_auth_token_native.spec.in b/CASA-auth-token/non-java/package/linux/CASA_auth_token_native.spec.in index df497412..47b46b52 100644 --- a/CASA-auth-token/non-java/package/linux/CASA_auth_token_native.spec.in +++ b/CASA-auth-token/non-java/package/linux/CASA_auth_token_native.spec.in @@ -156,10 +156,16 @@ install -d %{buildroot}%{prefix}/include ## CASA_auth_token_native ## # Libs install -m 755 %{_lib}/%{cfg}/libcasa_s_authtoken.so %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so.%{bldno} +install -m 755 %{_lib}/%{cfg}/libcasa_c_ipc.so %{buildroot}%{prefix}/%{_lib}/libcasa_c_ipc.so.%{bldno} +install -m 755 %{_lib}/%{cfg}/libcasa_s_ipc.so %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so.%{bldno} # Lib Symbolic Links 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 ## CASA_auth_token_pam_support ## # Libs @@ -182,6 +188,8 @@ ln -sf mod_authn_casa.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.s # Header Files install -m 644 include/casa_c_authtoken.h %{buildroot}%{prefix}/include 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 %clean @@ -206,6 +214,12 @@ rm -rf $RPM_BUILD_ROOT %{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 ## CASA_auth_token_pam_support ## @@ -266,5 +280,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{prefix}/include/casa_c_authtoken.h %{prefix}/include/casa_s_authtoken.h +%{prefix}/include/casa_c_ipc.h +%{prefix}/include/casa_s_ipc.h %changelog -n CASA_auth_token_native diff --git a/CASA-auth-token/non-java/utilities/IpcLibs/linux/client/Makefile.am b/CASA-auth-token/non-java/utilities/IpcLibs/linux/client/Makefile.am index 27e9446a..1bf3b7b6 100644 --- a/CASA-auth-token/non-java/utilities/IpcLibs/linux/client/Makefile.am +++ b/CASA-auth-token/non-java/utilities/IpcLibs/linux/client/Makefile.am @@ -23,11 +23,9 @@ if DEBUG TARGET_CFG = Debug CFLAGS += -v -w -CPPFLAGS = -g $(CFLAGS) DEFINES = -DDBG else TARGET_CFG = Release -CPPFLAGS = -O2 -w $(CFLAGS) DEFINES = -DNDEBUG endif diff --git a/CASA-auth-token/non-java/utilities/IpcLibs/linux/server/Makefile.am b/CASA-auth-token/non-java/utilities/IpcLibs/linux/server/Makefile.am index af76a856..f3aba604 100644 --- a/CASA-auth-token/non-java/utilities/IpcLibs/linux/server/Makefile.am +++ b/CASA-auth-token/non-java/utilities/IpcLibs/linux/server/Makefile.am @@ -23,11 +23,9 @@ if DEBUG TARGET_CFG = Debug CFLAGS += -v -w -CPPFLAGS = -g $(CFLAGS) DEFINES = -DDBG else TARGET_CFG = Release -CPPFLAGS = -O2 -w $(CFLAGS) DEFINES = -DNDEBUG endif