--- rpms/smeserver-kronolith/contribs7/smeserver-kronolith.spec 2008/12/06 04:12:45 1.9 +++ rpms/smeserver-kronolith/contribs7/smeserver-kronolith.spec 2010/05/13 03:08:37 1.13 @@ -1,4 +1,4 @@ -# $Id: smeserver-kronolith.spec,v 1.8 2008/11/25 16:20:24 slords Exp $ +# $Id: smeserver-kronolith.spec,v 1.12 2010/01/22 03:08:33 mrjhb3 Exp $ # Authority: mrjhb3 # Name: John H. Bennett III @@ -6,7 +6,7 @@ Summary: SME Server specific Kronolith c %define name smeserver-kronolith Name: %{name} %define version 2.2 -%define release 3 +%define release 10 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -14,9 +14,16 @@ Group: Networking/Daemons Source: %{name}-%{version}.tar.gz Patch1: kronolith-2.3.patch Patch2: kronolith-2.3.sql.patch +Patch3: smeserver-kronolith_reminders_agendas.patch +Patch4: kronolith-2.3.2.patch +Patch5: kronolith-2.3.3.patch +Patch6: smeserver-kronolith_reminders_agendas_owner.patch +Patch7: smeserver-kronolith_fburl.patch +Patch8: smeserver-kronolith_remove_freebusy_db.patch +Patch9: smeserver-kronolith_remove_calFBURL.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch -Requires: imp-h3 >= 4.2 +Requires: imp-h3 >= 4.3.7 Requires: e-smith-base >= 4.15.1 Requires: e-smith-apache >= 1.1.0-18 Requires: e-smith-lib >= 1.15.1-16 @@ -35,6 +42,34 @@ Obsoletes: pear-net_url >= 1.0.14 %changelog +* Thu Apr 22 2010 John H. Bennett III 2.2-10 +- Added removal of user's calFBURL from LDAP smeserver-kronolith is uninstalled + +* Thu Apr 22 2010 John H. Bennett III 2.2-9 +- Added migrate fragment to remove FreeBusy db entry from accounts since this + information is now saved directly to LDAP on SME8. + +* Thu Apr 22 2010 John H. Bennett III 2.2-8 +- Added saving of user's calFBURL to LDAP for use with SME8. [SME: 5708] + +* Sun Jan 24 2010 John H. Bennett III 2.2-7 +- Update to change owner of alarm and reminder cron jobs from root to www [SME: 4851] + +* Mon Dec 28 2009 John H. Bennett III 2.2-6 +- Updated templates to reflect Kronolith 2.3.3 + +* Fri Oct 9 2009 John H. Bennett III 2.2-5 +- Updated templates to reflect Kronolith 2.3.2 + +* Sun Dec 14 2008 John H. Bennett III 2.2-4 +- Patch to add more functionality to Kronolith for calendar reminders and daily agenda email +- config setprop horde reminders enabled - default is enabled and this is set to run every 5 minutes. +- The above sends calendar email alarms/reminders. +- config setprop horde remindertime x - will change the frequency, value in minutes. +- config setprop horde agendas enabled - default is disabled set to run everyday at 5 am when enabled. +- The above sends daily calendar agenda emails. +- config setprop horde agenda time x - will change the frequency, value needs to be 0 - 24. + * Fri Dec 05 2008 John H. Bennett III 2.2-3 - Patch to add forgotten changes from kronolith upgrade sql script @@ -58,6 +93,13 @@ so that Kronolith will work properly on %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 %build perl createlinks @@ -71,5 +113,22 @@ echo "%doc COPYING" >> %{name}- %clean rm -rf $RPM_BUILD_ROOT +%preun +if [ $1 = 0 ] ; then + /etc/e-smith/events/actions/ldap-delete-fburl ldap-update +fi + +%post +/sbin/e-smith/expand-template /etc/openldap/slapd.conf +/etc/rc7.d/S80ldap restart +sleep 5 +/etc/e-smith/events/actions/ldap-add-fburl ldap-update + +%postun +if [ $1 = 0 ] ; then + /sbin/e-smith/expand-template /etc/openldap/slapd.conf + /etc/rc7.d/S80ldap restart +fi + %files -f %{name}-%{version}-filelist %defattr(-,root,root)