/[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.13 - (show annotations) (download)
Wed May 1 23:58:39 2013 UTC (11 years, 2 months ago) by burnat
Branch: MAIN
CVS Tags: e-smith-qmail-2_2_0-8_el5_sme
Changes since 1.12: +7 -4 lines
* Wed May 01 2013 chris burnat <devlist@burnat.com> 2.2.0-8.sme
- modify domain style pseudonyms to point to the correct user, by Filippo Carletti [SME: 7055]

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

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