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