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