From f9139d6404005145df0584980b1619a9c25fc044 Mon Sep 17 00:00:00 2001 From: soochoi Date: Tue, 24 Feb 2009 04:19:55 +0000 Subject: [PATCH] CASA: merge CASA.changes and CASA.spec from suse autobuild --- CASA/CASA.changes | 97 +++-- CASA/package/linux/CASA.spec.in | 621 +++++++++++++++++--------------- 2 files changed, 381 insertions(+), 337 deletions(-) diff --git a/CASA/CASA.changes b/CASA/CASA.changes index fdc5f096..766e6cdf 100644 --- a/CASA/CASA.changes +++ b/CASA/CASA.changes @@ -1,12 +1,29 @@ ------------------------------------------------------------------- Wed Feb 18 08:49:01 MST 2009 - jnorman@novell.com -- Bug 458146. Add call to initialize Mono Crypto library during startup +- Bug 458146. Add call to initialize Mono Crypto library during startup + +------------------------------------------------------------------- +Wed Dec 10 12:34:56 CET 2008 - olh@suse.de + +- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade + (bnc#437293) + +------------------------------------------------------------------- +Thu Oct 30 12:34:56 CET 2008 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) ------------------------------------------------------------------- Wed Oct 15 14:51:32 MDT 2008 - jnorman@novell.com -- Bug 407409. Account for a filehandles equal to 0. +- Bug 407409. Account for a filehandles equal to 0. + +------------------------------------------------------------------- +Thu Aug 28 13:00:43 CEST 2008 - ro@suse.de + +- drop novell-filesystem from buildreqs (not in factory/stable) +- add /etc/opt/novell directory to filelist instead ------------------------------------------------------------------- Tue Aug 26 14:32:58 MDT 2008 - cgardner@novell.com @@ -350,8 +367,8 @@ Thu Oct 12 16:26:13 MDT 2006 - jnorman@novell.com - Copy feature added. Users can copy secrets from one store to another. -------------------------------------------------------------------- +------------------------------------------------------------------- Wed Oct 11 15:29:13 IST 2006 - smanojna@novell.com - Some fixes for Distribution of Firefox Password Manager secrets. @@ -392,57 +409,57 @@ Wed Sep 27 11:56:07 MDT 2006 - jnorman@novell.com - Move the .CASAPolicy files to ~/.casa --------------------------------------------------------------------- +------------------------------------------------------------------- Thu Jul 06 14:32:53 MDT 2006 - jnorman@novell.com - Bug 173648. Exec CASAManager.exe in the forground. --------------------------------------------------------------------- +------------------------------------------------------------------- Thu Jul 06 12:04:53 MDT 2006 - jnorman@novell.com - Bug 190532. Compute properly length when escaping SecretIDs --------------------------------------------------------------------- +------------------------------------------------------------------- Mon Jul 05 12:22:53 MDT 2006 - jnorman@novell.com - Bug 176460. Added a filewatcher on file in question --------------------------------------------------------------------- +------------------------------------------------------------------- Mon Jul 03 13:01:53 MDT 2006 - jnorman@novell.com - Bug 164181. Prevent multiple instances of CASAManager on windows. --------------------------------------------------------------------- +------------------------------------------------------------------- Tue Jun 27 14:22:53 MDT 2006 - jnorman@novell.com - Added miCASARemoveKey API to dll. --------------------------------------------------------------------- +------------------------------------------------------------------- Mon Jun 26 16:16:53 MDT 2006 - jluciani@novell.com - Added files sscs_string.h, micasa.h, and casa_status.h to the devel package. --------------------------------------------------------------------- +------------------------------------------------------------------- Mon Jun 09 16:11:53 MDT 2006 - jluciani@novell.com - Moved auth-token header files to the CASA-auth-token/include folder. --------------------------------------------------------------------- +------------------------------------------------------------------- Mon Jun 05 15:30:53 MDT 2006 - jnorman@novell.com - Bug 175455. Prevent crash when entering MP that is too short and during an upgrade. --------------------------------------------------------------------- +------------------------------------------------------------------- Thu May 25 16:15:53 MDT 2006 - jnorman@novell.com - Bug 178796: change the way we generate the new salt so that we are cross-plat. --------------------------------------------------------------------- +------------------------------------------------------------------- Thu May 25 09:21:53 MDT 2006 - cmashayekhi@novell.com - casa-gnome-keyring.h was cleaned up. ------------------------------------------------------------------- +------------------------------------------------------------------- Tue May 23 14:15:21 MDT 2006 - cmashayekhi@novell.com - Eliminated the gnome-kering.h header file. @@ -867,7 +884,7 @@ Mon Mar 06 16:30:00 IST 2006 - mmanohar@novell.com -Fix for FireFox Uninitialize ------------------------------------------------------------------- +------------------------------------------------------------------- Wed Mar 01 10:35:19 MST 2006 - cmashayekhi@novell.com - CASA.spec was modified to put the CASAManager.sh in /usr/bin. @@ -881,22 +898,23 @@ Wed Mar 01 16:30:00 IST 2006 - mmanohar@novell.com components via RPMs - Console messages removed from GUI-SDI and AD-Lib -Wed Feb 28 14:00:00 IST 2006 - mmanohar@novell.com - -- FireFox View functionality integrated with CASA - ------------------------------------------------------------------- Mon Feb 27 16:34:24 MST 2006 - jnorman@novell.com - Bug 147031. Change CASA.desktop to find CASAManager in /usr/sbin +------------------------------------------------------------------- +Wed Feb 28 14:00:00 IST 2006 - mmanohar@novell.com + +- FireFox View functionality integrated with CASA + ------------------------------------------------------------------- Tue Feb 27 11:55:27 IST 2006 - asuraj@novell.com - Bug 141823. CASAManager will not display KDE Wallet Secrets unless kwalletmanager is open - fixed by starting kdeinit in code ------------------------------------------------------------------- +------------------------------------------------------------------- Wed Feb 22 16:55:27 MST 2006 - cmashayekhi@novell.com - CASA.spec was modified to put the scripts in /usr/sbin. @@ -960,6 +978,11 @@ Fri Feb 17 14:01:12 MST 2006 - jnorman@novell.com - Bug 135386: Linking secrets with colon in the name - FIXED +------------------------------------------------------------------- +Thu Feb 16 16:45:27 MST 2006 - cmashayekhi@novell.com + +- Spec file was correct to eliminate the neededforbuild directive + ------------------------------------------------------------------- Fri Feb 17 21:31:10 IST 2006 - smanojna@novell.com @@ -969,11 +992,6 @@ Fri Feb 17 21:31:10 IST 2006 - smanojna@novell.com - System > Configuration > Novell CASA Manager - Utilities > Security > Novell CASA Manager - Internet > Administration > Novell CASA Manager -------------------------------------------------------------------- -Thu Feb 16 16:45:27 MST 2006 - cmashayekhi@novell.com - -- Spec file was correct to eliminate the neededforbuild directive - ------------------------------------------------------------------- Thu Feb 16 11:43:36 MST 2006 - jnorman@novell.com @@ -1017,6 +1035,11 @@ Tue Feb 14 11:17:20 CET 2006 - meissner@suse.de - Fixed the broken %post and %preun logic, added prerequires. +------------------------------------------------------------------- +Tue Feb 14 01:03:33 CET 2006 - ro@suse.de + +- comment out filesystem dirs from filelist + ------------------------------------------------------------------- Tue Feb 14 09:57:43 IST 2006 - smanojna@novell.com @@ -1024,11 +1047,6 @@ Tue Feb 14 09:57:43 IST 2006 - smanojna@novell.com kdewallet. - Bug 148102: CASA-gui requires kdelibs3. -------------------------------------------------------------------- -Tue Feb 14 01:03:33 CET 2006 - ro@suse.de - -- comment out filesystem dirs from filelist - ------------------------------------------------------------------- Mon Feb 13 08:50:22 MST 2006 - cmashayekhi@novell.com @@ -1209,6 +1227,12 @@ Tue Jan 10 10:24:26 MST 2006 - jnorman@novell.com - Changed dependency to MONO 1.1.13 +------------------------------------------------------------------- +Mon Jan 09 17:38:33 MST 2006 - jnorman@novell.com + +- Change Mono.Unix to Mono.Unix.Native. Move from Mono.Posix to + Mono.Unix + ------------------------------------------------------------------- Tue Jan 10 18:16:01 IST 2006 - smanojna@novell.com @@ -1221,12 +1245,6 @@ Tue Jan 10 13:20:06 IST 2006 - smanojna@novell.com - Bug 142183:Added code to prevent users from deleting "GKPassword" Key in Keyring store. -------------------------------------------------------------------- -Mon Jan 09 17:38:33 MST 2006 - jnorman@novell.com - -- Change Mono.Unix to Mono.Unix.Native. Move from Mono.Posix to - Mono.Unix - ------------------------------------------------------------------- Mon Jan 09 21:25:00 CET 2006 - gekker@suse.de @@ -1403,8 +1421,8 @@ Wed Nov 24 14:09:19 MST 2005 - jnorman@novell.com - Bug fixes: 135387, 135393 -------------------------------------------------------------------- +------------------------------------------------------------------- Wed Nov 23 17:18:23 MST 2005 - cmashayekhi@novell.com - c_gui/CASAManager.sh was fixed to support lib64 directory. @@ -1463,7 +1481,7 @@ Mon Nov 07 16:44:00 MST 2005 - cameron@novell.com GUI was added. - Finalized GUI cosmetic changes. ----------------------------------------------------------------- +------------------------------------------------------------------- Thu Oct 27 11:40:20 MDT 2005 - cmashayekhi@novell.com -The image version to 1.5.0 @@ -1471,10 +1489,9 @@ Thu Oct 27 11:40:20 MDT 2005 - cmashayekhi@novell.com - Work area was cleaned up for the final build. - CASA.spec was modified to requirement. - Minor bug fixes were applied. ----------------------------------------------------------------- +------------------------------------------------------------------- Thu Oct 19 14:46:33 MDT 2005 - cmashayekhi@novell.com -The image version to 1.5.0 Files: - Moving from version 1.0.0 to 1.5.0 as per PRD. ----------------------------------------------------------------- diff --git a/CASA/package/linux/CASA.spec.in b/CASA/package/linux/CASA.spec.in index 9f7614fb..5445f761 100644 --- a/CASA/package/linux/CASA.spec.in +++ b/CASA/package/linux/CASA.spec.in @@ -1,297 +1,324 @@ -# -# spec file for package CASA (Version 1.6.0) -# -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. -# -# Please submit bugfixes or comments via http://bugs.opensuse.org -# - -# norootforbuild - -# For debug build, please replace Release to Debug and set debug_opt to --enable-debug -%define cfg Release -%define debug_opt "" - - -Name: @PACKAGE@ -URL: http://www.novell.com/products -BuildRequires: gcc-c++ glade-sharp2 glib-sharp2 glib2-devel gtk-sharp2 gtk-sharp2-gapi gtk2-devel java2-devel-packages kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel -%define prefix /usr/share/doc/packages -%define bin_prefix /usr -License: LGPL -Group: Productivity/Other -Autoreqprov: on -%define bldno 1.1.1 -Version: @VERSION@ -Release: 0 -Summary: Novell Common Authentication Services Adapter (CASA) -Source: %{name}-%{version}.tar.bz2 -#Patch: %{name}-%{version}.diff -#Patch2: CASA-detect_lib64.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: mono >= 1.1.13 mono-core >= 1.1.13 -PreReq: %fillup_prereq %insserv_prereq -#ExclusiveArch: %ix86 x86_64 -#NoSource: 0 - -%description -CASA (Common Authentication Services Adaptor) is a common authentication -and security package providing a set of libraries for application and -service developers to provide single sign-on to an enterprise network. -CASA provides a local on box credential store that is purely session -based in 1.0. This store is populated with your Desktop and Network Login -credentials on Novell Linux Desktop and Windows workstations. - -%package cli -Summary: The CASA command line interface -Group: Productivity/Other -Requires: CASA = %{version} - -%description cli -This package contains a CLI(command line interface) that provides -a way for administrators to set, reset or delete credentials used by -services. These credentials are stored in CASA. - -%package devel -Summary: Include Files and Libraries mandatory for Development. -Group: Productivity/Other -Requires: CASA >= 1.0.0 - -%description devel -This package contains all necessary include files and libraries needed -to develop applications that can use CASA (Common Authentication Services Adapter) -for credential storage and single sign-on. - -%package gui -Summary: The CASA Console Utility -Group: Productivity/Other -#Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14 -Requires: CASA = %{version} gtk-sharp2 >= 2.8.0 gtk2 >= 2.4.14 - -%description gui -This package contains the CASA (Common Authentication Services Adapter) -Management application that allows you to manage credentials for miCASA, -kde wallet, gnome keyring and firefox password manager stores. -Additionally, you can also link miCASA secrets to one another. - -%prep -%setup -q -#%patch -%if %{_lib} == "lib64" -%define binsource bin64 -%else -%define binsource bin -%endif - - -%build -export PATH=.:$PATH:/usr/%_lib/qt3/bin -%if %suse_version > 1000 -export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector" -%endif - -./autogen.sh -make - -%install - -export NO_BRP_CHECK_BYTECODE_VERSION="true" - -mkdir -p %{buildroot}%{prefix} -mkdir -p %{buildroot}%{bin_prefix}/share -mkdir -p %{buildroot}%{bin_prefix}/share/java -mkdir -p %{buildroot}%{bin_prefix}/share/java/CASA -mkdir -p %{buildroot}%{prefix}/CASA -mkdir -p %{buildroot}%{bin_prefix}/%{_lib} -mkdir -p %{buildroot}%{bin_prefix}/bin -mkdir -p %{buildroot}%{bin_prefix}/sbin -mkdir -p %{buildroot}%{bin_prefix}/include -mkdir -p %{buildroot}%{prefix}/CASA/images -mkdir -p %{buildroot}%{prefix}/CASA/help -mkdir -p %{buildroot}%{prefix}/CASA/help/en -mkdir -p %{buildroot}%{prefix}/CASA/doc -mkdir -p %{buildroot}/%{_lib}/security -mkdir -p %{buildroot}/etc/init.d -mkdir -p %{buildroot}/etc/ld.so.conf.d -mkdir -p %{buildroot}/etc/opt/novell/micasa - -install -m 755 %{_lib}/%{cfg}/libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.Common.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.A-D.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.CASAPolicy.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib} - -install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin -install -m 755 %{binsource}/%{cfg}/micasad-init %{buildroot}%{bin_prefix}/bin -install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin -install -m 755 %{binsource}/%{cfg}/CASAcli %{buildroot}%{bin_prefix}/bin -install -m 755 gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin -install -m 755 gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin -install -m 644 gui/images/* %{buildroot}%{prefix}/CASA/images -install -m 644 gui/help/en/* %{buildroot}%{prefix}/CASA/help/en -install -m 755 micasad/startup/micasad %{buildroot}/etc/init.d -install -m 755 micasad/startup/micasad.sh %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/casacfgpam %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/casaucfgpam %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/installcasa %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/uninstallcasa %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/iscasaconfiged %{buildroot}%{bin_prefix}/sbin -install -m 600 micasad/startup/micasad.conf.xml %{buildroot}/etc/opt/novell/micasa - -install -m 755 %{_lib}/%{cfg}/pam_micasa.so %{buildroot}/%{_lib}/security - -install -d %{buildroot}%{bin_prefix}/%{_lib} -install -d %{buildroot}%{bin_prefix}/bin -install -d %{buildroot}%{bin_prefix}/sbin -install -d %{buildroot}%{bin_prefix}/include -install -d %{buildroot}%{prefix}/CASA/doc -install -d %{buildroot}%{prefix}/CASA/images -install -d %{buildroot}%{prefix}/CASA/help/en -install -d %{buildroot}/%{_lib}/security -install -d %{buildroot}/etc/init.d - -#install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib} -install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/share/java/CASA/miCASA.jar - -install -m 644 doc/product/casa_enu.pdf %{buildroot}%{prefix}/CASA/doc -install -m 644 doc/product/License.txt %{buildroot}%{prefix}/CASA/doc -install -m 644 doc/product/Readme.txt %{buildroot}%{prefix}/CASA/doc -install -m 644 include/micasa_mgmd.h %{buildroot}%{bin_prefix}/include -install -m 644 include/micasa_types.h %{buildroot}%{bin_prefix}/include -install -m 644 include/sscs_string.h %{buildroot}%{bin_prefix}/include -install -m 644 include/sscs_utf8.h %{buildroot}%{bin_prefix}/include -install -m 644 include/micasa.h %{buildroot}%{bin_prefix}/include -install -m 644 include/casa_status.h %{buildroot}%{bin_prefix}/include - -ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so -ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so.1 -ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so -ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so.1 - -ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so -ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1 - -ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so -ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so.1 - -ln -s /etc/init.d/micasad %{buildroot}%{bin_prefix}/sbin/rcmicasad -echo "/usr/%{_lib}/" >> %{buildroot}/etc/ld.so.conf.d/CASA.conf - -install -d %{buildroot}/usr/share/applications -install gui/CASAManager.desktop %{buildroot}/usr/share/applications -%suse_update_desktop_file -r CASAManager X-SuSE-ControlCenter-Personal -%post -%{fillup_and_insserv micasad} - -/sbin/ldconfig - -%post gui -/sbin/ldconfig - -%preun -%stop_on_removal micasad - -if [ "x$1" = "x0" ] -then - /usr/sbin/casaucfgpam -fi - - -%postun -%restart_on_update micasad -%insserv_cleanup -/sbin/ldconfig - -%postun gui -/sbin/ldconfig - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%dir %{bin_prefix}/share/java/CASA -%dir %{prefix}/CASA -%dir %{prefix}/CASA/doc -%dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno} -%dir %{bin_prefix}/%{_lib}/libmicasa.so -%dir %{bin_prefix}/%{_lib}/libmicasa.so.1 -%dir %{bin_prefix}/%{_lib}/libjmicasa.so.%{bldno} -%dir %{bin_prefix}/%{_lib}/libjmicasa.so -%dir %{bin_prefix}/%{_lib}/libjmicasa.so.1 -%dir %{bin_prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll -%dir %{bin_prefix}/%{_lib}/Novell.CASA.Common.dll -%dir %{bin_prefix}/%{_lib}/Novell.CASA.CASAPolicy.dll -%dir /etc/opt/novell -%dir /etc/opt/novell/micasa - -/etc/init.d/micasad -/%{_lib}/security/pam_micasa.so -/etc/ld.so.conf.d/CASA.conf - -%{bin_prefix}/sbin/rcmicasad -%{bin_prefix}/sbin/casacfgpam -%{bin_prefix}/sbin/casaucfgpam -%{bin_prefix}/sbin/installcasa -%{bin_prefix}/sbin/uninstallcasa -%{bin_prefix}/sbin/iscasaconfiged -%{bin_prefix}/sbin/micasad.sh -%{bin_prefix}/%{_lib}/miCASA.jar -%{bin_prefix}/share/java/CASA/miCASA.jar - -%{bin_prefix}/bin/micasad.exe -%{bin_prefix}/bin/micasad-init -/etc/opt/novell/micasa/micasad.conf.xml - -%{prefix}/CASA/doc/casa_enu.pdf -%{prefix}/CASA/doc/License.txt -%{prefix}/CASA/doc/Readme.txt - -%files cli -%defattr(-,root,root) -%{bin_prefix}/bin/CASAcli - -%files devel -%defattr(-,root,root) -%{bin_prefix}/include/micasa_mgmd.h -%{bin_prefix}/include/micasa_types.h -%{bin_prefix}/include/sscs_string.h -%{bin_prefix}/include/sscs_utf8.h -%{bin_prefix}/include/micasa.h -%{bin_prefix}/include/casa_status.h - -%files gui -%defattr(-,root,root) -%{bin_prefix}/bin/CASAManager.sh -%{bin_prefix}/bin/CASAManager.exe.config -%{bin_prefix}/bin/CASAManager.exe -%{bin_prefix}/share/applications/CASAManager.desktop - -%{bin_prefix}/%{_lib}/libad_gk.so.%{bldno} -%{bin_prefix}/%{_lib}/libad_gk.so -%{bin_prefix}/%{_lib}/libad_gk.so.1 -%{bin_prefix}/%{_lib}/libad_ff.so.%{bldno} -%{bin_prefix}/%{_lib}/libad_ff.so -%{bin_prefix}/%{_lib}/libad_ff.so.1 -%{bin_prefix}/%{_lib}/Novell.CASA.A-D.dll -%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll -%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll -%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.FireFox.dll - -%dir %{prefix}/CASA/images -%{prefix}/CASA/images/* - -%dir %{prefix}/CASA/help -%dir %{prefix}/CASA/help/en -%{prefix}/CASA/help/en/* - -%changelog -n CASA +# +# spec file for package CASA (Version 1.7.0) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# Please submit bugfixes or comments via http://bugs.opensuse.org +# + +# norootforbuild + +# For debug build, please replace Release to Debug and set debug_opt to --enable-debug +%define cfg Release +%define debug_opt "" + + +Name: @PACKAGE@ +URL: http://www.novell.com/products +BuildRequires: gcc-c++ glade-sharp2 glib-sharp2 glib2-devel gtk-sharp2 gtk-sharp2-gapi gtk2-devel java2-devel-packages kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel +%define prefix /usr/share/doc/packages +%define bin_prefix /usr +License: LGPL v2.1 or later +Group: Productivity/Other +AutoReqProv: on +# bug437293 +%ifarch ppc64 +Obsoletes: CASA-64bit +%endif +# +%define bldno 1.1.1 +Version: @VERSION@ +Release: 15 +Summary: Novell Common Authentication Services Adapter (CASA) +Source: %{name}-%{version}.tar.bz2 +#Patch: %{name}-%{version}.diff +#Patch2: CASA-detect_lib64.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: mono >= 1.1.13 mono-core >= 1.1.13 +PreReq: %fillup_prereq %insserv_prereq +#ExclusiveArch: %ix86 x86_64 +#NoSource: 0 + +%description +CASA (Common Authentication Services Adaptor) is a common +authentication and security package providing a set of libraries for +application and service developers to provide single sign-on to an +enterprise network. CASA provides a local on box credential store that +is purely session based in 1.0. This store is populated with your +Desktop and Network Login credentials on Novell Linux Desktop, Windows +and Apple workstations. + +Authors: +-------- + Novell, Inc. +%package cli +License: LGPL v2.1 or later +Summary: CASA Command Line Interface +Group: Productivity/Other +Requires: CASA = %{version} + +%description cli +This package contains a CLI (command line interface) that providesa way +for administrators to set, reset or delete credentials used by +services. These credentials are stored in CASA. + +Authors: +-------- + Novell, Inc. +%package devel +License: LGPL v2.1 or later +Summary: CASA include Files and Libraries mandatory for Development +Group: Productivity/Other +Requires: CASA >= 1.0.0 + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that can use CASA (Common Authnetication +Services Adapter)for credential storage and single sign-on. + +Authors: +-------- + Novell, Inc. +%package gui +License: LGPL v2.1 or later +Summary: The CASA Console Utility +Group: Productivity/Other +#Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14 +Requires: CASA = %{version} gtk-sharp2 >= 2.8.0 gtk2 >= 2.4.14 + +%description gui +This package contains the CASA (Common Authnetication Services Adapter) +Management application that allows you to manage credentials within +CASA and for your kwallet gnome keyring. Additionally, you can also +link secrets to one another. +Authors: +-------- + Novell, Inc. + +%prep +%setup -q +#%patch +%if %{_lib} == "lib64" +%define binsource bin64 +%else +%define binsource bin +%endif + + +%build +export PATH=.:$PATH:/usr/%_lib/qt3/bin +%if %suse_version > 1000 +export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector" +%endif + +./autogen.sh +make + +%install + +export NO_BRP_CHECK_BYTECODE_VERSION="true" + +mkdir -p %{buildroot}%{prefix} +mkdir -p %{buildroot}%{bin_prefix}/share +mkdir -p %{buildroot}%{bin_prefix}/share/java +mkdir -p %{buildroot}%{bin_prefix}/share/java/CASA +mkdir -p %{buildroot}%{prefix}/CASA +mkdir -p %{buildroot}%{bin_prefix}/%{_lib} +mkdir -p %{buildroot}%{bin_prefix}/bin +mkdir -p %{buildroot}%{bin_prefix}/sbin +mkdir -p %{buildroot}%{bin_prefix}/include +mkdir -p %{buildroot}%{prefix}/CASA/images +mkdir -p %{buildroot}%{prefix}/CASA/help +mkdir -p %{buildroot}%{prefix}/CASA/help/en +mkdir -p %{buildroot}%{prefix}/CASA/doc +mkdir -p %{buildroot}/%{_lib}/security +mkdir -p %{buildroot}/etc/init.d +mkdir -p %{buildroot}/etc/ld.so.conf.d +mkdir -p %{buildroot}/etc/opt/novell/micasa + +install -m 755 %{_lib}/%{cfg}/libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/Novell.CASA.Common.dll %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/Novell.CASA.A-D.dll %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/Novell.CASA.CASAPolicy.dll %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib} + +install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin +install -m 755 %{binsource}/%{cfg}/micasad-init %{buildroot}%{bin_prefix}/bin +install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin +install -m 755 %{binsource}/%{cfg}/CASAcli %{buildroot}%{bin_prefix}/bin +install -m 755 gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin +install -m 755 gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin +install -m 644 gui/images/* %{buildroot}%{prefix}/CASA/images +install -m 644 gui/help/en/* %{buildroot}%{prefix}/CASA/help/en +install -m 755 micasad/startup/micasad %{buildroot}/etc/init.d +install -m 755 micasad/startup/micasad.sh %{buildroot}%{bin_prefix}/sbin +install -m 755 micasad/startup/casacfgpam %{buildroot}%{bin_prefix}/sbin +install -m 755 micasad/startup/casaucfgpam %{buildroot}%{bin_prefix}/sbin +install -m 755 micasad/startup/installcasa %{buildroot}%{bin_prefix}/sbin +install -m 755 micasad/startup/uninstallcasa %{buildroot}%{bin_prefix}/sbin +install -m 755 micasad/startup/iscasaconfiged %{buildroot}%{bin_prefix}/sbin +install -m 600 micasad/startup/micasad.conf.xml %{buildroot}/etc/opt/novell/micasa + +install -m 755 %{_lib}/%{cfg}/pam_micasa.so %{buildroot}/%{_lib}/security + +install -d %{buildroot}%{bin_prefix}/%{_lib} +install -d %{buildroot}%{bin_prefix}/bin +install -d %{buildroot}%{bin_prefix}/sbin +install -d %{buildroot}%{bin_prefix}/include +install -d %{buildroot}%{prefix}/CASA/doc +install -d %{buildroot}%{prefix}/CASA/images +install -d %{buildroot}%{prefix}/CASA/help/en +install -d %{buildroot}/%{_lib}/security +install -d %{buildroot}/etc/init.d + +#install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib} +install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/%{_lib} +install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/share/java/CASA/miCASA.jar + +install -m 644 doc/product/casa_enu.pdf %{buildroot}%{prefix}/CASA/doc +install -m 644 doc/product/License.txt %{buildroot}%{prefix}/CASA/doc +install -m 644 doc/product/Readme.txt %{buildroot}%{prefix}/CASA/doc +install -m 644 include/micasa_mgmd.h %{buildroot}%{bin_prefix}/include +install -m 644 include/micasa_types.h %{buildroot}%{bin_prefix}/include +install -m 644 include/sscs_string.h %{buildroot}%{bin_prefix}/include +install -m 644 include/sscs_utf8.h %{buildroot}%{bin_prefix}/include +install -m 644 include/micasa.h %{buildroot}%{bin_prefix}/include +install -m 644 include/casa_status.h %{buildroot}%{bin_prefix}/include + +ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so +ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so.1 +ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so +ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so.1 + +ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so +ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1 + +ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so +ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so.1 + +ln -s /etc/init.d/micasad %{buildroot}%{bin_prefix}/sbin/rcmicasad +echo "/usr/%{_lib}/" >> %{buildroot}/etc/ld.so.conf.d/CASA.conf + +install -d %{buildroot}/usr/share/applications +install gui/CASAManager.desktop %{buildroot}/usr/share/applications +%suse_update_desktop_file -r CASAManager X-SuSE-ControlCenter-Personal +%post +%{fillup_and_insserv micasad} + +/sbin/ldconfig + +%post gui +/sbin/ldconfig + +%preun +%stop_on_removal micasad + +if [ "x$1" = "x0" ] +then + /usr/sbin/casaucfgpam +fi + + +%postun +%restart_on_update micasad +%insserv_cleanup +/sbin/ldconfig + +%postun gui +/sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%dir %{bin_prefix}/share/java/CASA +%dir %{prefix}/CASA +%dir %{prefix}/CASA/doc +%dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno} +%dir %{bin_prefix}/%{_lib}/libmicasa.so +%dir %{bin_prefix}/%{_lib}/libmicasa.so.1 +%dir %{bin_prefix}/%{_lib}/libjmicasa.so.%{bldno} +%dir %{bin_prefix}/%{_lib}/libjmicasa.so +%dir %{bin_prefix}/%{_lib}/libjmicasa.so.1 +%dir %{bin_prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll +%dir %{bin_prefix}/%{_lib}/Novell.CASA.Common.dll +%dir %{bin_prefix}/%{_lib}/Novell.CASA.CASAPolicy.dll +%dir /etc/opt/novell +%dir /etc/opt/novell/micasa + +/etc/init.d/micasad +/%{_lib}/security/pam_micasa.so +/etc/ld.so.conf.d/CASA.conf + +%{bin_prefix}/sbin/rcmicasad +%{bin_prefix}/sbin/casacfgpam +%{bin_prefix}/sbin/casaucfgpam +%{bin_prefix}/sbin/installcasa +%{bin_prefix}/sbin/uninstallcasa +%{bin_prefix}/sbin/iscasaconfiged +%{bin_prefix}/sbin/micasad.sh +%{bin_prefix}/%{_lib}/miCASA.jar +%{bin_prefix}/share/java/CASA/miCASA.jar + +%{bin_prefix}/bin/micasad.exe +%{bin_prefix}/bin/micasad-init +/etc/opt/novell/micasa/micasad.conf.xml + +%{prefix}/CASA/doc/casa_enu.pdf +%{prefix}/CASA/doc/License.txt +%{prefix}/CASA/doc/Readme.txt + +%files cli +%defattr(-,root,root) +%{bin_prefix}/bin/CASAcli + +%files devel +%defattr(-,root,root) +%{bin_prefix}/include/micasa_mgmd.h +%{bin_prefix}/include/micasa_types.h +%{bin_prefix}/include/sscs_string.h +%{bin_prefix}/include/sscs_utf8.h +%{bin_prefix}/include/micasa.h +%{bin_prefix}/include/casa_status.h + +%files gui +%defattr(-,root,root) +%{bin_prefix}/bin/CASAManager.sh +%{bin_prefix}/bin/CASAManager.exe.config +%{bin_prefix}/bin/CASAManager.exe +%{bin_prefix}/share/applications/CASAManager.desktop + +%{bin_prefix}/%{_lib}/libad_gk.so.%{bldno} +%{bin_prefix}/%{_lib}/libad_gk.so +%{bin_prefix}/%{_lib}/libad_gk.so.1 +%{bin_prefix}/%{_lib}/libad_ff.so.%{bldno} +%{bin_prefix}/%{_lib}/libad_ff.so +%{bin_prefix}/%{_lib}/libad_ff.so.1 +%{bin_prefix}/%{_lib}/Novell.CASA.A-D.dll +%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll +%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll +%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.FireFox.dll + +%dir %{prefix}/CASA/images +%{prefix}/CASA/images/* + +%dir %{prefix}/CASA/help +%dir %{prefix}/CASA/help/en +%{prefix}/CASA/help/en/* + +%changelog -n CASA