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