/[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.12 - (show annotations) (download)
Fri Feb 22 06:02:06 2013 UTC (11 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-qmail-2_2_0-7_el5_sme
Changes since 1.11: +7 -2 lines
* Thu Feb 21 2013 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme
- Template Qmail MaxMessageSize [SME: 6798]

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

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