/[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.9 - (show annotations) (download)
Fri Dec 4 07:17:35 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
Changes since 1.8: +5 -2 lines
* Fri Dec 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
- remove qmail link in init.d [SME: 11105]

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

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