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