Added the IPC libraries to the CASA_auth_token_native package.

This commit is contained in:
Juan Carlos Luciani 2006-09-05 14:43:32 +00:00
parent 36f82820c1
commit be1ed4d9be
4 changed files with 23 additions and 4 deletions
CASA-auth-token/non-java

@ -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

@ -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

@ -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

@ -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