/[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.14 - (show annotations) (download)
Mon Dec 7 03:53:50 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-11_el7_sme
Changes since 1.13: +2 -2 lines
* Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
- fix missing actions for systemd on upgrade event [SME: 11105]
  cleanup preset file

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

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