|
|
|
@ -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-ibm java-1_5_0-ibm-devel java-1_5_0-ibm-alsa sysvinit insserv
|
|
|
|
|
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 java-1_5_0-ibm-alsa sysvinit insserv curl-devel glade-sharp glade-sharp2
|
|
|
|
|
%define prefix /usr
|
|
|
|
|
License: LGPL
|
|
|
|
|
Group: System/Libraries
|
|
|
|
@ -23,7 +23,7 @@ Autoreqprov: on
|
|
|
|
|
%define bldno @VERSION@
|
|
|
|
|
Version: @VERSION@
|
|
|
|
|
Release: 1
|
|
|
|
|
Summary: Novell CASA Authentication Token Libraries
|
|
|
|
|
Summary: Novell CASA Authentication Token Libraries for C/C++ Server Applications
|
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
Requires: expat binutils java-1_5_0-ibm CASA_auth_token_jaas_support sysvinit insserv
|
|
|
|
@ -43,17 +43,42 @@ 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_native package contains the CASA (Common
|
|
|
|
|
Authentication Services Adapter) authentication token infrastructure
|
|
|
|
|
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.
|
|
|
|
|
The CASA_auth_token_native package contains the authentication token
|
|
|
|
|
verification library for C/C++ applications. It is recommended 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:
|
|
|
|
|
--------
|
|
|
|
|
Juan Carlos Luciani - jluciani@novell.com
|
|
|
|
|
|
|
|
|
|
%package -n CASA_auth_token_client
|
|
|
|
|
Summary: Novell CASA Authentication Token Libraries for Client Applications
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Requires: CASA krb5 curl
|
|
|
|
|
|
|
|
|
|
%description -n CASA_auth_token_client
|
|
|
|
|
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 package contains the necessary library and
|
|
|
|
|
configuration files for client applications to obtain authentication
|
|
|
|
|
tokens.
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
Group: System/Libraries
|
|
|
|
@ -109,7 +134,7 @@ Authors:
|
|
|
|
|
%package -n CASA_auth_token-devel
|
|
|
|
|
Summary: Novell CASA Authentication Token Development Files
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%description -n CASA_auth_token-devel
|
|
|
|
|
CASA_auth_token is an authentication token infrastructure with support
|
|
|
|
@ -156,6 +181,8 @@ install -d %{buildroot}%{prefix}
|
|
|
|
|
install -d %{buildroot}%{prefix}/bin
|
|
|
|
|
install -d %{buildroot}%{prefix}/sbin
|
|
|
|
|
install -d %{buildroot}%{prefix}/%{_lib}
|
|
|
|
|
install -d %{buildroot}%{prefix}/%{_lib}/CASA
|
|
|
|
|
install -d %{buildroot}%{prefix}/%{_lib}/CASA/authtoken
|
|
|
|
|
install -d %{buildroot}/%{_lib}/security
|
|
|
|
|
install -d %{buildroot}%{prefix}/include
|
|
|
|
|
install -d %{buildroot}/etc/init.d
|
|
|
|
@ -169,6 +196,8 @@ 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
|
|
|
|
|
|
|
|
|
|
## CASA_auth_token_native ##
|
|
|
|
|
# Libs
|
|
|
|
@ -196,6 +225,25 @@ install -m 755 server/AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD %{build
|
|
|
|
|
install -m 750 server/AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken.d/validate.d/
|
|
|
|
|
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
|
|
|
|
|
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 client/mechanisms/krb5/linux/Krb5Authenticate.conf %{buildroot}/etc/CASA/authtoken.d/client.d/mechanisms.d/Krb5Authenticate.conf
|
|
|
|
|
install -m 644 client/mechanisms/pwd/linux/PwdAuthenticate.conf %{buildroot}/etc/CASA/authtoken.d/client.d/mechanisms.d/PwdAuthenticate.conf
|
|
|
|
|
|
|
|
|
|
## CASA_auth_token_pam_support ##
|
|
|
|
|
# Libs
|
|
|
|
|
install -m 755 %{_lib}/%{cfg}/pam_casaauthtok.so %{buildroot}/%{_lib}/security/pam_casaauthtok.so
|
|
|
|
@ -285,11 +333,46 @@ rm -rf /var/lib/CASA/authtoken/validate
|
|
|
|
|
%{prefix}/%{_lib}/libcasa_s_ipc.so.1
|
|
|
|
|
%{prefix}/bin/casa_atvd
|
|
|
|
|
%config /etc/CASA/authtoken.d/validate.d/envvars
|
|
|
|
|
/etc/CASA/authtoken.d/modules.d/CasaIdentityToken.conf
|
|
|
|
|
%config /etc/CASA/authtoken.d/modules.d/CasaIdentityToken.conf
|
|
|
|
|
/etc/init.d/casa_atvd
|
|
|
|
|
/usr/sbin/rccasa_atvd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## CASA_auth_token_client ##
|
|
|
|
|
%pre -n CASA_auth_token_client
|
|
|
|
|
# Nothing to do in this pre script
|
|
|
|
|
|
|
|
|
|
%post -n CASA_auth_token_client
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%preun -n CASA_auth_token_client
|
|
|
|
|
# Nothing to do in this preun script
|
|
|
|
|
|
|
|
|
|
%postun -n CASA_auth_token_client
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n CASA_auth_token_client
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%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
|
|
|
|
|
%{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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## CASA_auth_token_pam_support ##
|
|
|
|
|
%pre -n CASA_auth_token_pam_support
|
|
|
|
|
# Nothing to do in this pre script
|
|
|
|
|