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 7 |
%define release 35 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch2: smeserver-horde-1.0.0-bz10092-spam_learning.patch |
Patch2: smeserver-horde-1.0.0-bz10092-spam_learning.patch |
16 |
Patch3: smeserver-horde-1.0.0-bz10717-activesync_turba_backends.local.php.patch |
Patch3: smeserver-horde-1.0.0-bz10717-activesync_turba_backends.local.php.patch |
17 |
Patch4: smeserver-horde-1.0.0-bz10717-task_sharing.patch |
Patch4: smeserver-horde-1.0.0-bz10717-task_sharing.patch |
18 |
#Patch1: e-smith-horde-4.8.0_renumber_database_creation.order.patch |
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 |
|
Patch22: smeserver-horde-1.0.0-bz11489.patch |
36 |
|
Patch23: smeserver-horde-1.0.0-bz11628-ingofilters-sieve.patch |
37 |
|
Patch24: smeserver-horde-1.0.0-bz11738-multi-admin-user.patch |
38 |
|
Patch25: smeserver-horde-1.0.0-bz11694-alarm.patch |
39 |
|
Patch26: smeserver-horde-1.0.0-bz11694-remindfix.patch |
40 |
|
Patch27: smeserver-horde-1.0.0-bz11945-require.patch |
41 |
|
Patch28: smeserver-horde-1.0.0-bz12293-php_path.patch |
42 |
|
Patch29: smeserver-horde-1.0.0-bz12595.patch |
43 |
|
|
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
46 |
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 |
47 |
|
Requires: e-smith-apache >= 2.6.0-19 |
48 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
49 |
AutoReqProv: no |
AutoReqProv: no |
50 |
Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp |
Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp |
80 |
Requires: php-pear-Net-URL2 |
Requires: php-pear-Net-URL2 |
81 |
Requires: php-pear-XML-Parser2 |
Requires: php-pear-XML-Parser2 |
82 |
Requires: php-pear-XML-RPC2 |
Requires: php-pear-XML-RPC2 |
83 |
|
Requires: ImageMagick |
84 |
|
|
85 |
%changelog |
%changelog |
86 |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-7.sme |
* Sat Apr 27 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0.0-35.sme |
87 |
|
- fix password file readable by all locally [SME: 12595] |
88 |
|
|
89 |
|
* Sun Feb 05 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-34.sme |
90 |
|
- use php full path for mysql.init scripts [SME: 12296] |
91 |
|
|
92 |
|
* Thu May 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-33.sme |
93 |
|
- fix invalid domain if ForcePrimaryDomain is enabled [SME: 11980] |
94 |
|
- fix $ldapServer is commented out if Horde ForcePrimaryDomain is disabled [SME: 11981] |
95 |
|
|
96 |
|
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-32.sme |
97 |
|
- use httpd 2.4 access control syntax [SME: 11945] |
98 |
|
|
99 |
|
* Sat Apr 16 2022 Terry Fage <terry@fage.id.au> 1.0.0-31.sme |
100 |
|
- fix previous patch error extra line [SME: 11694] |
101 |
|
|
102 |
|
* Tue Apr 05 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-30.sme |
103 |
|
- fix alarm noise when disabled [SME: 11694] |
104 |
|
|
105 |
|
* Sun Nov 07 2021 Greg Simpson <gsimpson@mophilly.com> 1.0.0-29.sme |
106 |
|
- Syntax error, unexpected '(T_STRING), expecting ')' [SME: 11738] |
107 |
|
- thanks to zsolt vasarhelyi for patch test |
108 |
|
|
109 |
|
* Sat Sep 18 2021 Terry Fage <terryf@ozemail.com.au> 1.0.0-28.sme |
110 |
|
- Ingo filters TLS error if sieve is enabled [SME: 11628] |
111 |
|
|
112 |
|
* Wed Mar 24 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-27.sme |
113 |
|
- fix missing call to perl module emsith::php [SME: 11489] |
114 |
|
|
115 |
|
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-26.sme |
116 |
|
- clean rsyslog syntax for horde [SME: 11422] |
117 |
|
|
118 |
|
* Wed Mar 10 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-25.sme |
119 |
|
- improved php basedir, with filtering of noise for gpg [SME: 10945] |
120 |
|
- force SSL for horde [SME: 11443] |
121 |
|
- fix horde not honoring switch to php-fpm 5.4 [SME: 11433] |
122 |
|
- update mail settings for the php-pool [SME: 11431] |
123 |
|
|
124 |
|
* Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-24.sme |
125 |
|
- spamd SpamLearning property migrated to spamassassin SpamLearning [SME: 11376] |
126 |
|
|
127 |
|
* Sat Feb 20 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-23.sme |
128 |
|
- Configuration is not up to date, hash to update [SME: 11308] |
129 |
|
|
130 |
|
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-22.sme |
131 |
|
- fix wrong template path for php55, php56 and php [SME: 11255] |
132 |
|
|
133 |
|
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-20.sme |
134 |
|
- fix webmail not accessible after enabling from manager [SME: 11233] |
135 |
|
|
136 |
|
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-19.sme |
137 |
|
- update rsyslog syntax [SME: 11016] |
138 |
|
move fragment so syntax is similar to message |
139 |
|
|
140 |
|
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-18.sme |
141 |
|
- remove harcoded ports [SME: 10969] |
142 |
|
|
143 |
|
* Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-17.sme |
144 |
|
- add gpg to php base dir [SME: 10945] |
145 |
|
|
146 |
|
* Wed May 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-16.sme |
147 |
|
- workaround logging noise caused by libsasl [SME: 10943] |
148 |
|
|
149 |
|
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-15.sme |
150 |
|
- log as admin and not admin@domain for cli tasks [SME: 10910] |
151 |
|
- fix ingo imap preferences [SME: 10912] |
152 |
|
|
153 |
|
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-14.sme |
154 |
|
- allow httpd-auth for calendar, tasks access using rpc.php ... [SME: 10908] |
155 |
|
- add smeserver-horde-update event [SME: 10909] |
156 |
|
|
157 |
|
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme |
158 |
|
- avoid loss of user parameter on Primary Domain change [SME: 1005] |
159 |
|
this will also avoid the loss of parameter if we log with a different virtualhost |
160 |
|
horde preference is now stored with the SME username without @domain |
161 |
|
- fix bad regex to strip domain [SME: 10224] |
162 |
|
also we can now force Primary domain to use as default email |
163 |
|
we can strip heading string from virtualhost domain to create email |
164 |
|
default identity email will update as long as no other identity is created for the user |
165 |
|
|
166 |
|
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme |
167 |
|
- fix typo in php-fpm patch [SME: 10872] |
168 |
|
|
169 |
|
* Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-11.sme |
170 |
|
- remove php3 references [SME: 10866] |
171 |
|
- remove strict and warning alert from error log [SME: 10823] |
172 |
|
- dedicated php-fpm pool for horde [SME: 10872] |
173 |
|
|
174 |
|
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme |
175 |
- apply patches from John H. Bennett III [SME: 10717] |
- apply patches from John H. Bennett III [SME: 10717] |
176 |
|
- cvs admin -ko on patch1 |
177 |
|
|
178 |
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme |
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme |
179 |
- revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600] |
- revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600] |
208 |
%patch2 -p1 |
%patch2 -p1 |
209 |
%patch3 -p1 |
%patch3 -p1 |
210 |
%patch4 -p1 |
%patch4 -p1 |
211 |
|
%patch5 -p1 |
212 |
|
%patch6 -p1 |
213 |
|
%patch7 -p1 |
214 |
|
%patch8 -p1 |
215 |
|
%patch9 -p1 |
216 |
|
%patch10 -p1 |
217 |
|
%patch11 -p1 |
218 |
|
%patch12 -p1 |
219 |
|
%patch13 -p1 |
220 |
|
%patch14 -p1 |
221 |
|
%patch15 -p1 |
222 |
|
%patch16 -p1 |
223 |
|
%patch17 -p1 |
224 |
|
%patch18 -p1 |
225 |
|
mkdir -p root/var/lib/php/horde/session |
226 |
|
mkdir -p root/var/lib/php/horde/opcache |
227 |
|
mkdir -p root/var/lib/php/horde/tmp |
228 |
|
%patch19 -p1 |
229 |
|
%patch20 -p1 |
230 |
|
%patch21 -p1 |
231 |
|
%patch22 -p1 |
232 |
|
%patch23 -p1 |
233 |
|
%patch24 -p1 |
234 |
|
%patch25 -p1 |
235 |
|
%patch26 -p1 |
236 |
|
%patch27 -p1 |
237 |
|
%patch28 -p1 |
238 |
|
%patch29 -p1 |
239 |
|
|
240 |
%build |
%build |
241 |
for i in post-install post-upgrade |
for i in post-install post-upgrade |
247 |
%install |
%install |
248 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
249 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
250 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
251 |
|
--dir /var/lib/php/horde/session 'attr(0770,root,www)' \ |
252 |
|
--dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \ |
253 |
|
--dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \ |
254 |
|
> %{name}-%{version}-filelist |
255 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
256 |
|
|
257 |
%clean |
%clean |
258 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
259 |
|
|
260 |
%pre |
%pre |
261 |
|
#workaround for bug 12595 |
262 |
|
[[ `/usr/bin/stat --print=%A /usr/share/horde/smeserver/mysql_set_horde_password.sql | /usr/bin/cut -c 8` = "r" ]] && /sbin/e-smith/config delprop horde DbPassword |
263 |
|
|
264 |
%preun |
%preun |
265 |
%post |
%post |
266 |
|
|