|
|
|
|
@@ -14,14 +14,14 @@ Name: CASA_auth_token_server
|
|
|
|
|
%define cfg Release
|
|
|
|
|
%define debug_opt ""
|
|
|
|
|
|
|
|
|
|
URL: http://www.novell.com/products
|
|
|
|
|
Url: http://www.novell.com/products
|
|
|
|
|
BuildRequires: CASA-devel apache2-devel expat gcc-c++ glib2-devel libstdc++ libstdc++-devel mono-devel pam-devel pkgconfig update-alternatives java-sdk-1.5.0 sysvinit insserv pwdutils
|
|
|
|
|
%ifarch %ix86
|
|
|
|
|
BuildRequires: java-1_5_0-ibm-alsa
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%define prefix /usr
|
|
|
|
|
License: LGPL
|
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Autoreqprov: on
|
|
|
|
|
%define bldno @VERSION@
|
|
|
|
|
@@ -38,21 +38,23 @@ PreReq: /usr/sbin/groupadd, /usr/sbin/useradd, /usr/sbin/userdel, /usr/bin/gete
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
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.
|
|
|
|
|
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 is
|
|
|
|
|
made available to the consuming services. The amount of 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".
|
|
|
|
|
A key feature of CASA_auth_token is that its authentication tokens
|
|
|
|
|
contain identity information about the entity being authenticated. This
|
|
|
|
|
information is made available to the consuming services. The amount of
|
|
|
|
|
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_server package contains the CASA (Common Authentication
|
|
|
|
|
Services Adapter) authentication token infrastructure lower level libraries for
|
|
|
|
|
token verification from native code ("C"). It 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_server package contains the CASA (Common
|
|
|
|
|
Authentication Services Adapter) authentication token infrastructure
|
|
|
|
|
lower level libraries for token verification from native code ("C"). It
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
@@ -60,6 +62,7 @@ Authors:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n CASA_auth_token_pam_support
|
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
|
Summary: Novell CASA Authentication Token PAM Support Components
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Requires: CASA_auth_token_server pam
|
|
|
|
|
@@ -85,6 +88,7 @@ Authors:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n CASA_auth_token_apache2_2_support
|
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
|
Summary: Novell CASA Authentication Token Apache2_2 Support Components
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Requires: apache2 CASA_auth_token_server
|
|
|
|
|
@@ -114,6 +118,7 @@ Authors:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n CASA_auth_token_server-devel
|
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
|
Summary: Novell CASA Authentication Token Server Development Files
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: CASA-devel CASA_auth_token_server CASA_auth_token_jaas_support CASA_auth_token_pam_support CASA_auth_token_apache2_2_support
|
|
|
|
|
@@ -149,9 +154,7 @@ Authors:
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export PATH=.:$PATH:/usr/%_lib/qt3/bin
|
|
|
|
|
%if %suse_version > 1000
|
|
|
|
|
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
|
make
|
|
|
|
|
@@ -192,11 +195,8 @@ install -m 755 %{_lib}/%{cfg}/libcasa_s_ipc.so %{buildroot}%{prefix}/%{_lib}/lib
|
|
|
|
|
# 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_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
|
|
|
|
|
|
|
|
|
|
# Bins
|
|
|
|
|
@@ -205,7 +205,7 @@ install -m 755 %{binsource}/%{cfg}/CasaAuthtokenValidateD %{buildroot}%{prefix}/
|
|
|
|
|
# Others
|
|
|
|
|
install -m 644 %{_lib}/%{cfg}/CasaIdentityToken.conf %{buildroot}/etc/CASA/authtoken/modules/CasaIdentityToken.conf
|
|
|
|
|
install -m 755 AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD %{buildroot}/etc/init.d/casa_atvd
|
|
|
|
|
install -m 750 AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken/validate/
|
|
|
|
|
install -m 640 AuthTokenValidate/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken/validate/
|
|
|
|
|
ln -sf casa_atvd %{buildroot}%{prefix}/sbin/rccasa_atvd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -229,6 +229,10 @@ 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
|
|
|
|
|
ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so
|
|
|
|
|
ln -sf libcasa_c_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_ipc.so
|
|
|
|
|
ln -sf libcasa_s_ipc.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_ipc.so
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
@@ -284,13 +288,10 @@ rm -rf /var/lib/CASA/authtoken/validate
|
|
|
|
|
%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}/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}/%{_lib}/CASA/authtoken/casa_iden_token.so.%{bldno}
|
|
|
|
|
%{prefix}/%{_lib}/CASA/authtoken/casa_iden_token.so
|
|
|
|
|
@@ -359,6 +360,9 @@ rm -rf /var/lib/CASA/authtoken/validate
|
|
|
|
|
%{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_c_ipc.so
|
|
|
|
|
%{prefix}/%{_lib}/libcasa_s_ipc.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog -n CASA_auth_token_server
|
|
|
|
|
|