/[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.16 - (show annotations) (download)
Mon Nov 15 17:29:53 2021 UTC (3 years ago) by jpp
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-13_el7_sme
Changes since 1.15: +8 -2 lines
* Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-13.sme
- can set to 0 ConcurrencyLocal or ConcurrencyRemote [SME: 11645]
  this allows to disable of type of delivery

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

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