1 |
Summary: SME Server specific Kronolith configuration and templates. |
2 |
%define name smeserver-kronolith |
3 |
Name: %{name} |
4 |
%define version 1.1 |
5 |
%define release 10 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
Patch0: smeserver-kronolith-1.1-1.conf_php.patch |
12 |
Patch1: smeserver-kronolith-1.1-2.prefs_php.patch |
13 |
Patch2: smeserver-kronolith-1.1-3.remove_freebusy_template.patch |
14 |
Patch3: smeserver-kronolith-1.1-4.kronolith-2.1.3_prefs.php.patch |
15 |
Patch4: smeserver-kronolith-1.1-5.mysql_init_perm_change.patch |
16 |
Patch5: smeserver-kronolith-1.1-6.freebusy_wording.patch |
17 |
Patch6: smeserver-kronolith-1.1-7.registry_php.patch |
18 |
Packager: John H. Bennett III <bennettj@johnbennettservices.com> |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
21 |
Requires: imp-h3 >= 4.1 |
22 |
Requires: e-smith-base >= 4.15.1 |
23 |
Requires: e-smith-apache >= 1.1.0-18 |
24 |
Requires: e-smith-lib >= 1.15.1-16 |
25 |
Requires: kronolith-h3 >= 2.1 |
26 |
Requires: php-pear-HTTP-Request >= 1.4.0 |
27 |
Requires: php-pear-Net-Socket >= 1.0.6 |
28 |
Requires: php-pear-Net-URL >= 1.0.14 |
29 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
AutoReqProv: no |
31 |
Obsoletes: e-smith-kronolith = 0.8.0-02db |
32 |
Obsoletes: pear-http_request >= 1.4.0 |
33 |
Obsoletes: pear-net_socket >= 1.0.6 |
34 |
Obsoletes: pear-net_url >= 1.0.14 |
35 |
|
36 |
|
37 |
%changelog |
38 |
* Sun Aug 26 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-9 |
39 |
- Added obsoletes for the previous three pear modules required by kronolith. |
40 |
|
41 |
* Sun Aug 26 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-9 |
42 |
- Updated spec file to add requires for php-pear package names that match |
43 |
the naming convention in the SME8 repo. |
44 |
|
45 |
* Sat May 5 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-8 |
46 |
- Added Requires parameter for pear-http_request, pear-net_socket, and |
47 |
pear-net_url that kronolith needs. |
48 |
|
49 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
50 |
- Clean up spec so package can be built by koji/plague |
51 |
|
52 |
* Wed Mar 28 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-7 |
53 |
- Update to kronolith specific registry.php template to add kronolith-alarms |
54 |
per update of horde 3.1.4 |
55 |
|
56 |
* Thu Dec 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-6 |
57 |
- Patch that changes the example FreeBusy format to match Kronolith 2.1.x. |
58 |
|
59 |
* Sat Dec 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-5 |
60 |
- Patch to change the kronolith mysql.init permissions to 0540 |
61 |
|
62 |
* Thu Nov 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-4 |
63 |
- Patch to prefs.php templates to reflet changes in kronolith 2.1.3 |
64 |
|
65 |
* Mon Oct 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-3 |
66 |
- Removed the templates-custom section that checked for the freebusy db setting |
67 |
and moved it to the e-smith-turba RPM that I am currently maintaining for |
68 |
turba 2.1.x |
69 |
|
70 |
* Fri Sep 15 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-2 |
71 |
- Patch to prefs.php templates to reflect changes in kronolith 2.1.2 |
72 |
|
73 |
* Thu Sep 14 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-1 |
74 |
- Patch to conf.php templates to reflect changes in kronolith 2.1.2 |
75 |
|
76 |
* Thu Sep 14 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-0 |
77 |
- Rolled to new dev stream to reflect work done for kronolith 2.1.2 |
78 |
|
79 |
* Wed Aug 30 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-19 |
80 |
- Manually changed the S24 to an S27 in smeserver-kronolith-1.0-11.adv-ldap-update.patch |
81 |
- and smeserver-kronolith-1.0-15.ldap_user-create.patch so that the FreeBusy info will be |
82 |
added after all of the user information is added. |
83 |
- Modified the adv-ldap-update logic so that the error when adding a user is no longer |
84 |
present. The error was cosmetic as the system was trying to create a new ldap user |
85 |
twice. All I did was remove all of the ldap attribute lines except those pertaining |
86 |
to free/busy info and remarked out some unneeded lines that could have been deleted, |
87 |
but I chose to leave them. |
88 |
|
89 |
* Mon Aug 21 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-18 |
90 |
- Added the ability to enable or disable the storing of freebusy information |
91 |
for horde to the ldap database. |
92 |
|
93 |
* Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-17 |
94 |
- Added Kronolith registry.php settings in horde/config/registry. |
95 |
|
96 |
* Tue Jul 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-16 |
97 |
- Added a mysql.init event that will increase the permissons for the horde user on the horde |
98 |
database so that other horde add-on modules will work correctly, namely Kronolith. |
99 |
|
100 |
* Mon Jul 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-15 |
101 |
- Added an S24adv-ldap-update entry to the user-create event so that the freebusy |
102 |
url will be saved to the ldap database when a user is initally created using the |
103 |
advanced user management panel. It is purposely running before S25ldap-update |
104 |
so that the freebusy info will be saved when a new user is created otherwise there |
105 |
is an error. There is still an error with the S25 action as both actions are |
106 |
trying to create a user, but the error has no effect. The S24adv-ldap-update file |
107 |
is a complete copy of the S25ldap-update with is symlinked to actions/ldap-update. |
108 |
|
109 |
* Mon Jul 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-14 |
110 |
- Set the default DB entry for freebusy to enabled. |
111 |
To disable config setprop horde freebusy disabled |
112 |
|
113 |
* Mon Jul 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-13 |
114 |
- Changed the default free/busy address book search to the local ldap setting |
115 |
|
116 |
* Sun Jul 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-12 |
117 |
- Added some verbage to show what the format of the free/busy url should be. |
118 |
|
119 |
* Sun Jul 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-11 |
120 |
- Added server-manager panel for advanced user management. This is a duplicate |
121 |
of the SME Server's Users Panel but adds the ability to save Kronolith |
122 |
Free/Busy information into the LDAP database. |
123 |
|
124 |
* Tue Jun 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-10 |
125 |
- Removed 1.0-9 patch and fixed in source |
126 |
|
127 |
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-9 |
128 |
- Removed deprecated calls to esmith:db and esmith:config |
129 |
|
130 |
* Mon Jun 05 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-8 |
131 |
- Fixed typo on Patch 5 |
132 |
|
133 |
* Mon May 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-7 |
134 |
- Started working on intergrating Free/Busy info into the main SME server LDAP database. |
135 |
This should help a lot in setting up a company wide directory with Free/Busy information |
136 |
already populated in the DB which should eliminate the need for each user to have to setup |
137 |
a personal address book with everyone's name that they want to do free/busy against. |
138 |
- To activate it - config setprop horde freebusy enabled. Default is disabled. |
139 |
|
140 |
* Sat May 6 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-6 |
141 |
- modified the hordereminders crontab entry by adding a -q option which |
142 |
runs the script in quiet-mode and suppresses the HTTP Header output. |
143 |
Thanks to Greg Swallow for the hint. Now the reminders script runs without |
144 |
sending an email to the admin every five minutes |
145 |
|
146 |
* Sat Apr 1 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-5 |
147 |
- Added back in the horde reminders php script. It does work with the CGI version |
148 |
of php. There is a side-effect in that the script sends an email to the root user |
149 |
every time it's executed. Setting up a simple rule to remove that e-mail should be |
150 |
sufficient until the CLI version of PHP is available. The cron entry has also been |
151 |
moved from /etc/cron.d to /etc/crontab |
152 |
|
153 |
* Wed Mar 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-4 |
154 |
- Added an includes statement to 120Menusettings that will grab the information |
155 |
in horde/conf.menu.apps.php. This way each of the individual horde modules |
156 |
don't have to repeatedly process the same template for the menu array section in conf.php. |
157 |
|
158 |
* Sat Mar 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-3 |
159 |
- Added the ability to enable or disable kronolith menu icon from showing up on the |
160 |
main webmail screen. To enable config set kronolith service MenuArray disabled|enabled |
161 |
- e-smith-horde still needs to support this feature or manual intervention is |
162 |
required. |
163 |
|
164 |
* Fri Mar 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-2 |
165 |
- Remarked out HordeReminders script as it currently won't work on SME 7 due |
166 |
to the fact that the php version installed by default is the cgi version and |
167 |
not the cli version. Horde reminders requires the cli version of php to work. |
168 |
|
169 |
* Wed Mar 1 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1 |
170 |
- Removed post and postun events |
171 |
- Renamed to smeserver-kronolith to represent an addon product |
172 |
|
173 |
* Sat Feb 25 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-0 |
174 |
- Initial build |
175 |
|
176 |
%description |
177 |
This package adds necessary templates and configuration items |
178 |
so that Kronolith will work properly. |
179 |
|
180 |
%prep |
181 |
%setup |
182 |
|
183 |
%patch0 -p1 |
184 |
%patch1 -p1 |
185 |
%patch2 -p1 |
186 |
%patch3 -p1 |
187 |
%patch4 -p1 |
188 |
%patch5 -p1 |
189 |
%patch6 -p1 |
190 |
|
191 |
%build |
192 |
|
193 |
perl createlinks |
194 |
|
195 |
%install |
196 |
rm -rf $RPM_BUILD_ROOT |
197 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
198 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
199 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
200 |
|
201 |
%clean |
202 |
rm -rf $RPM_BUILD_ROOT |
203 |
|
204 |
%pre |
205 |
|
206 |
%preun |
207 |
|
208 |
%post |
209 |
|
210 |
%postun |
211 |
|
212 |
%files -f %{name}-%{version}-filelist |
213 |
%defattr(-,root,root) |