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

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

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


Revision 1.14 - (show annotations) (download)
Thu May 9 06:25:47 2013 UTC (11 years, 1 month ago) by burnat
Branch: MAIN
CVS Tags: e-smith-qmail-2_2_0-9_el5_sme
Changes since 1.13: +5 -4 lines
Reverse change in Template Qmail MaxMessageSize

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

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