/[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.12 - (show annotations) (download)
Sat Dec 5 03:23:44 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-10_el7_sme
Changes since 1.11: +6 -2 lines
* Fri Dec 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
-  remove qmail link in init.d and whole rc.d [SME: 11105]
   take 3

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

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