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