/[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.15 - (show annotations) (download)
Thu May 23 04:45:06 2013 UTC (11 years, 6 months ago) by burnat
Branch: MAIN
CVS Tags: e-smith-qmail-2_2_0-10_el5_sme
Changes since 1.14: +7 -2 lines
* Wed May 22 2013 chris burnat <devlist@burnat.com> 2.2.0-10.sme
- Modify domain style pseudonym pointing to user with dot in name, by Filippo Carletti [SME: 7607]

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

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