Completed the Authtoken Validate Service changes.
This commit is contained in:
		| @@ -1,3 +1,11 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Thu Sep 14 09:48:54 MDT 2006 - jluciani@novell.com | ||||
|  | ||||
| - Created the Validate AuthToken Service and made all of the necessary changes | ||||
|   to allow it to be consumed by the AuthTokenValidate library. | ||||
|  | ||||
| - Also made necessary spec file changes to support our configuration.  | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Sep  5 08:37:35 MDT 2006 - jluciani@novell.com | ||||
|  | ||||
|   | ||||
| @@ -15,7 +15,7 @@ Name:           CASA_auth_token_native | ||||
| %define debug_opt "" | ||||
|                                                                                                                             | ||||
| URL:            http://www.novell.com/products | ||||
| BuildRequires:  CASA-devel apache2-devel expat gcc-c++ glib2-devel krb5-devel libgcc libgssapi libstdc++ libstdc++-devel mono-devel pam-devel pkgconfig update-alternatives java-1_5_0-sun java-1_5_0-sun-devel  | ||||
| BuildRequires:  CASA-devel apache2-devel expat gcc-c++ glib2-devel krb5-devel libgcc libgssapi libstdc++ libstdc++-devel mono-devel pam-devel pkgconfig update-alternatives java-1_5_0-ibm java-1_5_0-ibm-devel  | ||||
| %define prefix /usr | ||||
| License:        LGPL | ||||
| Group:          System/Libraries | ||||
| @@ -26,7 +26,7 @@ Release:        1 | ||||
| Summary:        Novell CASA Authentication Token Libraries | ||||
| Source:         %{name}-%{version}.tar.bz2 | ||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||
| Requires:       expat java-1_5_0-sun CASA_auth_token_jaas_support | ||||
| Requires:       expat java-1_5_0-ibm CASA_auth_token_jaas_support | ||||
| PreReq:         %fillup_prereq %insserv_prereq | ||||
|  | ||||
| %description | ||||
| @@ -151,25 +151,31 @@ make | ||||
| install -d %{buildroot}%{prefix} | ||||
| install -d %{buildroot}%{prefix}/bin | ||||
| install -d %{buildroot}%{prefix}/%{_lib} | ||||
| install -d %{buildroot}%{prefix}/%{_lib}/security | ||||
| install -d %{buildroot}/%{_lib}/security | ||||
| install -d %{buildroot}%{prefix}/include | ||||
| install -d %{buildroot}/etc/init.d | ||||
| install -d %{buildroot}/etc/ld.so.conf.d | ||||
| install -d %{buildroot}/var | ||||
| install -d %{buildroot}/var/lib | ||||
| install -d -m 777 %{buildroot}/var/lib/CASA | ||||
| install -d -m 777 %{buildroot}/var/lib/CASA/authtoken | ||||
| install -d -m 777 %{buildroot}/var/lib/CASA/authtoken/validate | ||||
| install -d -m 755 %{buildroot}/var/lib/CASA | ||||
| install -d -m 755 %{buildroot}/var/lib/CASA/authtoken | ||||
| install -d -m 755 %{buildroot}/var/lib/CASA/authtoken/validate | ||||
| install -d -m 755 %{buildroot}/etc/CASA | ||||
| install -d -m 755 %{buildroot}/etc/CASA/authtoken.d | ||||
| install -d -m 755 %{buildroot}/etc/CASA/authtoken.d/modules.d | ||||
|  | ||||
| ## 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}/casa_iden_token.so %{buildroot}%{prefix}/%{_lib}/casa_iden_token.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 casa_iden_token.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/casa_iden_token.so | ||||
| ln -sf casa_iden_token.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/casa_iden_token.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 | ||||
| @@ -178,14 +184,13 @@ ln -sf libcasa_s_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so. | ||||
| # Bins | ||||
| install -m 755 bin/%{cfg}/CasaAuthtokenValidateD %{buildroot}%{prefix}/bin/CasaAuthtokenValidateD | ||||
|  | ||||
| # Others | ||||
| install -m 644 server/AuthTokenValidate/idenTokenProviders/casa/linux/CasaIdentityToken.conf %{buildroot}/etc/CASA/authtoken.d/modules.d/CasaIdentityToken.conf | ||||
|  | ||||
| ## CASA_auth_token_pam_support ## | ||||
| # Libs | ||||
| install -m 755 %{_lib}/%{cfg}/pam_casaauthtok.so %{buildroot}%{prefix}/%{_lib}/security/pam_casaauthtok.so.%{bldno} | ||||
| #install -m 755 %{_lib}/%{cfg}/pam_casaauthtok.so %{buildroot}%{prefix}/%{_lib}/security/pam_casaauthtok.so | ||||
| install -m 755 %{_lib}/%{cfg}/pam_casaauthtok.so %{buildroot}/%{_lib}/security/pam_casaauthtok.so | ||||
|  | ||||
| # Lib Symbolic Links | ||||
| ln -sf pam_casaauthtok.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/security/pam_casaauthtok.so | ||||
| ln -sf pam_casaauthtok.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/security/pam_casaauthtok.so.1 | ||||
|  | ||||
| ## CASA_auth_token_apache2_2_support ## | ||||
| # Libs | ||||
| @@ -225,9 +230,15 @@ rm -rf $RPM_BUILD_ROOT | ||||
| %dir /var/lib/CASA | ||||
| %dir /var/lib/CASA/authtoken | ||||
| %dir /var/lib/CASA/authtoken/validate | ||||
| %dir /etc/CASA | ||||
| %dir /etc/CASA/authtoken.d | ||||
| %dir /etc/CASA/authtoken.d/modules.d | ||||
| %{prefix}/%{_lib}/libcasa_s_authtoken.so.%{bldno} | ||||
| %{prefix}/%{_lib}/libcasa_s_authtoken.so | ||||
| %{prefix}/%{_lib}/libcasa_s_authtoken.so.1 | ||||
| %{prefix}/%{_lib}/casa_iden_token.so.%{bldno} | ||||
| %{prefix}/%{_lib}/casa_iden_token.so | ||||
| %{prefix}/%{_lib}/casa_iden_token.so.1 | ||||
| %{prefix}/%{_lib}/libcasa_c_ipc.so.%{bldno} | ||||
| %{prefix}/%{_lib}/libcasa_c_ipc.so | ||||
| %{prefix}/%{_lib}/libcasa_c_ipc.so.1 | ||||
| @@ -235,6 +246,7 @@ rm -rf $RPM_BUILD_ROOT | ||||
| %{prefix}/%{_lib}/libcasa_s_ipc.so | ||||
| %{prefix}/%{_lib}/libcasa_s_ipc.so.1 | ||||
| %{prefix}/bin/CasaAuthtokenValidateD | ||||
| /etc/CASA/authtoken.d/modules.d/CasaIdentityToken.conf | ||||
|  | ||||
|  | ||||
| ## CASA_auth_token_pam_support ## | ||||
| @@ -252,10 +264,8 @@ rm -rf $RPM_BUILD_ROOT | ||||
|  | ||||
| %files -n CASA_auth_token_pam_support | ||||
| %defattr(-,root,root) | ||||
| %dir %{prefix}/%{_lib}/security | ||||
| %{prefix}/%{_lib}/security/pam_casaauthtok.so.%{bldno} | ||||
| %{prefix}/%{_lib}/security/pam_casaauthtok.so | ||||
| %{prefix}/%{_lib}/security/pam_casaauthtok.so.1 | ||||
| %dir /%{_lib}/security | ||||
| /%{_lib}/security/pam_casaauthtok.so | ||||
|  | ||||
|  | ||||
| ## CASA_auth_token_apache2_2_support ## | ||||
|   | ||||
		Reference in New Issue
	
	Block a user