/[smeserver]/rpms/smeserver-horde/sme10/smeserver-horde.spec
ViewVC logotype

Contents of /rpms/smeserver-horde/sme10/smeserver-horde.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.41 - (show annotations) (download)
Mon Feb 6 04:54:13 2023 UTC (16 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-horde-1_0_0-34_el7_sme
Changes since 1.40: +6 -1 lines
* Sun Feb 05 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-34.sme
- use php full path for mysql.init scripts [SME: 12296]

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 34
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 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
43 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
44 BuildArchitectures: noarch
45 Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb
46 Requires: e-smith-apache >= 2.6.0-19
47 BuildRequires: e-smith-devtools >= 1.13.1-03
48 AutoReqProv: no
49 Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp
50 Obsoletes: ingo-h3, e-smith-ingo, turba-h3, e-smith-turba
51 Obsoletes: kronolith-h3, smeserver-kronolith, nag-h3, smeserver-nag
52 Obsoletes: mnemo-h3, smeserver-mnemo
53 Requires: php-horde-content, php-horde-imp, php-horde-ingo, php-horde-kronolith
54 Requires: php-horde-mnemo, php-horde-nag, php-horde-turba
55 # optional functions we provide
56 Requires: php-horde-Horde-ActiveSync
57 Requires: php-horde-Horde-Service-Facebook
58 Requires: php-horde-Horde-Service-Twitter
59 Requires: php-pear-Date-Holidays-Australia, php-pear-Date-Holidays-Denmark
60 Requires: php-pear-Date-Holidays-Germany, php-pear-Date-Holidays-Italy
61 Requires: php-pear-Date-Holidays-Netherlands, php-pear-Date-Holidays-Norway
62 Requires: php-pear-Date-Holidays-Portugal, php-pear-Date-Holidays-Russia
63 Requires: php-pear-Date-Holidays-Slovenia, php-pear-Date-Holidays-Sweden
64 Requires: php-pear-Date-Holidays-France, php-pear-Date-Holidays-Turkey
65 Requires: php-horde-Horde-Text-Filter-Csstidy
66 Requires: timeobjects
67 # maybe not required, but JHB used to have them in previous installs
68 Requires: php-pear-Auth-SASL2
69 Requires: php-pear-Cache-Lite
70 Requires: php-pear-Console-GetoptPlus
71 Requires: php-pear-Crypt-Blowfish
72 Requires: php-pear-File-CSV
73 Requires: php-pear-File-Util
74 Requires: php-pear-HTTP
75 Requires: php-pear-HTTP-Request2
76 Requires: php-pear-HTTP_WebDAV_Server
77 Requires: php-pear-Log
78 Requires: php-pear-MDB2
79 Requires: php-pear-Net-URL2
80 Requires: php-pear-XML-Parser2
81 Requires: php-pear-XML-RPC2
82 Requires: ImageMagick
83
84 %changelog
85 * Sun Feb 05 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-34.sme
86 - use php full path for mysql.init scripts [SME: 12296]
87
88 * Thu May 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-33.sme
89 - fix invalid domain if ForcePrimaryDomain is enabled [SME: 11980]
90 - fix $ldapServer is commented out if Horde ForcePrimaryDomain is disabled [SME: 11981]
91
92 * Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-32.sme
93 - use httpd 2.4 access control syntax [SME: 11945]
94
95 * Sat Apr 16 2022 Terry Fage <terry@fage.id.au> 1.0.0-31.sme
96 - fix previous patch error extra line [SME: 11694]
97
98 * Tue Apr 05 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-30.sme
99 - fix alarm noise when disabled [SME: 11694]
100
101 * Sun Nov 07 2021 Greg Simpson <gsimpson@mophilly.com> 1.0.0-29.sme
102 - Syntax error, unexpected '(T_STRING), expecting ')' [SME: 11738]
103 - thanks to zsolt vasarhelyi for patch test
104
105 * Sat Sep 18 2021 Terry Fage <terryf@ozemail.com.au> 1.0.0-28.sme
106 - Ingo filters TLS error if sieve is enabled [SME: 11628]
107
108 * Wed Mar 24 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-27.sme
109 - fix missing call to perl module emsith::php [SME: 11489]
110
111 * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-26.sme
112 - clean rsyslog syntax for horde [SME: 11422]
113
114 * Wed Mar 10 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-25.sme
115 - improved php basedir, with filtering of noise for gpg [SME: 10945]
116 - force SSL for horde [SME: 11443]
117 - fix horde not honoring switch to php-fpm 5.4 [SME: 11433]
118 - update mail settings for the php-pool [SME: 11431]
119
120 * Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-24.sme
121 - spamd SpamLearning property migrated to spamassassin SpamLearning [SME: 11376]
122
123 * Sat Feb 20 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-23.sme
124 - Configuration is not up to date, hash to update [SME: 11308]
125
126 * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-22.sme
127 - fix wrong template path for php55, php56 and php [SME: 11255]
128
129 * Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-20.sme
130 - fix webmail not accessible after enabling from manager [SME: 11233]
131
132 * Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-19.sme
133 - update rsyslog syntax [SME: 11016]
134 move fragment so syntax is similar to message
135
136 * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-18.sme
137 - remove harcoded ports [SME: 10969]
138
139 * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-17.sme
140 - add gpg to php base dir [SME: 10945]
141
142 * Wed May 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-16.sme
143 - workaround logging noise caused by libsasl [SME: 10943]
144
145 * Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-15.sme
146 - log as admin and not admin@domain for cli tasks [SME: 10910]
147 - fix ingo imap preferences [SME: 10912]
148
149 * Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-14.sme
150 - allow httpd-auth for calendar, tasks access using rpc.php ... [SME: 10908]
151 - add smeserver-horde-update event [SME: 10909]
152
153 * Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme
154 - avoid loss of user parameter on Primary Domain change [SME: 1005]
155 this will also avoid the loss of parameter if we log with a different virtualhost
156 horde preference is now stored with the SME username without @domain
157 - fix bad regex to strip domain [SME: 10224]
158 also we can now force Primary domain to use as default email
159 we can strip heading string from virtualhost domain to create email
160 default identity email will update as long as no other identity is created for the user
161
162 * Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme
163 - fix typo in php-fpm patch [SME: 10872]
164
165 * Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-11.sme
166 - remove php3 references [SME: 10866]
167 - remove strict and warning alert from error log [SME: 10823]
168 - dedicated php-fpm pool for horde [SME: 10872]
169
170 * Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme
171 - apply patches from John H. Bennett III [SME: 10717]
172 - cvs admin -ko on patch1
173
174 * Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme
175 - revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600]
176
177 * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-5.sme
178 - fix incorrect expansion of backends.local.php with non numerical releases [SME: 10092]
179 - add requires php-pear-Math_BigInteger [SME: 9600]
180
181 * Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-4.sme
182 - added last optionals dependencies [SME: 9645]
183 - added France Holidays.
184
185 * Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-3.sme
186 - added Requires for pear Dates [SME: 9645]
187 - Activesync, timeobjects, Facebook. Twitter, Text-Filter
188
189 * Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-2.sme
190 - add main Required packages php-horde-* [SME: 9645]
191
192 * Sun Jun 19 2016 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.0-1
193 - First released build for SME10
194
195 %description
196 This package adds necessary templates and configuration items
197 for Horde, Imp, Ingo, Kronolith, Mnemo, Nag and Turba
198 to work on SME Server 10
199
200 %prep
201 %setup
202 %patch0 -p1
203 %patch1 -p1
204 %patch2 -p1
205 %patch3 -p1
206 %patch4 -p1
207 %patch5 -p1
208 %patch6 -p1
209 %patch7 -p1
210 %patch8 -p1
211 %patch9 -p1
212 %patch10 -p1
213 %patch11 -p1
214 %patch12 -p1
215 %patch13 -p1
216 %patch14 -p1
217 %patch15 -p1
218 %patch16 -p1
219 %patch17 -p1
220 %patch18 -p1
221 mkdir -p root/var/lib/php/horde/session
222 mkdir -p root/var/lib/php/horde/opcache
223 mkdir -p root/var/lib/php/horde/tmp
224 %patch19 -p1
225 %patch20 -p1
226 %patch21 -p1
227 %patch22 -p1
228 %patch23 -p1
229 %patch24 -p1
230 %patch25 -p1
231 %patch26 -p1
232 %patch27 -p1
233 %patch28 -p1
234
235 %build
236 for i in post-install post-upgrade
237 do
238 mkdir -p root/etc/e-smith/events/$i
239 done
240 perl createlinks
241
242 %install
243 rm -rf $RPM_BUILD_ROOT
244 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
245 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
246 --dir /var/lib/php/horde/session 'attr(0770,root,www)' \
247 --dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \
248 --dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \
249 > %{name}-%{version}-filelist
250 echo "%doc COPYING" >> %{name}-%{version}-filelist
251
252 %clean
253 rm -rf $RPM_BUILD_ROOT
254
255 %pre
256 %preun
257 %post
258
259 %postun
260
261 %files -f %{name}-%{version}-filelist
262 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed