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

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

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


Revision 1.8 - (show annotations) (download)
Thu Jul 20 16:14:43 2017 UTC (6 years, 10 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-qmail-2_4_0-8_el6_sme, HEAD
Changes since 1.7: +7 -2 lines
* Thu Jul 20 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme
- Update aliases files for every groups passed as argument [SME: 10388]

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

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