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 |
%define release 24 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: smeserver-horde-1.0.0-bz10092-smtpdORqpsmtpd.patch |
14 |
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 |
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 |
Patch8: smeserver-horde-1.0.0-bz10224-bz1005.patch |
22 |
Patch9: smeserver-horde-1.0.0-bz10908-httpd-auth.patch |
23 |
Patch10: smeserver-horde-1.0.0-bz10909-smeserver-horde-update.patch |
24 |
Patch11: smeserver-horde-1.0.0-bz10910-admin.patch |
25 |
Patch12: smeserver-horde-1.0.0-bz10912-ingo.patch |
26 |
Patch13: smeserver-horde-1.0.0-bz10943-libsasl-noise.patch |
27 |
Patch14: smeserver-horde-1.0.0-bz10945-phpbasedir-gpg.patch |
28 |
Patch15: smeserver-horde-1.0.0-bz10969-remove-hardcoded-ports.patch |
29 |
Patch16: smeserver-horde-1.0.0-bz11016-rsyslog-deprecated.patch |
30 |
Patch17: smeserver-horde-1.0.0-bz11233-webmail-manager.patch |
31 |
Patch18: smeserver-horde-1.0.0-bz11255.patch |
32 |
Patch19: smeserver-horde-1.0.0-bz11308-configurationhash.patch |
33 |
|
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildArchitectures: noarch |
36 |
Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb |
37 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
38 |
AutoReqProv: no |
39 |
Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp |
40 |
Obsoletes: ingo-h3, e-smith-ingo, turba-h3, e-smith-turba |
41 |
Obsoletes: kronolith-h3, smeserver-kronolith, nag-h3, smeserver-nag |
42 |
Obsoletes: mnemo-h3, smeserver-mnemo |
43 |
Requires: php-horde-content, php-horde-imp, php-horde-ingo, php-horde-kronolith |
44 |
Requires: php-horde-mnemo, php-horde-nag, php-horde-turba |
45 |
# optional functions we provide |
46 |
Requires: php-horde-Horde-ActiveSync |
47 |
Requires: php-horde-Horde-Service-Facebook |
48 |
Requires: php-horde-Horde-Service-Twitter |
49 |
Requires: php-pear-Date-Holidays-Australia, php-pear-Date-Holidays-Denmark |
50 |
Requires: php-pear-Date-Holidays-Germany, php-pear-Date-Holidays-Italy |
51 |
Requires: php-pear-Date-Holidays-Netherlands, php-pear-Date-Holidays-Norway |
52 |
Requires: php-pear-Date-Holidays-Portugal, php-pear-Date-Holidays-Russia |
53 |
Requires: php-pear-Date-Holidays-Slovenia, php-pear-Date-Holidays-Sweden |
54 |
Requires: php-pear-Date-Holidays-France, php-pear-Date-Holidays-Turkey |
55 |
Requires: php-horde-Horde-Text-Filter-Csstidy |
56 |
Requires: timeobjects |
57 |
# maybe not required, but JHB used to have them in previous installs |
58 |
Requires: php-pear-Auth-SASL2 |
59 |
Requires: php-pear-Cache-Lite |
60 |
Requires: php-pear-Console-GetoptPlus |
61 |
Requires: php-pear-Crypt-Blowfish |
62 |
Requires: php-pear-File-CSV |
63 |
Requires: php-pear-File-Util |
64 |
Requires: php-pear-HTTP |
65 |
Requires: php-pear-HTTP-Request2 |
66 |
Requires: php-pear-HTTP_WebDAV_Server |
67 |
Requires: php-pear-Log |
68 |
Requires: php-pear-MDB2 |
69 |
Requires: php-pear-Net-URL2 |
70 |
Requires: php-pear-XML-Parser2 |
71 |
Requires: php-pear-XML-RPC2 |
72 |
|
73 |
%changelog |
74 |
* Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-24.sme |
75 |
- spamd SpamLearning property migrated to spamassassin SpamLearning [SME: 11376] |
76 |
|
77 |
* Sat Feb 20 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-23.sme |
78 |
- Configuration is not up to date, hash to update [SME: 11308] |
79 |
|
80 |
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-22.sme |
81 |
- fix wrong template path for php55, php56 and php [SME: 11255] |
82 |
|
83 |
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-20.sme |
84 |
- fix webmail not accessible after enabling from manager [SME: 11233] |
85 |
|
86 |
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-19.sme |
87 |
- update rsyslog syntax [SME: 11016] |
88 |
move fragment so syntax is similar to message |
89 |
|
90 |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-18.sme |
91 |
- remove harcoded ports [SME: 10969] |
92 |
|
93 |
* Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-17.sme |
94 |
- add gpg to php base dir [SME: 10945] |
95 |
|
96 |
* Wed May 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-16.sme |
97 |
- workaround logging noise caused by libsasl [SME: 10943] |
98 |
|
99 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-15.sme |
100 |
- log as admin and not admin@domain for cli tasks [SME: 10910] |
101 |
- fix ingo imap preferences [SME:10912] |
102 |
|
103 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-14.sme |
104 |
- allow httpd-auth for calendar, tasks access using rpc.php ... [SME: 10908] |
105 |
- add smeserver-horde-update event [SME: 10909] |
106 |
|
107 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme |
108 |
- avoid loss of user parameter on Primary Domain change [SME: 1005] |
109 |
this will also avoid the loss of parameter if we log with a different virtualhost |
110 |
horde preference is now stored with the SME username without @domain |
111 |
- fix bad regex to strip domain [SME: 10224] |
112 |
also we can now force Primary domain to use as default email |
113 |
we can strip heading string from virtualhost domain to create email |
114 |
default identity email will update as long as no other identity is created for the user |
115 |
|
116 |
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme |
117 |
- fix typo in php-fpm patch [SME: 10872] |
118 |
|
119 |
* Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-11.sme |
120 |
- remove php3 references [SME: 10866] |
121 |
- remove strict and warning alert from error log [SME: 10823] |
122 |
- dedicated php-fpm pool for horde [SME: 10872] |
123 |
|
124 |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme |
125 |
- apply patches from John H. Bennett III [SME: 10717] |
126 |
- cvs admin -ko on patch1 |
127 |
|
128 |
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme |
129 |
- revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600] |
130 |
|
131 |
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-5.sme |
132 |
- fix incorrect expansion of backends.local.php with non numerical releases [SME: 10092] |
133 |
- add requires php-pear-Math_BigInteger [SME: 9600] |
134 |
|
135 |
* Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-4.sme |
136 |
- added last optionals dependencies [SME: 9645] |
137 |
- added France Holidays. |
138 |
|
139 |
* Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-3.sme |
140 |
- added Requires for pear Dates [SME: 9645] |
141 |
- Activesync, timeobjects, Facebook. Twitter, Text-Filter |
142 |
|
143 |
* Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-2.sme |
144 |
- add main Required packages php-horde-* [SME: 9645] |
145 |
|
146 |
* Sun Jun 19 2016 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.0-1 |
147 |
- First released build for SME10 |
148 |
|
149 |
%description |
150 |
This package adds necessary templates and configuration items |
151 |
for Horde, Imp, Ingo, Kronolith, Mnemo, Nag and Turba |
152 |
to work on SME Server 10 |
153 |
|
154 |
%prep |
155 |
%setup |
156 |
%patch0 -p1 |
157 |
%patch1 -p1 |
158 |
%patch2 -p1 |
159 |
%patch3 -p1 |
160 |
%patch4 -p1 |
161 |
%patch5 -p1 |
162 |
%patch6 -p1 |
163 |
%patch7 -p1 |
164 |
%patch8 -p1 |
165 |
%patch9 -p1 |
166 |
%patch10 -p1 |
167 |
%patch11 -p1 |
168 |
%patch12 -p1 |
169 |
%patch13 -p1 |
170 |
%patch14 -p1 |
171 |
%patch15 -p1 |
172 |
%patch16 -p1 |
173 |
%patch17 -p1 |
174 |
%patch18 -p1 |
175 |
|
176 |
mkdir -p root/var/lib/php/horde/session |
177 |
mkdir -p root/var/lib/php/horde/opcache |
178 |
mkdir -p root/var/lib/php/horde/tmp |
179 |
%patch19 -p1 |
180 |
|
181 |
%build |
182 |
for i in post-install post-upgrade |
183 |
do |
184 |
mkdir -p root/etc/e-smith/events/$i |
185 |
done |
186 |
perl createlinks |
187 |
|
188 |
%install |
189 |
rm -rf $RPM_BUILD_ROOT |
190 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
191 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
192 |
--dir /var/lib/php/horde/session 'attr(0770,root,www)' \ |
193 |
--dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \ |
194 |
--dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \ |
195 |
> %{name}-%{version}-filelist |
196 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
197 |
|
198 |
%clean |
199 |
rm -rf $RPM_BUILD_ROOT |
200 |
|
201 |
%pre |
202 |
%preun |
203 |
%post |
204 |
|
205 |
%postun |
206 |
|
207 |
%files -f %{name}-%{version}-filelist |
208 |
%defattr(-,root,root) |