/[smeserver]/rpms/e-smith-qmail/sme10/e-smith-qmail.spec
ViewVC logotype

Contents of /rpms/e-smith-qmail/sme10/e-smith-qmail.spec

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


Revision 1.17 - (show annotations) (download)
Wed Apr 6 04:38:59 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-14_el7_sme, HEAD
Changes since 1.16: +9 -2 lines
* Tue Apr 05 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme
- fix multiple errors with pseudonyms in template [SME: 8591]
  orphaned pseudonyms are associated to admin
- repopulate qmail assign db and sighup qmail on group event  [SME: 11934]

1 # $Id: e-smith-qmail.spec,v 1.16 2021/11/15 17:29:53 jpp Exp $
2
3 Summary: startup scripts for Dan Bernstein's qmail package
4 %define name e-smith-qmail
5 Name: %{name}
6 %define version 2.6.0
7 %define release 14
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.xz
13 Patch0: e-smith-qmail-2.6.0-smtpd_to_qpsmtpd.patch
14 Patch1: e-smith-qmail-2.6.0-exclude_from_group_email.patch
15 Patch2: e-smith-qmail-2.6.0-update_all_groups_alias.patch
16 Patch3: e-smith-qmail-2.6.0-bz11105-systemd.patch
17 Patch4: %{name}-%{version}-rc7_link-rpm_update.patch
18 Patch5: e-smith-qmail-2.6.0-bz11105-systemd2.patch
19 Patch6: e-smith-qmail-2.6.0-bz11245_runit_required.patch
20 Patch7: e-smith-qmail-2.6.0-bz11645-allow-zero-concurency.patch
21 Patch8: e-smith-qmail-2.6.0-bz8591-pseudonyms.patch
22
23 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24 BuildRequires: e-smith-devtools >= 1.13.0-04
25 BuildArchitectures: noarch
26 Requires: qmail
27 Requires: dot-forward
28 Requires: fastforward
29 Requires: runit
30 Requires: e-smith-email
31 Requires: qmail >= 1.03-17
32 Provides: e-smith-mta
33 Conflicts: runit < 1.7
34 Obsoletes: qmail-initscripts
35 Obsoletes: qmail-workaround
36 AutoReqProv: no
37
38 %changelog
39 * Tue Apr 05 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme
40 - fix multiple errors with pseudonyms in template [SME: 8591]
41 orphaned pseudonyms are associated to admin
42 - repopulate qmail assign db and sighup qmail on group event [SME: 11934]
43
44 * Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-13.sme
45 - can set to 0 ConcurrencyLocal or ConcurrencyRemote [SME: 11645]
46 this allows to disable of type of delivery
47
48 * Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-12.sme
49 - add Requires=runit.service [SME: 11245]
50
51 * Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
52 - fix missing actions for systemd on upgrade event [SME: 11105]
53 cleanup preset file
54
55 * Fri Dec 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
56 - remove qmail link in init.d and whole rc.d [SME: 11105]
57 take 3
58
59 * Fri Dec 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
60 - remove qmail link in init.d [SME: 11105]
61
62 * Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
63 - execute systemd-reload before service adjust in events [SME: 11228]
64 - remove S95reset-unsavedflag [SME: 11229]
65
66 * Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme
67 - remove rc7.d link [SME: 11105]
68 - fix actions in e-smith-qmail-update [SME: 11152]
69
70 * Sat Nov 14 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme
71 - Move qmail service to systemd [SME: 11105]
72 - Create e-smith-qmail-update event [SME: 11152]
73
74 * Thu Jul 20 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
75 - Update aliases files for every groups passed as argument [SME: 10386]
76
77 * Tue May 31 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme
78 - Add possibility to exclude users or members of other groups from group
79 email address [SME: 9523]
80
81 * Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
82 - Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478]
83
84 * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
85 - Initial release to sme10
86
87 * Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme
88 - Simplify qmail concurrency templates [SME: 7750]
89
90 * Thu May 23 2013 chris burnat <devlist@burnat.com> 2.4.0-5.sme
91 - Modify domain style pseudonym pointing to user with dot in name, by Filippo Carletti [SME: 7614]
92
93 * Wed May 15 2013 chris burnat <devlist@burnat.com> 2.4.0-4.sme
94 - Reverse change in Template Qmail MaxMessageSize [SME: 7393]
95
96 * Fri May 03 2013 chris burnat <devlist@burnat.com> 2.4.0-3.sme
97 - Reverse Allow groups with dots [SME 6694] and modify domain style pseudonyms to point to the correct user, by Filippo Carletti [SME: 7572]
98
99 * Thu Feb 21 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme
100 - Template Qmail MaxMessageSize [SME: 7393]
101
102 * Wed Feb 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
103 - Roll new stream for sme9
104
105 * Sun Jan 15 2012 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme
106 - Allow groups with dots, by Filippo Carletti [SME: 6694]
107
108 * Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-5.sme
109 - Read number of log files to keep from the DB [SME: 5855]
110
111 * Sat Sep 05 2009 Gavin Weight <gweight@gmail.com> 2.2.0-4
112 - SMTPSmartHost template incorrectly uses brackets to avoid MX lookups. [SME: 5456]
113
114 * Mon May 18 2009 Gavin Weight <gweight@gmail.com> 2.2.0-3
115 - smtproutes template incorrectly uses brackets to avoid MX lookups. [SME: 5257]
116
117 * Tue May 12 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2
118 - Remove qmail-workaround and obsolete it after patch to treat 0.0.0.0 as a
119 local ip [SME: 5171]
120
121 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
122 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
123
124 * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 1.10.0-16
125 - Create tcpto lockfile in run script [SME: 3055]
126
127 * Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.10.0-15
128 - Domain catchall Redirection to Account [SME:1922]
129
130 * Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com>
131 - Apply a code tidyup patch from Gordon. [SME: 871]
132
133 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
134 - Clean up spec so package can be built by koji/plague
135
136 * Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.10.0-13
137 - Change ownership/perms on /var/qmail/alias directory [SME: 2709]
138
139 * Thu Feb 15 2007 Charlie Brady <charlie_brady@mitel.com>
140 - Use sv rather than deprecated runsvctrl in ip-up script. [SME: 2486]
141
142 * Mon Jan 22 2007 Shad L. Lords <slords@mail.com> 1.10.0-11
143 - Allow admin user to be configured via users panel. [SME: 827]
144
145 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
146 - Update to new release naming. No functional changes.
147 - Make Packager generic
148
149 * Fri Aug 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-10
150 - Force creation of junkmail folder as some users like to delete
151 it [SME: 1130]
152
153 * Mon Aug 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-09
154 - Allow optional EveryoneEmail property of user and 'admin' accounts
155 If set to 'no', do not include this user in the shared/everyone
156 email alias [SME: 1842]
157
158 * Thu Aug 3 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-08
159 - Allow optional $smtpd{HeloHost} value for configuring HELO host,
160 defaulting to $DomainName [SME: 1790]
161
162 * Thu Jun 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-07
163 - Default qmail{MaxMessageSize} to 15,000,000 bytes [SME: 1624]
164
165 * Mon May 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-06
166 - Bump version only [SME: 1415]
167
168 * Wed May 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-05sme01
169 - Allow optional MailServer property of domains db records and
170 deliver mail in this order of preference:
171 - As per the MailServer property of the domain
172 - $DelegateMailServer
173 - localhost (i.e. locally)
174 NOTE:
175 - If DelegateMailServer is not set, the users must exist on the
176 gateway or mail will be rejected
177 - If DelegateMailServer is set, all mail for the domain will be
178 forwarded to the relevant internal mail server [SME: 1253]
179
180 * Wed May 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-04sme01
181 - Remove virtualdomains entries for hosts db entries. We only
182 handle mail for domains without customisation [SME: 1415]
183
184 * Sat Apr 8 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-03
185 - Update group .qmail files when deleting/modifying users. [SME: 1200]
186
187 * Thu Mar 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-02
188 - Use shared library to block 0.0.0.0 MX mail loops. [SME: 1116]
189
190 * Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-01
191 - Roll stable stream version. [SME: 1016]
192
193 * Fri Mar 03 2006 Charlie Brady <charlie_brady@mitel.com> 1.9.1-05
194 - Add ~alias/.qmail-shared-default symlink. [SME: 764]
195
196 * Thu Feb 16 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-04
197 - Fix migration when AdminEmail is not set. [SME: 818]
198
199 * Thu Feb 16 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-03
200 - Use standard user .qmail template for admin user. Migrate
201 AdminEmail setting to $admin{ForwardAddress}. [SME: 818]
202
203 * Tue Jan 24 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-02
204 - Fix duplicate symlink creation attempt in bootstrap-console-save
205 directory (during RPM build). [SME: 555]
206
207 * Wed Jan 11 2006 Gordon Rowell <gordonr@gormand.com.au> 1.9.1-01
208 - Roll patches to 1.9.0-16
209 - Change ~alias/.qmail{default,localdelivery-default,shared} into
210 directory templates [SME: 440]
211
212 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.0-16
213 - Bump release number only
214
215 * Tue Nov 22 2005 Charlie Brady <charlieb@e-smith.com>
216 - [1.9.0-15]
217 - Fix broken symlink in group-delete event. Delete -default .qmail file
218 when deleting group. [SF: 1363973]
219
220 * Tue Nov 1 2005 Charlie Brady <charlieb@e-smith.com>
221 - [1.9.0-14]
222 - Improve /var/qmail/users/assign/70pseudonyms error handling. [SF: 1337029]
223 - Fix error text from 60users template fragment. [SF: 1345206]
224
225 * Fri Oct 21 2005 Gordon Rowell <gordonr@e-smith.com>
226 - [1.9.0-13]
227 - Add quotes around 'Recipient unknown' when calling bouncesaying.
228 Otherwise we're trying to call a program called 'unknown' [SF: 1334002]
229
230 * Wed Oct 19 2005 Charlie Brady <charlieb@e-smith.com>
231 - [1.9.0-12]
232 - Ensure failsafe .qmail file if EmailForward property is not set.
233 [SF: 1330452]
234
235 * Fri Oct 7 2005 Charlie Brady <charlieb@e-smith.com>
236 - [1.9.0-11]
237 - Expand virtualdomains in pseudonym-* events. Replace use of control/1
238 by generic actions, plus qmail-newu symlinked into event directories.
239 [SF: 1311349]
240
241 * Mon Sep 26 2005 Gordon Rowell <gordonr@gormand.com.au>
242 - [1.9.0-10]
243 - Split up templates-user/.qmail into fragments which return
244 one or zero lines. It's much cleaner and helps with add-ons.
245 Move .qmail/20Forward -> 70Forward to leave more room for
246 add-ons [SF: 1252336]
247 - Minor fixups - thanks Stephen Noble [SF: 1252336]
248 - TODO: Remove the 10Filter stuff and migrate
249 qmail{DeliveryInstruction} and qmail{DeliveryType}
250
251 * Mon Sep 19 2005 Gordon Rowell <gordonr@e-smith.com>
252 - [1.9.0-09]
253 - Correct /var/qmail/users/assign/50system fragment so that
254 mail for system accounts is delivered to admin [SF: 1284311]
255
256 * Tue Sep 13 2005 Gordon Rowell <gordonr@gormand.com.au>
257 - [1.9.0-08]
258 - Add extension address handling for pseudonyms and groups.
259 [SF: 1286823]
260
261 * Mon Aug 22 2005 Charlie Brady <charlieb@e-smith.com>
262 - [1.9.0-07]
263 - Make correct /service symlink, so that a runit finds the
264 run files. [SF: 1264668]
265
266 * Wed Aug 10 2005 Shad Lords <slords@mail.com>
267 - [1.9.0-06]
268 - Add empty template-begin header for users/assign
269 - Add requires for e-smith-email
270 - Add provides e-smith-mta
271
272 * Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com>
273 - [1.9.0-05]
274 - Add in all qmail specific code from e-smith-email. [SF: 1255261]
275
276 * Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com>
277 - [1.9.0-04]
278 - Remove dangling conf-migrate-* symlink [charlieb MN00062545]
279
280 * Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com>
281 - [1.9.0-03]
282 - Remove no longer needed conf-migrate-* action [charlieb MN00062545]
283 - Replace deprecated Copyright header with License header.
284
285 * Thu Feb 12 2004 Michael Soulier <msoulier@e-smith.com>
286 - [1.9.0-02]
287 - Updating with esmith::Build::CreateLinks, and the new genfilelist options.
288 - Yanked migrate-qmail-logfiles, as it was causing problems.
289 [msoulier dpar-20522]
290
291 * Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com>
292 - [1.9.0-01]
293 - rolling to dev - 1.9.0
294
295 * Thu Aug 28 2003 Michael Soulier <msoulier@e-smith.com>
296 - [1.8.0-02]
297 - Adding K* init symlinks in runlevels 0, 1 and 6. [msoulier 9761]
298
299 * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
300 - [1.8.0-01]
301 - Changing version to stable stream number - 1.8.0
302
303 * Wed Nov 6 2002 Charlie Brady <charlieb@e-smith.com>
304 - [1.7.0-01]
305 - Rolling development stream version to 1.7.0
306
307 * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
308 - [1.6.0-01]
309 - Roll to maintained version number to 1.6.0
310
311 * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
312 - [1.6.0-01]
313 - Roll to maintained version number to 1.6.0
314
315 * Wed Aug 21 2002 Charlie Brady <charlieb@e-smith.com>
316 - [1.5.1-01]
317 - Remove bogus e-smith-base dependency, which shows as an unmet
318 dependency on our workstations.
319 - Add rc7.d symlink [charlieb 4458]
320
321 * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
322 - [1.5.0-01]
323 - Changing version to development stream number to 1.5.0
324
325 * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
326 - [1.4.0-01]
327 - Changing version to maintained stream number to 1.4.0
328
329 * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
330 - [1.3.9-01]
331 - RPM rebuild forced by cvsroot2rpm
332
333 * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
334 - [1.3.8-01]
335 - testing co2rpm --force
336
337 * Thu May 23 2002 Charlie Brady <charlieb@e-smith.com>
338 - [1.3.7-01]
339 - Remove world read and execute permission from qmail log directory.
340
341 * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
342 - [1.3.6-01]
343 - /supervise/qmail -> /service/qmail [gordonr 3044]
344
345 * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
346 - [1.3.5-01]
347 - Added /bin, /usr/bin and /usr/local/bin to qmail's path [gordonr 3044]
348
349 * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
350 - [1.3.4-01]
351 - And create /var/log/qmail [gordonr 3044]
352
353 * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
354 - [1.3.3-01]
355 - And create directory for pipes to be written to [gordonr 3044]
356
357 * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
358 - [1.3.2-01]
359 - Created pipes, symlinks and empty files in SPEC file [gordonr 3044]
360
361 * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
362 - [1.3.1-01]
363 - Initial CVS import
364
365 * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
366 - [1.3.0-01]
367 - rollRPM: Rolled version number to 1.3.0-01. Includes patches up to 1.2.0-02.
368
369 * Fri Aug 17 2001 gordonr
370 - [1.2.0-02]
371 - Autorebuild by rebuildRPM
372
373 * Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com>
374 - [1.2.0-01]
375 - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-04.
376
377 * Tue May 1 2001 Peter Samuel <peters@e-smith.com>
378 - [1.1.0-04]
379 - added /var/log/qmail to filelist
380
381 * Tue May 1 2001 Peter Samuel <peters@e-smith.com>
382 - [1.1.0-03]
383 - added migrate-qmail-logfiles action to post-upgrade
384
385 * Mon Apr 30 2001 Peter Samuel <peters@e-smith.com>
386 - [1.1.0-02]
387 - added conf-migrate-qmail-variables actions to migrate qmail.init
388 configuration variable to qmail
389 - added e-smith header to files
390
391 * Mon Apr 30 2001 Peter Samuel <peters@e-smith.com>
392 - [1.1.0-01]
393 - initial release
394
395 %description
396 Startup scripts for Dan Bernstein's qmail package.
397
398 %prep
399 %setup
400 %patch0 -p1
401 %patch1 -p1
402 %patch2 -p1
403 %patch3 -p1
404 %patch4 -p1
405 %patch5 -p1
406 %patch6 -p1
407 rm -rf root/etc/rc.d
408 rm -rf root/usr/lib/systemd/system-preset
409 %patch7 -p1
410 %patch8 -p1
411
412 %build
413 perl createlinks
414
415 %install
416 rm -rf $RPM_BUILD_ROOT
417 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
418 rm -f %{name}-%{version}-%{release}-filelist
419 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
420 --dir '/var/service/qmail' 'attr(1755,root,root)' \
421 --file '/var/service/qmail/down' 'attr(0644,root,root)' \
422 --file '/var/service/qmail/run' 'attr(0755,root,root)' \
423 --file '/var/service/qmail/control/1' 'attr(0750,root,root)' \
424 --dir '/var/service/qmail/supervise' 'attr(0700,root,root)' \
425 --dir '/var/service/qmail/log' 'attr(0755,root,root)' \
426 --file '/var/service/qmail/log/run' 'attr(0755,root,root)' \
427 --dir '/var/service/qmail/log/supervise' 'attr(0700,root,root)' \
428 --dir '/var/log/qmail' 'attr(2750,qmaill,nofiles)' \
429 --dir '/var/qmail/alias' 'attr(2755,alias,qmail)' \
430 > %{name}-%{version}-%{release}-filelist
431 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
432
433 %clean
434 rm -rf $RPM_BUILD_ROOT
435
436 %pre
437 %preun
438 %post
439 %postun
440
441 %files -f %{name}-%{version}-%{release}-filelist
442 %defattr(-,root,root)

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