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