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 8 |
%define release 13 |
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 |
|
|
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
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 |
60 |
Requires: php-pear-XML-RPC2 |
Requires: php-pear-XML-RPC2 |
61 |
|
|
62 |
%changelog |
%changelog |
63 |
|
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme |
64 |
|
- avoid loss of user parameter on Primary Domain change [SME: 1005] |
65 |
|
this will also avoid the loss of parameter if we log with a different virtualhost |
66 |
|
horde preference is now stored with the SME username without @domain |
67 |
|
- fix bad regex to strip domain [SME: 10224] |
68 |
|
also we can now force Primary domain to use as default email |
69 |
|
we can strip heading string from virtualhost domain to create email |
70 |
|
default identity email will update as long as no other identity is created for the user |
71 |
|
|
72 |
|
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme |
73 |
|
- fix typo in php-fpm patch [SME: 10872] |
74 |
|
|
75 |
|
* Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-11.sme |
76 |
|
- remove php3 references [SME: 10866] |
77 |
|
- remove strict and warning alert from error log [SME: 10823] |
78 |
|
- dedicated php-fpm pool for horde [SME: 10872] |
79 |
|
|
80 |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme |
81 |
- apply patches from John H. Bennett III [SME: 10717] |
- apply patches from John H. Bennett III [SME: 10717] |
82 |
- cvs admin -ko on patch1 |
- cvs admin -ko on patch1 |
114 |
%patch2 -p1 |
%patch2 -p1 |
115 |
%patch3 -p1 |
%patch3 -p1 |
116 |
%patch4 -p1 |
%patch4 -p1 |
117 |
|
%patch5 -p1 |
118 |
|
%patch6 -p1 |
119 |
|
%patch7 -p1 |
120 |
|
%patch8 -p1 |
121 |
|
|
122 |
|
mkdir -p root/var/lib/php/horde/session |
123 |
|
mkdir -p root/var/lib/php/horde/opcache |
124 |
|
mkdir -p root/var/lib/php/horde/tmp |
125 |
|
|
126 |
%build |
%build |
127 |
for i in post-install post-upgrade |
for i in post-install post-upgrade |
133 |
%install |
%install |
134 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
135 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
136 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
137 |
|
--dir /var/lib/php/horde/session 'attr(0770,root,www)' \ |
138 |
|
--dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \ |
139 |
|
--dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \ |
140 |
|
> %{name}-%{version}-filelist |
141 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
142 |
|
|
143 |
%clean |
%clean |