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 14 |
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 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
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 |
62 |
Requires: php-pear-XML-RPC2 |
Requires: php-pear-XML-RPC2 |
63 |
|
|
64 |
%changelog |
%changelog |
65 |
|
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-14.sme |
66 |
|
- allow httpd-auth for calendar, tasks access using rpc.php ... [SME: 10908] |
67 |
|
- add smeserver-horde-update event [SME: 10909] |
68 |
|
|
69 |
|
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme |
70 |
|
- avoid loss of user parameter on Primary Domain change [SME: 1005] |
71 |
|
this will also avoid the loss of parameter if we log with a different virtualhost |
72 |
|
horde preference is now stored with the SME username without @domain |
73 |
|
- fix bad regex to strip domain [SME: 10224] |
74 |
|
also we can now force Primary domain to use as default email |
75 |
|
we can strip heading string from virtualhost domain to create email |
76 |
|
default identity email will update as long as no other identity is created for the user |
77 |
|
|
78 |
|
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme |
79 |
|
- fix typo in php-fpm patch [SME: 10872] |
80 |
|
|
81 |
|
* Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-11.sme |
82 |
|
- remove php3 references [SME: 10866] |
83 |
|
- remove strict and warning alert from error log [SME: 10823] |
84 |
|
- dedicated php-fpm pool for horde [SME: 10872] |
85 |
|
|
86 |
* 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 |
87 |
- apply patches from John H. Bennett III [SME: 10717] |
- apply patches from John H. Bennett III [SME: 10717] |
88 |
- cvs admin -ko on patch1 |
- cvs admin -ko on patch1 |
120 |
%patch2 -p1 |
%patch2 -p1 |
121 |
%patch3 -p1 |
%patch3 -p1 |
122 |
%patch4 -p1 |
%patch4 -p1 |
123 |
|
%patch5 -p1 |
124 |
|
%patch6 -p1 |
125 |
|
%patch7 -p1 |
126 |
|
%patch8 -p1 |
127 |
|
%patch9 -p1 |
128 |
|
%patch10 -p1 |
129 |
|
|
130 |
|
mkdir -p root/var/lib/php/horde/session |
131 |
|
mkdir -p root/var/lib/php/horde/opcache |
132 |
|
mkdir -p root/var/lib/php/horde/tmp |
133 |
|
|
134 |
%build |
%build |
135 |
for i in post-install post-upgrade |
for i in post-install post-upgrade |
141 |
%install |
%install |
142 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
143 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
144 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
145 |
|
--dir /var/lib/php/horde/session 'attr(0770,root,www)' \ |
146 |
|
--dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \ |
147 |
|
--dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \ |
148 |
|
> %{name}-%{version}-filelist |
149 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
150 |
|
|
151 |
%clean |
%clean |