Created client-devel RPM and made changes to deal with changes made to
the Java components.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 19 09:20:24 MDT 2006 - jluciani@novell.com
|
||||
|
||||
- Created client-devel RPM.
|
||||
|
||||
- Made changes to conform to updates made to the Java components
|
||||
with regard to the layout of files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 08:46:22 MDT 2006 - jluciani@novell.com
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ modules provided to integrate with PAM or the Apache Web Server.
|
||||
Authors:
|
||||
--------
|
||||
Juan Carlos Luciani - jluciani@novell.com
|
||||
|
||||
|
||||
%package -n CASA_auth_token_client
|
||||
Summary: Novell CASA Authentication Token Libraries for Client Applications
|
||||
@@ -78,6 +79,7 @@ Authors:
|
||||
Juan Carlos Luciani - jluciani@novell.com
|
||||
Todd Throne
|
||||
Jim Norman
|
||||
|
||||
|
||||
%package -n CASA_auth_token_pam_support
|
||||
Summary: Novell CASA Authentication Token PAM Support Components
|
||||
@@ -102,6 +104,7 @@ PAM module for token verification.
|
||||
Authors:
|
||||
--------
|
||||
Juan Carlos Luciani - jluciani@novell.com
|
||||
|
||||
|
||||
%package -n CASA_auth_token_apache2_2_support
|
||||
Summary: Novell CASA Authentication Token Apache2_2 Support Components
|
||||
@@ -131,10 +134,11 @@ Authors:
|
||||
--------
|
||||
Juan Carlos Luciani - jluciani@novell.com
|
||||
|
||||
|
||||
%package -n CASA_auth_token-devel
|
||||
Summary: Novell CASA Authentication Token Development Files
|
||||
Summary: Novell CASA Authentication Token Server Development Files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: CASA-devel CASA_auth_token_native CASA_auth_token_client CASA_auth_token_jaas_support CASA_auth_token_pam_support CASA_auth_token_apache2_2_support CASA_auth_token_svc
|
||||
Requires: CASA-devel CASA_auth_token_native CASA_auth_token_jaas_support CASA_auth_token_pam_support CASA_auth_token_apache2_2_support CASA_auth_token_svc
|
||||
|
||||
%description -n CASA_auth_token-devel
|
||||
CASA_auth_token is an authentication token infrastructure with support
|
||||
@@ -148,10 +152,40 @@ basis. Because of this feature, we say that CASA_auth_token projects an
|
||||
"Authenticated Identity".
|
||||
|
||||
The CASA_auth_token-devel package contains the files necessary for the
|
||||
development of client and server applications that utilize the CASA
|
||||
development of server applications that utilize the CASA (Common
|
||||
Authentication Service Adapter) authentication token infrastructure for
|
||||
authentication.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Juan Carlos Luciani - jluciani@novell.com
|
||||
|
||||
|
||||
%package -n CASA_auth_token_client-devel
|
||||
Summary: Novell CASA Authentication Token Client Development Files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: CASA-devel CASA_auth_token_client
|
||||
|
||||
%description -n CASA_auth_token_client-devel
|
||||
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.
|
||||
|
||||
A key feature of CASA_auth_token is that its authentication tokens
|
||||
contain identity information about the entity being authenticated. This
|
||||
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-client-devel package contains the files necessary
|
||||
for the development of client applications that utilize the CASA
|
||||
(Common Authentication Service Adapter) authentication token
|
||||
infrastructure for authentication.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Juan Carlos Luciani - jluciani@novell.com
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@@ -193,11 +227,11 @@ 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/validate.d
|
||||
install -d -m 755 %{buildroot}/etc/CASA/authtoken.d/modules.d
|
||||
install -d -m 755 %{buildroot}/etc/CASA/authtoken.d/client.d
|
||||
install -d -m 755 %{buildroot}/etc/CASA/authtoken.d/client.d/mechanisms.d
|
||||
install -d -m 755 %{buildroot}/etc/CASA/authtoken
|
||||
install -d -m 755 %{buildroot}/etc/CASA/authtoken/validate
|
||||
install -d -m 755 %{buildroot}/etc/CASA/authtoken/modules
|
||||
install -d -m 755 %{buildroot}/etc/CASA/authtoken/client
|
||||
install -d -m 755 %{buildroot}/etc/CASA/authtoken/client/mechanisms
|
||||
|
||||
## CASA_auth_token_native ##
|
||||
# Libs
|
||||
@@ -206,43 +240,37 @@ install -m 755 %{_lib}/%{cfg}/casa_iden_token.so %{buildroot}%{prefix}/%{_lib}/C
|
||||
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
|
||||
# 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_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 bin/%{cfg}/CasaAuthtokenValidateD %{buildroot}%{prefix}/bin/casa_atvd
|
||||
|
||||
# Others
|
||||
install -m 644 %{_lib}/%{cfg}/CasaIdentityToken.conf %{buildroot}/etc/CASA/authtoken.d/modules.d/CasaIdentityToken.conf
|
||||
install -m 644 %{_lib}/%{cfg}/CasaIdentityToken.conf %{buildroot}/etc/CASA/authtoken/modules/CasaIdentityToken.conf
|
||||
install -m 755 server/AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD %{buildroot}/etc/init.d/casa_atvd
|
||||
install -m 750 server/AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken.d/validate.d/
|
||||
install -m 750 server/AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken/validate/
|
||||
ln -sf casa_atvd %{buildroot}%{prefix}/sbin/rccasa_atvd
|
||||
|
||||
|
||||
## CASA_auth_token_client ##
|
||||
# Libs
|
||||
install -m 755 %{_lib}/%{cfg}/libcasa_c_authtoken.so %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so.%{bldno}
|
||||
install -m 755 %{_lib}/%{cfg}/krb5mech.so %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so.%{bldno}
|
||||
install -m 755 %{_lib}/%{cfg}/pwmech.so %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/pwmech.so.%{bldno}
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf libcasa_c_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so
|
||||
ln -sf libcasa_c_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so.1
|
||||
# Symbolic Links
|
||||
ln -sf krb5mech.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so
|
||||
ln -sf krb5mech.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so.1
|
||||
ln -sf pwmech.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/pwmech.so
|
||||
ln -sf pwmech.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/pwmech.so.1
|
||||
|
||||
# Others
|
||||
install -m 644 client/client.conf %{buildroot}/etc/CASA/authtoken.d/client.d/client.conf
|
||||
install -m 644 %{_lib}/%{cfg}/Krb5Authenticate.conf %{buildroot}/etc/CASA/authtoken.d/client.d/mechanisms.d/Krb5Authenticate.conf
|
||||
install -m 644 %{_lib}/%{cfg}/PwdAuthenticate.conf %{buildroot}/etc/CASA/authtoken.d/client.d/mechanisms.d/PwdAuthenticate.conf
|
||||
install -m 644 client/client.conf %{buildroot}/etc/CASA/authtoken/client/client.conf
|
||||
install -m 644 %{_lib}/%{cfg}/Krb5Authenticate.conf %{buildroot}/etc/CASA/authtoken/client/mechanisms/Krb5Authenticate.conf
|
||||
install -m 644 %{_lib}/%{cfg}/PwdAuthenticate.conf %{buildroot}/etc/CASA/authtoken/client/mechanisms/PwdAuthenticate.conf
|
||||
|
||||
|
||||
## CASA_auth_token_pam_support ##
|
||||
# Libs
|
||||
@@ -253,17 +281,34 @@ install -m 755 %{_lib}/%{cfg}/pam_casaauthtok.so %{buildroot}/%{_lib}/security/p
|
||||
# Libs
|
||||
install -m 755 %{_lib}/%{cfg}/mod_authn_casa.so %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so.%{bldno}
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf mod_authn_casa.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so
|
||||
ln -sf mod_authn_casa.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so.1
|
||||
|
||||
## CASA_auth_token-devel ##
|
||||
# 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
|
||||
|
||||
# Symbolic Links for CASA_auth_token_native files
|
||||
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
|
||||
|
||||
# Symbolic Links for CASA_auth_token_apache2_2_support files
|
||||
ln -sf mod_authn_casa.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so
|
||||
ln -sf mod_authn_casa.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so.1
|
||||
|
||||
|
||||
## CASA_auth_token_client-devel ##
|
||||
# Header Files
|
||||
install -m 644 include/casa_c_authtoken.h %{buildroot}%{prefix}/include
|
||||
|
||||
# Symbolic Links for CASA_auth_token_client files
|
||||
ln -sf libcasa_c_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so
|
||||
ln -sf libcasa_c_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so.1
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@@ -286,7 +331,7 @@ fi
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
# Install casa_atvd init script
|
||||
# Install casa_atvd init script, set it to start by default.
|
||||
%{fillup_and_insserv casa_atvd}
|
||||
|
||||
|
||||
@@ -318,24 +363,18 @@ rm -rf /var/lib/CASA/authtoken/validate
|
||||
%dir /var/lib/CASA/authtoken
|
||||
%dir %attr(-, casaatvd, casaauth) /var/lib/CASA/authtoken/validate
|
||||
%dir /etc/CASA
|
||||
%dir /etc/CASA/authtoken.d
|
||||
%dir /etc/CASA/authtoken.d/validate.d
|
||||
%dir /etc/CASA/authtoken.d/modules.d
|
||||
%dir /etc/CASA/authtoken
|
||||
%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}/CASA/authtoken/casa_iden_token.so.%{bldno}
|
||||
%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so
|
||||
%{prefix}/%{_lib}/CASA/authtoken/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
|
||||
%{prefix}/%{_lib}/libcasa_s_ipc.so.%{bldno}
|
||||
%{prefix}/%{_lib}/libcasa_s_ipc.so
|
||||
%{prefix}/%{_lib}/libcasa_s_ipc.so.1
|
||||
%{prefix}/bin/casa_atvd
|
||||
%config /etc/CASA/authtoken.d/validate.d/envvars
|
||||
%config /etc/CASA/authtoken.d/modules.d/CasaIdentityToken.conf
|
||||
%config /etc/CASA/authtoken/validate/envvars
|
||||
%config /etc/CASA/authtoken/modules/CasaIdentityToken.conf
|
||||
/etc/init.d/casa_atvd
|
||||
/usr/sbin/rccasa_atvd
|
||||
|
||||
@@ -358,21 +397,19 @@ rm -rf /var/lib/CASA/authtoken/validate
|
||||
%dir %{prefix}/%{_lib}/CASA
|
||||
%dir %{prefix}/%{_lib}/CASA/authtoken
|
||||
%dir /etc/CASA
|
||||
%dir /etc/CASA/authtoken.d
|
||||
%dir /etc/CASA/authtoken.d/client.d
|
||||
%dir /etc/CASA/authtoken.d/client.d/mechanisms.d
|
||||
%dir /etc/CASA/authtoken
|
||||
%dir /etc/CASA/authtoken/client
|
||||
%dir /etc/CASA/authtoken/client/mechanisms
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so.%{bldno}
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so.1
|
||||
%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so.%{bldno}
|
||||
%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so
|
||||
%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so.1
|
||||
%{prefix}/%{_lib}/CASA/authtoken/pwmech.so.%{bldno}
|
||||
%{prefix}/%{_lib}/CASA/authtoken/pwmech.so
|
||||
%{prefix}/%{_lib}/CASA/authtoken/pwmech.so.1
|
||||
%config /etc/CASA/authtoken.d/client.d/client.conf
|
||||
%config /etc/CASA/authtoken.d/client.d/mechanisms.d/Krb5Authenticate.conf
|
||||
%config /etc/CASA/authtoken.d/client.d/mechanisms.d/PwdAuthenticate.conf
|
||||
%config /etc/CASA/authtoken/client/client.conf
|
||||
%config /etc/CASA/authtoken/client/mechanisms/Krb5Authenticate.conf
|
||||
%config /etc/CASA/authtoken/client/mechanisms/PwdAuthenticate.conf
|
||||
|
||||
|
||||
## CASA_auth_token_pam_support ##
|
||||
@@ -410,8 +447,6 @@ rm -rf /var/lib/CASA/authtoken/validate
|
||||
%files -n CASA_auth_token_apache2_2_support
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/%{_lib}/mod_authn_casa.so.%{bldno}
|
||||
%{prefix}/%{_lib}/mod_authn_casa.so
|
||||
%{prefix}/%{_lib}/mod_authn_casa.so.1
|
||||
|
||||
|
||||
## CASA_auth_token-devel ##
|
||||
@@ -429,9 +464,37 @@ rm -rf /var/lib/CASA/authtoken/validate
|
||||
|
||||
%files -n CASA_auth_token-devel
|
||||
%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
|
||||
%{prefix}/%{_lib}/libcasa_s_authtoken.so
|
||||
%{prefix}/%{_lib}/libcasa_s_authtoken.so.1
|
||||
%{prefix}/%{_lib}/libcasa_c_ipc.so
|
||||
%{prefix}/%{_lib}/libcasa_c_ipc.so.1
|
||||
%{prefix}/%{_lib}/libcasa_s_ipc.so
|
||||
%{prefix}/%{_lib}/libcasa_s_ipc.so.1
|
||||
%{prefix}/%{_lib}/mod_authn_casa.so
|
||||
%{prefix}/%{_lib}/mod_authn_casa.so.1
|
||||
|
||||
|
||||
## CASA_auth_token_client-devel ##
|
||||
%pre -n CASA_auth_token_client-devel
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post -n CASA_auth_token_client-devel
|
||||
# Nothing to do in this post script
|
||||
|
||||
%preun -n CASA_auth_token_client-devel
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun -n CASA_auth_token_client-devel
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files -n CASA_auth_token_client-devel
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/include/casa_c_authtoken.h
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so.1
|
||||
|
||||
|
||||
%changelog -n CASA_auth_token_native
|
||||
|
||||
Reference in New Issue
Block a user