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