1 |
unnilennium |
1.1 |
# $Id: e-smith-horde.spec,v 1.22 2010/05/11 04:07:35 mrjhb3 Exp $ |
2 |
|
|
|
3 |
|
|
Summary: e-smith specific Horde configuration and templates. |
4 |
|
|
%define name smeserver-horde |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 1.0.0 |
7 |
jpp |
1.36 |
%define release 30 |
8 |
unnilennium |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
unnilennium |
1.5 |
Patch0: smeserver-horde-1.0.0-bz10092-smtpdORqpsmtpd.patch |
14 |
jpp |
1.7 |
Patch1: smeserver-horde-bz10717-config.phphorde5.2.14compliance.patch |
15 |
|
|
Patch2: smeserver-horde-1.0.0-bz10092-spam_learning.patch |
16 |
|
|
Patch3: smeserver-horde-1.0.0-bz10717-activesync_turba_backends.local.php.patch |
17 |
|
|
Patch4: smeserver-horde-1.0.0-bz10717-task_sharing.patch |
18 |
jpp |
1.9 |
Patch5: smeserver-horde-1.0.0-bz10866-php3.patch |
19 |
|
|
Patch6: smeserver-horde-1.0.0-bz10823-strict-warming.patch |
20 |
|
|
Patch7: smeserver-horde-1.0.0-bz10872-enable-php-fpm.patch |
21 |
jpp |
1.15 |
Patch8: smeserver-horde-1.0.0-bz10224-bz1005.patch |
22 |
jpp |
1.16 |
Patch9: smeserver-horde-1.0.0-bz10908-httpd-auth.patch |
23 |
|
|
Patch10: smeserver-horde-1.0.0-bz10909-smeserver-horde-update.patch |
24 |
jpp |
1.17 |
Patch11: smeserver-horde-1.0.0-bz10910-admin.patch |
25 |
jpp |
1.18 |
Patch12: smeserver-horde-1.0.0-bz10912-ingo.patch |
26 |
jpp |
1.19 |
Patch13: smeserver-horde-1.0.0-bz10943-libsasl-noise.patch |
27 |
jpp |
1.20 |
Patch14: smeserver-horde-1.0.0-bz10945-phpbasedir-gpg.patch |
28 |
jpp |
1.21 |
Patch15: smeserver-horde-1.0.0-bz10969-remove-hardcoded-ports.patch |
29 |
jpp |
1.22 |
Patch16: smeserver-horde-1.0.0-bz11016-rsyslog-deprecated.patch |
30 |
jpp |
1.23 |
Patch17: smeserver-horde-1.0.0-bz11233-webmail-manager.patch |
31 |
jpp |
1.24 |
Patch18: smeserver-horde-1.0.0-bz11255.patch |
32 |
jpp |
1.26 |
Patch19: smeserver-horde-1.0.0-bz11308-configurationhash.patch |
33 |
jpp |
1.29 |
Patch20: smeserver-horde-1.0.0-bz10945-bz11443-bz11433-bz11431.patch |
34 |
jpp |
1.32 |
Patch21: smeserver-horde-1.0.0-bz11422-logging.patch |
35 |
jpp |
1.33 |
Patch22: smeserver-horde-1.0.0-bz11489.patch |
36 |
terryfage |
1.34 |
Patch23: smeserver-horde-1.0.0-bz11628-ingofilters-sieve.patch |
37 |
terryfage |
1.35 |
Patch24: smeserver-horde-1.0.0-bz11738-multi-admin-user.patch |
38 |
jpp |
1.36 |
Patch25: smeserver-horde-1.0.0-bz11694-alarm.patch |
39 |
jpp |
1.9 |
|
40 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
41 |
|
|
BuildArchitectures: noarch |
42 |
|
|
Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb |
43 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
44 |
|
|
AutoReqProv: no |
45 |
|
|
Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp |
46 |
|
|
Obsoletes: ingo-h3, e-smith-ingo, turba-h3, e-smith-turba |
47 |
|
|
Obsoletes: kronolith-h3, smeserver-kronolith, nag-h3, smeserver-nag |
48 |
|
|
Obsoletes: mnemo-h3, smeserver-mnemo |
49 |
unnilennium |
1.3 |
Requires: php-horde-content, php-horde-imp, php-horde-ingo, php-horde-kronolith |
50 |
unnilennium |
1.2 |
Requires: php-horde-mnemo, php-horde-nag, php-horde-turba |
51 |
unnilennium |
1.4 |
# optional functions we provide |
52 |
unnilennium |
1.3 |
Requires: php-horde-Horde-ActiveSync |
53 |
|
|
Requires: php-horde-Horde-Service-Facebook |
54 |
|
|
Requires: php-horde-Horde-Service-Twitter |
55 |
|
|
Requires: php-pear-Date-Holidays-Australia, php-pear-Date-Holidays-Denmark |
56 |
|
|
Requires: php-pear-Date-Holidays-Germany, php-pear-Date-Holidays-Italy |
57 |
|
|
Requires: php-pear-Date-Holidays-Netherlands, php-pear-Date-Holidays-Norway |
58 |
|
|
Requires: php-pear-Date-Holidays-Portugal, php-pear-Date-Holidays-Russia |
59 |
|
|
Requires: php-pear-Date-Holidays-Slovenia, php-pear-Date-Holidays-Sweden |
60 |
unnilennium |
1.4 |
Requires: php-pear-Date-Holidays-France, php-pear-Date-Holidays-Turkey |
61 |
unnilennium |
1.3 |
Requires: php-horde-Horde-Text-Filter-Csstidy |
62 |
|
|
Requires: timeobjects |
63 |
unnilennium |
1.4 |
# maybe not required, but JHB used to have them in previous installs |
64 |
|
|
Requires: php-pear-Auth-SASL2 |
65 |
|
|
Requires: php-pear-Cache-Lite |
66 |
|
|
Requires: php-pear-Console-GetoptPlus |
67 |
|
|
Requires: php-pear-Crypt-Blowfish |
68 |
|
|
Requires: php-pear-File-CSV |
69 |
|
|
Requires: php-pear-File-Util |
70 |
|
|
Requires: php-pear-HTTP |
71 |
|
|
Requires: php-pear-HTTP-Request2 |
72 |
|
|
Requires: php-pear-HTTP_WebDAV_Server |
73 |
|
|
Requires: php-pear-Log |
74 |
|
|
Requires: php-pear-MDB2 |
75 |
|
|
Requires: php-pear-Net-URL2 |
76 |
|
|
Requires: php-pear-XML-Parser2 |
77 |
|
|
Requires: php-pear-XML-RPC2 |
78 |
jpp |
1.28 |
Requires: ImageMagick |
79 |
unnilennium |
1.1 |
|
80 |
unnilennium |
1.2 |
%changelog |
81 |
jpp |
1.36 |
* Tue Apr 05 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-30.sme |
82 |
|
|
- fix alarm noise when disabled [SME: 11694] |
83 |
|
|
|
84 |
terryfage |
1.35 |
* Sun Nov 07 2021 Greg Simpson <gsimpson@mophilly.com> 1.0.0-29.sme |
85 |
|
|
- Syntax error, unexpected '(T_STRING), expecting ')' [SME: 11738] |
86 |
|
|
- thanks to zsolt vasarhelyi for patch test |
87 |
|
|
|
88 |
terryfage |
1.34 |
* Sat Sep 18 2021 Terry Fage <terryf@ozemail.com.au> 1.0.0-28.sme |
89 |
|
|
- Ingo filters TLS error if sieve is enabled [SME: 11628] |
90 |
|
|
|
91 |
jpp |
1.33 |
* Wed Mar 24 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-27.sme |
92 |
|
|
- fix missing call to perl module emsith::php [SME: 11489] |
93 |
|
|
|
94 |
jpp |
1.32 |
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-26.sme |
95 |
|
|
- clean rsyslog syntax for horde [SME: 11422] |
96 |
|
|
|
97 |
jpp |
1.28 |
* Wed Mar 10 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-25.sme |
98 |
|
|
- improved php basedir, with filtering of noise for gpg [SME: 10945] |
99 |
|
|
- force SSL for horde [SME: 11443] |
100 |
|
|
- fix horde not honoring switch to php-fpm 5.4 [SME: 11433] |
101 |
|
|
- update mail settings for the php-pool [SME: 11431] |
102 |
|
|
|
103 |
jpp |
1.27 |
* Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-24.sme |
104 |
|
|
- spamd SpamLearning property migrated to spamassassin SpamLearning [SME: 11376] |
105 |
|
|
|
106 |
jpp |
1.26 |
* Sat Feb 20 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-23.sme |
107 |
|
|
- Configuration is not up to date, hash to update [SME: 11308] |
108 |
|
|
|
109 |
jpp |
1.25 |
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-22.sme |
110 |
|
|
- fix wrong template path for php55, php56 and php [SME: 11255] |
111 |
jpp |
1.24 |
|
112 |
jpp |
1.23 |
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-20.sme |
113 |
|
|
- fix webmail not accessible after enabling from manager [SME: 11233] |
114 |
|
|
|
115 |
jpp |
1.22 |
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-19.sme |
116 |
|
|
- update rsyslog syntax [SME: 11016] |
117 |
|
|
move fragment so syntax is similar to message |
118 |
|
|
|
119 |
jpp |
1.21 |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-18.sme |
120 |
|
|
- remove harcoded ports [SME: 10969] |
121 |
|
|
|
122 |
jpp |
1.20 |
* Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-17.sme |
123 |
|
|
- add gpg to php base dir [SME: 10945] |
124 |
|
|
|
125 |
jpp |
1.19 |
* Wed May 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-16.sme |
126 |
|
|
- workaround logging noise caused by libsasl [SME: 10943] |
127 |
|
|
|
128 |
jpp |
1.17 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-15.sme |
129 |
|
|
- log as admin and not admin@domain for cli tasks [SME: 10910] |
130 |
jpp |
1.28 |
- fix ingo imap preferences [SME: 10912] |
131 |
jpp |
1.17 |
|
132 |
jpp |
1.16 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-14.sme |
133 |
|
|
- allow httpd-auth for calendar, tasks access using rpc.php ... [SME: 10908] |
134 |
|
|
- add smeserver-horde-update event [SME: 10909] |
135 |
|
|
|
136 |
jpp |
1.15 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme |
137 |
|
|
- avoid loss of user parameter on Primary Domain change [SME: 1005] |
138 |
|
|
this will also avoid the loss of parameter if we log with a different virtualhost |
139 |
|
|
horde preference is now stored with the SME username without @domain |
140 |
|
|
- fix bad regex to strip domain [SME: 10224] |
141 |
|
|
also we can now force Primary domain to use as default email |
142 |
|
|
we can strip heading string from virtualhost domain to create email |
143 |
|
|
default identity email will update as long as no other identity is created for the user |
144 |
|
|
|
145 |
jpp |
1.12 |
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme |
146 |
|
|
- fix typo in php-fpm patch [SME: 10872] |
147 |
|
|
|
148 |
jpp |
1.11 |
* Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-11.sme |
149 |
jpp |
1.9 |
- remove php3 references [SME: 10866] |
150 |
|
|
- remove strict and warning alert from error log [SME: 10823] |
151 |
|
|
- dedicated php-fpm pool for horde [SME: 10872] |
152 |
|
|
|
153 |
jpp |
1.8 |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme |
154 |
jpp |
1.7 |
- apply patches from John H. Bennett III [SME: 10717] |
155 |
jpp |
1.8 |
- cvs admin -ko on patch1 |
156 |
jpp |
1.7 |
|
157 |
unnilennium |
1.6 |
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme |
158 |
|
|
- revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600] |
159 |
|
|
|
160 |
unnilennium |
1.5 |
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-5.sme |
161 |
|
|
- fix incorrect expansion of backends.local.php with non numerical releases [SME: 10092] |
162 |
unnilennium |
1.6 |
- add requires php-pear-Math_BigInteger [SME: 9600] |
163 |
unnilennium |
1.5 |
|
164 |
unnilennium |
1.4 |
* Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-4.sme |
165 |
|
|
- added last optionals dependencies [SME: 9645] |
166 |
|
|
- added France Holidays. |
167 |
|
|
|
168 |
unnilennium |
1.3 |
* Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-3.sme |
169 |
|
|
- added Requires for pear Dates [SME: 9645] |
170 |
|
|
- Activesync, timeobjects, Facebook. Twitter, Text-Filter |
171 |
|
|
|
172 |
unnilennium |
1.2 |
* Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-2.sme |
173 |
|
|
- add main Required packages php-horde-* [SME: 9645] |
174 |
unnilennium |
1.1 |
|
175 |
|
|
* Sun Jun 19 2016 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.0-1 |
176 |
|
|
- First released build for SME10 |
177 |
|
|
|
178 |
|
|
%description |
179 |
|
|
This package adds necessary templates and configuration items |
180 |
|
|
for Horde, Imp, Ingo, Kronolith, Mnemo, Nag and Turba |
181 |
|
|
to work on SME Server 10 |
182 |
|
|
|
183 |
|
|
%prep |
184 |
|
|
%setup |
185 |
unnilennium |
1.5 |
%patch0 -p1 |
186 |
jpp |
1.7 |
%patch1 -p1 |
187 |
|
|
%patch2 -p1 |
188 |
|
|
%patch3 -p1 |
189 |
|
|
%patch4 -p1 |
190 |
jpp |
1.9 |
%patch5 -p1 |
191 |
|
|
%patch6 -p1 |
192 |
|
|
%patch7 -p1 |
193 |
jpp |
1.15 |
%patch8 -p1 |
194 |
jpp |
1.16 |
%patch9 -p1 |
195 |
|
|
%patch10 -p1 |
196 |
jpp |
1.17 |
%patch11 -p1 |
197 |
jpp |
1.18 |
%patch12 -p1 |
198 |
jpp |
1.19 |
%patch13 -p1 |
199 |
jpp |
1.20 |
%patch14 -p1 |
200 |
jpp |
1.21 |
%patch15 -p1 |
201 |
jpp |
1.22 |
%patch16 -p1 |
202 |
jpp |
1.23 |
%patch17 -p1 |
203 |
jpp |
1.24 |
%patch18 -p1 |
204 |
jpp |
1.10 |
mkdir -p root/var/lib/php/horde/session |
205 |
|
|
mkdir -p root/var/lib/php/horde/opcache |
206 |
|
|
mkdir -p root/var/lib/php/horde/tmp |
207 |
jpp |
1.26 |
%patch19 -p1 |
208 |
jpp |
1.30 |
%patch20 -p1 |
209 |
jpp |
1.32 |
%patch21 -p1 |
210 |
jpp |
1.33 |
%patch22 -p1 |
211 |
terryfage |
1.34 |
%patch23 -p1 |
212 |
terryfage |
1.35 |
%patch24 -p1 |
213 |
jpp |
1.36 |
%patch25 -p1 |
214 |
unnilennium |
1.1 |
|
215 |
|
|
%build |
216 |
|
|
for i in post-install post-upgrade |
217 |
|
|
do |
218 |
|
|
mkdir -p root/etc/e-smith/events/$i |
219 |
|
|
done |
220 |
|
|
perl createlinks |
221 |
|
|
|
222 |
|
|
%install |
223 |
|
|
rm -rf $RPM_BUILD_ROOT |
224 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
225 |
jpp |
1.9 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
226 |
|
|
--dir /var/lib/php/horde/session 'attr(0770,root,www)' \ |
227 |
|
|
--dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \ |
228 |
|
|
--dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \ |
229 |
|
|
> %{name}-%{version}-filelist |
230 |
unnilennium |
1.1 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
231 |
|
|
|
232 |
|
|
%clean |
233 |
|
|
rm -rf $RPM_BUILD_ROOT |
234 |
|
|
|
235 |
|
|
%pre |
236 |
|
|
%preun |
237 |
|
|
%post |
238 |
|
|
|
239 |
|
|
%postun |
240 |
|
|
|
241 |
|
|
%files -f %{name}-%{version}-filelist |
242 |
|
|
%defattr(-,root,root) |