Hello community, here is the log from the commit of package CASA_auth_token_svc checked in at Mon Oct 23 23:51:46 CEST 2006. -------- --- arch/i386/CASA_auth_token_svc/CASA_auth_token_svc.changes 2006-10-17 14:13:30.000000000 +0200 +++ /mounts/work_src_done/STABLE/CASA_auth_token_svc/CASA_auth_token_svc.changes 2006-10-23 23:50:12.000000000 +0200 @@ -2 +2 @@ -Tue Oct 17 14:13:00 CEST 2006 - ro@suse.de +Mon Oct 23 23:50:03 CEST 2006 - ro@suse.de @@ -4 +4 @@ -- remove java-1_5_0-ibm-alsa from BuildRequires +- remove java-1_5_0-ibm-alsa from BuildRequires (again) @@ -6 +6,24 @@ - a specific java vendor + a specific java vendor (again) + +------------------------------------------------------------------- +Fri Oct 20 09:53:55 MDT 2006 - jluciani@novell.com + +- Modified the CasaAuthTokenSvc war file to no longer include the + identity-abstraction jars. The CASA_auth_token_svc rpm now requires + the installation of the identity-abstraction rpm and the service is + able to load its files from the location where they are installed + with settings set in the server.xml file of our tomcat base. + +------------------------------------------------------------------- +Wed Oct 18 17:22:01 MDT 2006 - jluciani@novell.com + +- Updated the RPM install of the ATS to install it as a service + and create the necessary signing keys. + +- Made changes to other components to integrate with the new + RPM install changes. + +------------------------------------------------------------------- +Tue Oct 10 08:45:22 MDT 2006 - jluciani@novell.com + +- Brought up to date the README and TODO files. Old: ---- CASA_auth_token_svc-1.7.877.tar.bz2 New: ---- CASA_auth_token_svc-1.7.925.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ CASA_auth_token_svc.spec ++++++ --- /var/tmp/diff_new_pack.wq8fWp/_old 2006-10-23 23:51:18.000000000 +0200 +++ /var/tmp/diff_new_pack.wq8fWp/_new 2006-10-23 23:51:18.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package CASA_auth_token_svc (Version 1.7.877 ) +# spec file for package CASA_auth_token_svc (Version 1.7.925 ) # # 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: gcc-c++ glib2-devel identity-abstraction java-1_5_0-ibm java-1_5_0-ibm-devel libstdc++ libstdc++-devel mono-devel pkgconfig servletapi5 update-alternatives +BuildRequires: gcc-c++ glib2-devel identity-abstraction insserv java-1_5_0-ibm java-1_5_0-ibm-devel libstdc++ libstdc++-devel mono-devel pkgconfig servletapi5 sysvinit update-alternatives %define prefix /usr License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: System/Libraries Autoreqprov: on -%define bldno 1.7.877 -Version: 1.7.877 -Release: 6 +%define bldno 1.7.925 +Version: 1.7.925 +Release: 1 Summary: Novell CASA Authentication Token Service Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: java-1_5_0-ibm servletapi5 tomcat5 +Requires: java-1_5_0-ibm servletapi5 tomcat5 sysvinit insserv identity-abstraction 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 @@ -106,22 +108,62 @@ install -d %{buildroot}%{prefix}/share/java install -d %{buildroot}%{prefix}/share/java/CASA install -d %{buildroot}%{prefix}/share/java/CASA/authtoken +install -d %{buildroot}%{prefix}/share/java/CASA/authtoken/bin +install -d %{buildroot}/srv +install -d %{buildroot}/srv/www +install -d %{buildroot}/srv/www/casaats +install -d -m 700 %{buildroot}/srv/www/casaats +install -d -m 700 %{buildroot}/srv/www/casaats/conf +install -d -m 700 %{buildroot}/srv/www/casaats/conf/Catalina +install -d -m 700 %{buildroot}/srv/www/casaats/conf/Catalina/localhost +install -d -m 700 %{buildroot}/srv/www/casaats/shared +install -d -m 700 %{buildroot}/srv/www/casaats/shared/classes +install -d -m 700 %{buildroot}/srv/www/casaats/shared/libs +install -d -m 700 %{buildroot}/srv/www/casaats/webapps +install -d -m 700 %{buildroot}/srv/www/casaats/logs +install -d -m 700 %{buildroot}/srv/www/casaats/work +install -d -m 700 %{buildroot}/srv/www/casaats/temp install -d %{buildroot}%{prefix}/share/java/CASA/authtoken/external install -d %{buildroot}/etc +install -d %{buildroot}/etc/init.d 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/svc +install -d -m 700 %{buildroot}/var/lib/CASA/authtoken/svc 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 -install -d -m 755 %{buildroot}/etc/CASA/authtoken.d/svc.d -install -d -m 755 %{buildroot}/etc/CASA/authtoken.d/java-keys +install -d -m 755 %{buildroot}/etc/CASA/authtoken +install -d -m 755 %{buildroot}/etc/CASA/authtoken +install -d -m 700 %{buildroot}/etc/CASA/authtoken/svc +install -d -m 700 %{buildroot}/etc/CASA/authtoken/svc/auth_mechanisms +install -d -m 700 %{buildroot}/etc/CASA/authtoken/svc/auth_mechanisms/Krb5Authenticate +install -d -m 700 %{buildroot}/etc/CASA/authtoken/svc/auth_mechanisms/PwdAuthenticate +install -d -m 700 %{buildroot}/etc/CASA/authtoken/svc/enabled_services +install -d -m 700 %{buildroot}/etc/CASA/authtoken/svc/enabled_services/localhost +install -d -m 755 %{buildroot}/etc/CASA/authtoken/keys +install -d -m 700 %{buildroot}/etc/CASA/authtoken/keys/server +install -d -m 755 %{buildroot}/etc/CASA/authtoken/keys/client ## CASA_auth_token_svc ## # Libs install -m 755 %{_lib}/java/CasaAuthTokenSvc.war %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc-%{bldno}.war -# Lib Symbolic Links +install -m 700 %{_lib}/java/CasaAuthTokenSvc.war %{buildroot}/srv/www/casaats/webapps/CasaAuthTokenSvc.war +# Symbolic Links ln -sf CasaAuthTokenSvc-%{bldno}.war %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc.war -ln -sf CasaAuthTokenSvc-%{bldno}.war %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc.war.1 +# Settings and configuration files +install -m 600 server/Svc/svc.settings %{buildroot}/etc/CASA/authtoken/svc/svc.settings +install -m 600 server/Svc/authtoken.settings %{buildroot}/etc/CASA/authtoken/svc/authtoken.settings +install -m 600 server/Svc/identoken.settings %{buildroot}/etc/CASA/authtoken/svc/identoken.settings +install -m 600 server/Svc/src/com/novell/casa/authtoksvc/Krb5_mechanism.settings %{buildroot}/etc/CASA/authtoken/svc/auth_mechanisms/Krb5Authenticate/mechanism.settings +install -m 600 server/Svc/src/com/novell/casa/authtoksvc/Pwd_mechanism.settings %{buildroot}/etc/CASA/authtoken/svc/auth_mechanisms/PwdAuthenticate/mechanism.settings +# Others +install -m 700 server/Svc/linux/server_keystore_setup.sh %{buildroot}%{prefix}/share/java/CASA/authtoken/bin/server_keystore_setup.sh +install -m 755 server/Svc/linux/CasaAuthtokenSvcD %{buildroot}/etc/init.d/casa_atsd +install -m 700 server/Svc/linux/envvars %{buildroot}/etc/CASA/authtoken/svc/envvars +# Tomcat Base files +install -m 600 server/Svc/tomcat5/conf/catalina.policy %{buildroot}/srv/www/casaats/conf/catalina.policy +install -m 600 server/Svc/tomcat5/conf/catalina.properties %{buildroot}/srv/www/casaats/conf/catalina.properties +install -m 600 server/Svc/tomcat5/conf/jk2.properties %{buildroot}/srv/www/casaats/conf/jk2.properties +install -m 600 server/Svc/tomcat5/conf/server.xml %{buildroot}/srv/www/casaats/conf/server.xml +install -m 600 server/Svc/tomcat5/conf/tomcat-users.xml %{buildroot}/srv/www/casaats/conf/tomcat-users.xml +install -m 600 server/Svc/tomcat5/conf/web.xml %{buildroot}/srv/www/casaats/conf/web.xml ## CASA_auth_token_jaas_support ## # Libs install -m 755 %{_lib}/java/CasaJaasSupport.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaJaasSupport-%{bldno}.jar @@ -141,44 +183,96 @@ install -m 755 server/Svc/external/xercesImpl.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/xercesImpl.jar install -m 755 server/Svc/external/xml-apis.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/xml-apis.jar install -m 755 server/Svc/external/xmlsec-1.2.1.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/xmlsec-1.2.1.jar -install -m 644 server/Svc/crypto.properties %{buildroot}/etc/CASA/authtoken.d/crypto.properties -install -m 644 server/Svc/jaas.conf %{buildroot}/etc/CASA/authtoken.d/svc.d/jaas.conf -# Lib Symbolic Links +install -m 644 server/Jaas/linux/crypto.properties %{buildroot}/etc/CASA/authtoken/keys/client/crypto.properties +# Symbolic Links ln -sf CasaJaasSupport-%{bldno}.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaJaasSupport.jar -ln -sf CasaJaasSupport-%{bldno}.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaJaasSupport.jar.1 ln -sf CasaAuthToken-%{bldno}.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthToken.jar -ln -sf CasaAuthToken-%{bldno}.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthToken.jar.1 +# Others +install -m 700 server/Jaas/linux/client_keystore_setup.sh %{buildroot}%{prefix}/share/java/CASA/authtoken/bin/client_keystore_setup.sh %clean rm -rf $RPM_BUILD_ROOT ## CASA_auth_token_svc ## %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 ^casaatsd` +if [ -z "$user_present" ] ; then + /usr/sbin/useradd -c "casaatsd System User" -s /bin/false -r -d /var/lib/CASA/authtoken/validate -g casaauth casaatsd 2> /dev/null || : +fi %post -/sbin/ldconfig +# Install casa_atsd init script, set it to start by default. +%{fillup_and_insserv casa_atsd} +# Setup the keystore for the service +%{prefix}/share/java/CASA/authtoken/bin/server_keystore_setup.sh %preun -# Nothing to do in this preun script +%stop_on_removal casa_atsd %postun -# Nothing to do in this postun script +#Undeploy our webapp +rm -drf %{prefix}/share/java/CASA/authtoken/svc/webapps/CasaAuthTokenSvc +%restart_on_update casa_atsd +%insserv_cleanup +# Do not do anything else if this is an upgrade +if test "$1" == 1; then + exit 0 +fi +# Delete the casaatsd user +userdel casaatsd %files %defattr(-,root,root) %dir %{prefix}/share/java/CASA %dir %{prefix}/share/java/CASA/authtoken +%dir %{prefix}/share/java/CASA/authtoken/bin %dir /var/lib/CASA %dir /var/lib/CASA/authtoken %dir /var/lib/CASA/authtoken/svc %dir /etc/CASA -%dir /etc/CASA/authtoken.d -%dir /etc/CASA/authtoken.d/svc.d -%dir /etc/CASA/authtoken.d/java-keys +%dir /etc/CASA/authtoken +%dir /etc/CASA/authtoken/keys %{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc-%{bldno}.war %{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc.war -%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc.war.1 +%{prefix}/share/java/CASA/authtoken/bin/server_keystore_setup.sh +/etc/init.d/casa_atsd +%defattr(-,casaatsd,casaauth) +%dir /srv/www/casaats +%dir /srv/www/casaats/conf +%dir /srv/www/casaats/conf/Catalina +%dir /srv/www/casaats/conf/Catalina/localhost +%dir /srv/www/casaats/shared +%dir /srv/www/casaats/shared/classes +%dir /srv/www/casaats/shared/libs +%dir /srv/www/casaats/webapps +%dir /srv/www/casaats/logs +%dir /srv/www/casaats/work +%dir /srv/www/casaats/temp +%dir /etc/CASA/authtoken/svc +%dir /etc/CASA/authtoken/svc/auth_mechanisms +%dir /etc/CASA/authtoken/svc/auth_mechanisms/Krb5Authenticate +%dir /etc/CASA/authtoken/svc/auth_mechanisms/PwdAuthenticate +%dir /etc/CASA/authtoken/svc/enabled_services +%dir /etc/CASA/authtoken/svc/enabled_services/localhost +%dir /etc/CASA/authtoken/keys/server +/srv/www/casaats/webapps/CasaAuthTokenSvc.war +%config /srv/www/casaats/conf/catalina.policy +%config /srv/www/casaats/conf/catalina.properties +%config /srv/www/casaats/conf/jk2.properties +%config /srv/www/casaats/conf/server.xml +%config /srv/www/casaats/conf/tomcat-users.xml +%config /srv/www/casaats/conf/web.xml +%config /etc/CASA/authtoken/svc/envvars +%config /etc/CASA/authtoken/svc/svc.settings +%config /etc/CASA/authtoken/svc/authtoken.settings +%config /etc/CASA/authtoken/svc/identoken.settings +%config /etc/CASA/authtoken/svc/auth_mechanisms/Krb5Authenticate/mechanism.settings +%config /etc/CASA/authtoken/svc/auth_mechanisms/PwdAuthenticate/mechanism.settings ## CASA_auth_token_jaas_support ## %pre -n CASA_auth_token_jaas_support @@ -186,27 +280,30 @@ %post -n CASA_auth_token_jaas_support /sbin/ldconfig +# Setup the keystore for the clients +%{prefix}/share/java/CASA/authtoken/bin/client_keystore_setup.sh %preun -n CASA_auth_token_jaas_support # Nothing to do in this preun script %postun -n CASA_auth_token_jaas_support -# Nothing to do in this postun script +# Nothing to do in this preun script %files -n CASA_auth_token_jaas_support %defattr(-,root,root) %dir %{prefix}/share/java/CASA %dir %{prefix}/share/java/CASA/authtoken +%dir %{prefix}/share/java/CASA/authtoken/bin %dir %{prefix}/share/java/CASA/authtoken/external %dir /etc/CASA -%dir /etc/CASA/authtoken.d -%dir /etc/CASA/authtoken.d/java-keys +%dir /etc/CASA/authtoken +%dir /etc/CASA/authtoken/keys +%dir /etc/CASA/authtoken/keys/client %{prefix}/share/java/CASA/authtoken/CasaJaasSupport-%{bldno}.jar %{prefix}/share/java/CASA/authtoken/CasaJaasSupport.jar -%{prefix}/share/java/CASA/authtoken/CasaJaasSupport.jar.1 %{prefix}/share/java/CASA/authtoken/CasaAuthToken-%{bldno}.jar %{prefix}/share/java/CASA/authtoken/CasaAuthToken.jar -%{prefix}/share/java/CASA/authtoken/CasaAuthToken.jar.1 +%{prefix}/share/java/CASA/authtoken/bin/client_keystore_setup.sh %{prefix}/share/java/CASA/authtoken/external/axis.jar %{prefix}/share/java/CASA/authtoken/external/axis-ant.jar %{prefix}/share/java/CASA/authtoken/external/commons-discovery-0.2.jar @@ -222,14 +319,26 @@ %{prefix}/share/java/CASA/authtoken/external/xercesImpl.jar %{prefix}/share/java/CASA/authtoken/external/xml-apis.jar %{prefix}/share/java/CASA/authtoken/external/xmlsec-1.2.1.jar -/etc/CASA/authtoken.d/crypto.properties -/etc/CASA/authtoken.d/svc.d/jaas.conf +%config /etc/CASA/authtoken/keys/client/crypto.properties %changelog -n CASA_auth_token_svc -* Tue Oct 17 2006 - ro@suse.de -- remove java-1_5_0-ibm-alsa from BuildRequires +* Mon Oct 23 2006 - ro@suse.de +- remove java-1_5_0-ibm-alsa from BuildRequires (again) - remove "noarch" from package, not possible when requiring - a specific java vendor + a specific java vendor (again) +* Fri Oct 20 2006 - jluciani@novell.com +- Modified the CasaAuthTokenSvc war file to no longer include the + identity-abstraction jars. The CASA_auth_token_svc rpm now requires + the installation of the identity-abstraction rpm and the service is + able to load its files from the location where they are installed + with settings set in the server.xml file of our tomcat base. +* Wed Oct 18 2006 - jluciani@novell.com +- Updated the RPM install of the ATS to install it as a service + and create the necessary signing keys. +- Made changes to other components to integrate with the new + RPM install changes. +* Tue Oct 10 2006 - jluciani@novell.com +- Brought up to date the README and TODO files. * Thu Sep 21 2006 - jluciani@novell.com - Reduced Kerberos configuration requirements. Now the ATS service principal name defaults to "host" and there is no need to set the ++++++ CASA_auth_token_svc-1.7.877.tar.bz2 -> CASA_auth_token_svc-1.7.925.tar.bz2 ++++++ arch/i386/CASA_auth_token_svc/CASA_auth_token_svc-1.7.877.tar.bz2 /mounts/work_src_done/STABLE/CASA_auth_token_svc/CASA_auth_token_svc-1.7.925.tar.bz2 differ: char 11, line 1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org