Hello community, here is the log from the commit of package CASA_auth_token_native checked in at Fri Oct 6 17:18:43 CEST 2006. -------- --- CASA_auth_token_native/CASA_auth_token_native.changes 2006-08-15 18:59:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/CASA_auth_token_native/CASA_auth_token_native.changes 2006-10-06 00:07:33.000000000 +0200 @@ -0,0 +1,32 @@ +------------------------------------------------------------------- +Thu Oct 5 15:21:39 MDT 2006 - jluciani@novell.com + +- Ported the client to Linux and created the CASA_auth_token_client package. + +------------------------------------------------------------------- +Mon Oct 2 11:47:16 MDT 2006 - jluciani@novell.com + +- Made spec file modifications suggested by SuSE. The changes entailed + leveraging RPM macros instead of using my own scripts to make the + RPM more solid. + +------------------------------------------------------------------- +Thu Sep 14 17:41:40 MDT 2006 - jluciani@novell.com + +- Added rc script for Validate AuthToken Service. + +------------------------------------------------------------------- +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 + +- 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. Old: ---- CASA_auth_token_native-1.7.797.tar.bz2 New: ---- CASA_auth_token_native-1.7.893.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ CASA_auth_token_native.spec ++++++ --- /var/tmp/diff_new_pack.NwCdf6/_old 2006-10-06 17:18:29.000000000 +0200 +++ /var/tmp/diff_new_pack.NwCdf6/_new 2006-10-06 17:18:29.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package CASA_auth_token_native (Version 1.7.797 ) +# spec file for package CASA_auth_token_native (Version 1.7.893 ) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -15,19 +15,21 @@ %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 +BuildRequires: CASA-devel apache2-devel curl-devel expat gcc-c++ glade-sharp glade-sharp2 glib2-devel insserv java-1_5_0-ibm java-1_5_0-ibm-alsa java-1_5_0-ibm-devel krb5-devel libgcc libgssapi libstdc++ libstdc++-devel mono-devel pam-devel pkgconfig sysvinit update-alternatives %define prefix /usr License: LGPL Group: System/Libraries Autoreqprov: on -%define bldno 1.7.797 -Version: 1.7.797 +%define bldno 1.7.893 +Version: 1.7.893 Release: 1 Summary: Novell CASA Authentication Token Libraries Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: expat +Requires: expat binutils java-1_5_0-ibm CASA_auth_token_jaas_support sysvinit insserv PreReq: %fillup_prereq %insserv_prereq +PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd +PreReq: /usr/sbin/groupadd, /usr/sbin/useradd, /usr/sbin/userdel, /usr/bin/getent %description CASA_auth_token is an authentication token infrastructure with support @@ -55,6 +57,34 @@ -------- Juan Carlos Luciani - jluciani@novell.com +%package -n CASA_auth_token_client +Summary: Novell CASA Authentication Token Client Libraries +Group: Development/Libraries/C and C++ +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 @@ -117,7 +147,7 @@ %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 @@ -160,24 +190,70 @@ make %install +export NO_BRP_CHECK_BYTECODE_VERSION="true" ## Prime the file system ## install -d %{buildroot}%{prefix} +install -d %{buildroot}%{prefix}/bin +install -d %{buildroot}%{prefix}/sbin install -d %{buildroot}%{prefix}/%{_lib} -install -d %{buildroot}%{prefix}/%{_lib}/security +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 +install -d %{buildroot}/etc/ld.so.conf.d +install -d %{buildroot}/var +install -d %{buildroot}/var/lib +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 ## 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/authtoken/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 -## CASA_auth_token_pam_support ## +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 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/ +ln -sf casa_atvd %{buildroot}%{prefix}/sbin/rccasa_atvd +## CASA_auth_token_client ## # 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}/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 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 +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 %{_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 +## CASA_auth_token_pam_support ## +# Libs +install -m 755 %{_lib}/%{cfg}/pam_casaauthtok.so %{buildroot}/%{_lib}/security/pam_casaauthtok.so ## CASA_auth_token_apache2_2_support ## # Libs install -m 755 %{_lib}/%{cfg}/mod_authn_casa.so %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so.%{bldno} @@ -188,28 +264,107 @@ # 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 rm -rf $RPM_BUILD_ROOT ## CASA_auth_token_native ## %pre -# Nothing to do in this pre script +# Do necessary user and group administration +group_present=`getent group | grep ^casaauth` +if [ -z "$group_present" ] ; then + /usr/sbin/groupadd -r casaauth +fi +user_present=`getent passwd | grep ^casaatvd` +if [ -z "$user_present" ] ; then + /usr/sbin/useradd -c "casa_atvd System User" -s /bin/false -r -d /var/lib/CASA/authtoken/validate -g casaauth casaatvd 2> /dev/null || : +fi %post /sbin/ldconfig +# Install casa_atvd init script +%{fillup_and_insserv casa_atvd} %preun -# Nothing to do in this preun script +%stop_on_removal casa_atvd %postun -# Nothing to do in this postun script +%restart_on_update casa_atvd +%insserv_cleanup +/sbin/ldconfig +# Do not do anything else if this is an upgrade +if test "$1" == 1; then + exit 0 +fi +# Delete the casaatvd user +userdel casaatvd +# Delete the var files +rm -rf /var/lib/CASA/authtoken/validate %files %defattr(-,root,root) +%dir %{prefix}/%{_lib}/CASA +%dir %{prefix}/%{_lib}/CASA/authtoken +%dir /var/lib/CASA +%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 %{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 +/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 @@ -222,14 +377,12 @@ # Nothing to do in this preun script %postun -n CASA_auth_token_pam_support -# Nothing to do in this postun script +/sbin/ldconfig %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 ## %pre -n CASA_auth_token_apache2_2_support @@ -242,7 +395,7 @@ # Nothing to do in this preun script %postun -n CASA_auth_token_apache2_2_support -# Nothing to do in this postun script +/sbin/ldconfig %files -n CASA_auth_token_apache2_2_support %defattr(-,root,root) @@ -267,8 +420,27 @@ %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 +* Thu Oct 05 2006 - jluciani@novell.com +- Ported the client to Linux and created the CASA_auth_token_client package. +* Mon Oct 02 2006 - jluciani@novell.com +- Made spec file modifications suggested by SuSE. The changes entailed + leveraging RPM macros instead of using my own scripts to make the + RPM more solid. +* Thu Sep 14 2006 - jluciani@novell.com +- Added rc script for Validate AuthToken Service. +* Thu Sep 14 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 05 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 2006 - schoi@novell.com - Fixed CASA_auth_token_devel build requirement for CASA_auth_token_svc * Mon Aug 07 2006 - schoi@novell.com ++++++ CASA_auth_token_native-1.7.797.tar.bz2 -> CASA_auth_token_native-1.7.893.tar.bz2 ++++++ ++++ 87464 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org